Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/core/java/android/app/time/
H A DTimeZoneConfiguration.java77 @NonNull private final Bundle mBundle; field in TimeZoneConfiguration
80 this.mBundle = Objects.requireNonNull(builder.mBundle); in TimeZoneConfiguration()
91 dest.writeBundle(mBundle); in writeToParcel()
141 return mBundle.getBoolean(SETTING_GEO_DETECTION_ENABLED); in isGeoDetectionEnabled()
167 return mBundle.kindofEquals(that.mBundle); in equals()
172 return Objects.hash(mBundle); in hashCode()
178 + "mBundle=" + mBundle in toString()
183 if (!mBundle.containsKey(setting)) { in enforceSettingPresent()
196 private final Bundle mBundle = new Bundle(); field in TimeZoneConfiguration.Builder
219 this.mBundle.putAll(other.mBundle); in mergeProperties()
[all …]
H A DTimeConfiguration.java58 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 …]
/aosp12/frameworks/base/core/java/android/hardware/radio/
H A DRadioMetadata.java262 private final Bundle mBundle; field in RadioMetadata
301 mBundle = new Bundle(); in RadioMetadata()
305 mBundle = new Bundle(bundle); in RadioMetadata()
309 mBundle = in.readBundle(); in RadioMetadata()
354 return mBundle.getString(key); in getString()
437 dest.writeBundle(mBundle); in writeToParcel()
446 return mBundle.size(); in size()
455 return mBundle.keySet(); in keySet()
487 private final Bundle mBundle; field in RadioMetadata.Builder
494 mBundle = new Bundle(); in Builder()
[all …]
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
H A DPackageIdentifier.java30 private final Bundle mBundle; field in PackageIdentifier
39 mBundle = new Bundle(); in PackageIdentifier()
40 mBundle.putString(PACKAGE_NAME_FIELD, packageName); in PackageIdentifier()
41 mBundle.putByteArray(SHA256_CERTIFICATE_FIELD, sha256Certificate); in PackageIdentifier()
46 mBundle = Objects.requireNonNull(bundle); in PackageIdentifier()
52 return mBundle; in getBundle()
57 return Objects.requireNonNull(mBundle.getString(PACKAGE_NAME_FIELD)); in getPackageName()
62 return Objects.requireNonNull(mBundle.getByteArray(SHA256_CERTIFICATE_FIELD)); in getSha256Certificate()
74 return BundleUtil.deepEquals(mBundle, other.mBundle); in equals()
79 return BundleUtil.deepHashCode(mBundle); in hashCode()
H A DSetSchemaResponse.java40 private final Bundle mBundle; field in SetSchemaResponse
65 mBundle = Objects.requireNonNull(bundle); in SetSchemaResponse()
80 return mBundle; in getBundle()
296 private final Bundle mBundle; field in SetSchemaResponse.MigrationFailure
312 mBundle = new Bundle(); in MigrationFailure()
321 mBundle.putInt(RESULT_CODE_FIELD, failedResult.getResultCode()); in MigrationFailure()
325 mBundle = Objects.requireNonNull(bundle); in MigrationFailure()
335 return mBundle; in getBundle()
341 return mBundle.getString(NAMESPACE_FIELD, /*defaultValue=*/ ""); in getNamespace()
347 return mBundle.getString(DOCUMENT_ID_FIELD, /*defaultValue=*/ ""); in getDocumentId()
[all …]
H A DSearchResult.java52 @NonNull private final Bundle mBundle; field in SearchResult
62 mBundle = Objects.requireNonNull(bundle); in SearchResult()
68 return mBundle; in getBundle()
115 return Objects.requireNonNull(mBundle.getString(PACKAGE_NAME_FIELD)); in getPackageName()
125 return Objects.requireNonNull(mBundle.getString(DATABASE_NAME_FIELD)); in getDatabaseName()
155 return mBundle.getDouble(RANKING_SIGNAL_FIELD); in getRankingSignal()
195 mMatchInfoBundles.add(matchInfo.mBundle); in addMatchInfo()
301 final Bundle mBundle; field in SearchResult.MatchInfo
321 mBundle = Objects.requireNonNull(bundle); in MatchInfo()
396 mBundle.getInt(SNIPPET_RANGE_LOWER_FIELD), in getSnippetRange()
[all …]
H A DGenericDocument.java87 @NonNull final Bundle mBundle; field in GenericDocument
106 mBundle = bundle; in GenericDocument()
120 this(document.mBundle); in GenericDocument()
130 return mBundle; in getBundle()
863 return BundleUtil.deepEquals(this.mBundle, otherDocument.mBundle); in equals()
983 private Bundle mBundle; field in GenericDocument.Builder
1010 mBundle = new Bundle(); in Builder()
1121 mBundle.putLong( in setCreationTimestampMillis()
1327 mBundle.putLong( in build()
1331 return new GenericDocument(mBundle); in build()
[all …]
H A DSearchSpec.java176 private final Bundle mBundle; field in SearchSpec
181 mBundle = bundle; in SearchSpec()
191 return mBundle; in getBundle()
196 return mBundle.getInt(TERM_MATCH_TYPE_FIELD, -1); in getTermMatch()
206 List<String> schemas = mBundle.getStringArrayList(SCHEMA_FIELD); in getFilterSchemas()
250 return mBundle.getInt(RANKING_STRATEGY_FIELD); in getRankingStrategy()
255 return mBundle.getInt(ORDER_FIELD); in getOrder()
260 return mBundle.getInt(SNIPPET_COUNT_FIELD); in getSnippetCount()
267 return mBundle.getInt(SNIPPET_COUNT_PER_PROPERTY_FIELD); in getSnippetCountPerProperty()
272 return mBundle.getInt(MAX_SNIPPET_FIELD); in getMaxSnippetSize()
[all …]
H A DStorageInfo.java31 private final Bundle mBundle; field in StorageInfo
34 mBundle = Objects.requireNonNull(bundle); in StorageInfo()
44 return mBundle; in getBundle()
49 return mBundle.getLong(SIZE_BYTES_FIELD); in getSizeBytes()
59 return mBundle.getInt(ALIVE_DOCUMENTS_COUNT); in getAliveDocumentsCount()
70 return mBundle.getInt(ALIVE_NAMESPACES_COUNT); in getAliveNamespacesCount()
H A DAppSearchSchema.java52 private final Bundle mBundle; field in AppSearchSchema
57 mBundle = bundle; in AppSearchSchema()
67 return mBundle; in getBundle()
115 return mBundle.getString(SCHEMA_TYPE_FIELD, ""); in getSchemaType()
180 mPropertyBundles.add(propertyConfig.mBundle); in addProperty()
285 final Bundle mBundle; field in AppSearchSchema.PropertyConfig
290 mBundle = Objects.requireNonNull(bundle); in PropertyConfig()
363 return mBundle.getString(NAME_FIELD, ""); in getName()
372 return mBundle.getInt(DATA_TYPE_FIELD, -1); in getDataType()
391 return BundleUtil.deepEquals(this.mBundle, otherProperty.mBundle); in equals()
[all …]
H A DSearchResultPage.java40 @NonNull private final Bundle mBundle; field in SearchResultPage
43 mBundle = Objects.requireNonNull(bundle); in SearchResultPage()
44 mNextPageToken = mBundle.getLong(NEXT_PAGE_TOKEN_FIELD); in SearchResultPage()
50 return mBundle; in getBundle()
62 ArrayList<Bundle> resultBundles = mBundle.getParcelableArrayList(RESULTS_FIELD); in getResults()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A 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()
/aosp12/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A 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()
/aosp12/frameworks/base/telephony/java/android/telephony/ims/
H A DSipDelegateImsConfiguration.java386 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()
432 mBundle = bundle; in SipDelegateImsConfiguration()
445 return mBundle.containsKey(key); in containsKey()
452 return mBundle.getString(key); in getString()
460 if (!mBundle.containsKey(key)) { in getInt()
463 return mBundle.getInt(key); in getInt()
471 if (!mBundle.containsKey(key)) { in getBoolean()
[all …]
/aosp12/frameworks/base/core/java/android/view/textclassifier/
H A 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 …]
/aosp12/frameworks/base/media/java/android/media/
H A DMediaMetadata.java420 private final Bundle mBundle; field in MediaMetadata
425 mBundle = new Bundle(bundle); in MediaMetadata()
430 mBundle = in.readBundle(); in MediaMetadata()
441 return mBundle.containsKey(key); in containsKey()
481 return mBundle.getLong(key, 0); in getLong()
544 dest.writeBundle(mBundle); in writeToParcel()
554 return mBundle.size(); in size()
563 return mBundle.keySet(); in keySet()
742 private final Bundle mBundle; field in MediaMetadata.Builder
750 mBundle = new Bundle(); in Builder()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
H A DLocationPolicyDisclaimerTest.java48 private final PersistableBundle mBundle = new PersistableBundle(); field in LocationPolicyDisclaimerTest
58 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setUp()
66 mBundle.putBoolean(CarrierConfigManager.KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL, true); in sholdShow_configTrue_shouldShowLocationPolicyDisclaimer()
67 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, false); in sholdShow_configTrue_shouldShowLocationPolicyDisclaimer()
80 mBundle.putBoolean(CarrierConfigManager.KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL, false); in sholdShow_configFalse_shouldNotShowLocationPolicyDisclaimer()
91 mBundle.putBoolean(CarrierConfigManager.KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL, true); in sholdShow_defaultWfcEnabled_shouldNotShowLocationPolicyDisclaimer()
92 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, true); in sholdShow_defaultWfcEnabled_shouldNotShowLocationPolicyDisclaimer()
103 mBundle.putBoolean(CarrierConfigManager.KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL, true); in sholdShow_alreadyAgreed_shouldNotShowLocationPolicyDisclaimer()
104 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, false); in sholdShow_alreadyAgreed_shouldNotShowLocationPolicyDisclaimer()
H A DWifiCallingSettingsForSubTest.java83 private final PersistableBundle mBundle = new PersistableBundle(); field in WifiCallingSettingsForSubTest
150 doReturn(mBundle).when(sCarrierConfigManager).getConfigForSubId(anyInt()); in setUp()
164 mBundle.putBoolean( in setDefaultCarrierConfigValues()
166 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, true); in setDefaultCarrierConfigValues()
167 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, true); in setDefaultCarrierConfigValues()
168 mBundle.putString( in setDefaultCarrierConfigValues()
219 mBundle.putBoolean( in onResume_useWfcHomeModeConfigTrueAndEditable_shouldHideWfcRoaming()
221 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, true); in onResume_useWfcHomeModeConfigTrueAndEditable_shouldHideWfcRoaming()
232 mBundle.putBoolean( in onResume_useWfcHomeModeConfigFalseAndNotEditable_shouldHideWfcRoaming()
245 mBundle.putBoolean( in onResume_useWfcHomeModeConfigTrueAndNotEditable_shouldHideWfcRoaming()
[all …]
/aosp12/packages/services/Car/packages/ScriptExecutor/src/
H A DBundleWrapper.cpp40 mBundle = mJNIEnv->NewGlobalRef(localBundleObjectRef.get()); in BundleWrapper()
45 if (mBundle != NULL) { in ~BundleWrapper()
46 mJNIEnv->DeleteGlobalRef(mBundle); in ~BundleWrapper()
62 mJNIEnv->CallVoidMethod(mBundle, putBooleanMethod, keyStringRef.get(), in putBoolean()
75 mJNIEnv->CallVoidMethod(mBundle, putLongMethod, keyStringRef.get(), static_cast<jlong>(value)); in putLong()
87 mJNIEnv->CallVoidMethod(mBundle, putDoubleMethod, keyStringRef.get(), in putDouble()
105 mJNIEnv->CallVoidMethod(mBundle, putStringMethod, keyStringRef.get(), valueStringRef.get()); in putString()
120 mJNIEnv->CallVoidMethod(mBundle, putLongArrayMethod, keyStringRef.get(), arrayRef.get()); in putLongArray()
147 mJNIEnv->CallVoidMethod(mBundle, putStringArrayMethod, keyStringRef.get(), arrayRef.get()); in putStringArray()
152 return mBundle; in getBundle()
/aosp12/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A 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()
H A 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()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
H A DPanelFeatureProviderImplTest.java47 private Bundle mBundle; field in PanelFeatureProviderImplTest
53 mBundle = new Bundle(); in setUp()
54 mBundle.putString(KEY_MEDIA_PACKAGE_NAME, TEST_PACKAGENAME); in setUp()
59 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, Settings.Panel.ACTION_INTERNET_CONNECTIVITY); in getPanel_internetConnectivityKey_sendsCorrectBroadcast()
60 mProvider.getPanel(mContext, mBundle); in getPanel_internetConnectivityKey_sendsCorrectBroadcast()
70 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, Settings.Panel.ACTION_VOLUME); in getPanel_volume_returnsCorrectPanel()
72 final PanelContent panel = mProvider.getPanel(mContext, mBundle); in getPanel_volume_returnsCorrectPanel()
/aosp12/packages/apps/Settings/tests/perftests/src/com/android/settings/tests/perf/
H A DLaunchSettingsTest.java78 private Bundle mBundle; field in LaunchSettingsTest
87 mBundle = new Bundle(); in setUp()
107 mInstrumentation.sendStatus(0, mBundle); in tearDown()
147 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "max"), in putResultToBundle()
149 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "min"), in putResultToBundle()
151 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "avg"), in putResultToBundle()
153 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "25 Percentile"), in putResultToBundle()
155 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "50 Percentile"), in putResultToBundle()
157 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "75 Percentile"), in putResultToBundle()
159 mBundle.putString(String.format("LaunchSettingsTest_%s_%s", string, "all_results"), in putResultToBundle()
[all …]
/aosp12/frameworks/av/drm/libmediadrm/
H A 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 …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DNetworkTypeControllerTest.java89 private PersistableBundle mBundle; field in NetworkTypeControllerTest
137 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
138 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_CONFIGURATION_STRING, in setUp()
339 mBundle.putBoolean( in testTransitionToCurrentStateIdle_usingUserDataForRrcDetection()
391 mBundle.putBoolean( in testTransitionToCurrentStateLteConnected_usingUserDataForRrcDetection()
719 mBundle.putBoolean( in testUsingUserDataForRrcDetection_FromNrConnectedMmwaveToLteConnected()
759 mBundle = mContextFixture.getCarrierConfigBundle(); in testEventPhysicalChannelChangeFromLteToLteCaInLteConnectedState()
760 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_CONFIGURATION_STRING, in testEventPhysicalChannelChangeFromLteToLteCaInLteConnectedState()
788 mBundle = mContextFixture.getCarrierConfigBundle(); in testEventPhysicalChannelChangeFromLteToLteCaInIdleState()
789 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_CONFIGURATION_STRING, in testEventPhysicalChannelChangeFromLteToLteCaInIdleState()
[all …]

123