/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 6 import android.os.PersistableBundle; 71 public PersistableBundle onLoadConfig(CarrierIdentifier id) { in onLoadConfig() 78 PersistableBundle config = new PersistableBundle(); in onLoadConfig() 88 PersistableBundle configByCarrierId = new PersistableBundle(); in onLoadConfig() 89 PersistableBundle configBySpecificCarrierId = new PersistableBundle(); in onLoadConfig() 90 PersistableBundle configByMccMncFallBackCarrierId = new PersistableBundle(); in onLoadConfig() 129 config = new PersistableBundle(); in onLoadConfig() 135 PersistableBundle vendorConfig = readConfigFromXml(vendorInput, id); in onLoadConfig() 186 static PersistableBundle readConfigFromXml(XmlPullParser parser, @Nullable CarrierIdentifier id) in readConfigFromXml() 188 PersistableBundle config = new PersistableBundle(); in readConfigFromXml() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | StoreUtils.java | 24 import android.os.PersistableBundle; 58 public static Account persistableBundleToAccount(PersistableBundle bundle) { in persistableBundleToAccount() 67 public static PersistableBundle accountToPersistableBundle(Account account) { in accountToPersistableBundle() 68 final PersistableBundle bundle = new PersistableBundle(); in accountToPersistableBundle() 142 public static void putIntegerIfNotNull(PersistableBundle bundle, String attrName, in putIntegerIfNotNull() 149 public static void putPersistableBundlableIfNotNull(PersistableBundle bundle, String attrName, in putPersistableBundlableIfNotNull() 156 public static <E> E getObjectAttrFromPersistableBundle(PersistableBundle bundle, in getObjectAttrFromPersistableBundle() 157 String attrName, Function<PersistableBundle, E> converter) { in getObjectAttrFromPersistableBundle() argument 158 final PersistableBundle attrBundle = bundle.getPersistableBundle(attrName); in getObjectAttrFromPersistableBundle() 162 public static <E> E getStringAttrFromPersistableBundle(PersistableBundle bundle, in getStringAttrFromPersistableBundle() [all …]
|
D | PersistableBundlable.java | 20 import android.os.PersistableBundle; 31 public abstract @NonNull PersistableBundle toPersistableBundle(); in toPersistableBundle() 33 public static PersistableBundle getPersistableBundleFromParcel(Parcel parcel) { in getPersistableBundleFromParcel() 34 return parcel.readParcelable(PersistableBundle.class.getClassLoader()); in getPersistableBundleFromParcel() 76 … private static boolean isPersistableBundleEquals(PersistableBundle obj1, PersistableBundle obj2) { in isPersistableBundleEquals() 104 } else if (val1 instanceof PersistableBundle) { in isPersistableBundleSupportedValueEquals() 105 return isPersistableBundleEquals((PersistableBundle) val1, (PersistableBundle) val2); in isPersistableBundleSupportedValueEquals()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | CarrierPreferenceControllerTest.java | 36 import android.os.PersistableBundle; 93 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_cdmaWithFlagOff_returnUnavailable() 103 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable() 113 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_gsmWithFlagOnreturnAvailable() 122 final PersistableBundle bundle = new PersistableBundle(); in handlePreferenceClick_activityFound_openCarrierSettingActivity() 142 final PersistableBundle bundle = new PersistableBundle(); in handlePreferenceClick_activityNotFound_DoNothing() 159 final PersistableBundle bundle = new PersistableBundle(); in handlePreferenceClick_activityNotConfigured_DoNothing()
|
D | ApnPreferenceControllerTest.java | 31 import android.os.PersistableBundle; 89 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_apnSettingsNotSupported_returnUnavailable() 99 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_apnSettingsSupportedWithCDMA_returnAvailable() 109 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_apnSettingsSupportedWithGsm_returnAvailable() 128 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_hideCarrierNetworkSettings_returnUnavailable()
|
D | CarrierSettingsVersionPreferenceControllerTest.java | 22 import android.os.PersistableBundle; 61 mCarrierConfigManager.setConfigForSubId(mSubscriptionId, new PersistableBundle()); in getSummary_nullVersionString_noCrash() 67 final PersistableBundle bundle = new PersistableBundle(); in getSummary_hasVersionString_correctSummary()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | OmtpVvmCarrierConfigHelper.java | 25 import android.os.PersistableBundle; 94 @Nullable private static PersistableBundle overrideConfigForTest; 97 private final PersistableBundle carrierConfig; 100 private final PersistableBundle telephonyConfig; 102 @Nullable private final PersistableBundle overrideConfig; 111 carrierConfig = new PersistableBundle(); in OmtpVvmCarrierConfigHelper() 112 telephonyConfig = new PersistableBundle(); in OmtpVvmCarrierConfigHelper() 146 PersistableBundle carrierConfig, in OmtpVvmCarrierConfigHelper() 147 PersistableBundle telephonyConfig, in OmtpVvmCarrierConfigHelper() 158 public PersistableBundle getConfig() { in getConfig() [all …]
|
D | DialerVvmConfigManager.java | 21 import android.os.PersistableBundle; 43 final PersistableBundle config; 45 ConfigEntry(CarrierIdentifierMatcher matcher, PersistableBundle config) { in ConfigEntry() 112 public PersistableBundle getConfig(CarrierIdentifier carrierIdentifier) { in getConfig() 130 if (!(object instanceof PersistableBundle)) { in loadConfigs() 133 PersistableBundle bundle = (PersistableBundle) object; in loadConfigs() 188 public static PersistableBundle restoreFromXml(XmlPullParser in) in restoreFromXml() 199 PersistableBundle result = new PersistableBundle(); in restoreFromXml() 210 } else if (value instanceof PersistableBundle) { in restoreFromXml() 211 result.putPersistableBundle(entry.getKey(), (PersistableBundle) value); in restoreFromXml() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 40 import android.os.PersistableBundle; 95 private PersistableBundle[] mConfigFromDefaultApp; 97 private PersistableBundle[] mConfigFromCarrierApp; 99 private PersistableBundle[] mPersistentOverrideConfigs; 101 private PersistableBundle[] mOverrideConfigs; 235 PersistableBundle config = restoreConfigFromXml( in handleMessage() 303 PersistableBundle config = in handleMessage() 369 final PersistableBundle config = in handleMessage() 427 PersistableBundle config = in handleMessage() 538 mConfigFromDefaultApp = new PersistableBundle[numPhones]; in CarrierConfigLoader() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | RuntimeDocumentClipper.java | 25 import android.os.PersistableBundle; 137 PersistableBundle bundle = new PersistableBundle(); in createStandardClipData() 176 PersistableBundle bundle = new PersistableBundle(); in createJumboClipData() 212 PersistableBundle bundle = data.getDescription().getExtras(); in clipDocumentsForCut() 269 PersistableBundle bundle = clipData.getDescription().getExtras(); in copyFromClipData() 316 PersistableBundle bundle = data.getDescription().getExtras(); in getOpType() 320 private @OpType int getOpType(PersistableBundle bundle) { in getOpType()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | DisclaimersParam.java | 20 import android.os.PersistableBundle; 59 public static DisclaimersParam fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle() 63 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { in createBuilderFromPersistableBundle() 87 public PersistableBundle toPersistableBundle() { in toPersistableBundle() 88 final PersistableBundle bundle = new PersistableBundle(); in toPersistableBundle()
|
D | PackageDownloadInfo.java | 28 import android.os.PersistableBundle; 108 /* package */ static PackageDownloadInfo fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle() 112 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { in createBuilderFromPersistableBundle() 127 public PersistableBundle toPersistableBundle() { in toPersistableBundle() 128 final PersistableBundle bundle = new PersistableBundle(); in toPersistableBundle()
|
D | ProvisioningParams.java | 56 import android.os.PersistableBundle; 228 public final PersistableBundle adminExtrasBundle; 346 public PersistableBundle toPersistableBundle() { in toPersistableBundle() 347 final PersistableBundle bundle = new PersistableBundle(); in toPersistableBundle() 388 /* package */ static ProvisioningParams fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle() 392 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { in createBuilderFromPersistableBundle() 520 PersistableBundle.restoreFromXml(parser)).build(); in load() 543 private PersistableBundle mAdminExtrasBundle; 639 public Builder setAdminExtrasBundle(PersistableBundle adminExtrasBundle) { in setAdminExtrasBundle()
|
D | WifiInfo.java | 38 import android.os.PersistableBundle; 140 public PersistableBundle toPersistableBundle() { in toPersistableBundle() 141 final PersistableBundle bundle = new PersistableBundle(); in toPersistableBundle() 160 /* package */ static WifiInfo fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle() 164 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { in createBuilderFromPersistableBundle()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ |
D | TestUtils.java | 21 import android.os.PersistableBundle; 139 public static PersistableBundle createTestAdminExtras() { in createTestAdminExtras() 140 PersistableBundle adminExtras = new PersistableBundle(); in createTestAdminExtras() 152 PersistableBundle nestedBundle = new PersistableBundle(); in createTestAdminExtras()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | RoamingPreferenceControllerTest.java | 28 import android.os.PersistableBundle; 168 PersistableBundle bundle = new PersistableBundle(); in callChangeListener_toggleTrue_needsDialog_showDialog() 182 PersistableBundle bundle = new PersistableBundle(); in confirmDialog_turnOnRoaming() 207 PersistableBundle bundle = new PersistableBundle(); in callChangeListener_toggleTrue_doesntNeedDialog_turnOnRoaming()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowCarrierConfigManager.java | 19 import android.os.PersistableBundle; 29 private SparseArray<PersistableBundle> mBundles = new SparseArray<>(); 32 protected PersistableBundle getConfigForSubId(int subId) { in getConfigForSubId() 36 public void setConfigForSubId(int subId, PersistableBundle config) { in setConfigForSubId()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelecomAccountRegistry.java | 37 import android.os.PersistableBundle; 561 PersistableBundle b = in isCarrierVideoPauseSupported() 574 PersistableBundle b = in isCarrierVideoPresenceSupported() 601 PersistableBundle b = in isCarrierInstantLetteringSupported() 613 PersistableBundle b = in isCarrierAdhocConferenceCallSupported() 626 PersistableBundle b = in isCarrierMergeCallSupported() 638 PersistableBundle b = in isCarrierMergeImsCallSupported() 649 PersistableBundle b = in isCarrierEmergencyVideoCallsAllowed() 661 PersistableBundle b = in isCarrierVideoConferencingSupported() 675 PersistableBundle b = in isCarrierMergeOfWifiCallsAllowedWhenVoWifiOff() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | SimLockPreferenceControllerTest.java | 28 import android.os.PersistableBundle; 104 final PersistableBundle pb = new PersistableBundle(); in isAvailable_carrierConfigDisabled_false() 116 final PersistableBundle pb = new PersistableBundle(); in isAvailable_true()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | E2eUiTestUtils.java | 20 import android.os.PersistableBundle; 32 PersistableBundle bundle = new PersistableBundle(); in insertProvisioningExtras() 39 PersistableBundle persistableBundle = intent in verifyProvisioningExtras()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/finalization/ |
D | SendDpcBroadcastServiceTest.java | 39 import android.os.PersistableBundle; 75 private static final PersistableBundle TEST_MDM_EXTRA_BUNDLE = new PersistableBundle(); 146 final PersistableBundle bundle = in assertExtras() 147 (PersistableBundle) intent.getExtra(EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE); in assertExtras()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/configui/ |
D | ConfigOverrideFragment.java | 22 import android.os.PersistableBundle; 103 PersistableBundle config = in loadCurrentConfig() 137 public static PersistableBundle getConfig(Context context) { in getConfig() 139 PersistableBundle result = new PersistableBundle(); in getConfig()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestContext.java | 27 import android.os.PersistableBundle; 46 private PersistableBundle mCarrierConfig = new PersistableBundle(); 132 public PersistableBundle getCarrierConfig() { in getCarrierConfig()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | ProvisioningIntentProviderTest.java | 32 import android.os.PersistableBundle; 51 private static final PersistableBundle ADMIN_EXTRAS_BUNDLE = 52 PersistableBundle.forPair("test_key", "test_value"); 100 assertThat(intent.<PersistableBundle>getParcelableExtra( in createProvisioningIntent_success()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | MobileNetworkUtils.java | 27 import android.os.PersistableBundle; 252 final PersistableBundle carrierConfig = context.getSystemService( in isCdmaOptions() 314 final PersistableBundle carrierConfig = context.getSystemService( in isGsmBasicOptions() 334 final PersistableBundle carrierConfig = context.getSystemService( in isWorldMode() 347 final PersistableBundle carrierConfig = context.getSystemService( in shouldDisplayNetworkSelectOptions() 385 final PersistableBundle carrierConfig = context.getSystemService( in isTdscdmaSupported()
|