Home
last modified time | relevance | path

Searched refs:getInstalledPackageNames (Results 1 – 9 of 9) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java243 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupSuccess_removeExistingStagedApexSuccess()
268 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupSuccess_noDataUnderApexDataDirs()
300 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupSuccess_getActivatedPackageSuccess()
333 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupSuccess_withAbsoluteTestFileName()
363 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(new HashSet<>()); in testSetupFail_getActivatedPackageSuccessThrowModuleNotPreloaded()
390 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupFail_getActivatedPackageFail()
431 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupFail_apexActivationFailPackageNameWrong()
473 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupFail_apexActivationFailVersionWrong()
515 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupFail_apexActivationFailSourceDirWrong()
555 EasyMock.expect(mMockDevice.getInstalledPackageNames()).andReturn(installableModules); in testSetupSuccess_activatedSuccessOnQ()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java992 public Set<String> getInstalledPackageNames() throws DeviceNotAvailableException { in getInstalledPackageNames() method in TestDevice
993 return getInstalledPackageNames(null, null); in getInstalledPackageNames()
999 return getInstalledPackageNames(packageName, null).contains(packageName); in isPackageInstalled()
1006 return getInstalledPackageNames(packageName, userId).contains(packageName); in isPackageInstalled()
1108 private Set<String> getInstalledPackageNames(String packageNameSearched, String userId) in getInstalledPackageNames() method in TestDevice
DNativeDevice.java3875 public Set<String> getInstalledPackageNames() throws DeviceNotAvailableException { in getInstalledPackageNames() method in NativeDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java173 assertFalse(mTestDevice.getInstalledPackageNames().contains( in assertWifiApkInstall()
176 assertTrue(mTestDevice.getInstalledPackageNames().contains( in assertWifiApkInstall()
DTestDeviceTest.java2198 Set<String> actualPkgs = mTestDevice.getInstalledPackageNames(); in testGetInstalledPackageNames()
2239 Set<String> actualPkgs = mTestDevice.getInstalledPackageNames(); in testGetInstalledPackageNamesForBadOutput()
DNativeDeviceTest.java235 mTestDevice.getInstalledPackageNames(); in testGetInstalledPackageNames_exception()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java582 public Set<String> getInstalledPackageNames() throws DeviceNotAvailableException; in getInstalledPackageNames() method
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java861 for (String installedPackage : device.getInstalledPackageNames()) { in isPackageInstalled()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparer.java266 Set<String> installedPackages = new HashSet<>(device.getInstalledPackageNames()); in getModulesToInstall()