Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/ondeviceintelligence/
DTokenInfo.java43 public TokenInfo(long count, @NonNull PersistableBundle persistableBundle) { in TokenInfo() argument
45 mInfoParams = persistableBundle; in TokenInfo()
DFeatureDetails.java154 PersistableBundle persistableBundle = (PersistableBundle) in.readTypedObject( in FeatureDetails() local
160 this.mFeatureDetailParams = persistableBundle; in FeatureDetails()
/frameworks/base/core/java/android/app/admin/
DPolicySizeVerifier.java80 } else if (value instanceof PersistableBundle persistableBundle) { in enforceMaxStringLength()
81 queue.add(persistableBundle); in enforceMaxStringLength()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabBulkCapabilityUpdaterTest.java206 PersistableBundle persistableBundle = new PersistableBundle(); in mockBulkCapabilityCarrierConfig() local
207 persistableBundle.putBoolean( in mockBulkCapabilityCarrierConfig()
211 doReturn(persistableBundle).when(carrierConfigManager).getConfigForSubId(anyInt()); in mockBulkCapabilityCarrierConfig()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java144 final PersistableBundle persistableBundle = new PersistableBundle(); in testRecycleLaunchActivityItem() local
145 persistableBundle.putInt("k", 4); in testRecycleLaunchActivityItem()
161 .setPersistentState(persistableBundle) in testRecycleLaunchActivityItem()
DTransactionParcelTests.java188 final PersistableBundle persistableBundle = new PersistableBundle(); in testLaunch() local
189 persistableBundle.putInt("k", 4); in testLaunch()
202 .setPersistentState(persistableBundle) in testLaunch()
/frameworks/base/core/java/android/service/voice/
DHotwordDetectionService.java427 final PersistableBundle persistableBundle = result.getExtras(); in onDetected() local
428 if (!persistableBundle.isEmpty() && HotwordDetectedResult.getParcelableSize( in onDetected()
429 persistableBundle) > HotwordDetectedResult.getMaxBundleSize()) { in onDetected()
DHotwordDetectedResult.java376 PersistableBundle persistableBundle = hotwordDetectedResult.getExtras(); in getUsageSize() local
377 if (!persistableBundle.isEmpty()) { in getUsageSize()
378 totalBits += getParcelableSize(persistableBundle) * Byte.SIZE; in getUsageSize()
/frameworks/base/core/java/android/service/ondeviceintelligence/
DOnDeviceIntelligenceService.java439 public void onDownloadCompleted(@NonNull PersistableBundle persistableBundle) {
441 downloadCallback.onDownloadCompleted(persistableBundle);
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/
DOnDeviceIntelligenceManagerService.java734 PersistableBundle persistableBundle = new PersistableBundle();
736 persistableBundle.putString(key, props.getString(key, ""));
739 bundle.putParcelable(DEVICE_CONFIG_UPDATE_BUNDLE_KEY, persistableBundle);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java2934 PersistableBundle persistableBundle = null; in isAllowNonGlobalNumberFormat() local
2938 persistableBundle = carrierConfigManager.getConfigForSubId(getSubId(), in isAllowNonGlobalNumberFormat()
2941 if (persistableBundle != null) { in isAllowNonGlobalNumberFormat()
2942 return persistableBundle.getBoolean( in isAllowNonGlobalNumberFormat()
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java2502 final PersistableBundle persistableBundle = new PersistableBundle(); in mockCarrierConfig() local
2503 persistableBundle.putInt(KEY_MIN_UDP_PORT_4500_NAT_TIMEOUT_SEC_INT, keepaliveTimer); in mockCarrierConfig()
2504 persistableBundle.putInt(KEY_PREFERRED_IKE_PROTOCOL_INT, ikeProtocol); in mockCarrierConfig()
2506 persistableBundle.putBoolean(KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in mockCarrierConfig()
2507 doReturn(persistableBundle).when(mConfigManager).getConfigForSubId(subId); in mockCarrierConfig()