Home
last modified time | relevance | path

Searched refs:installedPackage (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/harmfulappwarning/src/android/harmfulappwarning/cts/
DHarmfulAppWarningTest.java116 String installedPackage = getDevice().executeShellCommand( in verifySampleAppUninstalled() local
118 Assert.assertTrue("Harmful application was not uninstalled", installedPackage.isEmpty()); in verifySampleAppUninstalled()
122 String installedPackage = getDevice().executeShellCommand( in verifySampleAppInstalled() local
124 Assert.assertFalse("Harmful application was uninstalled", installedPackage.isEmpty()); in verifySampleAppInstalled()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackages.java298 Package installedPackage = Poll.forValue("newly installed packages", () -> { in install() local
309 if (installedPackage == null) { in install()
310 installedPackage = waitForPackageAddedBroadcast(broadcastReceiver); in install()
312 return installedPackage; in install()
484 Package installedPackage = Poll.forValue("newly installed packages", () -> { in installUsingAdb() local
496 if (installedPackage == null) { in installUsingAdb()
497 installedPackage = waitForPackageAddedBroadcast(broadcastReceiver); in installUsingAdb()
499 return installedPackage; in installUsingAdb()
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/
DUseSharedLibraryTest.java225 for (PackageInfo installedPackage : installedPackages) { in testAppCanSeeOnlyLibrariesItDependOn()
226 if (STATIC_LIB_PROVIDER_PKG.equals(installedPackage.packageName)) { in testAppCanSeeOnlyLibrariesItDependOn()
230 usedLibraryVersionCode = installedPackage.getLongVersionCode(); in testAppCanSeeOnlyLibrariesItDependOn()