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;
56 private Notification.Action mAction;
292 mAction = new Notification.Action.Builder(0, ACTION_TITLE, actionIntent).build();
499 Notification.Action a = newActionBuilder()
507 Notification.Action a = newActionBuilder()
518 Notification.Action a = newActionBuilder()
535 Notification.Action action = makeNotificationAction(null);
536 assertEquals(Notification.Action.SEMANTIC_ACTION_NONE, action.getSemanticAction());
540 Notification.Action action = makeNotificationAction(
541 builder -> builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_REPLY));
[all …]
DNotificationManagerTest.java1520 .addAction(new Notification.Action.Builder( in testMediaStyle()
1523 .addAction(new Notification.Action.Builder( in testMediaStyle()
1545 .addAction(new Notification.Action.Builder( in testInboxStyle()
1548 .addAction(new Notification.Action.Builder( in testInboxStyle()
1569 .addAction(new Notification.Action.Builder( in testBigTextStyle()
1572 .addAction(new Notification.Action.Builder( in testBigTextStyle()
1595 .addAction(new Notification.Action.Builder( in testBigPictureStyle()
1598 .addAction(new Notification.Action.Builder( in testBigPictureStyle()
2491 Notification.Action replyAction = new Notification.Action.Builder(icon, "Reply", in testNotificationManagerBubblePolicy_flagForMessage_succeeds()
2755 Notification.Action replyAction = new Notification.Action.Builder(icon, "Reply", in testNotificationManagerBubblePolicy_noFlag_notEmbeddable()
[all …]
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java35 import android.app.Notification.Action;
211 Action action = null; in sendNotification()
229 action = new Action.Builder( in sendNotification()
236 action = new Action.Builder( in sendNotification()
247 action = new Action.Builder( in sendNotification()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java215 Notification.Action sendAction = new Notification.Action.Builder(ICON_ID, "SEND", in testAdjustNotification_smartActionKey()
223 List<Notification.Action> smartActions = out.getSmartActions(); in testAdjustNotification_smartActionKey()
226 Notification.Action action = smartActions.get(i); in testAdjustNotification_smartActionKey()
231 ArrayList<Notification.Action> extraAction = new ArrayList<>(); in testAdjustNotification_smartActionKey()
246 Notification.Action action = smartActions.get(i); in testAdjustNotification_smartActionKey()
393 Notification.Action action = new Notification.Action.Builder(null, "", in testOnActionInvoked_methodExists()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DDevicePolicyEventLogVerifier.java32 public interface Action { interface in DevicePolicyEventLogVerifier
42 public static void assertMetricsLogged(ITestDevice device, Action action, in assertMetricsLogged()
/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/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/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyNotificationListenerService.java59 for (Notification.Action action : notification.actions) { in onNotificationPosted()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java1908 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[]"