Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DServiceUtilities.cpp26 pid_t getpid_cached; variable
29 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in recordingAllowed()
38 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in captureAudioOutputAllowed()
61 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
DServiceUtilities.h21 extern pid_t getpid_cached;
DAudioFlinger.cpp184 getpid_cached = getpid(); in AudioFlinger()
901 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT && caller != getpid_cached) { in checkStreamType()
2197 if (pid != -1 && (caller == getpid_cached)) { in acquireAudioSessionId()
2231 if (pid != -1 && (caller == getpid_cached)) { in releaseAudioSessionId()
2250 ALOGW_IF(caller != getpid_cached, "session id %d not found for pid %d", audioSession, caller); in releaseAudioSessionId()
2446 if (sessionId == AUDIO_SESSION_OUTPUT_STAGE && getpid_cached != pid) { in createEffect()
DTracks.cpp103 if (IPCThreadState::self()->getCallingPid() != getpid_cached || clientUid == -1) { in TrackBase()
571 (mClient == 0) ? getpid_cached : mClient->pid(), in dump()
2115 (mClient == 0) ? getpid_cached : mClient->pid(), in dump()
DThreads.cpp2914 int err = requestPriority(getpid_cached, tid, kPriorityFastMixer); in MixerThread()
2917 kPriorityFastMixer, getpid_cached, tid, err); in MixerThread()
2926 err = requestPriority(getpid_cached, tid, kPriorityFastMixer); in MixerThread()
2929 kPriorityFastMixer, getpid_cached, tid, err); in MixerThread()
5055 int err = requestPriority(getpid_cached, tid, kPriorityFastMixer); in RecordThread()
5058 kPriorityFastCapture, getpid_cached, tid, err); in RecordThread()
DEffects.cpp1319 (mClient == 0) ? getpid_cached : mClient->pid(), in dumpToBuffer()