/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl.java | 130 PackageInfo newPackage = null; in packageStateChanged() local 133 newPackage = findPreferredWebViewPackage(); in packageStateChanged() 141 provider.packageName.equals(newPackage.packageName) in packageStateChanged() 149 onWebViewProviderChanged(newPackage); in packageStateChanged() 301 PackageInfo newPackage = updateCurrentWebViewPackage(newProviderName); in changeProviderAndSetting() local 302 if (newPackage == null) return ""; in changeProviderAndSetting() 303 return newPackage.packageName; in changeProviderAndSetting() 313 PackageInfo newPackage = null; in updateCurrentWebViewPackage() local 323 newPackage = findPreferredWebViewPackage(); in updateCurrentWebViewPackage() 325 || !newPackage.packageName.equals(oldPackage.packageName); in updateCurrentWebViewPackage() [all …]
|
D | WebViewUpdateServiceImpl2.java | 143 PackageInfo newPackage = null; in packageStateChanged() local 147 newPackage = findPreferredWebViewPackage(); in packageStateChanged() 155 provider.packageName.equals(newPackage.packageName) in packageStateChanged() 163 onWebViewProviderChanged(newPackage); in packageStateChanged() 346 PackageInfo newPackage = updateCurrentWebViewPackage(newProviderName); in changeProviderAndSetting() local 347 if (newPackage == null) return ""; in changeProviderAndSetting() 348 return newPackage.packageName; in changeProviderAndSetting() 358 PackageInfo newPackage = null; in updateCurrentWebViewPackage() local 369 newPackage = findPreferredWebViewPackage(); in updateCurrentWebViewPackage() 371 || !newPackage.packageName.equals(oldPackage.packageName); in updateCurrentWebViewPackage() [all …]
|
D | WebViewUpdateServiceShellCommand2.java | 61 String newPackage = mInterface.changeProviderAndSetting(shellChosenPackage); in setWebViewImplementation() local 62 if (shellChosenPackage.equals(newPackage)) { in setWebViewImplementation() 70 shellChosenPackage, newPackage)); in setWebViewImplementation()
|
D | WebViewUpdateServiceShellCommand.java | 64 String newPackage = mInterface.changeProviderAndSetting(shellChosenPackage); in setWebViewImplementation() local 65 if (shellChosenPackage.equals(newPackage)) { in setWebViewImplementation() 71 shellChosenPackage, newPackage)); in setWebViewImplementation()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 352 TestData newPackage = new TestData("newPackage", in testNotifyPackageInstallUsedByOther() local 355 List<String> newSecondaries = newPackage.getSecondaryDexPaths(); in testNotifyPackageInstallUsedByOther() 359 assertNoUseInfo(newPackage); in testNotifyPackageInstallUsedByOther() 360 assertNoDclInfo(newPackage); in testNotifyPackageInstallUsedByOther() 363 mDexManager.notifyPackageInstalled(newPackage.mPackageInfo, mUser0); in testNotifyPackageInstallUsedByOther() 367 PackageUseInfo pui = getPackageUseInfo(newPackage); in testNotifyPackageInstallUsedByOther() 368 assertIsUsedByOtherApps(newPackage, pui, false); in testNotifyPackageInstallUsedByOther() 370 assertSecondaryUse(newPackage, pui, newSecondaries, /*isUsedByOtherApps*/true, mUser0); in testNotifyPackageInstallUsedByOther() 371 assertHasDclInfo(newPackage, mFooUser0, newSecondaries); in testNotifyPackageInstallUsedByOther() 376 TestData newPackage = new TestData("newPackage", in testNotifyPackageInstallSelfUse() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 270 String newPackage = "newPackage"; in testSetActiveScorer_validPackage() local 272 final ComponentName recoComponent = new ComponentName(newPackage, "class1"); in testSetActiveScorer_validPackage() 277 assertTrue(mNetworkScorerAppManager.setActiveScorer(newPackage)); in testSetActiveScorer_validPackage() 279 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, newPackage); in testSetActiveScorer_validPackage() 288 String newPackage = "newPackage"; in testSetActiveScorer_invalidPackage() local 292 assertFalse(mNetworkScorerAppManager.setActiveScorer(newPackage)); in testSetActiveScorer_invalidPackage()
|
/frameworks/base/core/java/android/net/ |
D | IVpnManager.aidl | 32 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() argument
|
D | VpnManager.java | 485 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument 488 return mService.prepareVpn(oldPackage, newPackage, userId); in prepareVpn()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 2071 @NonNull AndroidPackage newPackage, in revokeStoragePermissionsIfScopeExpandedInternal() 2074 && newPackage.getTargetSdkVersion() < Build.VERSION_CODES.Q; in revokeStoragePermissionsIfScopeExpandedInternal() 2076 && newPackage.getTargetSdkVersion() >= Build.VERSION_CODES.Q; in revokeStoragePermissionsIfScopeExpandedInternal() 2078 && newPackage.isRequestLegacyExternalStorage(); in revokeStoragePermissionsIfScopeExpandedInternal() 2086 for (final String permName : newPackage.getRequestedPermissions()) { in revokeStoragePermissionsIfScopeExpandedInternal() 2088 newPackage.getPackageName()); in revokeStoragePermissionsIfScopeExpandedInternal() 2098 boolean isSystemOrPolicyFixed = (getPermissionFlags(newPackage.getPackageName(), in revokeStoragePermissionsIfScopeExpandedInternal() 2105 EventLog.writeEvent(0x534e4554, "171430330", newPackage.getUid(), in revokeStoragePermissionsIfScopeExpandedInternal() 2107 + newPackage.getPackageName() + " as either the sdk downgraded " in revokeStoragePermissionsIfScopeExpandedInternal() 2112 revokeRuntimePermissionInternal(newPackage.getPackageName(), permInfo.name, in revokeStoragePermissionsIfScopeExpandedInternal() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplTestsBase.java | 333 final Package newPackage = new Package(packageName, targetPackage, in build() local 335 newPackage.overlayableNames.addAll(overlayableNames); in build() 336 return newPackage; in build()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1205 String oldPackage, String newPackage, @VpnManager.VpnType int vpnType) { in prepare() argument 1213 if (newPackage != null) { in prepare() 1214 verifyCallingUidAndPackage(newPackage); in prepare() 1243 if (newPackage == null || (!newPackage.equals(VpnConfig.LEGACY_VPN) && in prepare() 1244 isCurrentPreparedPackage(newPackage))) { in prepare() 1252 if (mAlwaysOn && !isCurrentPreparedPackage(newPackage)) { in prepare() 1256 prepareInternal(newPackage); in prepare() 1271 private void prepareInternal(String newPackage) { in prepareInternal() argument 1305 Log.i(TAG, "Switched from " + mPackage + " to " + newPackage); in prepareInternal() 1306 mPackage = newPackage; in prepareInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 917 final ApkLite newPackage = parseResult.getResult(); 919 final String packageName = newPackage.getPackageName(); 921 session.rollbackDataPolicy, newPackage.getRollbackDataPolicy()); 985 return rollback.enableForPackage(packageName, newPackage.getVersionCode(),
|
/frameworks/base/services/core/java/com/android/server/ |
D | VpnManagerService.java | 219 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument 227 return vpn.prepare(oldPackage, newPackage, VpnManager.TYPE_VPN_SERVICE); in prepareVpn()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 705 UserHandle userHandle, @Nullable String oldPackage, @Nullable String newPackage) { in broadcastSmsAppChange() argument 710 getApplicationForPackage(apps, newPackage)); in broadcastSmsAppChange()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstallPackageHelper.java | 2274 private void updateSettingsLI(AndroidPackage newPackage, in updateSettingsLI() argument 2276 updateSettingsInternalLI(newPackage, allUsers, installRequest); in updateSettingsLI()
|
D | Settings.java | 1347 void writeUserRestrictionsLPw(PackageSetting newPackage, PackageSetting oldPackage) { 1349 if (getPackageLPr(newPackage.getPackageName()) == null) { 1361 if (!oldUserState.equals(newPackage.readUserState(user.id))) {
|