Home
last modified time | relevance | path

Searched refs:persistableBundle (Results 1 – 8 of 8) sorted by relevance

/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileActivatorTest.java102 PersistableBundle persistableBundle = new PersistableBundle(); in setUp() local
103 persistableBundle.putBoolean(CarrierConfigManager in setUp()
105 doReturn(persistableBundle).when(mMockCarrierConfigManager).getConfigForSubId(TEST_SUBID_1); in setUp()
304 PersistableBundle persistableBundle = new PersistableBundle(); in testNonCBRSCarrierPSIMInserted() local
305 persistableBundle.putBoolean(CarrierConfigManager in testNonCBRSCarrierPSIMInserted()
307 doReturn(persistableBundle).when(mMockCarrierConfigManager).getConfigForSubId(TEST_SUBID_0); in testNonCBRSCarrierPSIMInserted()
365 PersistableBundle persistableBundle = new PersistableBundle(); in testOneCBRSPSIMAndOneNonCBRSESIM() local
366 persistableBundle.putBoolean(CarrierConfigManager in testOneCBRSPSIMAndOneNonCBRSESIM()
368 doReturn(persistableBundle).when(mMockCarrierConfigManager).getConfigForSubId(TEST_SUBID_0); in testOneCBRSPSIMAndOneNonCBRSESIM()
399 PersistableBundle persistableBundle = new PersistableBundle(); in testOneCBRSPSIMAndOneOpportunisticESIM() local
[all …]
DONSProfileConfiguratorTest.java160 PersistableBundle persistableBundle = new PersistableBundle(); in testdeleteInactiveOpportunisticSubscriptionsWithNoneSavedOppSubs() local
161 persistableBundle.putIntArray( in testdeleteInactiveOpportunisticSubscriptionsWithNoneSavedOppSubs()
163 doReturn(persistableBundle).when(mMockCarrierConfigManager).getConfigForSubId(TEST_SUB_ID); in testdeleteInactiveOpportunisticSubscriptionsWithNoneSavedOppSubs()
216 PersistableBundle persistableBundle = new PersistableBundle(); in testFindOpportunisticSubscription() local
217 persistableBundle.putIntArray( in testFindOpportunisticSubscription()
219 doReturn(persistableBundle).when(mMockCarrierConfigManager).getConfigForSubId(TEST_SUB_ID); in testFindOpportunisticSubscription()
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/snippet/
DUwbManagerSnippet.java187 public PersistableBundle persistableBundle; field in UwbManagerSnippet.RangingSessionCallback
216 persistableBundle = params; in onOpenFailed()
231 persistableBundle = params; in onStartFailed()
238 persistableBundle = params; in onReconfigured()
246 persistableBundle = params; in onReconfigureFailed()
254 persistableBundle = params; in onStopped()
262 persistableBundle = params; in onStopFailed()
270 persistableBundle = params; in onClosed()
284 persistableBundle = params; in onControleeAdded()
294 persistableBundle = params; in onControleeAddFailed()
[all …]
/packages/modules/OnDevicePersonalization/systemservice/java/com/android/server/ondevicepersonalization/
DBooleanFileDataStore.java160 final PersistableBundle persistableBundle = new PersistableBundle(); in writeToFile() local
162 persistableBundle.putBoolean(entry.getKey(), entry.getValue()); in writeToFile()
165 persistableBundle.writeToStream(outputStream); in writeToFile()
184 final PersistableBundle persistableBundle = PersistableBundle.readFromStream( in readFromFile() local
188 for (String key: persistableBundle.keySet()) { in readFromFile()
189 mLocalMap.put(key, persistableBundle.getBoolean(key)); in readFromFile()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DE2eUiTestUtils.java39 PersistableBundle persistableBundle = intent in verifyProvisioningExtras() local
41 return persistableBundle != null && persistableBundle.getBoolean(EXTRAS_BUNDLE_TEST_KEY); in verifyProvisioningExtras()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/util/
DIoUtilsTest.java145 File file, PersistableBundle persistableBundle) throws IOException { in writeBundleToFile() argument
147 persistableBundle.writeToStream(byteArrayOutputStream); in writeBundleToFile()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DResultStoreTest.java527 File dir, String fileName, PersistableBundle persistableBundle) throws Exception { in writeBundleToFile() argument
528 writeBundleToFile(new File(dir, fileName), persistableBundle); in writeBundleToFile()
536 File file, PersistableBundle persistableBundle) throws Exception { in writeBundleToFile() argument
538 persistableBundle.writeToStream(byteArrayOutputStream); in writeBundleToFile()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java187 PersistableBundle persistableBundle = mUwbManager.getSpecificationInfo(); in testGetSpecificationInfo() local
188 assertThat(persistableBundle).isNotNull(); in testGetSpecificationInfo()
189 assertThat(persistableBundle.isEmpty()).isFalse(); in testGetSpecificationInfo()
202 PersistableBundle persistableBundle = in testGetSpecificationInfoWithChipId() local
204 assertThat(persistableBundle).isNotNull(); in testGetSpecificationInfoWithChipId()
205 assertThat(persistableBundle.isEmpty()).isFalse(); in testGetSpecificationInfoWithChipId()