Searched refs:appop (Results 1 – 2 of 2) sorted by relevance
249 private void setAppOpsMode(String appop, String mode) throws Exception { in setAppOpsMode() argument250 final String command = MessageFormat.format(APPOPS_SET_SHELL_COMMAND, mPkg, appop, mode); in setAppOpsMode()254 private String getAppOpsMode(String appop) throws Exception { in getAppOpsMode() argument255 final String command = MessageFormat.format(APPOPS_GET_SHELL_COMMAND, mPkg, appop); in getAppOpsMode()258 Log.w(LOG_TAG, "App op " + appop + " could not be read."); in getAppOpsMode()
178 private static void setAppop(int appop, boolean allow) { in setAppop() argument179 String opName = AppOpsManager.opToName(appop); in setAppop()