Searched refs:getpid_cached (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 26 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()
|
D | ServiceUtilities.h | 21 extern pid_t getpid_cached;
|
D | AudioFlinger.cpp | 184 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()
|
D | Tracks.cpp | 103 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()
|
D | Threads.cpp | 2892 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()
|
D | Effects.cpp | 1319 (mClient == 0) ? getpid_cached : mClient->pid(), in dumpToBuffer()
|