/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl.java | 248 PackageInfo newPackage = null; in packageStateChanged() local 251 newPackage = findPreferredWebViewPackage(); in packageStateChanged() 255 && newPackage.packageName.equals(oldProviderName)) { in packageStateChanged() 261 if (newPackage.packageName.equals(oldProviderName) in packageStateChanged() 262 && (newPackage.lastUpdateTime in packageStateChanged() 272 provider.packageName.equals(newPackage.packageName) in packageStateChanged() 280 onWebViewProviderChanged(newPackage); in packageStateChanged() 327 PackageInfo newPackage = null; in changeProviderAndSetting() local 334 newPackage = findPreferredWebViewPackage(); in changeProviderAndSetting() 336 || !newPackage.packageName.equals(oldPackage.packageName); in changeProviderAndSetting() [all …]
|
D | WebViewUpdateServiceShellCommand.java | 65 String newPackage = mInterface.changeProviderAndSetting(shellChosenPackage); in setWebViewImplementation() local 66 if (shellChosenPackage.equals(newPackage)) { in setWebViewImplementation() 72 shellChosenPackage, newPackage)); in setWebViewImplementation()
|
/frameworks/base/tools/aapt2/ |
D | NameMangler_test.cpp | 31 std::u16string newPackage; in TEST() local 32 ASSERT_TRUE(NameMangler::unmangle(&name, &newPackage)); in TEST() 34 EXPECT_EQ(newPackage, u"android.appcompat"); in TEST()
|
D | ResourceTable.cpp | 82 std::unique_ptr<ResourceTablePackage> newPackage = util::make_unique<ResourceTablePackage>(); in findOrCreatePackage() local 83 newPackage->name = name.toString(); in findOrCreatePackage() 84 return packages.emplace(iter, std::move(newPackage))->get(); in findOrCreatePackage()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | CustomBindingTest.java | 43 com.android.test.CustomBinding newPackage = in testCustomBindings() local 45 newPackage.executePendingBindings(); in testCustomBindings() 46 assertEquals("hello android", newPackage.textView.getText().toString()); in testCustomBindings()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 429 public synchronized boolean prepare(String oldPackage, String newPackage) { in prepare() argument 454 if (newPackage == null || (!newPackage.equals(VpnConfig.LEGACY_VPN) && in prepare() 455 isCurrentPreparedPackage(newPackage))) { in prepare() 463 if (mAlwaysOn && !isCurrentPreparedPackage(newPackage)) { in prepare() 467 prepareInternal(newPackage); in prepare() 478 private void prepareInternal(String newPackage) { in prepareInternal() argument 511 Log.i(TAG, "Switched from " + mPackage + " to " + newPackage); in prepareInternal() 512 mPackage = newPackage; in prepareInternal() 513 mOwnerUID = getAppUid(newPackage, mUserHandle); in prepareInternal()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 110 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 13999 PackageParser.Package newPackage = scanPackageTracedLI(pkg, policyFlags, scanFlags, in installNewPackageLIF() local 14002 updateSettingsLI(newPackage, installerPackageName, null, res, user); in installNewPackageLIF() 14005 prepareAppDataAfterInstallLIF(newPackage); in installNewPackageLIF() 14266 final PackageParser.Package newPackage = scanPackageTracedLI(pkg, policyFlags, in replaceNonSystemPackageLIF() local 14268 updateSettingsLI(newPackage, installerPackageName, allUsers, res, user); in replaceNonSystemPackageLIF() 14290 prepareAppDataAfterInstallLIF(newPackage); in replaceNonSystemPackageLIF() 14397 PackageParser.Package newPackage = null; in replaceSystemPackageLIF() local 14400 newPackage = scanPackageTracedLI(pkg, policyFlags, scanFlags, 0, user); in replaceSystemPackageLIF() 14404 setInstallAndUpdateTime(newPackage, deletedPkgSetting.firstInstallTime, in replaceSystemPackageLIF() 14413 final int newChildCount = (newPackage.childPackages != null) in replaceSystemPackageLIF() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 692 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 3458 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument 3466 return vpn.prepare(oldPackage, newPackage); in prepareVpn()
|