/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/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/libs/install/src/com/android/cts/install/lib/ |
D | Uninstall.java | 49 LocalIntentSender sender = new LocalIntentSender(); in uninstallSinglePackage() local 50 packageInstaller.uninstall(packageName, sender.getIntentSender()); in uninstallSinglePackage() 51 InstallUtils.assertStatusSuccess(sender.getResult()); in uninstallSinglePackage()
|
D | Install.java | 177 LocalIntentSender sender = new LocalIntentSender(); in commit() local 178 session.commit(sender.getIntentSender()); in commit() 179 Intent result = sender.getResult(); in commit()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 166 LocalIntentSender sender = new LocalIntentSender(); in testRemoveChild() local 167 parent.commit(sender.getIntentSender()); in testRemoveChild() 168 InstallUtils.assertStatusSuccess(sender.getResult()); in testRemoveChild() 291 LocalIntentSender sender = new LocalIntentSender(); in testInvalidStateScenario_AddChildToCommittedSessionShouldFail() local 292 parent.commit(sender.getIntentSender()); in testInvalidStateScenario_AddChildToCommittedSessionShouldFail() 311 LocalIntentSender sender = new LocalIntentSender(); in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail() local 312 parent.commit(sender.getIntentSender()); in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail() 352 LocalIntentSender sender = new LocalIntentSender(); in testInvalidStateScenarios() local 353 childSession.commit(sender.getIntentSender()); in testInvalidStateScenarios() 378 LocalIntentSender sender = new LocalIntentSender(); in testInvalidStateScenarios() local [all …]
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 83 final AtomicReference<IntentSender> sender = new AtomicReference<>(); in testCorrectIntentSenderCreated() local 85 sender.set(getLauncherApps().getShortcutConfigActivityIntent(getConfigActivity()))); in testCorrectIntentSenderCreated() 92 mLauncherContext1.startIntentSender(sender.get(), null, 0, 0, 0); in testCorrectIntentSenderCreated()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | ApexShimValidationTest.java | 172 LocalIntentSender sender = new LocalIntentSender(); in stageApex() local 173 session.commit(sender.getIntentSender()); in stageApex() 174 Intent result = sender.getResult(); in stageApex()
|
D | StagedInstallTest.java | 1441 LocalIntentSender sender = new LocalIntentSender(); in commitSession() local 1443 .commit(sender.getIntentSender()); in commitSession() 1444 return sender.getResult(); in commitSession()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackUtils.java | 131 LocalIntentSender sender = new LocalIntentSender(); in rollback() local 132 rm.commitRollback(rollbackId, causes, sender.getIntentSender()); in rollback() 133 Intent result = sender.getResult(); in rollback()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | BasicContentProvider.java | 17 package com.android.cts.intent.sender;
|
D | CopyPasteTest.java | 17 package com.android.cts.intent.sender;
|
D | AppLinkTest.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/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 180 LocalIntentSender sender = new LocalIntentSender(); in testOpenAndCommitSessionForSingleApk() local 181 session.commit(sender.getIntentSender()); in testOpenAndCommitSessionForSingleApk() 182 InstallUtils.assertStatusSuccess(sender.getResult()); in testOpenAndCommitSessionForSingleApk()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | CtsBaseInputMethod.java | 246 final String sender = getClass().getName(); in sendEvent() local 247 final Intent intent = DeviceEvent.newDeviceEventIntent(sender, type); in sendEvent()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationTest.java | 476 Person sender = new Person.Builder().setName(senderName).build(); 480 Message message = new Message(text, timestamp, sender); 484 assertEquals(sender, message.getSenderPerson()); 489 Person sender = new Person.Builder().setName("Test name").build(); 492 Message message = new Message(text, timestamp, sender); 889 Person sender = new Person.Builder().setName("Sender").build(); in testGetMessagesFromBundleArray() local 891 new Notification.MessagingStyle.Message("hello", /* timestamp= */ 123, sender); in testGetMessagesFromBundleArray() 893 new Notification.MessagingStyle.Message("hello2", /* timestamp= */ 456, sender); in testGetMessagesFromBundleArray()
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | InputMethodServiceLifecycleTest.java | 503 final String sender = deviceTest.getTestName(); in sendTestStartEvent() local 507 "--es", EXTRA_EVENT_SENDER, sender, in sendTestStartEvent()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | LoginActivityTest.java | 2509 IntentSender sender = PendingIntent.getActivity(mContext, 0, intent, in testClickCustomButton() local 2522 .setAuthentication(sender, ID_USERNAME) in testClickCustomButton()
|