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()
54 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
DServiceUtilities.h21 extern pid_t getpid_cached;
DAudioFlinger.cpp184 getpid_cached = getpid(); in AudioFlinger()
2133 if (pid != -1 && (caller == getpid_cached)) { in acquireAudioSessionId()
2167 if (pid != -1 && (caller == getpid_cached)) { in releaseAudioSessionId()
2186 ALOGW_IF(caller != getpid_cached, "session id %d not found for pid %d", audioSession, caller); in releaseAudioSessionId()
2382 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()
2113 (mClient == 0) ? getpid_cached : mClient->pid(), in dump()
DThreads.cpp2892 int err = requestPriority(getpid_cached, tid, kPriorityFastMixer); in MixerThread()
2895 kPriorityFastMixer, getpid_cached, tid, err); in MixerThread()
2904 err = requestPriority(getpid_cached, tid, kPriorityFastMixer); in MixerThread()
2907 kPriorityFastMixer, getpid_cached, tid, err); in MixerThread()
4952 int err = requestPriority(getpid_cached, tid, kPriorityFastMixer); in RecordThread()
4955 kPriorityFastCapture, getpid_cached, tid, err); in RecordThread()
DEffects.cpp1319 (mClient == 0) ? getpid_cached : mClient->pid(), in dumpToBuffer()