Home
last modified time | relevance | path

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

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java249 private void setAppOpsMode(String appop, String mode) throws Exception { in setAppOpsMode() argument
250 final String command = MessageFormat.format(APPOPS_SET_SHELL_COMMAND, mPkg, appop, mode); in setAppOpsMode()
254 private String getAppOpsMode(String appop) throws Exception { in getAppOpsMode() argument
255 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()
/cts/tests/tests/net/src/android/net/cts/
DIpSecManagerTunnelTest.java178 private static void setAppop(int appop, boolean allow) { in setAppop() argument
179 String opName = AppOpsManager.opToName(appop); in setAppop()