• Home
  • Raw
  • Download

Lines Matching refs:interface

333     const sp<provider::V2_4::ICameraProvider> interface = parentProvider->startProviderInterface();  in setTorchMode()  local
334 if (interface == nullptr) { in setTorchMode()
337 saveRef(DeviceMode::TORCH, deviceInfo->mId, interface); in setTorchMode()
398 auto interface = deviceInfo3->startDeviceInterface< in openSession() local
400 if (interface == nullptr) { in openSession()
404 ret = interface->open(callback, [&status, &session] in openSession()
1240 sp<provider::V2_4::ICameraProvider> interface; in tryToInitializeProviderLocked() local
1241 interface = mServiceProxy->tryGetService(providerName); in tryToInitializeProviderLocked()
1243 if (interface == nullptr) { in tryToInitializeProviderLocked()
1251 return providerInfo->initialize(interface, mDeviceState); in tryToInitializeProviderLocked()
1354 sp<provider::V2_4::ICameraProvider>& interface, in initialize() argument
1362 mProviderName.c_str(), interface->isRemote()); in initialize()
1366 auto cast2_6 = provider::V2_6::ICameraProvider::castFrom(interface); in initialize()
1378 provider::V2_5::ICameraProvider::castFrom(interface); in initialize()
1382 if (interface != nullptr) { in initialize()
1387 auto cast2_7 = provider::V2_7::ICameraProvider::castFrom(interface); in initialize()
1398 hardware::Return<Status> status = interface->setCallback(this); in initialize()
1410 hardware::Return<bool> linked = interface->linkToDeath(this, /*cookie*/ mId); in initialize()
1422 mSavedInterface = interface; in initialize()
1424 mActiveInterface = interface; in initialize()
1440 hardware::Return<void> ret = interface->getCameraIdList([&status, this, &devices]( in initialize()
1477 ret = interface->isSetTorchModeSupported( in initialize()
1489 mIsRemote = interface->isRemote(); in initialize()
1554 auto interface = mActiveInterface.promote(); in startProviderInterface() local
1555 if (interface == nullptr) { in startProviderInterface()
1557 interface = mManager->mServiceProxy->getService(mProviderName); in startProviderInterface()
1558 interface->setCallback(this); in startProviderInterface()
1559 hardware::Return<bool> linked = interface->linkToDeath(this, /*cookie*/ mId); in startProviderInterface()
1571 auto castResult = provider::V2_5::ICameraProvider::castFrom(interface); in startProviderInterface()
1582 mActiveInterface = interface; in startProviderInterface()
1586 return interface; in startProviderInterface()
1784 auto interface = mSavedInterface != nullptr ? mSavedInterface : mActiveInterface.promote(); in reCacheConcurrentStreamingCameraIdsLocked() local
1785 if (interface == nullptr) { in reCacheConcurrentStreamingCameraIdsLocked()
1790 auto castResult = provider::V2_6::ICameraProvider::castFrom(interface); in reCacheConcurrentStreamingCameraIdsLocked()
2001 const sp<provider::V2_4::ICameraProvider> interface = startProviderInterface(); in setUpVendorTags() local
2002 if (interface == nullptr) { in setUpVendorTags()
2005 ret = interface->getVendorTags( in setUpVendorTags()
2039 auto interface = mSavedInterface != nullptr ? mSavedInterface : mActiveInterface.promote(); in notifyDeviceStateChange() local
2040 if (interface != nullptr) { in notifyDeviceStateChange()
2042 auto castResult = provider::V2_5::ICameraProvider::castFrom(interface); in notifyDeviceStateChange()
2060 auto interface = mSavedInterface != nullptr ? mSavedInterface : mActiveInterface.promote(); in isConcurrentSessionConfigurationSupported() local
2061 if (interface == nullptr) { in isConcurrentSessionConfigurationSupported()
2065 auto castResult2_6 = provider::V2_6::ICameraProvider::castFrom(interface); in isConcurrentSessionConfigurationSupported()
2066 auto castResult2_7 = provider::V2_7::ICameraProvider::castFrom(interface); in isConcurrentSessionConfigurationSupported()
2201 const sp<provider::V2_4::ICameraProvider> interface = startProviderInterface(); in startDeviceInterface() local
2202 if (interface == nullptr) { in startDeviceInterface()
2205 ret = interface->getCameraDeviceInterface_V3_x(name, [&status, &cameraInterface]( in startDeviceInterface()
2206 Status s, sp<device::V3_2::ICameraDevice> interface) { in startDeviceInterface() argument
2208 cameraInterface = interface; in startDeviceInterface()
2241 status_t CameraProviderManager::ProviderInfo::DeviceInfo::setTorchMode(InterfaceT& interface, in setTorchMode() argument
2243 Status s = interface->setTorchMode(enabled ? TorchMode::ON : TorchMode::OFF); in setTorchMode()
2253 sp<InterfaceT> interface) : in DeviceInfo3() argument
2259 ret = interface->getCameraCharacteristics([&status, this](Status s,
2350 auto castResult = device::V3_5::ICameraDevice::castFrom(interface);
2410 mSavedInterface = interface;
2478 const sp<InterfaceT> interface = startDeviceInterface<InterfaceT>(); in dumpState() local
2479 if (interface == nullptr) { in dumpState()
2482 auto ret = interface->dumpState(handle); in dumpState()
2519 const sp<CameraProviderManager::ProviderInfo::DeviceInfo3::InterfaceT> interface = in isSessionConfigurationSupported() local
2521 if (interface == nullptr) { in isSessionConfigurationSupported()
2524 auto castResult_3_5 = device::V3_5::ICameraDevice::castFrom(interface); in isSessionConfigurationSupported()
2526 auto castResult_3_7 = device::V3_7::ICameraDevice::castFrom(interface); in isSessionConfigurationSupported()