Searched refs:getInstalledPackageNames (Results 1 – 9 of 9) sorted by relevance
243 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 …]
992 public Set<String> getInstalledPackageNames() throws DeviceNotAvailableException { in getInstalledPackageNames() method in TestDevice993 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
3875 public Set<String> getInstalledPackageNames() throws DeviceNotAvailableException { in getInstalledPackageNames() method in NativeDevice
173 assertFalse(mTestDevice.getInstalledPackageNames().contains( in assertWifiApkInstall()176 assertTrue(mTestDevice.getInstalledPackageNames().contains( in assertWifiApkInstall()
2198 Set<String> actualPkgs = mTestDevice.getInstalledPackageNames(); in testGetInstalledPackageNames()2239 Set<String> actualPkgs = mTestDevice.getInstalledPackageNames(); in testGetInstalledPackageNamesForBadOutput()
235 mTestDevice.getInstalledPackageNames(); in testGetInstalledPackageNames_exception()
582 public Set<String> getInstalledPackageNames() throws DeviceNotAvailableException; in getInstalledPackageNames() method
861 for (String installedPackage : device.getInstalledPackageNames()) { in isPackageInstalled()
266 Set<String> installedPackages = new HashSet<>(device.getInstalledPackageNames()); in getModulesToInstall()