Home
last modified time | relevance | path

Searched refs:newPackage (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceImpl.java248 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 …]
DWebViewUpdateServiceShellCommand.java65 String newPackage = mInterface.changeProviderAndSetting(shellChosenPackage); in setWebViewImplementation() local
66 if (shellChosenPackage.equals(newPackage)) { in setWebViewImplementation()
72 shellChosenPackage, newPackage)); in setWebViewImplementation()
/frameworks/base/tools/aapt2/
DNameMangler_test.cpp31 std::u16string newPackage; in TEST() local
32 ASSERT_TRUE(NameMangler::unmangle(&name, &newPackage)); in TEST()
34 EXPECT_EQ(newPackage, u"android.appcompat"); in TEST()
DResourceTable.cpp82 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/
DCustomBindingTest.java43 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/
DVpn.java429 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/
DIConnectivityManager.aidl110 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java14110 PackageParser.Package newPackage = scanPackageTracedLI(pkg, policyFlags, scanFlags,
14113 updateSettingsLI(newPackage, installerPackageName, null, res, user);
14116 prepareAppDataAfterInstallLIF(newPackage);
14377 final PackageParser.Package newPackage = scanPackageTracedLI(pkg, policyFlags,
14379 updateSettingsLI(newPackage, installerPackageName, allUsers, res, user);
14401 prepareAppDataAfterInstallLIF(newPackage);
14508 PackageParser.Package newPackage = null;
14511 newPackage = scanPackageTracedLI(pkg, policyFlags, scanFlags, 0, user);
14515 setInstallAndUpdateTime(newPackage, deletedPkgSetting.firstInstallTime,
14524 final int newChildCount = (newPackage.childPackages != null)
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java678 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3159 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument
3167 return vpn.prepare(oldPackage, newPackage); in prepareVpn()