Home
last modified time | relevance | path

Searched refs:replyAction (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
DShortcutManagerThrottlingTestReceiver.java52 final String replyAction = intent.getStringExtra(Constants.EXTRA_REPLY_ACTION); in onReceive() local
56 testSetDynamicShortcuts(context, replyAction); in onReceive()
59 testAddDynamicShortcuts(context, replyAction); in onReceive()
62 testUpdateShortcuts(context, replyAction); in onReceive()
66 testBgServiceThrottled(context, replyAction); in onReceive()
70 testActivityUnthrottled(context, replyAction); in onReceive()
73 testFgServiceUnthrottled(context, replyAction); in onReceive()
77 testInlineReplyShow(context, replyAction); in onReceive()
80 testInlineReplyCheck(context, replyAction); in onReceive()
84 ReplyUtil.sendReply(context, replyAction, "Unknown test: " + method); in onReceive()
[all …]
DBgService.java34 public static void start(Context context, String replyAction) { in start() argument
37 .putExtra(Constants.EXTRA_REPLY_ACTION, replyAction); in start()
46 final String replyAction = intent.getStringExtra(Constants.EXTRA_REPLY_ACTION); in onStartCommand() local
50 ReplyUtil.runTestAndReply(context, replyAction, () -> { in onStartCommand()
DFgService.java36 public static void start(Context context, String replyAction) { in start() argument
39 .putExtra(Constants.EXTRA_REPLY_ACTION, replyAction); in start()
58 final String replyAction = intent.getStringExtra(Constants.EXTRA_REPLY_ACTION); in onStartCommand() local
63 ReplyUtil.runTestAndReply(this, replyAction, () -> { in onStartCommand()
DMyActivity.java32 final String replyAction = getIntent().getStringExtra(Constants.EXTRA_REPLY_ACTION); in onCreate() local
36 ReplyUtil.runTestAndReply(this, replyAction, () -> { in onCreate()
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
DShortcutConfirmPin.java43 String replyAction = null; in onCreate() local
55 replyAction = shortcut.getExtras().getString(Constants.EXTRA_REPLY_ACTION); in onCreate()
58 ReplyUtil.sendReply(this, replyAction, "request.isValid() expected to be TRUE"); in onCreate()
62 ReplyUtil.sendReply(this, replyAction, in onCreate()
70 ReplyUtil.sendReply(this, replyAction, Constants.REQUEST_IGNORED_MESSAGE); in onCreate()
77 ReplyUtil.sendReply(this, replyAction, "isPinned() expected to be " + expectPinned); in onCreate()
83 ReplyUtil.sendReply(this, replyAction, in onCreate()
94 ReplyUtil.sendReply(this, replyAction, "Expected to have icon"); in onCreate()
99 ReplyUtil.sendReply(this, replyAction, "Not expected to have icon"); in onCreate()
106 ReplyUtil.sendReply(this, replyAction, in onCreate()
[all …]
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/
DReplyUtil.java38 public static void runTestAndReply(Context context, String replyAction, Runnable test) { in runTestAndReply() argument
42 sendReply(context, replyAction, null); in runTestAndReply()
45 sendReply(context, replyAction, error); in runTestAndReply()
49 public static void sendReply(Context context, String replyAction, in sendReply() argument
60 final Intent reply = new Intent(replyAction).setPackage(MAIN_CTS_PACKAGE); in sendReply()
66 public static void sendSuccessReply(Context context, String replyAction) { in sendSuccessReply() argument
67 sendReply(context, replyAction, null); in sendSuccessReply()
76 final String replyAction = Constants.ACTION_REPLY + Constants.sRandom.nextLong(); in invokeAndWaitForReply() local
77 final IntentFilter filter = new IntentFilter(replyAction); in invokeAndWaitForReply()
90 r.accept(replyAction); in invokeAndWaitForReply()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerRequestPinTest.java76 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in testRequestPinShortcut()
78 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); in testRequestPinShortcut()
144 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in testRequestPinShortcut_multiLaunchers()
146 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); in testRequestPinShortcut_multiLaunchers()
204 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in testRequestPinShortcut_multiLaunchers_withDynamic()
206 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); in testRequestPinShortcut_multiLaunchers_withDynamic()
254 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in testRequestPinShortcut_multiLaunchers_withDynamic()
256 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); in testRequestPinShortcut_multiLaunchers_withDynamic()
DShortcutManagerThrottlingTest.java53 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in callTest()
56 i.putExtra(Constants.EXTRA_REPLY_ACTION, replyAction); in callTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubblesVerifierActivity.java1043 Notification.Action replyAction = new Notification.Action.Builder(icon, "Reply", in getConversationNotif() local
1054 .setActions(replyAction) in getConversationNotif()