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 | 168 getpid_cached = getpid(); in AudioFlinger() 1046 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT && caller != getpid_cached) { in checkStreamType() 2505 if (pid != -1 && (caller == getpid_cached)) { in acquireAudioSessionId() 2539 if (pid != -1 && (caller == getpid_cached)) { in releaseAudioSessionId() 2558 ALOGW_IF(caller != getpid_cached, "session id %d not found for pid %d", audioSession, caller); in releaseAudioSessionId() 2888 if (sessionId == AUDIO_SESSION_OUTPUT_STAGE && getpid_cached != pid) { in createEffect()
|
D | Tracks.cpp | 579 (mClient == 0) ? getpid_cached : mClient->pid(), in dump() 1711 (mClient == 0) ? getpid_cached : mClient->pid(), in dump()
|
D | Effects.cpp | 1492 (mClient == 0) ? getpid_cached : mClient->pid(), in dumpToBuffer()
|
D | Threads.cpp | 3741 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastMixer, false); in MixerThread() 3750 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastMixer); in MixerThread() 6045 sendPrioConfigEvent(getpid_cached, tid, kPriorityFastCapture, false); in RecordThread()
|