Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandMultiUserTest.kt40 import android.content.pm.cts.PackageManagerTest.CTS_SHIM_PACKAGE_NAME
902 CTS_SHIM_PACKAGE_NAME, in testDeleteSystemAppMultiuser()
913 uninstallPackageAsUser(CTS_SHIM_PACKAGE_NAME, primaryUser) in testDeleteSystemAppMultiuser()
916 CTS_SHIM_PACKAGE_NAME, in testDeleteSystemAppMultiuser()
922 CTS_SHIM_PACKAGE_NAME, in testDeleteSystemAppMultiuser()
928 CTS_SHIM_PACKAGE_NAME, in testDeleteSystemAppMultiuser()
934 CTS_SHIM_PACKAGE_NAME, in testDeleteSystemAppMultiuser()
940 CTS_SHIM_PACKAGE_NAME, in testDeleteSystemAppMultiuser()
945 uninstallPackageAsUser(CTS_SHIM_PACKAGE_NAME, secondaryUser) in testDeleteSystemAppMultiuser()
948 CTS_SHIM_PACKAGE_NAME, in testDeleteSystemAppMultiuser()
[all …]
DPackageManagerTest.java347 static final String CTS_SHIM_PACKAGE_NAME = "com.android.cts.ctsshim"; field in PackageManagerTest
1035 mPackageManager.getApplicationInfo(CTS_SHIM_PACKAGE_NAME, in testGetNamesForUids_valid()
1059 int uid = mPackageManager.getApplicationInfo(CTS_SHIM_PACKAGE_NAME, in testGetPackageUid()
1061 assertEquals(uid, mPackageManager.getPackageUid(CTS_SHIM_PACKAGE_NAME, in testGetPackageUid()
1368 String packageToManipulate = CTS_SHIM_PACKAGE_NAME; in testSetSystemAppHiddenUntilInstalled()
1483 mPackageManager.getPackageInfo(CTS_SHIM_PACKAGE_NAME, /* flags= */ 0); in testGetPackageInfo_apkInApex_hasApexPackageName()
1485 assertThat(packageInfo.packageName).isEqualTo(CTS_SHIM_PACKAGE_NAME); in testGetPackageInfo_apkInApex_hasApexPackageName()
3517 CTS_SHIM_PACKAGE_NAME, MATCH_SYSTEM_ONLY); in testDeleteSystemApp()
3519 Log.w(TAG, "Device doesn't have " + CTS_SHIM_PACKAGE_NAME + " installed, skipping"); in testDeleteSystemApp()
3525 uninstallPackageForUser(CTS_SHIM_PACKAGE_NAME, currentUser); in testDeleteSystemApp()
[all …]
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java75 private static final String CTS_SHIM_PACKAGE_NAME = "com.android.cts.ctsshim"; field in CrossUserPackageVisibilityTests
205 uninstallPackageForUser(CTS_SHIM_PACKAGE_NAME, mCurrentUser); in testGetApplicationEnabledSetting_canSeeHiddenUntilInstalled()
207 CTS_SHIM_PACKAGE_NAME, SYSTEM_APP_STATE_HIDDEN_UNTIL_INSTALLED_HIDDEN); in testGetApplicationEnabledSetting_canSeeHiddenUntilInstalled()
210 mPackageManager.getApplicationEnabledSetting(CTS_SHIM_PACKAGE_NAME); in testGetApplicationEnabledSetting_canSeeHiddenUntilInstalled()
213 CTS_SHIM_PACKAGE_NAME, SYSTEM_APP_STATE_HIDDEN_UNTIL_INSTALLED_VISIBLE); in testGetApplicationEnabledSetting_canSeeHiddenUntilInstalled()
214 installExistPackageForUser(CTS_SHIM_PACKAGE_NAME, mCurrentUser); in testGetApplicationEnabledSetting_canSeeHiddenUntilInstalled()