Lines Matching refs:op
78 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) in checkOp() argument
82 ? service->checkOperation(op, uid, callingPackage) in checkOp()
86 int32_t AppOpsManager::checkAudioOpNoThrow(int32_t op, int32_t usage, int32_t uid, in checkAudioOpNoThrow() argument
90 ? service->checkAudioOperation(op, usage, uid, callingPackage) in checkAudioOpNoThrow()
94 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { in noteOp() argument
95 return noteOp(op, uid, callingPackage, {}, in noteOp()
99 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage, in noteOp() argument
103 ? service->noteOperation(op, uid, callingPackage, attributionTag, in noteOp()
104 shouldCollectNotes(op), message, uid == AID_SYSTEM) in noteOp()
110 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow() argument
112 return startOpNoThrow(op, uid, callingPackage, startIfModeDefault, {}, in startOpNoThrow()
116 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow() argument
121 ? service->startOperation(getClientId(), op, uid, callingPackage, in startOpNoThrow()
122 attributionTag, startIfModeDefault, shouldCollectNotes(op), message, in startOpNoThrow()
129 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { in finishOp() argument
130 finishOp(op, uid, callingPackage, {}); in finishOp()
133 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage, in finishOp() argument
137 service->finishOperation(getClientId(), op, uid, callingPackage, attributionTag); in finishOp()
141 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() argument
145 service->startWatchingMode(op, packageName, callback); in startWatchingMode()
149 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, int32_t flags, in startWatchingMode() argument
153 service->startWatchingModeWithFlags(op, packageName, flags, callback); in startWatchingMode()