Home
last modified time | relevance | path

Searched refs:testPackageName (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/
DCtsExtractNativeLibsHostTestAbiOverride.java120 final String testPackageName = getTestPackageName(mIsExtractNativeLibs); in testAbiOverrideAndRunSuccess() local
124 assertTrue(isPackageInstalled(testPackageName)); in testAbiOverrideAndRunSuccess()
125 assertTrue(runDeviceTests(testPackageName, testClassName, TEST_NATIVE_LIB_LOADED_TEST)); in testAbiOverrideAndRunSuccess()
126 assertEquals(mFirstAbi, getPackageAbi(testPackageName)); in testAbiOverrideAndRunSuccess()
130 assertTrue(runDeviceTests(testPackageName, testClassName, TEST_NATIVE_LIB_LOADED_TEST)); in testAbiOverrideAndRunSuccess()
137 assertEquals(expectedAbi, getPackageAbi(testPackageName)); in testAbiOverrideAndRunSuccess()
141 private String getPackageAbi(String testPackageName) throws Exception { in getPackageAbi() argument
142 String commandResult = getDevice().executeShellCommand("pm dump " + testPackageName); in getPackageAbi()
DCtsExtractNativeLibsHostTestInstalls.java96 final String testPackageName = getTestPackageName(mIsExtractNativeLibs); in testInstallAndRunSuccess() local
99 assertTrue(isPackageInstalled(testPackageName)); in testInstallAndRunSuccess()
100 assertTrue(runDeviceTests(testPackageName, testClassName, TEST_NATIVE_LIB_LOADED_TEST)); in testInstallAndRunSuccess()
DCtsExtractNativeLibsHostTestUpdates.java104 final String testPackageName = getTestPackageName(mIsExtractNativeLibs); in testUpdateAndRunSuccess() local
107 assertTrue(isPackageInstalled(testPackageName)); in testUpdateAndRunSuccess()
109 assertTrue(runDeviceTests(testPackageName, testClassName, TEST_NATIVE_LIB_LOADED_TEST)); in testUpdateAndRunSuccess()
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/
DActivityManagerForegroundServiceTypeTest.java393 final String testPackageName = TEST_PKG_NAME_TARGET; in testPermissionEnforcementCommon() local
403 enablePermissionEnforcement(true, testPackageName); in testPermissionEnforcementCommon()
418 allOfPermissions, anyOfPermissions), testPackageName); in testPermissionEnforcementCommon() local
422 resetPermissions(anyOfPermissions, testPackageName); in testPermissionEnforcementCommon()
427 grantPermissions(allOfPermissions, testPackageName); in testPermissionEnforcementCommon()
431 resetPermissions(anyOfPermissions, testPackageName); in testPermissionEnforcementCommon()
437 grantPermissions(allOfPermissions, testPackageName); in testPermissionEnforcementCommon()
439 resetPermissions(anyOfPermissions, testPackageName); in testPermissionEnforcementCommon()
447 testPackageName); in testPermissionEnforcementCommon() local
449 resetPermissions(anyOfPermissions, testPackageName); in testPermissionEnforcementCommon()
[all …]