/frameworks/base/core/java/android/app/time/ |
D | TimeZoneConfiguration.java | 77 @NonNull private final Bundle mBundle; field in TimeZoneConfiguration 80 this.mBundle = Objects.requireNonNull(builder.mBundle); in TimeZoneConfiguration() 91 dest.writeBundle(mBundle); in writeToParcel() 116 return mBundle.getBoolean(SETTING_AUTO_DETECTION_ENABLED); in isAutoDetectionEnabled() 125 return mBundle.containsKey(SETTING_AUTO_DETECTION_ENABLED); in hasIsAutoDetectionEnabled() 141 return mBundle.getBoolean(SETTING_GEO_DETECTION_ENABLED); in isGeoDetectionEnabled() 150 return mBundle.containsKey(SETTING_GEO_DETECTION_ENABLED); in hasIsGeoDetectionEnabled() 167 return mBundle.kindofEquals(that.mBundle); in equals() 172 return Objects.hash(mBundle); in hashCode() 178 + "mBundle=" + mBundle in toString() [all …]
|
D | TimeConfiguration.java | 58 private final Bundle mBundle; field in TimeConfiguration 61 this.mBundle = builder.mBundle; in TimeConfiguration() 70 return mBundle.getBoolean(SETTING_AUTO_DETECTION_ENABLED); in isAutoDetectionEnabled() 80 dest.writeBundle(mBundle); in writeToParcel() 94 return mBundle.kindofEquals(that.mBundle); in equals() 99 return Objects.hash(mBundle); in hashCode() 105 + "mBundle=" + mBundle in toString() 115 private final Bundle mBundle = new Bundle(); field in TimeConfiguration.Builder 120 mBundle.putAll(configuration.mBundle); in Builder() 126 mBundle.putBoolean(SETTING_AUTO_DETECTION_ENABLED, enabled); in setAutoDetectionEnabled() [all …]
|
/frameworks/base/core/tests/mockingcoretests/src/android/os/ |
D | BundleRecyclingTest.java | 57 private Bundle mBundle; field in BundleRecyclingTest 68 assertNotNull(mBundle.getString("key")); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce() 70 assertFalse(mBundle.isDefinitelyEmpty()); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce() 73 mBundle.clear(); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce() 75 assertTrue(mBundle.isDefinitelyEmpty()); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce() 80 assertTrue(mBundle.isParcelled()); in bundleClear_whenParcelled_recyclesParcel() 83 mBundle.clear(); in bundleClear_whenParcelled_recyclesParcel() 85 assertTrue(mBundle.isDefinitelyEmpty()); in bundleClear_whenParcelled_recyclesParcel() 88 mBundle.clear(); in bundleClear_whenParcelled_recyclesParcel() 96 assertNotNull(mBundle.getParcelable("key", CustomParcelable.class)); in bundleClear_whenUnparcelledWithLazyValueUnwrapped_recyclesParcel() [all …]
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioMetadata.java | 262 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/ |
D | SyncResultReceiver.java | 42 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/ |
D | Test.java | 10 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/ |
D | TextLanguage.java | 62 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 = Objects.requireNonNull(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/telephony/java/android/telephony/ims/ |
D | SipDelegateImsConfiguration.java | 366 private final PersistableBundle mBundle; field in SipDelegateImsConfiguration.Builder 375 mBundle = new PersistableBundle(); in Builder() 386 mBundle = config.copyBundle(); in Builder() 395 mBundle.putString(key, value); in addString() 405 mBundle.putInt(key, value); in addInt() 415 mBundle.putBoolean(key, value); in addBoolean() 423 return new SipDelegateImsConfiguration(mVersion, mBundle); in build() 428 private final PersistableBundle mBundle; field in SipDelegateImsConfiguration 432 mBundle = bundle; in SipDelegateImsConfiguration() 437 mBundle = source.readPersistableBundle(); in SipDelegateImsConfiguration() [all …]
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | RequestUtils.java | 44 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()
|
D | MediaItem.java | 27 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/ |
D | MediaMetadata.java | 420 private final Bundle mBundle; field in MediaMetadata 425 mBundle = new Bundle(bundle); in MediaMetadata() 430 mBundle = in.readBundle(); in MediaMetadata() 450 return mBundle.containsKey(key); in containsKey() 462 return mBundle.getCharSequence(key); in getText() 490 return mBundle.getLong(key, 0); in getLong() 503 rating = mBundle.getParcelable(key); in getRating() 521 bmp = mBundle.getParcelable(key); in getBitmap() 553 dest.writeBundle(mBundle); in writeToParcel() 563 return mBundle.size(); in size() [all …]
|
D | AudioAttributes.java | 568 private Bundle mBundle; // lazy-initialized, may be null field in AudioAttributes 641 if (mBundle == null) { in getBundle() 642 return mBundle; in getBundle() 644 return new Bundle(mBundle); in getBundle() 762 private Bundle mBundle; field in AudioAttributes.Builder 863 if (mBundle != null) { in build() 864 aa.mBundle = new Bundle(mBundle); in build() 1099 if (mBundle == null) { in addBundle() 1100 mBundle = new Bundle(bundle); in addBundle() 1102 mBundle.putAll(bundle); in addBundle() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SignalStrengthControllerTest.java | 93 private PersistableBundle mBundle; field in SignalStrengthControllerTest 106 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp() 108 mBundle.putIntArray(CarrierConfigManager.KEY_GSM_RSSI_THRESHOLDS_INT_ARRAY, in setUp() 116 mBundle.putInt(CarrierConfigManager.KEY_PARAMETERS_USED_FOR_LTE_SIGNAL_BAR_INT, in setUp() 118 mBundle.putIntArray(CarrierConfigManager.KEY_LTE_RSRP_THRESHOLDS_INT_ARRAY, in setUp() 126 mBundle.putInt(CarrierConfigManager.KEY_PARAMETERS_USE_FOR_5G_NR_SIGNAL_BAR_INT, in setUp() 128 mBundle.putIntArray(CarrierConfigManager.KEY_5G_NR_SSRSRP_THRESHOLDS_INT_ARRAY, in setUp() 136 mBundle.putIntArray(CarrierConfigManager.KEY_5G_NR_SSRSRQ_THRESHOLDS_INT_ARRAY, in setUp() 143 mBundle.putIntArray(CarrierConfigManager.KEY_5G_NR_SSSINR_THRESHOLDS_INT_ARRAY, in setUp() 157 mBundle = null; in tearDown() [all …]
|
D | MissedIncomingCallSmsFilterTest.java | 50 private PersistableBundle mBundle; field in MissedIncomingCallSmsFilterTest 55 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp() 62 mBundle = null; in tearDown() 69 mBundle.putStringArray( in testMissedIncomingCallwithCallerId() 72 mBundle.putStringArray( in testMissedIncomingCallwithCallerId()
|
D | RatRatcheterTest.java | 39 private PersistableBundle mBundle; field in RatRatcheterTest 50 mBundle = null; in tearDown() 137 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsFamily() 138 mBundle.putStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES, in testRatchetIsFamily() 155 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsNotFamily() 156 mBundle.putStringArray(CarrierConfigManager.KEY_RATCHET_RAT_FAMILIES, new String[]{}); in testRatchetIsNotFamily()
|
D | NetworkTypeControllerTest.java | 80 private PersistableBundle mBundle; field in NetworkTypeControllerTest 111 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp() 112 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_CONFIGURATION_STRING, in setUp() 132 mBundle = null; in tearDown() 239 mBundle.putString(CarrierConfigManager.KEY_SHOW_CARRIER_DATA_ICON_PATTERN_STRING, in testUpdateOverrideNetworkTypeLte() 314 mBundle.putBoolean( in testTransitionToCurrentStateIdle_usingUserDataForRrcDetection() 366 mBundle.putBoolean( in testTransitionToCurrentStateLteConnected_usingUserDataForRrcDetection() 415 mBundle.putIntArray(CarrierConfigManager.KEY_ADDITIONAL_NR_ADVANCED_BANDS_INT_ARRAY, in testTransitionToCurrentStateNrConnectedMmwaveWithAdditionalBandAndNoMmwave() 438 mBundle.putIntArray(CarrierConfigManager.KEY_ADDITIONAL_NR_ADVANCED_BANDS_INT_ARRAY, in testTransitionToCurrentStateNrConnectedWithNoAdditionalBandAndNoMmwave() 460 mBundle.putInt(CarrierConfigManager.KEY_NR_ADVANCED_CAPABLE_PCO_ID_INT, 0); in testTransitionToCurrentStateNrConnectedWithNrAdvancedCapable() [all …]
|
D | CarrierSignalAgentTest.java | 72 private PersistableBundle mBundle; field in CarrierSignalAgentTest 115 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp() 139 mBundle = null; in tearDown() 149 mBundle.putStringArray( in testNotifyManifestReceivers() 200 mBundle.putStringArray( in testLegacyConversionSupport() 318 mBundle.putStringArray( in testNotifyRuntimeReceivers() 352 mBundle.putStringArray( in testNotify() 355 mBundle.putStringArray( in testNotify() 416 mBundle.putStringArray( in testCarrierConfigChange() 426 mBundle.putStringArray( in testCarrierConfigChange() [all …]
|
D | CarrierServiceStateTrackerTest.java | 64 PersistableBundle mBundle; field in CarrierServiceStateTrackerTest 71 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp() 87 mBundle.putInt(CarrierConfigManager.KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT, 0); in setDefaultValues() 88 mBundle.putInt(CarrierConfigManager.KEY_EMERGENCY_NOTIFICATION_DELAY_INT, 0); in setDefaultValues() 95 mBundle = null; in tearDown()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmMetricsConsumer.cpp | 191 ExportCounterMetric(metrics.mOpenSessionCounter, mBundle); in consumeFrameworkMetrics() 192 ExportCounterMetric(metrics.mCloseSessionCounter, mBundle); in consumeFrameworkMetrics() 193 ExportEventMetric(metrics.mGetKeyRequestTimeUs, mBundle); in consumeFrameworkMetrics() 194 ExportEventMetric(metrics.mProvideKeyResponseTimeUs, mBundle); in consumeFrameworkMetrics() 195 ExportCounterMetric(metrics.mGetProvisionRequestCounter, mBundle); in consumeFrameworkMetrics() 196 ExportCounterMetric(metrics.mProvideProvisionResponseCounter, mBundle); in consumeFrameworkMetrics() 197 …ExportCounterMetricWithAttributeNames(metrics.mKeyStatusChangeCounter, "KeyStatusChange", mBundle); in consumeFrameworkMetrics() 198 ExportCounterMetricWithAttributeNames(metrics.mEventCounter, "Event", mBundle); in consumeFrameworkMetrics() 199 ExportCounterMetric(metrics.mGetDeviceUniqueIdCounter, mBundle); in consumeFrameworkMetrics() 200 ExportSessionLifespans(metrics.GetSessionLifespans(), mBundle); in consumeFrameworkMetrics() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessageQueueTest.java | 148 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/imsphone/ |
D | ImsCallTest.java | 52 private Bundle mBundle; field in ImsCallTest 61 mBundle = mTestCallProfile.mCallExtras; in setUp() 67 mBundle = null; in tearDown() 109 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifiDeprecated() 187 mBundle.putInt(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetWifi() 199 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetWifiAlt() 211 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetLteNoWifiDeprecated() 223 mBundle.putInt(ImsCallProfile.EXTRA_CALL_NETWORK_TYPE, in testSetLteNoWifi() 235 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetLteNoWifiAlt()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsManagerTest.java | 89 PersistableBundle mBundle; field in ImsManagerTest 112 mBundle = mContextFixture.getTestCarrierConfigBundle(); in setUp() 146 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, in setDefaultValues() 148 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, in setDefaultValues() 150 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, in setDefaultValues() 152 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, in setDefaultValues() 154 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, in setDefaultValues() 156 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT, in setDefaultValues() 158 mBundle.putInt(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT, in setDefaultValues() 160 mBundle.putBoolean(CarrierConfigManager.KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, in setDefaultValues() [all …]
|
D | ContextFixture.java | 63 private final PersistableBundle mBundle = new PersistableBundle(); field in ContextFixture 68 doReturn(mBundle).when(mCarrierConfigManager).getConfigForSubId(anyInt()); in ContextFixture() 69 doReturn(mBundle).when(mCarrierConfigManager).getConfig(); in ContextFixture() 165 return mBundle; in getTestCarrierConfigBundle()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | RetryManagerTest.java | 80 private PersistableBundle mBundle; field in RetryManagerTest 85 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp() 93 mBundle = null; in tearDown() 104 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerEmpty() 125 mBundle.putStringArray( in testRetryManagerOneApnNoRetry() 148 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerOneApnTwoRetries() 202 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoApnsOneRetry() 240 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoApnsTwoRetries() 288 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerTwoMmsApnsTwoRetries() 336 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, in testRetryManagerApnPermanentFailed() [all …]
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | DrmMetricsConsumer.h | 40 DrmMetricsConsumer(os::PersistableBundle *bundle) : mBundle(bundle) {} in DrmMetricsConsumer() 90 os::PersistableBundle *mBundle;
|