Home
last modified time | relevance | path

Searched refs:clientThreadId (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.h136 aaudio_result_t registerAudioThread(pid_t clientThreadId, int priority) EXCLUDES(mLock);
138 aaudio_result_t unregisterAudioThread(pid_t clientThreadId) EXCLUDES(mLock);
254 RegisterAudioThreadParam(pid_t ownerPid, pid_t clientThreadId, int priority) in RegisterAudioThreadParam() argument
256 mClientThreadId(clientThreadId), mPriority(priority) { } in RegisterAudioThreadParam()
264 pid_t ownerPid, pid_t clientThreadId, int priority) REQUIRES(mLock);
268 UnregisterAudioThreadParam(pid_t clientThreadId) in UnregisterAudioThreadParam() argument
269 : AAudioCommandParam(), mClientThreadId(clientThreadId) { } in UnregisterAudioThreadParam()
274 aaudio_result_t unregisterAudioThread_l(pid_t clientThreadId) REQUIRES(mLock);
DAAudioServiceStreamBase.cpp536 aaudio_result_t AAudioServiceStreamBase::registerAudioThread(pid_t clientThreadId, int priority) { in registerAudioThread() argument
539 std::make_shared<RegisterAudioThreadParam>(ownerPid, clientThreadId, priority), in registerAudioThread()
545 pid_t ownerPid, pid_t clientThreadId, int priority) { in registerAudioThread_l() argument
551 setRegisteredThread(clientThreadId); in registerAudioThread_l()
552 int err = android::requestPriority(ownerPid, clientThreadId, in registerAudioThread_l()
556 clientThreadId, errno, priority); in registerAudioThread_l()
563 aaudio_result_t AAudioServiceStreamBase::unregisterAudioThread(pid_t clientThreadId) { in unregisterAudioThread() argument
565 std::make_shared<UnregisterAudioThreadParam>(clientThreadId), in unregisterAudioThread()
570 aaudio_result_t AAudioServiceStreamBase::unregisterAudioThread_l(pid_t clientThreadId) { in unregisterAudioThread_l() argument
572 if (getRegisteredThread() != clientThreadId) { in unregisterAudioThread_l()
DAAudioService.h79 registerAudioThread(int32_t streamHandle, int32_t clientThreadId, int64_t periodNanoseconds,
82 binder::Status unregisterAudioThread(int32_t streamHandle, int32_t clientThreadId,
DAAudioService.cpp257 Status AAudioService::registerAudioThread(int32_t streamHandle, int32_t clientThreadId, int64_t per… in registerAudioThread() argument
268 AIDL_RETURN(serviceStream->registerAudioThread(clientThreadId, priority)); in registerAudioThread()
271 Status AAudioService::unregisterAudioThread(int32_t streamHandle, int32_t clientThreadId, in unregisterAudioThread() argument
280 AIDL_RETURN(serviceStream->unregisterAudioThread(clientThreadId)); in unregisterAudioThread()
/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderAdapter.cpp107 pid_t clientThreadId, in registerAudioThread() argument
110 …Status status = mDelegate->registerAudioThread(streamHandle, clientThreadId, periodNanoseconds, &r… in registerAudioThread()
118 pid_t clientThreadId) { in unregisterAudioThread() argument
120 Status status = mDelegate->unregisterAudioThread(streamHandle, clientThreadId, &result); in unregisterAudioThread()
DAAudioBinderClient.cpp189 pid_t clientThreadId, in registerAudioThread() argument
194 return service->registerAudioThread(streamHandle, clientThreadId, periodNanoseconds); in registerAudioThread()
198 pid_t clientThreadId) { in unregisterAudioThread() argument
202 return service->unregisterAudioThread(streamHandle, clientThreadId); in unregisterAudioThread()
DAAudioBinderAdapter.h54 pid_t clientThreadId,
58 pid_t clientThreadId) override;
DAAudioServiceInterface.h85 pid_t clientThreadId,
89 pid_t clientThreadId) = 0;
DAAudioBinderClient.h93 pid_t clientThreadId,
97 pid_t clientThreadId) override;
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/
DIAAudioService.aidl76 int clientThreadId, in registerAudioThread() argument
80 int clientThreadId); in unregisterAudioThread() argument
/frameworks/av/services/oboeservice/fuzzer/
Doboeservice_fuzzer.cpp165 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, pid_t clientThreadId,
169 pid_t clientThreadId) override;
320 pid_t clientThreadId, in registerAudioThread() argument
326 return service->registerAudioThread(streamHandle, clientThreadId, periodNanoseconds); in registerAudioThread()
330 pid_t clientThreadId) { in unregisterAudioThread() argument
335 return service->unregisterAudioThread(streamHandle, clientThreadId); in unregisterAudioThread()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java589 public boolean acquireLock(int clientId, long clientThreadId) { in acquireLock() argument
592 return acquireLockInternal(clientId, clientThreadId, TRMS_LOCK_TIMEOUT); in acquireLock()
1374 private boolean acquireLockInternal(int clientId, long clientThreadId, long timeoutMS) { in acquireLockInternal() argument
1385 && (clientThreadId == mTunerApiLockHolderThreadId); in acquireLockInternal()
1393 Slog.e(TAG, "FAILED:acquireLockInternal(" + clientId + ", " + clientThreadId in acquireLockInternal()
1416 Slog.w(TAG, "acquireLockInternal(" + clientId + ", " + clientThreadId + ", " in acquireLockInternal()
1426 Slog.d(TAG, "SUCCESS:acquireLockInternal(" + clientId + ", " + clientThreadId in acquireLockInternal()
1437 mTunerApiLockHolderThreadId = clientThreadId; in acquireLockInternal()
1443 Slog.d(TAG, "acquireLockInternal(" + clientId + ", " + clientThreadId in acquireLockInternal()
1448 Slog.e(TAG, "acquireLockInternal(" + clientId + ", " + clientThreadId in acquireLockInternal()
[all …]
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/aidl/android/media/tv/tunerresourcemanager/
DITunerResourceManager.aidl464 boolean acquireLock(in int clientId, in long clientThreadId); in acquireLock() argument