/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ |
D | DeviceEvent.java | 62 public static Intent newDeviceEventIntent(@NonNull String sender, in newDeviceEventIntent() argument 67 .putExtra(EXTRA_EVENT_SENDER, sender) in newDeviceEventIntent() 79 final String sender = intent.getStringExtra(EXTRA_EVENT_SENDER); in newEvent() local 80 if (sender == null) { in newEvent() 97 return new DeviceEvent(sender, type, intent.getLongExtra(EXTRA_EVENT_TIME, 0L)); in newEvent() 124 public static Predicate<DeviceEvent> isFrom(String sender) { in isFrom() argument 125 return e -> e.sender.equals(sender); in isFrom() 153 public final String sender; field in DeviceEvent 166 private DeviceEvent(String sender, DeviceEventType type, long time) { in DeviceEvent() argument 167 this.sender = sender; in DeviceEvent() [all …]
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyNotificationListenerService.java | 47 final PendingIntentSender sender = new PendingIntentSender(); in onNotificationPosted() local 50 sender.send("content", notification.contentIntent); in onNotificationPosted() 53 sender.send("delete", notification.deleteIntent); in onNotificationPosted() 56 sender.send("full screen", notification.fullScreenIntent); in onNotificationPosted() 60 sender.send("action", action.actionIntent); in onNotificationPosted() 61 sender.send("action extras", action.getExtras()); in onNotificationPosted() 65 sender.send("remote input extras", remoteInput.getExtras()); in onNotificationPosted() 70 sender.send("notification extras", notification.extras); in onNotificationPosted()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ResultReceiverTest.java | 31 MockResultReceiver sender = new MockResultReceiver(mHandler); in testResultReceiver() local 34 sender.send(resultCode, bundle); in testResultReceiver() 36 assertEquals(resultCode, sender.getResultCode()); in testResultReceiver() 37 assertSame(bundle, sender.getResultData()); in testResultReceiver()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 63 final AtomicReference<IntentSender> sender = new AtomicReference<>(); in testCorrectIntentSenderCreated() local 65 sender.set(getLauncherApps().getShortcutConfigActivityIntent(getConfigActivity()))); in testCorrectIntentSenderCreated() 72 mLauncherContext1.startIntentSender(sender.get(), null, 0, 0, 0); in testCorrectIntentSenderCreated()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | CtsBaseInputMethod.java | 195 final String sender = getClass().getName(); in sendEvent() local 196 final Intent intent = DeviceEvent.newDeviceEventIntent(sender, type); in sendEvent()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | BasicContentProvider.java | 17 package com.android.cts.intent.sender;
|
D | AppLinkTest.java | 17 package com.android.cts.intent.sender;
|
D | CopyPasteTest.java | 17 package com.android.cts.intent.sender;
|
D | IntentSenderActivity.java | 17 package com.android.cts.intent.sender;
|
D | SuspendPackageTest.java | 1 package com.android.cts.intent.sender;
|
D | ContentTest.java | 17 package com.android.cts.intent.sender;
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationTest.java | 466 Person sender = new Person.Builder().setName(senderName).build(); 470 Message message = new Message(text, timestamp, sender); 474 assertEquals(sender, message.getSenderPerson()); 479 Person sender = new Person.Builder().setName("Test name").build(); 482 Message message = new Message(text, timestamp, sender);
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | InputMethodServiceLifecycleTest.java | 402 final String sender = deviceTest.getTestName(); in sendTestStartEvent() local 406 "--es", EXTRA_EVENT_SENDER, sender, in sendTestStartEvent()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | LoginActivityTest.java | 2457 IntentSender sender = PendingIntent.getActivity(mContext, 0, intent, in testClickCustomButton() local 2470 .setAuthentication(sender, ID_USERNAME) in testClickCustomButton()
|