Home
last modified time | relevance | path

Searched refs:deviceRemote (Results 1 – 9 of 9) sorted by relevance

/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp410 std::shared_ptr<ICameraDeviceUser> deviceRemote = nullptr; in BasicCameraTests() local
411 ret = mCameraService->connectDevice(callbacks, it.cameraId, &deviceRemote); in BasicCameraTests()
413 EXPECT_TRUE(deviceRemote != nullptr); in BasicCameraTests()
416 ret = deviceRemote->getCaptureRequestMetadataQueue(&mqDesc); in BasicCameraTests()
472 ret = deviceRemote->beginConfigure(); in BasicCameraTests()
476 ret = deviceRemote->createStream(output, &streamId); in BasicCameraTests()
481 ret = deviceRemote->endConfigure(StreamConfigurationMode::NORMAL_MODE, sessionParams, in BasicCameraTests()
486 ret = deviceRemote->prepare(streamId); in BasicCameraTests()
490 ret = deviceRemote->prepare(streamId); in BasicCameraTests()
496 ret = deviceRemote->createDefaultRequest(TemplateId::PREVIEW, &aidlSettingsMetadata); in BasicCameraTests()
[all …]
DVtsHalCameraServiceV2_0TargetTest.cpp408 sp<ICameraDeviceUser> deviceRemote = nullptr; in TEST_P() local
410 [&status, &deviceRemote](auto s, auto& device) { in TEST_P()
412 deviceRemote = device; in TEST_P()
415 EXPECT_TRUE(deviceRemote != nullptr); in TEST_P()
418 remoteRet = deviceRemote->getCaptureRequestMetadataQueue([&requestMQ](const auto& mqD) { in TEST_P()
474 Return<Status> ret = deviceRemote->beginConfigure(); in TEST_P()
477 remoteRet = deviceRemote->createStream(output, [&status, &streamId](Status s, auto sId) { in TEST_P()
484 ret = deviceRemote->endConfigure(StreamConfigurationMode::NORMAL_MODE, hidlParams); in TEST_P()
487 remoteRet = deviceRemote->createDefaultRequest( in TEST_P()
507 remoteRet = deviceRemote->submitRequestList(captureRequests, false, in TEST_P()
[all …]
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.cpp112 sp<hardware::camera2::ICameraDeviceUser> deviceRemote = nullptr; in connectDevice() local
126 kDefaultDeviceId, /*devicePolicy*/0, /*out*/&deviceRemote); in connectDevice()
137 sp<HidlCameraDeviceUser> hDeviceRemote = new HidlCameraDeviceUser(deviceRemote); in connectDevice()
DHidlCameraDeviceUser.cpp59 const sp<hardware::camera2::ICameraDeviceUser> &deviceRemote) in HidlCameraDeviceUser() argument
60 : mDeviceRemote(deviceRemote) { in HidlCameraDeviceUser()
DHidlCameraDeviceUser.h65 HidlCameraDeviceUser(const sp<hardware::camera2::ICameraDeviceUser> &deviceRemote);
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraDeviceUser.cpp57 AidlCameraDeviceUser::AidlCameraDeviceUser(const sp<UICameraDeviceUser>& deviceRemote): in AidlCameraDeviceUser() argument
58 mDeviceRemote(deviceRemote) { in AidlCameraDeviceUser()
DAidlCameraDeviceUser.h66 explicit AidlCameraDeviceUser(const sp<UICameraDeviceUser> &deviceRemote);
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp861 sp<hardware::camera2::ICameraDeviceUser> deviceRemote; in openCamera() local
870 /*out*/&deviceRemote); in openCamera()
907 if (deviceRemote == nullptr) { in openCamera()
912 device->setRemoteDevice(deviceRemote); in openCamera()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp817 std::shared_ptr<ICameraDeviceUser> deviceRemote; in openCamera() local
822 std::string(cameraId), &deviceRemote); in openCamera()
838 if (deviceRemote == nullptr) { in openCamera()
844 device->setRemoteDevice(deviceRemote); in openCamera()