Searched refs:getpid_cached (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 37 pid_t getpid_cached; variable 53 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in recordingAllowed() 109 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in captureAudioOutputAllowed() 125 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
|
D | ServiceUtilities.h | 21 extern pid_t getpid_cached;
|
D | AudioFlinger.cpp | 193 getpid_cached = getpid(); in AudioFlinger() 980 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT && caller != getpid_cached) { in checkStreamType() 2334 if (pid != -1 && (caller == getpid_cached)) { in acquireAudioSessionId() 2368 if (pid != -1 && (caller == getpid_cached)) { in releaseAudioSessionId() 2387 ALOGW_IF(caller != getpid_cached, "session id %d not found for pid %d", audioSession, caller); in releaseAudioSessionId() 2620 if (sessionId == AUDIO_SESSION_OUTPUT_STAGE && getpid_cached != pid) { in createEffect()
|
D | Tracks.cpp | 534 (mClient == 0) ? getpid_cached : mClient->pid(), in dump() 1608 (mClient == 0) ? getpid_cached : mClient->pid(), in dump()
|
D | Effects.cpp | 1332 (mClient == 0) ? getpid_cached : mClient->pid(), in dumpToBuffer()
|
D | Threads.cpp | 3578 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastMixer); in MixerThread() 3586 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastMixer); in MixerThread() 5772 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastCapture); in RecordThread()
|