Home
last modified time | relevance | path

Searched refs:mProvider (Results 1 – 8 of 8) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DDisplayStateResidencyWatcher.cpp54 if (mProvider) { in ~DisplayStateResidencyWatcher()
55 AIBinder_unlinkToDeath(mProvider->asBinder().get(), mDeathRecipient.get(), in ~DisplayStateResidencyWatcher()
57 mProvider->unregisterCallback(this->ref<IPixelStateResidencyCallback>()); in ~DisplayStateResidencyWatcher()
71 if (mProvider) { in registerWithPowerStats()
73 mProvider.reset(); in registerWithPowerStats()
87 mProvider = IPixelStateResidencyProvider::fromBinder(binder); in registerWithPowerStats()
88 if (mProvider) { in registerWithPowerStats()
100 if (!mRunning.load() || !mProvider) { in registerWithPowerStats()
105 mProvider->registerCallbackByStates(mEntityName, in registerWithPowerStats()
114 AIBinder_linkToDeath(mProvider->asBinder().get(), mDeathRecipient.get(), in registerWithPowerStats()
DDisplayStateResidencyWatcher.h55 std::shared_ptr<IPixelStateResidencyProvider> mProvider; variable
/hardware/interfaces/camera/provider/aidl/vts/
DVtsAidlHalCameraProvider_TargetTest.cpp69 ScopedAStatus ret = mProvider->getCameraIdList(&idList); in TEST_P()
80 ScopedAStatus ret = mProvider->getVendorTags(&vendorTags); in TEST_P()
118 ScopedAStatus ret = mProvider->setCallback(cb); in TEST_P()
120 ret = mProvider->setCallback(nullptr); in TEST_P()
126 std::vector<std::string> cameraDeviceNames = getCameraDeviceNames(mProvider); in TEST_P()
130 ScopedAStatus ret = mProvider->getCameraDeviceInterface(name, &cameraDevice); in TEST_P()
141 std::vector<std::string> cameraDeviceNames = getCameraDeviceNames(mProvider); in TEST_P()
145 ScopedAStatus ret = mProvider->getCameraDeviceInterface(deviceName, &cameraDevice); in TEST_P()
169 std::vector<std::string> cameraDeviceNames = getCameraDeviceNames(mProvider); in TEST_P()
174 openEmptyDeviceSession(name, mProvider, &mSession /*out*/, &meta /*out*/, in TEST_P()
[all …]
Dcamera_aidl_test.cpp136 mProvider = cameraProvider; in SetUp()
203 auto status = mProvider->setCallback(cb); in getCameraDeviceNames()
214 bool isSecureOnlyCamera = isSecureOnly(mProvider, cameraDeviceName); in getCameraDeviceNames()
573 if (mProvider == nullptr) { in notifyDeviceState()
576 mProvider->notifyDeviceStateChange(state); in notifyDeviceState()
1447 ndk::ScopedAStatus ret = mProvider->getCameraDeviceInterface(fullPublicId, &subDevice); in verifyLogicalOrUltraHighResCameraMetadata()
1500 ret = mProvider->getCameraDeviceInterface(fullPhysicalId, &subDevice); in verifyLogicalOrUltraHighResCameraMetadata()
2275 getCameraDeviceNames(mProvider, useSecureOnlyCameras); in processCaptureRequestInternal()
2289 configureSingleStream(name, mProvider, &streamThreshold, bufferUsage, reqTemplate, in processCaptureRequestInternal()
2449 std::vector<std::string> cameraDeviceNames = getCameraDeviceNames(mProvider); in configureStreamUseCaseInternal()
[all …]
Dcamera_aidl_test.h621 std::shared_ptr<ICameraProvider> mProvider; variable
/hardware/google/av/media/eco/
DECOSession.cpp74 mProvider(nullptr), in ECOSession()
397 if (mProvider != nullptr) { in addStatsProvider()
399 mProvider->getName(&name); in addStatsProvider()
414 mProvider = provider; in addStatsProvider()
425 if (provider->asBinder() != mProvider->asBinder()) { in removeStatsProvider()
431 mProvider = nullptr; in removeStatsProvider()
546 *_aidl_return = (mProvider == nullptr ? 0 : 1); in getNumOfProviders()
558 if (mProvider != nullptr) { in dump()
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp609 mProvider = ICameraProvider::getService(service_name); in SetUp()
611 ASSERT_NE(mProvider, nullptr); in SetUp()
616 castProvider(mProvider, &mProvider2_5, &mProvider2_6, &mProvider2_7); in SetUp()
1115 sp<ICameraProvider> mProvider; member in CameraHidlTest
1783 auto status = mProvider->setCallback(cb); in getCameraDeviceNames()
1794 bool isSecureOnlyCamera = isSecureOnly(mProvider, cameraDeviceNames[i]); in getCameraDeviceNames()
1869 hidl_vec<hidl_string> cameraDeviceNames = getCameraDeviceNames(mProvider); in TEST_P()
1886 ret = mProvider->isSetTorchModeSupported([&](auto status, bool support) { in TEST_P()
1899 ret = mProvider->getCameraIdList([&](auto status, const auto& idList) { in TEST_P()
1912 ret = mProvider->getVendorTags([&](auto status, const auto& vendorTagSecs) { in TEST_P()
[all …]
/hardware/google/av/media/eco/include/eco/
DECOSession.h144 std::shared_ptr<IECOServiceStatsProvider> mProvider; variable