Home
last modified time | relevance | path

Searched refs:defaultPackage (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java326 final String defaultPackage = "defaultPackage"; in testUpdateState_currentPackageNotValid_validDefault() local
328 final ComponentName recoComponent = new ComponentName(defaultPackage, "class1"); in testUpdateState_currentPackageNotValid_validDefault()
329 setDefaultNetworkRecommendationPackage(defaultPackage); in testUpdateState_currentPackageNotValid_validDefault()
332 mockLocationPermissionGranted(defaultAppUid, defaultPackage); in testUpdateState_currentPackageNotValid_validDefault()
337 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, defaultPackage); in testUpdateState_currentPackageNotValid_validDefault()
345 String defaultPackage = "defaultPackage"; in testUpdateState_currentPackageNotValid_invalidDefault() local
346 setDefaultNetworkRecommendationPackage(defaultPackage); in testUpdateState_currentPackageNotValid_invalidDefault()
386 String defaultPackage = "defaultPackage"; in testUpdateState_currentPackageNotValid_sameAsDefault() local
387 setDefaultNetworkRecommendationPackage(defaultPackage); in testUpdateState_currentPackageNotValid_sameAsDefault()
388 setNetworkRecoPackageSetting(defaultPackage); in testUpdateState_currentPackageNotValid_sameAsDefault()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DReflectionInflater.java129 public void setDefaultPackage(@Nullable String defaultPackage) { in setDefaultPackage() argument
130 mDefaultPackage = defaultPackage; in setDefaultPackage()
/frameworks/support/preference/src/main/java/androidx/preference/
DPreferenceInflater.java84 public void setDefaultPackages(String[] defaultPackage) { in setDefaultPackages() argument
85 mDefaultPackages = defaultPackage; in setDefaultPackages()
/frameworks/base/core/java/android/preference/
DGenericInflater.java147 public void setDefaultPackage(String defaultPackage) { in setDefaultPackage() argument
148 mDefaultPackage = defaultPackage; in setDefaultPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java257 String defaultPackage = "defaultPackage"; in testDefaultPackageUsedOverNonDefault() local
261 new WebViewProviderInfo(defaultPackage, "", true, false, null)}; in testDefaultPackageUsedOverNonDefault()
262 checkCertainPackageUsedAfterWebViewBootPreparation(defaultPackage, packages); in testDefaultPackageUsedOverNonDefault()
411 String defaultPackage = "defaultPackage"; in testSwitchingProviderToNonDefault() local
414 new WebViewProviderInfo(defaultPackage, "", true, false, null), in testSwitchingProviderToNonDefault()
416 checkSwitchingProvider(packages, defaultPackage, nonDefaultPackage); in testSwitchingProviderToNonDefault()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsApplication.java459 String defaultPackage = in getApplication() local
461 applicationData = getApplicationForPackage(applications, defaultPackage); in getApplication()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2966 final String defaultPackage = mCarrierConfigManager.getDefaultCarrierServicePackageName(); in enforceSubscriptionPlanAccess() local
2967 if (!TextUtils.isEmpty(defaultPackage) in enforceSubscriptionPlanAccess()
2968 && Objects.equals(defaultPackage, callingPackage)) { in enforceSubscriptionPlanAccess()