Searched refs:PermissionHelper (Results 1 – 2 of 2) sorted by relevance
24 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()
54 public class PermissionHelper { class60 public static PermissionHelper mInstance = null;78 private PermissionHelper(Instrumentation instrumentation) { in PermissionHelper() method in PermissionHelper92 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()