Home
last modified time | relevance | path

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

/frameworks/av/media/utils/
DBatteryNotifier.cpp36 if (mDeathNotifier != nullptr) { in ~BatteryNotifier()
37 IInterface::asBinder(mBatteryStatService)->unlinkToDeath(mDeathNotifier); in ~BatteryNotifier()
184 mDeathNotifier.clear(); in onBatteryStatServiceDied()
208 mDeathNotifier = new DeathNotifier(); in getBatteryService_l()
209 IInterface::asBinder(mBatteryStatService)->linkToDeath(mDeathNotifier); in getBatteryService_l()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp57 IInterface::asBinder(mCameraService)->unlinkToDeath(mDeathNotifier); in ~CameraManagerGlobal()
60 mDeathNotifier.clear(); in ~CameraManagerGlobal()
98 if (mDeathNotifier == nullptr) { in getCameraServiceLocked()
99 mDeathNotifier = new DeathNotifier(this); in getCameraServiceLocked()
101 binder->linkToDeath(mDeathNotifier); in getCameraServiceLocked()
DACameraManager.h82 sp<DeathNotifier> mDeathNotifier; variable
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp166 mCameraService->unlinkToDeath(mDeathNotifier); in ~CameraManagerGlobal()
169 mDeathNotifier.clear(); in ~CameraManagerGlobal()
231 if (mDeathNotifier == nullptr) { in getCameraService()
232 mDeathNotifier = new DeathNotifier(this); in getCameraService()
234 cameraServiceBinder->linkToDeath(mDeathNotifier, 0); in getCameraService()
DACameraManager.h90 sp<DeathNotifier> mDeathNotifier; variable
/frameworks/av/media/utils/include/mediautils/
DBatteryNotifier.h66 sp<DeathNotifier> mDeathNotifier; variable
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp182 IInterface::asBinder(mAudioRecord)->unlinkToDeath(mDeathNotifier, this); in ~AudioRecord()
823 IInterface::asBinder(mAudioRecord)->unlinkToDeath(mDeathNotifier, this); in createRecord_l()
824 mDeathNotifier.clear(); in createRecord_l()
873 mDeathNotifier = new DeathNotifier(this); in createRecord_l()
874 IInterface::asBinder(mAudioRecord)->linkToDeath(mDeathNotifier, this); in createRecord_l()
DAudioTrack.cpp314 IInterface::asBinder(mAudioTrack)->unlinkToDeath(mDeathNotifier, this); in ~AudioTrack()
1519 IInterface::asBinder(mAudioTrack)->unlinkToDeath(mDeathNotifier, this); in createTrack_l()
1520 mDeathNotifier.clear(); in createTrack_l()
1610 mDeathNotifier = new DeathNotifier(this); in createTrack_l()
1611 IInterface::asBinder(mAudioTrack)->linkToDeath(mDeathNotifier, this); in createTrack_l()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h199 sp<DeathNotifier> mDeathNotifier; variable
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h728 sp<DeathNotifier> mDeathNotifier; variable
DAudioTrack.h1231 sp<DeathNotifier> mDeathNotifier; variable
/frameworks/av/media/libstagefright/
DCameraSource.cpp260 mDeathNotifier = new DeathNotifier(); in isCameraAvailable()
262 IInterface::asBinder(mCameraRecordingProxy)->linkToDeath(mDeathNotifier); in isCameraAvailable()
871 IInterface::asBinder(mCameraRecordingProxy)->unlinkToDeath(mDeathNotifier); in releaseCamera()
DACodec.cpp347 sp<DeathNotifier> mDeathNotifier; member
6575 if (mDeathNotifier != NULL) { in stateEntered()
6579 tOmxNode->unlinkToDeath(mDeathNotifier); in stateEntered()
6582 mDeathNotifier.clear(); in stateEntered()
6708 mDeathNotifier = new DeathNotifier(new AMessage(kWhatOMXDied, mCodec)); in onAllocateComponent()
6710 if (tOmxNode && !tOmxNode->linkToDeath(mDeathNotifier, 0)) { in onAllocateComponent()
6711 mDeathNotifier.clear(); in onAllocateComponent()