Searched refs:onModeChangedListener (Results 1 – 1 of 1) sorted by relevance
2386 private void notifyOpChanged(OnOpModeChangedListener onModeChangedListener, int code, in notifyOpChanged() argument2388 Objects.requireNonNull(onModeChangedListener); in notifyOpChanged()2390 if (uid != UID_ANY && onModeChangedListener.getWatchingUid() >= 0 in notifyOpChanged()2391 && onModeChangedListener.getWatchingUid() != uid) { in notifyOpChanged()2397 if (onModeChangedListener.getWatchedOpCode() == ALL_OPS) { in notifyOpChanged()2399 } else if (onModeChangedListener.getWatchedOpCode() == OP_NONE) { in notifyOpChanged()2402 switchedCodes = new int[]{onModeChangedListener.getWatchedOpCode()}; in notifyOpChanged()2411 if (shouldIgnoreCallback(switchedCode, onModeChangedListener.getCallingPid(), in notifyOpChanged()2412 onModeChangedListener.getCallingUid())) { in notifyOpChanged()2415 onModeChangedListener.onOpModeChanged(switchedCode, uid, packageName, in notifyOpChanged()