Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/radio/
DRadioMetadata.java262 private final Bundle mBundle; field in RadioMetadata
270 List<String> keys = new ArrayList<String>(mBundle.keySet()); in hashCode()
275 objs[2 * i + 1] = mBundle.get(keys.get(i)); in hashCode()
286 Bundle otherBundle = ((RadioMetadata) obj).mBundle; in equals()
287 if (!mBundle.keySet().equals(otherBundle.keySet())) { in equals()
290 for (String key : mBundle.keySet()) { in equals()
293 if (!mBundle.get(key).equals(otherBundle.get(key))) { in equals()
301 mBundle = new Bundle(); in RadioMetadata()
305 mBundle = new Bundle(bundle); in RadioMetadata()
309 mBundle = in.readBundle(); in RadioMetadata()
[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/hardware/biometrics/
DBiometricPrompt.java189 private final Bundle mBundle; field in BiometricPrompt.Builder
199 mBundle = new Bundle(); in Builder()
210 mBundle.putCharSequence(KEY_TITLE, title); in setTitle()
223 mBundle.putBoolean(KEY_USE_DEFAULT_TITLE, true); in setUseDefaultTitle()
234 mBundle.putCharSequence(KEY_SUBTITLE, subtitle); in setSubtitle()
245 mBundle.putCharSequence(KEY_DESCRIPTION, description); in setDescription()
262 mBundle.putCharSequence(KEY_DEVICE_CREDENTIAL_TITLE, title); in setTextForDeviceCredential()
265 mBundle.putCharSequence(KEY_DEVICE_CREDENTIAL_SUBTITLE, subtitle); in setTextForDeviceCredential()
268 mBundle.putCharSequence(KEY_DEVICE_CREDENTIAL_DESCRIPTION, description); in setTextForDeviceCredential()
300 mBundle.putCharSequence(KEY_NEGATIVE_TEXT, text); in setNegativeButton()
[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()
311 @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/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.java516 private Bundle mBundle; // lazy-initialized, may be null field in AudioAttributes
589 if (mBundle == null) { in getBundle()
590 return mBundle; in getBundle()
592 return new Bundle(mBundle); in getBundle()
657 private Bundle mBundle; field in AudioAttributes.Builder
735 if (mBundle != null) { in build()
736 aa.mBundle = new Bundle(mBundle); in build()
898 if (mBundle == null) { in addBundle()
899 mBundle = new Bundle(bundle); in addBundle()
901 mBundle.putAll(bundle); in addBundle()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java41 private Bundle mBundle; field in ImsCallTest
48 mBundle = mTestCallProfile.mCallExtras; in setUp()
63 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifiDeprecated()
94 mBundle.putInt(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetWifi()
106 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetWifiAlt()
118 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetLteNoWifiDeprecated()
130 mBundle.putInt(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetLteNoWifi()
142 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()
259 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifiDeprecated()
272 mBundle.putString(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetWifi()
287 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetWifi2()
300 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetLTEDeprecated()
313 mBundle.putString(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetLTE()
328 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetLTE2()
/frameworks/av/drm/libmediadrm/
DDrmMetricsConsumer.cpp193 ExportCounterMetric(metrics.mOpenSessionCounter, mBundle); in consumeFrameworkMetrics()
194 ExportCounterMetric(metrics.mCloseSessionCounter, mBundle); in consumeFrameworkMetrics()
195 ExportEventMetric(metrics.mGetKeyRequestTimeUs, mBundle); in consumeFrameworkMetrics()
196 ExportEventMetric(metrics.mProvideKeyResponseTimeUs, mBundle); in consumeFrameworkMetrics()
197 ExportCounterMetric(metrics.mGetProvisionRequestCounter, mBundle); in consumeFrameworkMetrics()
198 ExportCounterMetric(metrics.mProvideProvisionResponseCounter, mBundle); in consumeFrameworkMetrics()
199 ExportCounterMetricWithAttributeNames(metrics.mKeyStatusChangeCounter, mBundle); in consumeFrameworkMetrics()
200 ExportCounterMetricWithAttributeNames(metrics.mEventCounter, mBundle); in consumeFrameworkMetrics()
201 ExportCounterMetric(metrics.mGetDeviceUniqueIdCounter, mBundle); in consumeFrameworkMetrics()
202 ExportSessionLifespans(metrics.GetSessionLifespans(), mBundle); in consumeFrameworkMetrics()
[all …]
/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()
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
136 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsFamily()
137 mBundle.putStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES, in testRatchetIsFamily()
154 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsNotFamily()
155 mBundle.putStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES, new String[]{}); in testRatchetIsNotFamily()
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()
353 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerExpire()
382 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerReset()
417 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerExpireMmwave()
448 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerResetMmwave()
482 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testSecondaryTimerExpire()
484 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_SECONDARY_GRACE_PERIOD_STRING, in testSecondaryTimerExpire()
[all …]
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.java158 private PersistableBundle mBundle; field in DcTrackerTest
520 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
522 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in setUp()
647 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupDataUnmeteredDefaultNotSelected()
765 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testUserDisableData()
801 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testTrySetupDataMmsAllowedDataDisabled()
874 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testUserDisableRoaming()
924 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testDataCallOnUserDisableRoaming()
976 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testCarrierActionSetMeteredApnsEnabled()
1058 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()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmMetricsConsumer.h40 DrmMetricsConsumer(os::PersistableBundle *bundle) : mBundle(bundle) {} in DrmMetricsConsumer()
90 os::PersistableBundle *mBundle;
/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