/cts/tests/tests/permission3/src/android/permission3/cts/ |
D | PermissionPolicyTest25.kt | 34 const val APP_PACKAGE_NAME = "android.permission3.cts.permissionpolicy" constant 39 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in installApp25() 45 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in uninstallApp() 53 APP_PACKAGE_NAME, "$APP_PACKAGE_NAME.TestProtectionFlagsActivity" in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions() 59 assertEquals("", result.resultData!!.getStringExtra("$APP_PACKAGE_NAME.ERROR_MESSAGE")) in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions()
|
D | BaseUsePermissionTest.kt | 64 const val APP_PACKAGE_NAME = "android.permission3.cts.usepermission" in <lambda>() constant 164 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in <lambda>() 209 APP_PACKAGE_NAME, "$APP_PACKAGE_NAME.FinishOnCreateActivity" in <lambda>() 227 APP_PACKAGE_NAME, "$APP_PACKAGE_NAME.RequestPermissionsActivity" in <lambda>() 229 putExtra("$APP_PACKAGE_NAME.PERMISSIONS", permissions) in <lambda>() 246 APP_PACKAGE_NAME, "$APP_PACKAGE_NAME.RequestPermissionsActivity" in <lambda>() 248 putExtra("$APP_PACKAGE_NAME.PERMISSIONS", permissions) in <lambda>() 265 result.resultData!!.getStringArrayExtra("$APP_PACKAGE_NAME.PERMISSIONS")!!.size, in <lambda>() 266 result.resultData!!.getIntArrayExtra("$APP_PACKAGE_NAME.GRANT_RESULTS")!!.size in <lambda>() 271 result.resultData!!.getStringArrayExtra("$APP_PACKAGE_NAME.PERMISSIONS")!! in <lambda>() [all …]
|
D | PermissionReviewTest.kt | 126 APP_PACKAGE_NAME, "$APP_PACKAGE_NAME.StartCheckPermissionServiceActivity" in testReviewPermissionWhenServiceIsBound() 129 "$APP_PACKAGE_NAME.RESULT", in testReviewPermissionWhenServiceIsBound() 137 "$APP_PACKAGE_NAME.PERMISSION", android.Manifest.permission.READ_CALENDAR in testReviewPermissionWhenServiceIsBound()
|
D | PermissionHistoryTest.kt | 59 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in assumeNotTv() 67 uninstallPackage(APP_PACKAGE_NAME, requireSuccess = false) in uninstallApps() 157 const val APP_PACKAGE_NAME = "android.permission3.cts.accessmicrophoneapp" constant
|
D | PermissionTest23.kt | 31 private const val INVALID_PERMISSION = "$APP_PACKAGE_NAME.abadname" 257 APP_PACKAGE_NAME, android.Manifest.permission.ACCESS_FINE_LOCATION in testNoResidualPermissionsOnUninstall() 260 APP_PACKAGE_NAME, android.Manifest.permission.ACCESS_COARSE_LOCATION in testNoResidualPermissionsOnUninstall() 263 APP_PACKAGE_NAME, android.Manifest.permission.ACCESS_BACKGROUND_LOCATION in testNoResidualPermissionsOnUninstall() 266 uninstallPackage(APP_PACKAGE_NAME) in testNoResidualPermissionsOnUninstall()
|
D | PermissionTapjackingTest.kt | 91 if (packageManager.checkPermission(ACCESS_FINE_LOCATION, APP_PACKAGE_NAME) == in tryClicking() 109 if (packageManager.checkPermission(ACCESS_FINE_LOCATION, APP_PACKAGE_NAME) == in tryClicking()
|
D | PermissionUsageInfoTest.kt | 47 putExtra(Intent.EXTRA_PACKAGE_NAME, APP_PACKAGE_NAME) in testPermissionUsageInfo()
|
D | PermissionGroupTest.kt | 58 uiAutomation.grantRuntimePermission(APP_PACKAGE_NAME, in testPartiallyGrantedGroupExpansion()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 93 private static final String APP_PACKAGE_NAME = "android.app.role.cts.app"; field in RoleManagerTest 95 private static final String APP_IS_ROLE_HELD_ACTIVITY_NAME = APP_PACKAGE_NAME 97 private static final String APP_IS_ROLE_HELD_EXTRA_IS_ROLE_HELD = APP_PACKAGE_NAME 99 private static final String APP_REQUEST_ROLE_ACTIVITY_NAME = APP_PACKAGE_NAME 101 private static final String APP_CHANGE_DEFAULT_DIALER_ACTIVITY_NAME = APP_PACKAGE_NAME 103 private static final String APP_CHANGE_DEFAULT_SMS_ACTIVITY_NAME = APP_PACKAGE_NAME 140 if (Objects.equals(mRoleHolder, APP_PACKAGE_NAME)) { in saveRoleHolder() 141 removeRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in saveRoleHolder() 148 removeRoleHolder(ROLE_NAME, APP_PACKAGE_NAME); in restoreRoleHolder() 154 assertIsRoleHolder(ROLE_NAME, APP_PACKAGE_NAME, false); in restoreRoleHolder() [all …]
|
D | RoleControllerManagerTest.kt | 63 uninstallPackage(APP_PACKAGE_NAME) in uninstallApp() 69 assertAppIsVisibleForRole(APP_PACKAGE_NAME, ROLE_NAME, true) in appIsVisibleForRole() 84 assertAppIsVisibleForRole(APP_PACKAGE_NAME, "invalid", false) in appIsNotVisibleForInvalidRole() 150 private const val APP_PACKAGE_NAME = "android.app.role.cts.app" constant
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | StorageEscalationTest.kt | 45 const val APP_PACKAGE_NAME = "android.permission3.cts.storageescalation" in <lambda>() constant 59 SystemUtil.runShellCommand("pm uninstall $APP_PACKAGE_NAME --user ALL") in <lambda>() 100 uiAutomation.grantRuntimePermissionAsUser(APP_PACKAGE_NAME, permName, user) in <lambda>() 110 APP_PACKAGE_NAME, 0, UserHandle.of(userId)) in <lambda>() 114 APP_PACKAGE_NAME) == PackageManager.PERMISSION_GRANTED) in <lambda>()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ThemeHostTest.java | 55 private static final String APP_PACKAGE_NAME = "android.theme.app"; field in ThemeHostTest 65 APP_PACKAGE_NAME, TEST_CLASS); 68 private static final String STOP_CMD = String.format("am force-stop %s", APP_PACKAGE_NAME);
|