Home
last modified time | relevance | path

Searched refs:mExtras (Results 1 – 18 of 18) sorted by relevance

/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DIntentQueryHelper.java38 private final BundleQueryHelper<E> mExtras; field in IntentQueryHelper
66 mExtras = new BundleQueryHelper<>(query); in IntentQueryHelper()
72 mExtras = in.readParcelable(IntentQueryHelper.class.getClassLoader()); in IntentQueryHelper()
82 return mExtras; in extras()
88 && Queryable.isEmptyQuery(mExtras); in isEmptyQuery()
97 if (!mExtras.matches(value.getExtras())) { in matches()
120 mExtras.describeQuery(fieldName + ".extras") in describeQuery()
132 out.writeParcelable(mExtras, flags); in writeToParcel()
151 return Objects.equals(mAction, that.mAction) && Objects.equals(mExtras, in equals()
152 that.mExtras); in equals()
[all …]
DNotificationQueryHelper.java42 private final BundleQueryHelper<E> mExtras; field in NotificationQueryHelper
72 mExtras = new BundleQueryHelper<>(query); in NotificationQueryHelper()
79 mExtras = in.readParcelable(NotificationQueryHelper.class.getClassLoader()); in NotificationQueryHelper()
90 return mExtras; in extras()
100 …return Queryable.isEmptyQuery(mChannelId) && Queryable.isEmptyQuery(mExtras) && Queryable.isEmptyQ… in isEmptyQuery()
111 if (!mExtras.matches(value.getNotification().extras)) { in matches()
131 mExtras.describeQuery(fieldName + ".extras"), in describeQuery()
144 out.writeParcelable(mExtras, flags); in writeToParcel()
165 && Objects.equals(mExtras, that.mExtras) in equals()
171 return Objects.hash(mChannelId, mExtras, mTag); in hashCode()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeCommand.java35 private final Bundle mExtras; field in ImeCommand
42 mExtras = extras; in ImeCommand()
49 mExtras = bundle.getParcelable(EXTRA_KEY); in ImeCommand()
61 bundle.putParcelable(EXTRA_KEY, mExtras); in toBundle()
80 return mExtras; in getExtras()
/cts/tests/inputmethod/mocka11yime/common/src/com/android/cts/mocka11yime/
DMockA11yImeCommand.java39 private final Bundle mExtras; field in MockA11yImeCommand
46 mExtras = extras; in MockA11yImeCommand()
53 mExtras = bundle.getBundle(EXTRA_KEY); in MockA11yImeCommand()
65 bundle.putBundle(EXTRA_KEY, mExtras); in toBundle()
96 return mExtras; in getExtras()
/cts/tests/tests/content/src/android/content/cts/
DMockSyncAdapter.java36 private volatile Bundle mExtras; field in MockSyncAdapter
51 return mExtras; in getExtras()
69 mExtras = null; in clearData()
91 mExtras = extras; in startSync()
109 mExtras = null; in cancelSync()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DContentCaptureContextTest.java48 private final Bundle mExtras = new Bundle(); field in ContentCaptureContextTest
52 mExtras.putString("DUDE", "SWEET"); in setExtras()
68 assertThrows(IllegalStateException.class, () -> mBuilder.setExtras(mExtras)); in testAfterBuild_setExtras()
73 assertThat(mBuilder.setExtras(mExtras).build()).isNotNull(); in testAfterBuild_build()
91 final Builder builder = mBuilder.setExtras(mExtras); in testSetGetBundle()
101 .setExtras(mExtras); in testParcel()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DAssistantVoiceInteractionService.java33 private Bundle mExtras; field in AssistantVoiceInteractionService
50 mExtras = intent.getExtras() != null ? intent.getExtras() : new Bundle(); in onStartCommand()
58 showSession(mExtras, 0); in showSessionIfReady()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaControllerTest.java200 assertThat(mCallback.mExtras.getString(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testSendCommand()
358 assertThat(mCallback.mExtras.getString(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback()
367 assertThat(mCallback.mExtras.getString(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback()
376 assertThat(mCallback.mExtras.getString(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback()
385 assertThat(mCallback.mExtras.get(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback()
396 assertThat(mCallback.mExtras.getString(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback()
418 assertThat(mCallback.mExtras.getString(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback()
426 assertThat(mCallback.mExtras.getString(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback()
434 assertThat(mCallback.mExtras.getString(EXTRAS_KEY)).isEqualTo(EXTRAS_VALUE); in testTransportControlsAndMediaSessionCallback()
458 callback.onPlayFromMediaId(mCallback.mMediaId, mCallback.mExtras); in testTransportControlsAndMediaSessionCallback()
[all …]
DStubMediaBrowserService.java57 private Bundle mExtras; field in StubMediaBrowserService
86 mExtras = new Bundle(); in onGetRoot()
87 mExtras.putString(EXTRAS_KEY, EXTRAS_VALUE); in onGetRoot()
88 return new BrowserRoot(MEDIA_ID_ROOT, mExtras); in onGetRoot()
DMediaController2Test.java86 private Bundle mExtras; field in MediaController2Test
131 mExtras = new Bundle(); in setUp()
132 mExtras.putString(TEST_KEY, TEST_VALUE); in setUp()
135 .setExtras(mExtras) in setUp()
DMediaSessionTest.java255 callback.onExtrasChanged(mCallback.mExtras); in testConfigureSession()
257 Bundle extrasOut = mCallback.mExtras; in testConfigureSession()
367 assertThat(mCallback.mExtras.getString(TEST_KEY)).isEqualTo(TEST_VALUE); in testConfigureSession()
369 callback.onSessionEvent(mCallback.mEvent, mCallback.mExtras); in testConfigureSession()
1208 private volatile Bundle mExtras; field in MediaSessionTest.MediaControllerCallback
1225 mExtras = null; in resetLocked()
1269 mExtras = extras; in onExtrasChanged()
1296 mExtras = (Bundle) extras.clone(); in onSessionEvent()
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimsCleanupRule.java43 private final Bundle mExtras = new Bundle(); field in SimsCleanupRule
52 mExtras.putString(SimPhonebookContract.SimRecords.QUERY_ARG_PIN2, pin2); in setPin2()
81 cursor.getInt(0)), mExtras); in clearEf() local
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStorePlacementTest.java65 private Bundle mExtras = new Bundle(); field in MediaStorePlacementTest
85 mExtras.clear(); in setUp()
256 mContentResolver.insert(mExternalImages, mValues, mExtras); in testRelated()
262 mExtras.putParcelable(MediaStore.QUERY_ARG_RELATED_URI, unusualUri); in testRelated()
263 final Uri probeUri = mContentResolver.insert(mExternalImages, mValues, mExtras); in testRelated()
290 mExtras.putParcelable(MediaStore.QUERY_ARG_RELATED_URI, unusualUri); in testRelated_InvalidMime()
292 mContentResolver.insert(mExternalVideo, mValues, mExtras); in testRelated_InvalidMime()
306 mExtras.putParcelable(MediaStore.QUERY_ARG_RELATED_URI, unusualUri); in testRelated_InvalidPath()
308 mContentResolver.insert(mExternalImages, mValues, mExtras); in testRelated_InvalidPath()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchActionTest.java60 private final Bundle mExtras = new Bundle(); field in SearchActionTest
64 mExtras.putString("SEARCH", "AWESOME"); in setIntentExtras()
65 mBuilder.setExtras(mExtras); in setIntentExtras()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCannedFillResponse.java82 private final Bundle mExtras; field in CannedFillResponse
121 mExtras = builder.mExtras; in CannedFillResponse()
319 if (mExtras != null) {
320 builder.setClientState(mExtras);
401 private Bundle mExtras;
513 mExtras = data;
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java528 private Bundle mExtras = Bundle.EMPTY; field in ActivityTransitionTests.TestBuilder
538 this.mExtras = extra; in setExtras()
554 launcherActivity.startActivity(mActivityOptions, mKlass, mExtras); in run()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java92 private Bundle mExtras = new Bundle(); field in CallDetailsTest
121 connection.setExtras(mExtras); in setUp()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java2382 private Bundle mExtras;
2534 mExtras = new Bundle();
2535 extrasConsumer.accept(mExtras);
2542 return mExtras;