Home
last modified time | relevance | path

Searched refs:getpid_cached (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audioflinger/
DServiceUtilities.cpp37 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()
DServiceUtilities.h21 extern pid_t getpid_cached;
DAudioFlinger.cpp193 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()
DTracks.cpp534 (mClient == 0) ? getpid_cached : mClient->pid(), in dump()
1608 (mClient == 0) ? getpid_cached : mClient->pid(), in dump()
DEffects.cpp1332 (mClient == 0) ? getpid_cached : mClient->pid(), in dumpToBuffer()
DThreads.cpp3578 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastMixer); in MixerThread()
3586 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastMixer); in MixerThread()
5772 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastCapture); in RecordThread()