Home
last modified time | relevance | path

Searched refs:newclientUid (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp165 uid_t newclientUid = IPCThreadState::self()->getCallingUid(); in getOutputForAttr() local
166 if (uid != (uid_t)-1 && uid != newclientUid) { in getOutputForAttr()
167 ALOGW("%s uid %d tried to pass itself off as %d", __FUNCTION__, newclientUid, uid); in getOutputForAttr()
169 uid = newclientUid; in getOutputForAttr()
285 uid_t newclientUid = IPCThreadState::self()->getCallingUid(); in getInputForAttr() local
286 if (uid != (uid_t)-1 && uid != newclientUid) { in getInputForAttr()
287 ALOGW("%s uid %d tried to pass itself off as %d", __FUNCTION__, newclientUid, uid); in getInputForAttr()
289 uid = newclientUid; in getInputForAttr()
/frameworks/av/services/audioflinger/
DTracks.cpp105 int newclientUid = IPCThreadState::self()->getCallingUid(); in TrackBase() local
106 if (clientUid != -1 && clientUid != newclientUid) { in TrackBase()
107 ALOGW("uid %d tried to pass itself off as %d", newclientUid, clientUid); in TrackBase()
109 clientUid = newclientUid; in TrackBase()