/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamBase.h | 136 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);
|
D | AAudioServiceStreamBase.cpp | 536 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()
|
D | AAudioService.h | 79 registerAudioThread(int32_t streamHandle, int32_t clientThreadId, int64_t periodNanoseconds, 82 binder::Status unregisterAudioThread(int32_t streamHandle, int32_t clientThreadId,
|
D | AAudioService.cpp | 257 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/ |
D | AAudioBinderAdapter.cpp | 107 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()
|
D | AAudioBinderClient.cpp | 189 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()
|
D | AAudioBinderAdapter.h | 54 pid_t clientThreadId, 58 pid_t clientThreadId) override;
|
D | AAudioServiceInterface.h | 85 pid_t clientThreadId, 89 pid_t clientThreadId) = 0;
|
D | AAudioBinderClient.h | 93 pid_t clientThreadId, 97 pid_t clientThreadId) override;
|
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/ |
D | IAAudioService.aidl | 76 int clientThreadId, in registerAudioThread() argument 80 int clientThreadId); in unregisterAudioThread() argument
|
/frameworks/av/services/oboeservice/fuzzer/ |
D | oboeservice_fuzzer.cpp | 165 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/ |
D | TunerResourceManagerService.java | 589 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/ |
D | ITunerResourceManager.aidl | 464 boolean acquireLock(in int clientId, in long clientThreadId); in acquireLock() argument
|