Home
last modified time | relevance | path

Searched refs:mBundle (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DTest.java10 private Bundle mBundle; field in Test
19 mBundle = new Bundle(); in setUp()
25 mBundle.putFloat(key, value); in setUp()
29 synchronized(mBundle) { in setUp()
30 mBundle.notify(); in setUp()
37 synchronized(mBundle) { in testCanvas()
39 mBundle.wait(); in testCanvas()
44 getInstrumentation().sendStatus(0, mBundle); in testCanvas()
/frameworks/base/core/java/com/android/internal/util/
DSyncResultReceiver.java42 private Bundle mBundle; field in SyncResultReceiver
78 return mBundle == null ? null : mBundle.getString(EXTRA); in getStringResult()
87 return mBundle == null ? null : mBundle.getStringArray(EXTRA); in getStringArrayResult()
96 return mBundle == null ? null : mBundle.getParcelable(EXTRA); in getParcelableResult()
105 return mBundle == null ? null : mBundle.getParcelableArrayList(EXTRA); in getParcelableListResult()
116 if (mBundle == null || !mBundle.containsKey(EXTRA)) return defaultValue; in getOptionalExtraIntResult()
118 return mBundle.getInt(EXTRA); in getOptionalExtraIntResult()
124 mBundle = resultData; in send()
/frameworks/base/core/java/android/hardware/radio/
DRadioMetadata.java258 private final Bundle mBundle; field in RadioMetadata
261 mBundle = new Bundle(); in RadioMetadata()
265 mBundle = new Bundle(bundle); in RadioMetadata()
269 mBundle = in.readBundle(); in RadioMetadata()
279 for (String key : mBundle.keySet()) { in toString()
288 sb.append(mBundle.get(key)); in toString()
302 return mBundle.containsKey(key); in containsKey()
313 return mBundle.getString(key); in getString()
332 return mBundle.getInt(key, 0); in getInt()
346 bmp = mBundle.getParcelable(key); in getBitmap()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextLanguage.java62 private final Bundle mBundle; field in TextLanguage
70 mBundle = bundle; in TextLanguage()
120 return mBundle; in getExtras()
128 mId, mEntityConfidence, mBundle); in toString()
140 dest.writeBundle(mBundle); in writeToParcel()
157 @Nullable private Bundle mBundle; field in TextLanguage.Builder
190 mBundle = Preconditions.checkNotNull(bundle); in setExtras()
201 mBundle = mBundle == null ? Bundle.EMPTY : mBundle; in build()
205 mBundle); in build()
300 @Nullable private Bundle mBundle; field in TextLanguage.Request.Builder
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRequestUtils.java44 private Bundle mBundle; field in RequestUtils.ContentBuilder
47 mBundle = new Bundle(); in ContentBuilder()
51 mBundle.putString(EXTRA_KEY_SOURCE, source); in setSource()
60 mBundle.putBundle(EXTRA_KEY_METADATA, metadata); in setMetadata()
65 mBundle.putSerializable(EXTRA_KEY_HEADERS, headers); in setHeaders()
70 return mBundle; in build()
DMediaItem.java27 private Bundle mBundle; field in MediaItem
34 mBundle = in.readBundle(); in MediaItem()
38 return mBundle.getString(MediaMetadata.METADATA_KEY_TITLE); in getTitle()
42 return mBundle.getString(MediaMetadata.METADATA_KEY_ALBUM_ARTIST); in getArtist()
60 dest.writeBundle(mBundle); in writeToParcel()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java128 private final Bundle mBundle; field in BiometricPrompt.Builder
138 mBundle = new Bundle(); in Builder()
148 mBundle.putCharSequence(KEY_TITLE, title); in setTitle()
159 mBundle.putBoolean(KEY_USE_DEFAULT_TITLE, true); in setUseDefaultTitle()
169 mBundle.putCharSequence(KEY_SUBTITLE, subtitle); in setSubtitle()
179 mBundle.putCharSequence(KEY_DESCRIPTION, description); in setDescription()
202 mBundle.putCharSequence(KEY_POSITIVE_TEXT, text); in setPositiveButton()
230 mBundle.putCharSequence(KEY_NEGATIVE_TEXT, text); in setNegativeButton()
254 mBundle.putBoolean(KEY_REQUIRE_CONFIRMATION, requireConfirmation); in setConfirmationRequired()
274 mBundle.putBoolean(KEY_ALLOW_DEVICE_CREDENTIAL, allowed); in setDeviceCredentialAllowed()
[all …]
/frameworks/base/media/java/android/media/
DMediaMetadata.java417 private final Bundle mBundle; field in MediaMetadata
421 mBundle = new Bundle(bundle); in MediaMetadata()
425 mBundle = in.readBundle(); in MediaMetadata()
435 return mBundle.containsKey(key); in containsKey()
447 return mBundle.getCharSequence(key); in getText()
475 return mBundle.getLong(key, 0); in getLong()
488 rating = mBundle.getParcelable(key); in getRating()
506 bmp = mBundle.getParcelable(key); in getBitmap()
521 dest.writeBundle(mBundle); in writeToParcel()
530 return mBundle.size(); in size()
[all …]
DAudioAttributes.java456 private Bundle mBundle; // lazy-initialized, may be null field in AudioAttributes
515 if (mBundle == null) { in getBundle()
516 return mBundle; in getBundle()
518 return new Bundle(mBundle); in getBundle()
582 private Bundle mBundle; field in AudioAttributes.Builder
625 if (mBundle != null) { in build()
626 aa.mBundle = new Bundle(mBundle); in build()
766 if (mBundle == null) { in addBundle()
767 mBundle = new Bundle(bundle); in addBundle()
769 mBundle.putAll(bundle); in addBundle()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java40 private Bundle mBundle; field in ImsCallTest
47 mBundle = mTestCallProfile.mCallExtras; in setUp()
61 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifi()
73 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetWifiAlt()
85 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetLteNoWifi()
97 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetLteNoWifiAlt()
DImsPhoneConnectionTest.java62 private Bundle mBundle = new Bundle(); field in ImsPhoneConnectionTest
79 mImsCallProfile.mCallExtras = mBundle; in setUp()
248 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifi()
263 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetWifi2()
276 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetLTE()
291 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetLTE2()
/frameworks/base/core/tests/coretests/src/android/os/
DMessageQueueTest.java148 Bundle mBundle; in testFieldIntegrity()
166 mBundle = new Bundle(); in testFieldIntegrity()
167 msg.data = mBundle; in testFieldIntegrity()
200 if (newMsg.data == mBundle) { in testFieldIntegrity()
204 if (!newMsg.data.getString("key").equals(mBundle.getString("key"))) { in testFieldIntegrity()
208 newMsg.data.getString("key"), mBundle.getString("key")))); in testFieldIntegrity()
248 if (!msg.data.getString("key").equals(mBundle.getString("key"))) { in testFieldIntegrity()
252 msg.data.getString("key"), mBundle.getString("key"), msg.what))); in testFieldIntegrity()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierSignalAgentTest.java53 private PersistableBundle mBundle; field in CarrierSignalAgentTest
77 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
96 mBundle.putStringArray( in testNotifyManifestReceivers()
140 mBundle.putStringArray( in testNotifyRuntimeReceivers()
174 mBundle.putStringArray( in testNotify()
177 mBundle.putStringArray( in testNotify()
238 mBundle.putStringArray( in testCarrierConfigChange()
248 mBundle.putStringArray( in testCarrierConfigChange()
258 mBundle.putStringArray( in testCarrierConfigChange()
DServiceStateTrackerTest.java136 private PersistableBundle mBundle; field in ServiceStateTrackerTest
236 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
237 mBundle.putStringArray( in setUp()
240 mBundle.putStringArray( in setUp()
243 mBundle.putStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES, in setUp()
279 mBundle.putBoolean( in setUp()
281 mBundle.putInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT, 0); in setUp()
282 mBundle.putInt(CarrierConfigManager.KEY_WFC_DATA_SPN_FORMAT_IDX_INT, 1); in setUp()
283 mBundle.putInt(CarrierConfigManager.KEY_WFC_FLIGHT_MODE_SPN_FORMAT_IDX_INT, 2); in setUp()
291 mBundle.putString(CarrierConfigManager.KEY_CARRIER_NAME_STRING, "SPN from carrier config"); in setUp()
[all …]
DCarrierServiceStateTrackerTest.java61 PersistableBundle mBundle; field in CarrierServiceStateTrackerTest
81 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
95 mBundle.putInt(CarrierConfigManager.KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT, in setDefaultValues()
97 mBundle.putInt(CarrierConfigManager.KEY_EMERGENCY_NOTIFICATION_DELAY_INT, in setDefaultValues()
DContextFixture.java577 private final PersistableBundle mBundle = new PersistableBundle(); field in ContextFixture
610 doReturn(mBundle).when(mCarrierConfigManager).getConfigForSubId(anyInt()); in ContextFixture()
612 doReturn(mBundle).when(mCarrierConfigManager).getConfig(); in ContextFixture()
661 return mBundle; in getCarrierConfigBundle()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java74 PersistableBundle mBundle; field in ImsManagerTest
89 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
116 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in setDefaultValues()
118 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in setDefaultValues()
120 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, in setDefaultValues()
122 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, in setDefaultValues()
124 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, in setDefaultValues()
126 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT, in setDefaultValues()
128 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT, in setDefaultValues()
130 mBundle.putBoolean(CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, in setDefaultValues()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java125 private PersistableBundle mBundle; field in RetryManagerTest
130 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
148 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerEmpty()
169 mBundle.putStringArray( in testRetryManagerOneApnNoRetry()
192 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerOneApnTwoRetries()
246 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoApnsOneRetry()
284 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoApnsTwoRetries()
332 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoMmsApnsTwoRetries()
380 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailed()
413 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailedWithTwoApns()
[all …]
DDcTrackerTest.java154 private PersistableBundle mBundle; field in DcTrackerTest
517 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
732 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testUserDisableData()
773 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupDataMmsAllowedDataDisabled()
830 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testUserDisableRoaming()
887 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testDataCallOnUserDisableRoaming()
998 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testCarrierActionSetMeteredApnsEnabled()
1066 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testGetDataConnectionState()
1095 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupDataUnmeteredDataDisabled()
1124 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupMeteredDataDisabled()
[all …]
DApnSettingTest.java49 private PersistableBundle mBundle; field in ApnSettingTest
54 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
327 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMetered()
364 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMetered()
374 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
401 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
412 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredAnother()
442 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredAnother()
480 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredNothingCharged()
501 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredNothingCharged()
DDataFailCauseTest.java178 PersistableBundle mBundle = mContextFixture.getCarrierConfigBundle(); in testPermanentFailConfigured() local
179 mBundle.putStringArray( in testPermanentFailConfigured()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDialogView.java98 private Bundle mBundle; field in BiometricDialogView
279 CharSequence titleText = mBundle.getCharSequence(BiometricPrompt.KEY_TITLE); in onAttachedToWindow()
284 final CharSequence subtitleText = mBundle.getCharSequence(BiometricPrompt.KEY_SUBTITLE); in onAttachedToWindow()
293 mBundle.getCharSequence(BiometricPrompt.KEY_DESCRIPTION); in onAttachedToWindow()
301 mNegativeButton.setText(mBundle.getCharSequence(BiometricPrompt.KEY_NEGATIVE_TEXT)); in onAttachedToWindow()
395 mBundle = bundle; in setBundle()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java241 private final Bundle mBundle; field in SpellCheckerService.InternalISpellCheckerSession
248 mBundle = bundle; in InternalISpellCheckerSession()
304 return mBundle; in getBundle()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricService.java158 final Bundle mBundle; field in BiometricService.AuthSession
190 mBundle = bundle; in AuthSession()
212 return mBundle.getBoolean(BiometricPrompt.KEY_FROM_CONFIRM_DEVICE_CREDENTIAL, false); in isFromConfirmDeviceCredential()
1387 mCurrentAuthSession.mBundle, in handleOnTryAgainPressed()
1435 mStatusBarService.showBiometricDialog(mCurrentAuthSession.mBundle, in handleOnReadyForAuthentication()
1583 fromCDC = mCurrentAuthSession.mBundle.getBoolean( in handleCancelAuthentication()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java825 public final Bundle mBundle; field in TextServicesManagerService.SessionRequest
834 mBundle = bundle; in SessionRequest()
876 request.mLocale, request.mScListener, request.mBundle, in onServiceConnectedLocked()
964 request.mLocale, request.mScListener, request.mBundle, in getISpellCheckerSessionOrQueueLocked()

12