diff options
author | Dan Sandler <dsandler@android.com> | 2018-11-26 09:56:26 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2019-01-02 16:37:59 +0000 |
commit | 7647f1d1b8189a6d7ab321ce67f60d115cb3598b (patch) | |
tree | a16645dd94696067cd99dc5560ca568c9e46dfae /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | ff709020ab39d1ae4ee1658e23b6aa78f9dfec4a (diff) |
Post a notification from the shell.
$ adb shell cmd notification post --help
usage: post [flags] <tag> <text>
flags:
-h|--help
-v|--verbose
-t|--title <text>
-i|--icon <iconspec>
-I|--large-icon <iconspec>
-S|--style <style> [styleargs]
-c|--content-intent <intentspec>
styles: (default none)
bigtext
bigpicture --picture <iconspec>
inbox --line <text> --line <text> ...
messaging --conversation <title> --message <who>:<text> ...
media
an <iconspec> is one of
file:///data/local/tmp/<img.png>
content://<provider>/<path>
@[<package>:]drawable/<img>
data:base64,<B64DATA==>
an <intentspec> is (broadcast|service|activity) <args>
<args> are as described in `am start`
Test: atest services/tests/uiservicestests/src/com/android/server/notification/NotificationShellCmdTest.java
Change-Id: I68642b534b5a17a9ba406721fc1860879a6a0e8d
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions