Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 12 of 12) sorted by relevance

/cts/tests/app/src/android/app/cts/
DWearableExtenderTest.java19 import android.app.Notification.Action;
112 Notification.Action a = newActionBuilder().build(); in testWearableExtenderActions()
113 Notification.Action b = newActionBuilder().build(); in testWearableExtenderActions()
114 Notification.Action c = newActionBuilder().build(); in testWearableExtenderActions()
115 List<Action> actions = new ArrayList<>(); in testWearableExtenderActions()
197 Notification.Action action = newActionBuilder().build(); in testWriteToParcel()
272 private static Notification.Action.Builder newActionBuilder() { in newActionBuilder()
273 return new Notification.Action.Builder(0, "title", null); in newActionBuilder()
280 Action.WearableExtender extender = new Action.WearableExtender(); in testActionWearableExtender_constructor()
284 Action.WearableExtender extender = new Action.WearableExtender(); in testActionWearableExtender_constructor_copy()
[all …]
DNotificationTest.java24 import android.app.Notification.Action.Builder;
58 private Notification.Action mAction;
299 mAction = new Notification.Action.Builder(0, ACTION_TITLE, actionIntent)
509 Notification.Action a = newActionBuilder()
517 Notification.Action a = newActionBuilder()
528 Notification.Action a = newActionBuilder()
545 Notification.Action action = makeNotificationAction(null);
546 assertEquals(Notification.Action.SEMANTIC_ACTION_NONE, action.getSemanticAction());
550 Notification.Action action = makeNotificationAction(
551 builder -> builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_REPLY));
[all …]
DNotificationManagerTest.java2011 .addAction(new Notification.Action.Builder( in testMediaStyle()
2014 .addAction(new Notification.Action.Builder( in testMediaStyle()
2036 .addAction(new Notification.Action.Builder( in testInboxStyle()
2039 .addAction(new Notification.Action.Builder( in testInboxStyle()
2060 .addAction(new Notification.Action.Builder( in testBigTextStyle()
2063 .addAction(new Notification.Action.Builder( in testBigTextStyle()
2086 .addAction(new Notification.Action.Builder( in testBigPictureStyle()
2089 .addAction(new Notification.Action.Builder( in testBigPictureStyle()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DDevicePolicyEventLogVerifier.java33 public interface Action { interface in DevicePolicyEventLogVerifier
43 public static void assertMetricsLogged(ITestDevice device, Action action, in assertMetricsLogged()
66 public static void assertMetricsNotLogged(ITestDevice device, Action action, in assertMetricsNotLogged()
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
DInlineReply.java22 import android.app.Notification.Action;
51 .addAction(new Action.Builder(0, INLINE_REPLY_REMOTE_INPUT_CAPTION, receiverIntent) in showNotificationWithInlineReply()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java272 Notification.Action sendAction = new Notification.Action.Builder(ICON_ID, "SEND", in testAdjustNotification_smartActionKey()
280 List<Notification.Action> smartActions = out.getSmartActions(); in testAdjustNotification_smartActionKey()
283 Notification.Action action = smartActions.get(i); in testAdjustNotification_smartActionKey()
288 ArrayList<Notification.Action> extraAction = new ArrayList<>(); in testAdjustNotification_smartActionKey()
303 Notification.Action action = smartActions.get(i); in testAdjustNotification_smartActionKey()
540 Notification.Action action = new Notification.Action.Builder(null, "",
/cts/apps/NotificationBot/src/com/android/cts/robot/
DNotificationBot.java19 import android.app.Notification.Action;
146 .addAction(new Action.Builder(0, in testShortcutResetSetupNotification()
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java130 DrmStore.Action.DEFAULT); in testGetConstraints()
138 DrmStore.Action.DEFAULT); in testSupportsHttps()
161 DrmStore.Action.PLAY); in testCheckRightsStatus()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DActionTriggeredReceiver.java50 .addAction(new Notification.Action.Builder(R.drawable.ic_stat_charlie, in sendNotification()
DBubblesVerifierActivity.java1043 Notification.Action replyAction = new Notification.Action.Builder(icon, "Reply", in getConversationNotif()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java1903 final DevicePolicyEventLogVerifier.Action testRun = () -> { in executeDelegationTests()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt4814 name: "android.app.Notification.Action.Builder"
4824 return_type: "android.app.Notification.Action"
6456 parameters: "android.app.Notification.Action[]"