/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
D | ShortcutManagerThrottlingTestReceiver.java | 52 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 …]
|
D | BgService.java | 34 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()
|
D | FgService.java | 36 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()
|
D | MyActivity.java | 32 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/ |
D | ShortcutConfirmPin.java | 43 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/ |
D | ReplyUtil.java | 38 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/ |
D | ShortcutManagerRequestPinTest.java | 77 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in testRequestPinShortcut() 79 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); in testRequestPinShortcut() 145 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in testRequestPinShortcut_multiLaunchers() 147 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); in testRequestPinShortcut_multiLaunchers() 205 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in testRequestPinShortcut_multiLaunchers_withDynamic() 207 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); in testRequestPinShortcut_multiLaunchers_withDynamic() 255 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in testRequestPinShortcut_multiLaunchers_withDynamic() 257 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); in testRequestPinShortcut_multiLaunchers_withDynamic()
|
D | ShortcutManagerThrottlingTest.java | 56 ReplyUtil.invokeAndWaitForReply(getTestContext(), (replyAction) -> { in callTest() 59 i.putExtra(Constants.EXTRA_REPLY_ACTION, replyAction); in callTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationHidingVerifierActivity.kt | 204 val replyAction = Notification.Action.Builder( in <lambda>() constant 217 .setActions(replyAction) in <lambda>()
|
D | NotificationFullScreenIntentVerifierActivity.java | 201 Notification.Action replyAction = new Notification.Action.Builder(icon, "Reply", in sendFullScreenIntentHeadsUpNotification() local 221 .setActions(replyAction) in sendFullScreenIntentHeadsUpNotification()
|
D | BubblesVerifierActivity.java | 1097 Notification.Action replyAction = new Notification.Action.Builder(icon, "Reply", in getConversationNotif() local 1108 .setActions(replyAction) in getConversationNotif()
|