Searched refs:opsCodes (Results 1 – 2 of 2) sorted by relevance
47 void addCallback(int[] opsCodes, Callback cb); in addCallback() argument58 void removeCallback(int[] opsCodes, Callback cb); in removeCallback() argument
189 public void addCallback(int[] opsCodes, AppOpsController.Callback callback) { in addCallback() argument191 final int numCodes = opsCodes.length; in addCallback()193 if (mCallbacksByCode.contains(opsCodes[i])) { in addCallback()194 mCallbacksByCode.get(opsCodes[i]).add(callback); in addCallback()197 if (DEBUG) Log.wtf(TAG, "APP_OP " + opsCodes[i] + " not supported"); in addCallback()214 public void removeCallback(int[] opsCodes, AppOpsController.Callback callback) { in removeCallback() argument215 final int numCodes = opsCodes.length; in removeCallback()217 if (mCallbacksByCode.contains(opsCodes[i])) { in removeCallback()218 mCallbacksByCode.get(opsCodes[i]).remove(callback); in removeCallback()