/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdater.java | 84 PackageInfo newPackage = null; in packageStateChanged() local 87 newPackage = findPreferredWebViewPackage(); in packageStateChanged() 95 provider.packageName.equals(newPackage.packageName) in packageStateChanged() 103 onWebViewProviderChanged(newPackage); in packageStateChanged() 154 PackageInfo newPackage = updateCurrentWebViewPackage(newProviderName); in changeProviderAndSetting() local 155 if (newPackage == null) return ""; in changeProviderAndSetting() 156 return newPackage.packageName; in changeProviderAndSetting() 166 PackageInfo newPackage = null; in updateCurrentWebViewPackage() local 176 newPackage = findPreferredWebViewPackage(); in updateCurrentWebViewPackage() 178 || !newPackage.packageName.equals(oldPackage.packageName); in updateCurrentWebViewPackage() [all …]
|
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/servicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 283 TestData newPackage = new TestData("newPackage", in testNotifyPackageInstallUsedByOther() local 286 List<String> newSecondaries = newPackage.getSecondaryDexPaths(); in testNotifyPackageInstallUsedByOther() 290 assertNoUseInfo(newPackage); in testNotifyPackageInstallUsedByOther() 291 assertNoDclInfo(newPackage); in testNotifyPackageInstallUsedByOther() 294 mDexManager.notifyPackageInstalled(newPackage.mPackageInfo, mUser0); in testNotifyPackageInstallUsedByOther() 298 PackageUseInfo pui = getPackageUseInfo(newPackage); in testNotifyPackageInstallUsedByOther() 299 assertIsUsedByOtherApps(newPackage, pui, false); in testNotifyPackageInstallUsedByOther() 301 assertSecondaryUse(newPackage, pui, newSecondaries, /*isUsedByOtherApps*/true, mUser0); in testNotifyPackageInstallUsedByOther() 302 assertHasDclInfo(newPackage, mFooUser0, newSecondaries); in testNotifyPackageInstallUsedByOther() 307 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/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 781 String oldPackage, String newPackage, @VpnManager.VpnType int vpnType) { in prepare() argument 807 if (newPackage == null || (!newPackage.equals(VpnConfig.LEGACY_VPN) && in prepare() 808 isCurrentPreparedPackage(newPackage))) { in prepare() 816 if (mAlwaysOn && !isCurrentPreparedPackage(newPackage)) { in prepare() 820 prepareInternal(newPackage); in prepare() 833 private void prepareInternal(String newPackage) { in prepareInternal() argument 866 Log.i(TAG, "Switched from " + mPackage + " to " + newPackage); in prepareInternal() 867 mPackage = newPackage; in prepareInternal() 868 mOwnerUID = getAppUid(newPackage, mUserHandle); in prepareInternal() 869 mIsPackageTargetingAtLeastQ = doesPackageTargetAtLeastQ(newPackage); in prepareInternal()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceInternal.java | 111 @NonNull PackageParser.Package newPackage, in revokeRuntimePermissionsIfGroupChanged()
|
D | PermissionManagerService.java | 603 @NonNull PackageParser.Package newPackage, in revokeRuntimePermissionsIfGroupChanged() 620 final int numNewPackagePermissions = newPackage.permissions.size(); in revokeRuntimePermissionsIfGroupChanged() 624 newPackage.permissions.get(newPermissionNum); in revokeRuntimePermissionsIfGroupChanged() 648 newPackage.applicationInfo.uid, in revokeRuntimePermissionsIfGroupChanged() 3052 @NonNull PackageParser.Package newPackage, in revokeRuntimePermissionsIfGroupChanged() 3056 PermissionManagerService.this.revokeRuntimePermissionsIfGroupChanged(newPackage, in revokeRuntimePermissionsIfGroupChanged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 233 final PackageInfo activePackage, final PackageInfo newPackage) in checkDowngrade() argument 236 final long newVersionCode = newPackage.applicationInfo.longVersionCode; in checkDowngrade() 245 "Downgrade of APEX package " + newPackage.packageName in checkDowngrade()
|
D | Settings.java | 838 void writeUserRestrictionsLPw(PackageSetting newPackage, PackageSetting oldPackage) { in writeUserRestrictionsLPw() argument 840 if (getPackageLPr(newPackage.name) == null) { in writeUserRestrictionsLPw() 852 if (!oldUserState.equals(newPackage.readUserState(user.id))) { in writeUserRestrictionsLPw()
|
D | PackageManagerService.java | 15701 private void updateSettingsLI(PackageParser.Package newPackage, String installerPackageName, 15704 updateSettingsInternalLI(newPackage, installerPackageName, allUsers, res.origUsers, 15707 final int childCount = (newPackage.childPackages != null) 15708 ? newPackage.childPackages.size() : 0; 15710 PackageParser.Package childPackage = newPackage.childPackages.get(i); 20868 final boolean newPackage = components == null; 20869 if (newPackage) { 20881 if (newPackage) {
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 911 PackageParser.PackageLite newPackage = null; in enableRollbackForPackageSession() local 913 newPackage = PackageParser.parsePackageLite(new File(session.resolvedBaseCodePath), 0); in enableRollbackForPackageSession() 919 String packageName = newPackage.packageName; in enableRollbackForPackageSession() 930 VersionedPackage newVersion = new VersionedPackage(packageName, newPackage.versionCode); in enableRollbackForPackageSession()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 121 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() argument
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 683 UserHandle userHandle, @Nullable String oldPackage, @Nullable String newPackage) { in broadcastSmsAppChange() argument 688 getApplicationForPackage(apps, newPackage)); in broadcastSmsAppChange()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 4505 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument 4513 return vpn.prepare(oldPackage, newPackage, VpnManager.TYPE_VPN_SERVICE); in prepareVpn()
|