/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 5 import android.os.PersistableBundle; 70 public PersistableBundle onLoadConfig(CarrierIdentifier id) { in onLoadConfig() 77 PersistableBundle config = new PersistableBundle(); in onLoadConfig() 87 PersistableBundle configByCarrierId = new PersistableBundle(); in onLoadConfig() 88 PersistableBundle configBySpecificCarrierId = new PersistableBundle(); in onLoadConfig() 89 PersistableBundle configByMccMncFallBackCarrierId = new PersistableBundle(); in onLoadConfig() 126 config = new PersistableBundle(); in onLoadConfig() 132 PersistableBundle vendorConfig = readConfigFromXml(vendorInput, id); in onLoadConfig() 183 static PersistableBundle readConfigFromXml(XmlPullParser parser, @Nullable CarrierIdentifier id) in readConfigFromXml() 185 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/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/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | CarrierPreferenceControllerTest.java | 36 import android.os.PersistableBundle; 94 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_cdmaWithFlagOff_returnUnavailable() 104 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable() 114 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_gsmWithFlagOnreturnAvailable() 123 final PersistableBundle bundle = new PersistableBundle(); in handlePreferenceClick_activityFound_openCarrierSettingActivity() 143 final PersistableBundle bundle = new PersistableBundle(); in handlePreferenceClick_activityNotFound_DoNothing() 160 final PersistableBundle bundle = new PersistableBundle(); in handlePreferenceClick_activityNotConfigured_DoNothing()
|
D | ApnPreferenceControllerTest.java | 32 import android.os.PersistableBundle; 91 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_apnSettingsNotSupported_returnUnavailable() 101 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_apnSettingsSupportedWithCDMA_returnAvailable() 111 final PersistableBundle bundle = new PersistableBundle(); in getAvailabilityStatus_apnSettingsSupportedWithGsm_returnAvailable() 130 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/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 39 import android.os.PersistableBundle; 95 private PersistableBundle[] mConfigFromDefaultApp; 97 private PersistableBundle[] mConfigFromCarrierApp; 99 private PersistableBundle[] mOverrideConfigs; 225 final PersistableBundle config = in handleMessage() 286 PersistableBundle config = in handleMessage() 355 final PersistableBundle config = in handleMessage() 417 PersistableBundle config = in handleMessage() 528 mConfigFromDefaultApp = new PersistableBundle[numPhones]; in CarrierConfigLoader() 529 mConfigFromCarrierApp = new PersistableBundle[numPhones]; in CarrierConfigLoader() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CdmaOptionsTest.java | 20 import android.os.PersistableBundle; 34 PersistableBundle bundle = new PersistableBundle(); in shouldAddApnExpandPreference_doesNotExpandOnGsm() 42 PersistableBundle bundle = new PersistableBundle(); in shouldAddApnExpandPreference_showExpandOnCdma() 50 PersistableBundle bundle = new PersistableBundle(); in shouldAddApnExpandPreference_doesNotExpandOnCdmaIfCarrierConfigDisabled()
|
/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; 222 public final PersistableBundle adminExtrasBundle; 336 public PersistableBundle toPersistableBundle() { in toPersistableBundle() 337 final PersistableBundle bundle = new PersistableBundle(); in toPersistableBundle() 376 /* package */ static ProvisioningParams fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle() 380 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { in createBuilderFromPersistableBundle() 506 PersistableBundle.restoreFromXml(parser)).build(); in load() 529 private PersistableBundle mAdminExtrasBundle; 624 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/services/Telephony/src/com/android/services/telephony/ |
D | TelecomAccountRegistry.java | 36 import android.os.PersistableBundle; 481 PersistableBundle b = in isCarrierVideoPauseSupported() 494 PersistableBundle b = in isCarrierVideoPresenceSupported() 506 PersistableBundle b = in isCarrierInstantLetteringSupported() 518 PersistableBundle b = in isCarrierMergeCallSupported() 530 PersistableBundle b = in isCarrierMergeImsCallSupported() 541 PersistableBundle b = in isCarrierEmergencyVideoCallsAllowed() 553 PersistableBundle b = in isCarrierVideoConferencingSupported() 567 PersistableBundle b = in isCarrierMergeOfWifiCallsAllowedWhenVoWifiOff() 580 PersistableBundle b = in isCarrierManageImsConferenceCallSupported() [all …]
|
/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/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | SimLockPreferenceControllerTest.java | 29 import android.os.PersistableBundle; 105 final PersistableBundle pb = new PersistableBundle(); in isAvailable_carrierConfigDisabled_false() 117 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/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/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | ProvisioningIntentProviderTest.java | 32 import android.os.PersistableBundle; 49 private static final PersistableBundle ADMIN_EXTRAS_BUNDLE = 50 PersistableBundle.forPair("test_key", "test_value"); 93 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()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | StorageWizardFormatProgress.java | 28 import android.os.PersistableBundle; 95 final CompletableFuture<PersistableBundle> result = new CompletableFuture<>(); in doInBackground() 98 public void onStatus(int status, PersistableBundle extras) { in doInBackground() 104 public void onFinished(int status, PersistableBundle extras) { in doInBackground()
|