Lines Matching refs:callingUid
133 int32_t callingUid = AIBinder_getCallingUid(); in submitRequest() local
140 in_clientUid = callingUid; in submitRequest()
143 } else if (in_clientUid != callingUid && !owner->isTrustedCaller(callingPid, callingUid)) { in submitRequest()
146 in_clientPid, in_clientUid, callingUid); in submitRequest()
150 in_clientPid, in_clientUid, callingUid); in submitRequest()
159 } else if (in_clientPid != callingPid && !owner->isTrustedCaller(callingPid, callingUid)) { in submitRequest()
162 in_clientPid, in_clientUid, callingUid); in submitRequest()
166 in_clientPid, in_clientUid, callingUid); in submitRequest()
171 *_aidl_return = owner->mSessionController->submit(mClientId, sessionId, callingUid, in submitRequest()
241 int32_t callingUid = AIBinder_getCallingUid(); in addClientUid() local
245 in_clientUid = callingUid; in addClientUid()
248 } else if (in_clientUid != callingUid && !owner->isTrustedCaller(callingPid, callingUid)) { in addClientUid()
251 in_clientUid, callingUid); in addClientUid()
255 in_clientUid, callingUid); in addClientUid()
382 int32_t callingUid = AIBinder_getCallingUid(); in addClient() local
385 if (!isTrustedCaller(callingPid, callingUid)) { in addClient()
386 ALOGE("addClient rejected (clientPid %d, clientUid %d)", callingPid, callingUid); in addClient()