Searched refs:opsCodes (Results 1 – 2 of 2) sorted by relevance
130 public void addCallback(int[] opsCodes, AppOpsController.Callback callback) { in addCallback() argument132 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() argument156 final int numCodes = opsCodes.length; in removeCallback()158 if (mCallbacksByCode.containsKey(opsCodes[i])) { in removeCallback()159 mCallbacksByCode.get(opsCodes[i]).remove(callback); in removeCallback()
47 void addCallback(int[] opsCodes, Callback cb); in addCallback() argument58 void removeCallback(int[] opsCodes, Callback cb); in removeCallback() argument