Searched refs:defaultPackage (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ReflectionInflater.java | 52 @Nullable private String defaultPackage; field in ReflectionInflater 115 return createItem(tagName, defaultPackage, attrs); in onCreateItem() 125 public void setDefaultPackage(@Nullable String defaultPackage) { in setDefaultPackage() argument 126 this.defaultPackage = defaultPackage; in setDefaultPackage() 137 return defaultPackage; in getDefaultPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 325 final String defaultPackage = "defaultPackage"; in testUpdateState_currentPackageNotValid_validDefault() local 327 final ComponentName recoComponent = new ComponentName(defaultPackage, "class1"); in testUpdateState_currentPackageNotValid_validDefault() 328 setDefaultNetworkRecommendationPackage(defaultPackage); in testUpdateState_currentPackageNotValid_validDefault() 331 mockLocationPermissionGranted(defaultAppUid, defaultPackage); in testUpdateState_currentPackageNotValid_validDefault() 336 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, defaultPackage); in testUpdateState_currentPackageNotValid_validDefault() 344 String defaultPackage = "defaultPackage"; in testUpdateState_currentPackageNotValid_invalidDefault() local 345 setDefaultNetworkRecommendationPackage(defaultPackage); in testUpdateState_currentPackageNotValid_invalidDefault() 385 String defaultPackage = "defaultPackage"; in testUpdateState_currentPackageNotValid_sameAsDefault() local 386 setDefaultNetworkRecommendationPackage(defaultPackage); in testUpdateState_currentPackageNotValid_sameAsDefault() 387 setNetworkRecoPackageSetting(defaultPackage); in testUpdateState_currentPackageNotValid_sameAsDefault()
|
/frameworks/base/core/java/android/preference/ |
D | GenericInflater.java | 154 public void setDefaultPackage(String defaultPackage) { in setDefaultPackage() argument 155 mDefaultPackage = defaultPackage; in setDefaultPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 259 String defaultPackage = "defaultPackage"; in testDefaultPackageUsedOverNonDefault() local 263 new WebViewProviderInfo(defaultPackage, "", true, false, null)}; in testDefaultPackageUsedOverNonDefault() 264 checkCertainPackageUsedAfterWebViewBootPreparation(defaultPackage, packages); in testDefaultPackageUsedOverNonDefault() 412 String defaultPackage = "defaultPackage"; in testSwitchingProviderToNonDefault() local 415 new WebViewProviderInfo(defaultPackage, "", true, false, null), in testSwitchingProviderToNonDefault() 417 checkSwitchingProvider(packages, defaultPackage, nonDefaultPackage); in testSwitchingProviderToNonDefault()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 3077 final String defaultPackage = mCarrierConfigManager.getDefaultCarrierServicePackageName(); in enforceSubscriptionPlanAccess() local 3078 if (!TextUtils.isEmpty(defaultPackage) in enforceSubscriptionPlanAccess() 3079 && Objects.equals(defaultPackage, callingPackage)) { in enforceSubscriptionPlanAccess()
|