Loading services/camera/libcameraservice/common/aidl/AidlProviderInfo.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ status_t AidlProviderInfo::initializeAidlProvider( void AidlProviderInfo::binderDied(void *cookie) { AidlProviderInfo *provider = reinterpret_cast<AidlProviderInfo *>(cookie); ALOGI("Camera provider '%s' has died; removing it", provider->mProviderInstance.c_str()); provider->mManager->removeProvider(provider->mProviderInstance); provider->mManager->removeProvider(std::string(provider->mProviderInstance)); } status_t AidlProviderInfo::setUpVendorTags() { Loading Loading @@ -320,7 +320,7 @@ const std::shared_ptr<ICameraProvider> AidlProviderInfo::startProviderInterface( if (link != STATUS_OK) { ALOGW("%s: Unable to link to provider '%s' death notifications", __FUNCTION__, mProviderName.c_str()); mManager->removeProvider(mProviderInstance); mManager->removeProvider(std::string(mProviderInstance)); return nullptr; } Loading services/camera/libcameraservice/common/hidl/HidlProviderInfo.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -391,7 +391,7 @@ HidlProviderInfo::startProviderInterface() { __FUNCTION__, mProviderName.c_str(), linked.description().c_str()); mManager->removeProvider(mProviderInstance); mManager->removeProvider(std::string(mProviderInstance)); return nullptr; } else if (!linked) { ALOGW("%s: Unable to link to provider '%s' death notifications", Loading Loading @@ -451,7 +451,7 @@ void HidlProviderInfo::serviceDied(uint64_t cookie, ALOGW("%s: Unexpected serviceDied cookie %" PRIu64 ", expected %" PRIu32, __FUNCTION__, cookie, mId); } mManager->removeProvider(mProviderInstance); mManager->removeProvider(std::string(mProviderInstance)); } std::unique_ptr<CameraProviderManager::ProviderInfo::DeviceInfo> Loading Loading
services/camera/libcameraservice/common/aidl/AidlProviderInfo.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ status_t AidlProviderInfo::initializeAidlProvider( void AidlProviderInfo::binderDied(void *cookie) { AidlProviderInfo *provider = reinterpret_cast<AidlProviderInfo *>(cookie); ALOGI("Camera provider '%s' has died; removing it", provider->mProviderInstance.c_str()); provider->mManager->removeProvider(provider->mProviderInstance); provider->mManager->removeProvider(std::string(provider->mProviderInstance)); } status_t AidlProviderInfo::setUpVendorTags() { Loading Loading @@ -320,7 +320,7 @@ const std::shared_ptr<ICameraProvider> AidlProviderInfo::startProviderInterface( if (link != STATUS_OK) { ALOGW("%s: Unable to link to provider '%s' death notifications", __FUNCTION__, mProviderName.c_str()); mManager->removeProvider(mProviderInstance); mManager->removeProvider(std::string(mProviderInstance)); return nullptr; } Loading
services/camera/libcameraservice/common/hidl/HidlProviderInfo.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -391,7 +391,7 @@ HidlProviderInfo::startProviderInterface() { __FUNCTION__, mProviderName.c_str(), linked.description().c_str()); mManager->removeProvider(mProviderInstance); mManager->removeProvider(std::string(mProviderInstance)); return nullptr; } else if (!linked) { ALOGW("%s: Unable to link to provider '%s' death notifications", Loading Loading @@ -451,7 +451,7 @@ void HidlProviderInfo::serviceDied(uint64_t cookie, ALOGW("%s: Unexpected serviceDied cookie %" PRIu64 ", expected %" PRIu32, __FUNCTION__, cookie, mId); } mManager->removeProvider(mProviderInstance); mManager->removeProvider(std::string(mProviderInstance)); } std::unique_ptr<CameraProviderManager::ProviderInfo::DeviceInfo> Loading