Home
last modified time | relevance | path

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

12

/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactsIndexerSettings.java63 private PersistableBundle mBundle = new PersistableBundle(); field in ContactsIndexerSettings
71 mBundle = readBundle(mFile); in load()
75 writeBundle(mFile, mBundle); in persist()
80 return mBundle.getLong(LAST_FULL_UPDATE_TIMESTAMP_KEY); in getLastFullUpdateTimestampMillis()
85 mBundle.putLong(LAST_FULL_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastFullUpdateTimestampMillis()
90 return mBundle.getLong(LAST_DELTA_UPDATE_TIMESTAMP_KEY); in getLastDeltaUpdateTimestampMillis()
95 mBundle.putLong(LAST_DELTA_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastDeltaUpdateTimestampMillis()
100 return mBundle.getLong(LAST_CONTACT_UPDATE_TIMESTAMP_KEY); in getLastContactUpdateTimestampMillis()
105 mBundle.putLong(LAST_CONTACT_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastContactUpdateTimestampMillis()
110 return mBundle.getLong(LAST_CONTACT_DELETE_TIMESTAMP_KEY); in getLastContactDeleteTimestampMillis()
[all …]
/packages/services/Car/packages/ScriptExecutor/src/
DBundleWrapper.cpp41 mBundle = mJNIEnv->NewGlobalRef(localBundleObjectRef.get()); in BundleWrapper()
46 if (mBundle != NULL) { in ~BundleWrapper()
47 mJNIEnv->DeleteGlobalRef(mBundle); in ~BundleWrapper()
63 mJNIEnv->CallVoidMethod(mBundle, putBooleanMethod, keyStringRef.get(), in putBoolean()
76 mJNIEnv->CallVoidMethod(mBundle, putLongMethod, keyStringRef.get(), static_cast<jlong>(value)); in putLong()
88 mJNIEnv->CallVoidMethod(mBundle, putDoubleMethod, keyStringRef.get(), in putDouble()
106 mJNIEnv->CallVoidMethod(mBundle, putStringMethod, keyStringRef.get(), valueStringRef.get()); in putString()
122 mJNIEnv->CallVoidMethod(mBundle, putBooleanArrayMethod, keyStringRef.get(), arrayRef.get()); in putBooleanArray()
137 mJNIEnv->CallVoidMethod(mBundle, putDoubleArrayMethod, keyStringRef.get(), arrayRef.get()); in putDoubleArray()
152 mJNIEnv->CallVoidMethod(mBundle, putLongArrayMethod, keyStringRef.get(), arrayRef.get()); in putLongArray()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DPanelFeatureProviderImplTest.java52 private Bundle mBundle; field in PanelFeatureProviderImplTest
58 mBundle = new Bundle(); in setUp()
59 mBundle.putString(KEY_MEDIA_PACKAGE_NAME, TEST_PACKAGENAME); in setUp()
64 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, Settings.Panel.ACTION_INTERNET_CONNECTIVITY); in getPanel_internetConnectivityKey_sendsCorrectBroadcast()
65 mProvider.getPanel(mContext, mBundle); in getPanel_internetConnectivityKey_sendsCorrectBroadcast()
78 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, Settings.Panel.ACTION_VOLUME); in getPanel_volumePanel_returnsCorrectPanel()
80 final PanelContent panel = mProvider.getPanel(mContext, mBundle); in getPanel_volumePanel_returnsCorrectPanel()
89 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, Settings.Panel.ACTION_VOLUME); in getPanel_volumePanelFlagEnabled_sendRedirectIntent()
92 mProvider.getPanel(mContext, mBundle); in getPanel_volumePanelFlagEnabled_sendRedirectIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
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()
DWifiCallingSettingsForSubTest.java90 private final PersistableBundle mBundle = new PersistableBundle(); field in WifiCallingSettingsForSubTest
156 doReturn(mBundle).when(sCarrierConfigManager).getConfigForSubId(anyInt()); in setUp()
171 mBundle.putBoolean( in setDefaultCarrierConfigValues()
173 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL, true); in setDefaultCarrierConfigValues()
174 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, true); in setDefaultCarrierConfigValues()
175 mBundle.putString( in setDefaultCarrierConfigValues()
226 mBundle.putBoolean( in onResume_useWfcHomeModeConfigTrueAndEditable_shouldHideWfcRoaming()
228 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, true); in onResume_useWfcHomeModeConfigTrueAndEditable_shouldHideWfcRoaming()
239 mBundle.putBoolean( in onResume_useWfcHomeModeConfigFalseAndNotEditable_shouldHideWfcRoaming()
241 mBundle.putBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, false); in onResume_useWfcHomeModeConfigFalseAndNotEditable_shouldHideWfcRoaming()
[all …]
DEmergencyCallLimitationDisclaimerTest.java48 private final PersistableBundle mBundle = new PersistableBundle(); field in EmergencyCallLimitationDisclaimerTest
58 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setUp()
67 mBundle.putInt(CarrierConfigManager.KEY_EMERGENCY_NOTIFICATION_DELAY_INT, 1000); in sholdShow_delay1000msec_shouldShowEmergencyCallLimitationDisclaimer()
80 mBundle.putInt(CarrierConfigManager.KEY_EMERGENCY_NOTIFICATION_DELAY_INT, -1); in sholdShow_delayDefault_shouldNotShowEmergencyCallLimitationDisclaimer()
91 mBundle.putInt(CarrierConfigManager.KEY_EMERGENCY_NOTIFICATION_DELAY_INT, 10); in sholdShow_alreadyAgreed_shouldNotShowEmergencyCallLimitationDisclaimer()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java126 private Bundle mBundle; field in AdvancedPowerUsageDetailTest
136 mBundle = spy(new Bundle()); in setUp()
140 doReturn(APP_LABEL).when(mBundle).getString(nullable(String.class)); in setUp()
141 when(mFragment.getArguments()).thenReturn(mBundle); in setUp()
213 mBundle = captor.getValue().getBundleExtra(EXTRA_SHOW_FRAGMENT_ARGUMENTS); in setUp()
214 System.out.println("mBundle = " + mBundle); in setUp()
287 mBundle.clear(); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()
291 assertThat(mBundle.getInt(AdvancedPowerUsageDetail.EXTRA_UID)).isEqualTo(UID); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()
292 assertThat(mBundle.getLong(AdvancedPowerUsageDetail.EXTRA_BACKGROUND_TIME)).isEqualTo(0); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()
293 assertThat(mBundle.getLong(AdvancedPowerUsageDetail.EXTRA_FOREGROUND_TIME)).isEqualTo(0); in startBatteryDetailPage_invalidToShowSummary_noFGBDData()
[all …]
DPowerBackgroundUsageDetailTest.java117 @Mock private Bundle mBundle; field in PowerBackgroundUsageDetailTest
141 doReturn(APP_LABEL).when(mBundle).getString(nullable(String.class)); in setUp()
142 when(mFragment.getArguments()).thenReturn(mBundle); in setUp()
186 mBundle = captor.getValue().getBundleExtra(EXTRA_SHOW_FRAGMENT_ARGUMENTS); in setUp()
187 System.out.println("mBundle = " + mBundle); in setUp()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DAppsIndexerSettings.java52 private PersistableBundle mBundle = new PersistableBundle(); field in AppsIndexerSettings
60 mBundle = readBundle(mFile); in load()
64 writeBundle(mFile, mBundle); in persist()
69 return mBundle.getLong(LAST_UPDATE_TIMESTAMP_KEY); in getLastUpdateTimestampMillis()
74 mBundle.putLong(LAST_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastUpdateTimestampMillis()
79 return mBundle.getLong(LAST_APP_UPDATE_TIMESTAMP_KEY); in getLastAppUpdateTimestampMillis()
84 mBundle.putLong(LAST_APP_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastAppUpdateTimestampMillis()
/packages/apps/Settings/tests/perftests/src/com/android/settings/tests/perf/
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 …]
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsImsManagerTest.java87 @Mock PersistableBundle mBundle; field in QnsImsManagerTest
98 when(mMockCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setup()
144 when(mMockCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in testQnsImsManagerIsWfcEnabledByPlatform()
145 when(mBundle.getBoolean(eq(CarrierConfigManager.KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL))) in testQnsImsManagerIsWfcEnabledByPlatform()
147 when(mBundle.getBoolean(eq(CarrierConfigManager.KEY_CARRIER_IMS_GBA_REQUIRED_BOOL))) in testQnsImsManagerIsWfcEnabledByPlatform()
172 when(mBundle.getBoolean( in testQnsImsManagerIsWfcProvisionedOnDevice()
185 when(mBundle.getBoolean( in testQnsImsManagerIsWfcProvisionedOnDevice()
198 when(mBundle.getBoolean( in testQnsImsManagerIsWfcProvisionedOnDevice()
211 when(mBundle.getBoolean( in testQnsImsManagerIsWfcProvisionedOnDevice()
227 when(mMockCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in testQnsImsManagerIsCrossSimCallingEnabled()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java152 private PersistableBundle mBundle; field in RcsProvisioningMonitorTest
255 mBundle = new PersistableBundle(); in setUp()
256 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setUp()
366 mBundle.putBoolean(CarrierConfigManager.KEY_USE_ACS_FOR_RCS_BOOL, true); in testDefaultMessagingApplicationChangedWithAcs()
384 mBundle.putBoolean(CarrierConfigManager.KEY_USE_ACS_FOR_RCS_BOOL, false); in testDefaultMessagingApplicationChangedWithoutAcs()
406 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in testCarrierConfigChanged()
407 mBundle.putBoolean( in testCarrierConfigChanged()
422 mBundle.putBoolean( in testCarrierConfigChanged()
486 mBundle.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in testIsRcsVolteSingleRegistrationEnabled()
487 mBundle.putBoolean( in testIsRcsVolteSingleRegistrationEnabled()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/slice/
DSlicePurchaseControllerTest.java106 private PersistableBundle mBundle; field in SlicePurchaseControllerTest
134 mBundle = new PersistableBundle(); in setUp()
135 mBundle.putInt( in setUp()
138 mBundle.putInt( in setUp()
141 doReturn(mBundle).when(mCarrierConfigManager).getConfigForSubId(anyInt()); in setUp()
197 mBundle.putIntArray(CarrierConfigManager.KEY_SUPPORTED_PREMIUM_CAPABILITIES_INT_ARRAY, in testIsPremiumCapabilityAvailableForPurchase()
199 mBundle.putString(CarrierConfigManager.KEY_PREMIUM_CAPABILITY_PURCHASE_URL_STRING, in testIsPremiumCapabilityAvailableForPurchase()
215 mBundle.putString(CarrierConfigManager.KEY_PREMIUM_CAPABILITY_PURCHASE_URL_STRING, in testGetPurchaseURL()
231 mBundle.putString(CarrierConfigManager.KEY_PREMIUM_CAPABILITY_PURCHASE_URL_STRING, url); in testGetPurchaseURL()
314 mBundle.putIntArray(CarrierConfigManager.KEY_SUPPORTED_PREMIUM_CAPABILITIES_INT_ARRAY, in testPurchasePremiumCapabilityResultCarrierDisabled()
[all …]
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DBundleCompat.java25 mBundle = bundle; in BundleCompat()
28 private final Bundle mBundle; field in BundleCompat
31 mBundle.putParcelableList(key, value); in putParcelableList()
35 mBundle.putObject(key, value); in putObject()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsageFragment.java54 private Bundle mBundle; field in AppDataUsageFragment
115 mBundle = getBundleForNetworkStats(); in onCreate()
118 mAppsNetworkStatsManager.startLoading(mLoaderManager, mBundle); in onCreate()
133 return mBundle; in getBundle()
140 mBundle = SummaryForAllUidLoader.buildArgs( in onDataCyclePicked()
144 mAppsNetworkStatsManager.startLoading(mLoaderManager, mBundle); in onDataCyclePicked()
/packages/apps/Settings/src/com/android/settings/panel/
DSettingsPanelActivity.java54 final Bundle mBundle = new Bundle(); field in SettingsPanelActivity
121 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, action); in createOrUpdatePanel()
122 mBundle.putString(KEY_CALLING_PACKAGE_NAME, getCallingPackage()); in createOrUpdatePanel()
123 mBundle.putString(KEY_MEDIA_PACKAGE_NAME, mediaPackageName); in createOrUpdatePanel()
143 mPanelFragment.setArguments(new Bundle(mBundle)); in createOrUpdatePanel()
155 mPanelFragment.setArguments(new Bundle(mBundle)); in createOrUpdatePanel()
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksActivity.java59 final Bundle mBundle = new Bundle(); field in AddAppNetworksActivity
109 mBundle.putString(KEY_CALLING_PACKAGE_NAME, packageName); in showAddNetworksFragment()
110 mBundle.putParcelableArrayList(Settings.EXTRA_WIFI_NETWORK_LIST, in showAddNetworksFragment()
117 fragment.setArguments(mBundle); in showAddNetworksFragment()
120 ((AddAppNetworksFragment) fragment).createContent(mBundle); in showAddNetworksFragment()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DAudioFocusInfoBuilder.java36 private Bundle mBundle = null; field in AudioFocusInfoBuilder
78 mBundle = bundle; in setBundle()
102 if (mBundle != null) { in createAudioFocusInfo()
103 builder = builder.addBundle(mBundle); in createAudioFocusInfo()
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/
DPartialSuggestionProvider.java63 Bundle mBundle; field in PartialSuggestionProvider.MutableMatrixCursor
71 if (mBundle == null) mBundle = new Bundle(); in getExtras()
72 return mBundle; in getExtras()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java79 private HashMap<String, byte[]> mBundle = new HashMap<String, byte[]>(); field in CredentialHelper
118 mBundle.put(key, bytes); in CredentialHelper()
125 outStates.putSerializable(DATA_KEY, mBundle); in onSaveStates()
148 mBundle = (HashMap) savedStates.getSerializable(DATA_KEY); in onRestoreStates()
209 return mBundle.containsKey(KeyChain.EXTRA_PKCS12); in hasPkcs12KeyStore()
213 return mBundle.containsKey(Credentials.EXTRA_PRIVATE_KEY); in hasPrivateKey()
248 return !mBundle.isEmpty(); in containsAnyRawData()
252 return mBundle.get(key); in getData()
256 mBundle.put(KeyChain.EXTRA_PKCS12, data); in putPkcs12Data()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DCmpApiResult.java31 private Bundle mBundle; field in CmpApiResult
49 mBundle = bundle; in CmpApiResult()
66 return mBundle; in getBundle()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsPreferenceControllerTest.java64 private Bundle mBundle; field in ExtraSettingsPreferenceControllerTest
80 mBundle = new Bundle(); in setUp()
82 mPreferenceBundleMap.put(preference, mBundle); in setUp()
188 mBundle.putBoolean( in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoNonDOActivity_disabled()
203 mBundle.putBoolean( in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoDOActivity_enabled()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceHelperTest.java73 private PersistableBundle mBundle; field in ProviderModelSliceHelperTest
102 mBundle = new PersistableBundle(); in setUp()
108 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setUp()
109 mBundle.putBoolean(CarrierConfigManager.KEY_INFLATE_SIGNAL_STRENGTH_BOOL, false); in setUp()
/packages/apps/Settings/src/com/android/settings/notification/app/
DChannelPanelActivity.java48 final Bundle mBundle = new Bundle(); field in ChannelPanelActivity
109 mPanelFragment.setArguments(new Bundle(mBundle)); in createOrUpdatePanel()
/packages/services/Car/service/src/com/android/car/telemetry/
DResultStore.java525 private final PersistableBundle mBundle; field in ResultStore.InterimResult
529 mBundle = bundle; in InterimResult()
534 mBundle = bundle; in InterimResult()
540 return mBundle; in getBundle()

12