Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java130 public void addCallback(int[] opsCodes, AppOpsController.Callback callback) { in addCallback() argument
132 final int numCodes = opsCodes.length; in addCallback()
134 if (mCallbacksByCode.containsKey(opsCodes[i])) { in addCallback()
135 mCallbacksByCode.get(opsCodes[i]).add(callback); in addCallback()
138 if (DEBUG) Log.wtf(TAG, "APP_OP " + opsCodes[i] + " not supported"); in addCallback()
155 public void removeCallback(int[] opsCodes, AppOpsController.Callback callback) { in removeCallback() argument
156 final int numCodes = opsCodes.length; in removeCallback()
158 if (mCallbacksByCode.containsKey(opsCodes[i])) { in removeCallback()
159 mCallbacksByCode.get(opsCodes[i]).remove(callback); in removeCallback()
DAppOpsController.java47 void addCallback(int[] opsCodes, Callback cb); in addCallback() argument
58 void removeCallback(int[] opsCodes, Callback cb); in removeCallback() argument