Home
last modified time | relevance | path

Searched refs:resultExtras (Results 1 – 11 of 11) sorted by relevance

/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastReceiverTest.java238 Bundle resultExtras = internalReceiver.getResultExtras(false); in testManifestReceiverPackage() local
240 resultExtras.getString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY)); in testManifestReceiverPackage()
242 resultExtras.getString(MockReceiver.RESULT_EXTRAS_ADD_KEY)); in testManifestReceiverPackage()
243 assertNull(resultExtras.getString(MockReceiver.RESULT_EXTRAS_REMOVE_KEY)); in testManifestReceiverPackage()
268 Bundle resultExtras = internalReceiver.getResultExtras(false); in testManifestReceiverComponent() local
270 resultExtras.getString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY)); in testManifestReceiverComponent()
272 resultExtras.getString(MockReceiver.RESULT_EXTRAS_ADD_KEY)); in testManifestReceiverComponent()
273 assertNull(resultExtras.getString(MockReceiver.RESULT_EXTRAS_REMOVE_KEY)); in testManifestReceiverComponent()
297 Bundle resultExtras = internalReceiver.getResultExtras(false); in testManifestReceiverPermission() local
299 resultExtras.getString(MockReceiver.RESULT_EXTRAS_INVARIABLE_KEY)); in testManifestReceiverPermission()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackNavigationLegacyGestureTest.java58 final Bundle resultExtras = Condition.waitForResult( in receiveOnBackPressed() local
64 if (resultExtras == null in receiveOnBackPressed()
65 || !resultExtras.getBoolean(Components.KEY_ON_BACK_PRESSED_CALLED)) { in receiveOnBackPressed()
/cts/tests/musicrecognition/src/android/musicrecognition/cts/
DCtsMusicRecognitionService.java63 callback.onRecognitionSucceeded(sWatcher.result, sWatcher.resultExtras); in onRecognize()
101 public Bundle resultExtras; field in CtsMusicRecognitionService.Watcher
DMusicRecognitionManagerTest.java165 mWatcher.resultExtras = new Bundle(); in testRemovesBindersFromBundle()
166 mWatcher.resultExtras.putString("stringKey", "stringValue"); in testRemovesBindersFromBundle()
167 mWatcher.resultExtras.putBinder("binderKey", new Binder()); in testRemovesBindersFromBundle()
168 mWatcher.resultExtras.putParcelable("fdKey", pipe[0]); in testRemovesBindersFromBundle()
/cts/tests/app/app/src/android/app/stubs/
DCommandReceiver.java151 Bundle resultExtras = null; in onReceive() local
198 resultExtras = new Bundle(); in onReceive()
199 resultExtras.putParcelable(KEY_PENDING_INTENT, pendingIntent); in onReceive()
274 resultExtras = new Bundle(); in onReceive()
276 resultExtras.putParcelable(KEY_STICKY_BROADCAST_FILTER, intentFilter); in onReceive()
286 if (resultExtras != null) { in onReceive()
287 setResultExtras(resultExtras); in onReceive()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplaySecurityTests.java360 final Bundle resultExtras = Condition.waitForResult( in assertActivityStartCheckResult() local
366 if (resultExtras != null) { in assertActivityStartCheckResult()
367 assertEquals("Activity start check must match", expected, resultExtras in assertActivityStartCheckResult()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DSplashscreenTests.java687 final Bundle resultExtras = Condition.waitForResult( in waitAndAssertForSelfFinishActivity() local
692 if (resultExtras == null) { in waitAndAssertForSelfFinishActivity()
695 assertConsumer.accept(resultExtras); in waitAndAssertForSelfFinishActivity()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java779 Bundle resultExtras = broadcastReceiver.getResultExtras(false); in testSendOrderedBroadcast2() local
780 assertEquals(VALUE_ADDED, resultExtras.getString(KEY_ADDED)); in testSendOrderedBroadcast2()
781 assertEquals(VALUE_KEPT, resultExtras.getString(KEY_KEPT)); in testSendOrderedBroadcast2()
782 assertNull(resultExtras.getString(KEY_REMOVED)); in testSendOrderedBroadcast2()
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DQuickAccessWalletClientTest.java620 String resultData, Bundle resultExtras) { in onSendFinished() argument
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java75 String resultData, Bundle resultExtras) { in setUp()
DServiceTest.java1399 String resultData, Bundle resultExtras) { in onSendFinished() argument