Home
last modified time | relevance | path

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

12

/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()
280 for (String key : mBundle.keySet()) { in toString()
289 sb.append(mBundle.get(key)); in toString()
303 return mBundle.containsKey(key); in containsKey()
314 return mBundle.getString(key); in getString()
333 return mBundle.getInt(key, 0); in getInt()
347 bmp = mBundle.getParcelable(key); in getBitmap()
[all …]
/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/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/android/view/textclassifier/
DTextLanguage.java64 private final Bundle mBundle; field in TextLanguage
72 mBundle = bundle; in TextLanguage()
122 return mBundle; in getExtras()
130 mId, mEntityConfidence, mBundle); in toString()
142 dest.writeBundle(mBundle); in writeToParcel()
159 @Nullable private Bundle mBundle; field in TextLanguage.Builder
192 mBundle = Preconditions.checkNotNull(bundle); in setExtras()
203 mBundle = mBundle == null ? Bundle.EMPTY : mBundle; in build()
207 mBundle); in build()
325 @Nullable private Bundle mBundle; field in TextLanguage.Request.Builder
[all …]
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java129 private final Bundle mBundle; field in BiometricPrompt.Builder
139 mBundle = new Bundle(); in Builder()
149 mBundle.putCharSequence(KEY_TITLE, title); in setTitle()
160 mBundle.putBoolean(KEY_USE_DEFAULT_TITLE, true); in setUseDefaultTitle()
170 mBundle.putCharSequence(KEY_SUBTITLE, subtitle); in setSubtitle()
180 mBundle.putCharSequence(KEY_DESCRIPTION, description); in setDescription()
203 mBundle.putCharSequence(KEY_POSITIVE_TEXT, text); in setPositiveButton()
231 mBundle.putCharSequence(KEY_NEGATIVE_TEXT, text); in setNegativeButton()
255 mBundle.putBoolean(KEY_REQUIRE_CONFIRMATION, requireConfirmation); in setConfirmationRequired()
275 mBundle.putBoolean(KEY_ALLOW_DEVICE_CREDENTIAL, allowed); in setDeviceCredentialAllowed()
[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/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
525 if (mBundle == null) { in getBundle()
526 return mBundle; in getBundle()
528 return new Bundle(mBundle); in getBundle()
592 private Bundle mBundle; field in AudioAttributes.Builder
635 if (mBundle != null) { in build()
636 aa.mBundle = new Bundle(mBundle); in build()
776 if (mBundle == null) { in addBundle()
777 mBundle = new Bundle(bundle); in addBundle()
779 mBundle.putAll(bundle); in addBundle()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java39 private Bundle mBundle; field in ImsCallTest
46 mBundle = mTestCallProfile.mCallExtras; in setUp()
61 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifiDeprecated()
73 mBundle.putInt(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetWifi()
85 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetWifiAlt()
97 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetLteNoWifiDeprecated()
109 mBundle.putInt(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetLteNoWifi()
121 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetLteNoWifiAlt()
DImsPhoneConnectionTest.java69 private Bundle mBundle = new Bundle(); field in ImsPhoneConnectionTest
86 mImsCallProfile.mCallExtras = mBundle; in setUp()
271 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifiDeprecated()
284 mBundle.putString(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetWifi()
299 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetWifi2()
312 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetLTEDeprecated()
325 mBundle.putString(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetLTE()
340 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.java55 private PersistableBundle mBundle; field in CarrierSignalAgentTest
65 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
82 mBundle.putStringArray( in testNotifyManifestReceivers()
126 mBundle.putStringArray( in testNotifyRuntimeReceivers()
160 mBundle.putStringArray( in testNotify()
163 mBundle.putStringArray( in testNotify()
224 mBundle.putStringArray( in testCarrierConfigChange()
234 mBundle.putStringArray( in testCarrierConfigChange()
244 mBundle.putStringArray( in testCarrierConfigChange()
DNetworkTypeControllerTest.java63 private PersistableBundle mBundle; field in NetworkTypeControllerTest
88 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
89 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_CONFIGURATION_STRING, in setUp()
161 mBundle.putString(CarrierConfigManager.KEY_SHOW_CARRIER_DATA_ICON_PATTERN_STRING, in testUpdateOverrideNetworkTypeLte()
354 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerExpire()
384 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerReset()
420 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerExpireMmwave()
452 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerResetMmwave()
487 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testSecondaryTimerExpire()
489 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_SECONDARY_GRACE_PERIOD_STRING, in testSecondaryTimerExpire()
[all …]
DMissedIncomingCallSmsFilterTest.java50 private PersistableBundle mBundle; field in MissedIncomingCallSmsFilterTest
56 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
69 mBundle.putStringArray( in testMissedIncomingCallwithCallerId()
72 mBundle.putStringArray( in testMissedIncomingCallwithCallerId()
DRatRatcheterTest.java39 private PersistableBundle mBundle; field in RatRatcheterTest
135 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsFamily()
136 mBundle.putStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES, in testRatchetIsFamily()
153 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsNotFamily()
154 mBundle.putStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES, new String[]{}); in testRatchetIsNotFamily()
DServiceStateTrackerTest.java137 private PersistableBundle mBundle; field in ServiceStateTrackerTest
237 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
238 mBundle.putStringArray( in setUp()
241 mBundle.putStringArray( in setUp()
244 mBundle.putStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES, in setUp()
280 mBundle.putBoolean( in setUp()
282 mBundle.putInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT, 0); in setUp()
283 mBundle.putInt(CarrierConfigManager.KEY_WFC_DATA_SPN_FORMAT_IDX_INT, 1); in setUp()
284 mBundle.putInt(CarrierConfigManager.KEY_WFC_FLIGHT_MODE_SPN_FORMAT_IDX_INT, 2); in setUp()
292 mBundle.putString(CarrierConfigManager.KEY_CARRIER_NAME_STRING, "SPN from carrier config"); in setUp()
[all …]
DCarrierServiceStateTrackerTest.java63 PersistableBundle mBundle; field in CarrierServiceStateTrackerTest
70 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
83 mBundle.putInt(CarrierConfigManager.KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT, 0); in setDefaultValues()
84 mBundle.putInt(CarrierConfigManager.KEY_EMERGENCY_NOTIFICATION_DELAY_INT, 0); in setDefaultValues()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java75 PersistableBundle mBundle; field in ImsManagerTest
90 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
117 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in setDefaultValues()
119 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in setDefaultValues()
121 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, in setDefaultValues()
123 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, in setDefaultValues()
125 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, in setDefaultValues()
127 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT, in setDefaultValues()
129 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT, in setDefaultValues()
131 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.java161 private PersistableBundle mBundle; field in DcTrackerTest
524 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
526 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in setUp()
650 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupDataUnmeteredDefaultNotSelected()
768 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testUserDisableData()
804 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupDataMmsAllowedDataDisabled()
877 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testUserDisableRoaming()
927 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testDataCallOnUserDisableRoaming()
979 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testCarrierActionSetMeteredApnsEnabled()
1061 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testGetDataConnectionState()
[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()
365 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMetered()
375 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
402 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
414 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredAnother()
445 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredAnother()
484 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredNothingCharged()
505 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredNothingCharged()
DDataFailCauseTest.java176 PersistableBundle mBundle = mContextFixture.getCarrierConfigBundle(); in testPermanentFailConfigured() local
177 mBundle.putStringArray( in testPermanentFailConfigured()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDialogView.java104 private Bundle mBundle; field in BiometricDialogView
288 mNegativeButton.setText(mBundle.getCharSequence(BiometricPrompt.KEY_NEGATIVE_TEXT)); in onAttachedToWindow()
302 CharSequence titleText = mBundle.getCharSequence(BiometricPrompt.KEY_TITLE); in onAttachedToWindow()
307 final CharSequence subtitleText = mBundle.getCharSequence(BiometricPrompt.KEY_SUBTITLE); in onAttachedToWindow()
317 mBundle.getCharSequence(BiometricPrompt.KEY_DESCRIPTION); in onAttachedToWindow()
425 mBundle = bundle; in setBundle()
503 mNegativeButton.setText(mBundle.getCharSequence(BiometricPrompt.KEY_NEGATIVE_TEXT)); in updateState()
/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()

12