Home
last modified time | relevance | path

Searched refs:PermissionHelper (Results 1 – 2 of 2) sorted by relevance

/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DGenericAppPermissionTests.java24 import android.system.helpers.PermissionHelper;
49 private PermissionHelper pHelper = null;
70 pHelper = PermissionHelper.getInstance(getInstrumentation()); in setUp()
95 PERMISSION_TEST_APP, "Contacts", PermissionHelper.PermissionStatus.OFF); in testToggleAppPermisssionOFF()
101 PermissionHelper.PermissionStatus.ON); in testToggleAppPermisssionON()
133 PermissionHelper.PermissionOp.REVOKE); in testPermissionDialogDenyFlow()
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
DPermissionHelper.java54 public class PermissionHelper { class
60 public static PermissionHelper mInstance = null;
78 private PermissionHelper(Instrumentation instrumentation) { in PermissionHelper() method in PermissionHelper
92 public static PermissionHelper getInstance(Instrumentation instrumentation) { in getInstance()
94 mInstance = new PermissionHelper(instrumentation); in getInstance()
95 PermissionHelper.populateDangerousPermissionGroupInfo(); in getInstance()
364 if (PermissionHelper.mPermissionGroupInfo.keySet().contains(grpName)) { in getAllDangerousPermissionsByPermGrpNames()
365 allDangerousPermissions.addAll(PermissionHelper.mPermissionGroupInfo.get(grpName)); in getAllDangerousPermissionsByPermGrpNames()
378 for (List<String> prmsList : PermissionHelper.mPermissionGroupInfo.values()) { in getPlatformDangerousPermissionGroupNames()