Home
last modified time | relevance | path

Searched refs:evs (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.h31 namespace android::automotive::evs::V1_1::implementation {
38 class VirtualCamera : public hardware::automotive::evs::V1_1::IEvsCamera {
47 void setDescriptor(hardware::automotive::evs::V1_1::CameraDesc* desc) { mDesc = desc; } in setDescriptor()
50 bool notify(const hardware::automotive::evs::V1_1::EvsEventDesc& event);
51 bool deliverFrame(const hardware::automotive::evs::V1_1::BufferDesc& bufDesc);
55 hardware::Return<hardware::automotive::evs::V1_0::EvsResult> setMaxFramesInFlight(
57 hardware::Return<hardware::automotive::evs::V1_0::EvsResult> startVideoStream(
58 const ::android::sp<hardware::automotive::evs::V1_0::IEvsCameraStream>& stream)
61 const hardware::automotive::evs::V1_0::BufferDesc& buffer) override;
64 hardware::Return<hardware::automotive::evs::V1_0::EvsResult> setExtendedInfo(
[all …]
DEnumeratorProxy.cpp30 using CameraDesc_1_0 = ::android::hardware::automotive::evs::V1_0::CameraDesc;
31 using CameraDesc_1_1 = ::android::hardware::automotive::evs::V1_1::CameraDesc;
35 namespace android::automotive::evs::V1_1::implementation { namespace
45 hardware::Return<sp<hardware::automotive::evs::V1_0::IEvsCamera>> EnumeratorProxy::openCamera( in openCamera()
47 return sp<hardware::automotive::evs::V1_0::IEvsCamera>( in openCamera()
52 const sp<hardware::automotive::evs::V1_0::IEvsCamera>& camera) { in closeCamera()
57 hardware::Return<sp<hardware::automotive::evs::V1_0::IEvsDisplay>> EnumeratorProxy::openDisplay() { in openDisplay()
58 return sp<hardware::automotive::evs::V1_0::IEvsDisplay>( in openDisplay()
63 const sp<hardware::automotive::evs::V1_0::IEvsDisplay>& display) { in closeDisplay()
69 hardware::Return<hardware::automotive::evs::V1_0::DisplayState> EnumeratorProxy::getDisplayState() { in getDisplayState()
[all …]
DHalCamera.h33 namespace android::automotive::evs::V1_1::implementation {
41 class HalCamera : public ::android::hardware::automotive::evs::V1_1::IEvsCameraStream {
43 HalCamera(sp<hardware::automotive::evs::V1_1::IEvsCamera> hwCamera, std::string deviceId = "",
63 sp<hardware::automotive::evs::V1_0::IEvsCamera> getHwCamera() { return mHwCamera; } in getHwCamera()
69 const hardware::hidl_vec<hardware::automotive::evs::V1_1::BufferDesc>& buffers,
73 hardware::Return<hardware::automotive::evs::V1_0::EvsResult> clientStreamStarting();
75 hardware::Return<void> doneWithFrame(const hardware::automotive::evs::V1_0::BufferDesc& buffer);
76 hardware::Return<void> doneWithFrame(const hardware::automotive::evs::V1_1::BufferDesc& buffer);
77 hardware::Return<hardware::automotive::evs::V1_0::EvsResult> setMaster(
79 hardware::Return<hardware::automotive::evs::V1_0::EvsResult> forceMaster(
[all …]
DIEnumeratorManager.h28 namespace android::automotive::evs::V1_1::implementation {
34 virtual std::vector<::android::hardware::automotive::evs::V1_0::CameraDesc> getCameraList() = 0;
35 virtual std::unique_ptr<::android::hardware::automotive::evs::V1_0::IEvsCamera> openCamera(
38 const ::android::hardware::automotive::evs::V1_0::IEvsCamera& camera) = 0;
40 virtual std::unique_ptr<::android::hardware::automotive::evs::V1_0::IEvsDisplay>
42 virtual void closeDisplay(::android::hardware::automotive::evs::V1_0::IEvsDisplay* display) = 0;
44 virtual ::android::hardware::automotive::evs::V1_0::DisplayState getDisplayState() = 0;
45 virtual std::vector<::android::hardware::automotive::evs::V1_1::CameraDesc>
48 virtual std::unique_ptr<::android::hardware::automotive::evs::V1_1::IEvsCamera> openCamera_1_1(
52 virtual std::unique_ptr<::android::hardware::automotive::evs::V1_1::IEvsDisplay>
[all …]
DAndroid.bp22 name: "android.automotive.evs.manager_defaults",
25 "android.hardware.automotive.evs@1.0",
26 "android.hardware.automotive.evs@1.1",
68 name: "android.automotive.evs.manager_sources",
86 defaults: ["android.automotive.evs.manager_defaults"],
87 srcs: [":android.automotive.evs.manager_sources"],
92 name: "android.automotive.evs.manager@1.1",
93 defaults: ["android.automotive.evs.manager_defaults"],
95 ":android.automotive.evs.manager_sources",
98 init_rc: ["android.automotive.evs.manager@1.1.rc"],
[all …]
DHalDisplay.h25 namespace android::automotive::evs::V1_1::implementation {
31 class HalDisplay : public ::android::hardware::automotive::evs::V1_1::IEvsDisplay {
33 explicit HalDisplay(sp<::android::hardware::automotive::evs::V1_0::IEvsDisplay> display,
38 sp<::android::hardware::automotive::evs::V1_0::IEvsDisplay> getHwDisplay();
42 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::EvsResult>
43 setDisplayState(::android::hardware::automotive::evs::V1_0::DisplayState state) override;
44 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::DisplayState>
47 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::EvsResult>
49 const ::android::hardware::automotive::evs::V1_0::BufferDesc& buffer) override;
58 sp<::android::hardware::automotive::evs::V1_0::IEvsDisplay>
DEnumerator.h39 namespace android::automotive::evs::V1_1::implementation {
41 using ::android::hardware::automotive::evs::V1_1::IEvsEnumerator;
42 using ::android::hardware::automotive::evs::V1_1::IEvsUltrasonicsArray;
51 ::android::hardware::automotive::evs::V1_1::IEvsEnumerator* getService() override { in getService()
56 sp<::android::hardware::automotive::evs::V1_1::IEvsEnumerator> mService;
76 hardware::Return<sp<hardware::automotive::evs::V1_0::IEvsCamera>> openCamera(
79 const ::android::sp<hardware::automotive::evs::V1_0::IEvsCamera>& virtualCamera)
81 hardware::Return<sp<hardware::automotive::evs::V1_0::IEvsDisplay>> openDisplay() override;
83 const ::android::sp<hardware::automotive::evs::V1_0::IEvsDisplay>& display) override;
84 hardware::Return<hardware::automotive::evs::V1_0::DisplayState> getDisplayState() override;
[all …]
DEnumeratorProxy.h28 namespace android::automotive::evs::V1_1::implementation {
32 class EnumeratorProxy : public hardware::automotive::evs::V1_1::IEvsEnumerator {
44 hardware::Return<sp<hardware::automotive::evs::V1_0::IEvsCamera>> openCamera( in openCamera()
49 const ::android::sp<hardware::automotive::evs::V1_0::IEvsCamera>& virtualCamera) in closeCamera()
53 hardware::Return<sp<hardware::automotive::evs::V1_0::IEvsDisplay>> openDisplay() override { in openDisplay()
58 const ::android::sp<hardware::automotive::evs::V1_0::IEvsDisplay>& display) override { in closeDisplay()
61 hardware::Return<hardware::automotive::evs::V1_0::DisplayState> getDisplayState() override { in getDisplayState()
69 hardware::Return<sp<hardware::automotive::evs::V1_1::IEvsCamera>> openCamera_1_1( in openCamera_1_1()
78 hardware::Return<sp<hardware::automotive::evs::V1_1::IEvsDisplay>> openDisplay_1_1( in openDisplay_1_1()
85 hardware::Return<sp<hardware::automotive::evs::V1_1::IEvsUltrasonicsArray>>
[all …]
/packages/services/Car/cpp/evs/manager/1.1/test/unit/
DMockEnumeratorManager.h31 namespace android::automotive::evs::V1_1::implementation {
38 MOCK_METHOD(std::vector<::android::hardware::automotive::evs::V1_0::CameraDesc>, getCameraList,
40 MOCK_METHOD(std::unique_ptr<::android::hardware::automotive::evs::V1_0::IEvsCamera>, openCamera,
42 MOCK_METHOD(void, closeCamera, (const ::android::hardware::automotive::evs::V1_0::IEvsCamera&),
44 MOCK_METHOD(std::unique_ptr<::android::hardware::automotive::evs::V1_0::IEvsDisplay>,
47 MOCK_METHOD(void, closeDisplay, (::android::hardware::automotive::evs::V1_0::IEvsDisplay*),
49 MOCK_METHOD(::android::hardware::automotive::evs::V1_0::DisplayState, getDisplayState, (),
51 MOCK_METHOD(std::vector<::android::hardware::automotive::evs::V1_1::CameraDesc>,
53 MOCK_METHOD(std::unique_ptr<::android::hardware::automotive::evs::V1_1::IEvsCamera>,
58 MOCK_METHOD(std::unique_ptr<::android::hardware::automotive::evs::V1_1::IEvsDisplay>,
[all …]
DEnumeratorProxyTest.cpp33 using ::android::automotive::evs::V1_1::implementation::EnumeratorProxy;
34 using ::android::automotive::evs::V1_1::implementation::MockEvsDisplay_1_0;
35 using ::android::automotive::evs::V1_1::implementation::MockEvsEnumerator;
36 using ::android::automotive::evs::V1_1::implementation::NiceMockEnumeratorManager;
37 using ::android::automotive::evs::V1_1::implementation::NiceMockEvsEnumerator;
38 using ::android::automotive::evs::V1_1::implementation::NiceMockUltrasonicsArray;
45 using CameraDesc_1_0 = ::android::hardware::automotive::evs::V1_0::CameraDesc;
46 using CameraDesc_1_1 = ::android::hardware::automotive::evs::V1_1::CameraDesc;
47 using DisplayState_1_0 = ::android::hardware::automotive::evs::V1_0::DisplayState;
109 sp<::android::hardware::automotive::evs::V1_0::IEvsDisplay>{mockEvsDisplay}); in TEST()
[all …]
DMockEvsEnumerator.h26 namespace android::automotive::evs::V1_1::implementation {
36 ::android::sp<::android::hardware::automotive::evs::V1_0::IEvsCamera>>,
39 (const ::android::sp<::android::hardware::automotive::evs::V1_0::IEvsCamera>&),
42 ::android::sp<::android::hardware::automotive::evs::V1_0::IEvsDisplay>>,
45 (const ::android::sp<::android::hardware::automotive::evs::V1_0::IEvsDisplay>&),
48 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::DisplayState>,
52 ::android::sp<::android::hardware::automotive::evs::V1_1::IEvsCamera>>,
59 ::android::sp<::android::hardware::automotive::evs::V1_1::IEvsDisplay>>,
64 ::android::hardware::automotive::evs::V1_1::IEvsUltrasonicsArray>>,
69 (const ::android::sp<::android::hardware::automotive::evs::V1_1::IEvsUltrasonicsArray>&
/packages/services/Car/service/src/com/android/car/evs/
DCarEvsServiceUtils.java16 package com.android.car.evs;
18 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REARVIEW;
19 import static android.car.evs.CarEvsManager.SERVICE_TYPE_SURROUNDVIEW;
20 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONTVIEW;
21 import static android.car.evs.CarEvsManager.SERVICE_TYPE_LEFTVIEW;
22 import static android.car.evs.CarEvsManager.SERVICE_TYPE_RIGHTVIEW;
23 import static android.car.evs.CarEvsManager.SERVICE_TYPE_DRIVERVIEW;
24 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONT_PASSENGERSVIEW;
25 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REAR_PASSENGERSVIEW;
26 import static android.car.evs.CarEvsManager.SERVICE_TYPE_USER_DEFINED;
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/evs/
DCarEvsUtils.java17 package com.android.car.internal.evs;
19 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REARVIEW;
20 import static android.car.evs.CarEvsManager.SERVICE_TYPE_SURROUNDVIEW;
21 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONTVIEW;
22 import static android.car.evs.CarEvsManager.SERVICE_TYPE_LEFTVIEW;
23 import static android.car.evs.CarEvsManager.SERVICE_TYPE_RIGHTVIEW;
24 import static android.car.evs.CarEvsManager.SERVICE_TYPE_DRIVERVIEW;
25 import static android.car.evs.CarEvsManager.SERVICE_TYPE_FRONT_PASSENGERSVIEW;
26 import static android.car.evs.CarEvsManager.SERVICE_TYPE_REAR_PASSENGERSVIEW;
27 import static android.car.evs.CarEvsManager.SERVICE_TYPE_USER_DEFINED;
[all …]
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DMockHWDisplay.h21 namespace android::automotive::evs::V1_1::implementation {
23 class MockHWDisplay : public ::android::hardware::automotive::evs::V1_1::IEvsDisplay {
30 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::EvsResult>
31 setDisplayState(::android::hardware::automotive::evs::V1_0::DisplayState state) override { in setDisplayState()
32 return ::android::hardware::automotive::evs::V1_0::EvsResult::OK; in setDisplayState()
34 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::DisplayState>
36 return ::android::hardware::automotive::evs::V1_0::DisplayState::VISIBLE; in getDisplayState()
41 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::EvsResult>
43 const ::android::hardware::automotive::evs::V1_0::BufferDesc& buffer) override { in returnTargetBufferForDisplay()
44 return ::android::hardware::automotive::evs::V1_0::EvsResult::OK; in returnTargetBufferForDisplay()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DAudioRtpPayloadNodeTest.cpp114 EvsParams evs; member in __anon49c173380111::AudioRtpPayloadNodeTest
187 audioConfig.setEvsParams(evs); in setupAudioConfig()
347 evs.setEvsBandwidth(kEvsBandwidth); in TEST_F()
348 evs.setEvsMode(kEvsMode); in TEST_F()
349 evs.setChannelAwareMode(kChannelAwareMode); in TEST_F()
350 evs.setUseHeaderFullOnly(false); in TEST_F()
351 evs.setCodecModeRequest(-1); in TEST_F()
353 audioConfig.setEvsParams(evs); in TEST_F()
375 evs.setEvsBandwidth(kEvsBandwidth); in TEST_F()
376 evs.setEvsMode(kEvsMode); in TEST_F()
[all …]
/packages/services/Car/cpp/evs/apps/default/inc/
DStreamHandler.h37 class StreamHandler final : public aidl::android::hardware::automotive::evs::BnEvsCameraStream {
42 const std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera>& cameraObj,
55 const aidl::android::hardware::automotive::evs::BufferDesc& getNewFrame();
56 void doneWithFrame(const aidl::android::hardware::automotive::evs::BufferDesc& buffer);
61 const std::vector<aidl::android::hardware::automotive::evs::BufferDesc>& buffers)
64 const aidl::android::hardware::automotive::evs::EvsEventDesc& event) override;
67 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera> mCamera;
77 aidl::android::hardware::automotive::evs::BufferDesc mBuffers[2];
80 std::vector<aidl::android::hardware::automotive::evs::BufferDesc> mOwnBuffers;
DVideoTex.h37 const std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsEnumerator>& pEnum,
39 std::unique_ptr<aidl::android::hardware::automotive::evs::Stream> streamCfg,
49 VideoTex(std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsEnumerator> pEnum,
50 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera> pCamera,
53 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsEnumerator> mEnumerator;
54 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera> mCamera;
56 aidl::android::hardware::automotive::evs::BufferDesc mImageBuffer;
65 const std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsEnumerator>& pEnum,
67 std::unique_ptr<aidl::android::hardware::automotive::evs::Stream> streamCfg,
/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DVirtualCameraFuzzer.cpp29 using aidl::android::automotive::evs::implementation::HalCamera;
30 using aidl::android::automotive::evs::implementation::initializeMockEvsHal;
31 using aidl::android::automotive::evs::implementation::MockEvsHal;
32 using aidl::android::automotive::evs::implementation::NiceMockEvsCamera;
33 using aidl::android::automotive::evs::implementation::openFirstCamera;
34 using aidl::android::automotive::evs::implementation::Utils;
35 using aidl::android::automotive::evs::implementation::VirtualCamera;
36 using aidl::android::hardware::automotive::evs::BufferDesc;
37 using aidl::android::hardware::automotive::evs::CameraDesc;
38 using aidl::android::hardware::automotive::evs::CameraParam;
[all …]
DHalCameraFuzzer.cpp32 using aidl::android::automotive::evs::implementation::HalCamera;
33 using aidl::android::automotive::evs::implementation::initializeMockEvsHal;
34 using aidl::android::automotive::evs::implementation::MockEvsHal;
35 using aidl::android::automotive::evs::implementation::NiceMockEvsCamera;
36 using aidl::android::automotive::evs::implementation::openFirstCamera;
37 using aidl::android::automotive::evs::implementation::Utils;
38 using aidl::android::automotive::evs::implementation::VirtualCamera;
39 using aidl::android::hardware::automotive::evs::BufferDesc;
40 using aidl::android::hardware::automotive::evs::CameraDesc;
41 using aidl::android::hardware::automotive::evs::CameraParam;
[all …]
/packages/services/Car/service/jni/evs/
DStreamHandler.h31 namespace android::automotive::evs {
40 class StreamHandler final : public ::aidl::android::hardware::automotive::evs::BnEvsCameraStream {
43 const std::shared_ptr<::aidl::android::hardware::automotive::evs::IEvsCamera>& camObj,
50 void doneWithFrame(const ::aidl::android::hardware::automotive::evs::BufferDesc& buffer)
57 const std::vector<::aidl::android::hardware::automotive::evs::BufferDesc>& buffer)
60 const ::aidl::android::hardware::automotive::evs::EvsEventDesc& event) override
64 std::shared_ptr<::aidl::android::hardware::automotive::evs::IEvsCamera> mEvsCamera;
76 std::list<::aidl::android::hardware::automotive::evs::BufferDesc> mReceivedBuffers
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsGlDisplay.h29 namespace evs {
33 using ::android::hardware::automotive::evs::V1_0::DisplayDesc;
34 using ::android::hardware::automotive::evs::V1_0::DisplayState;
35 using ::android::hardware::automotive::evs::V1_0::EvsResult;
36 using ::android::hardware::automotive::evs::V1_1::IEvsDisplay;
37 using EvsResult = ::android::hardware::automotive::evs::V1_0::EvsResult;
38 using BufferDesc_1_0 = ::android::hardware::automotive::evs::V1_0::BufferDesc;
39 using EvsDisplayState = ::android::hardware::automotive::evs::V1_0::DisplayState;
DAndroid.bp23 name: "android.hardware.automotive.evs@1.1-sample",
44 "android.hardware.automotive.evs@1.0",
45 "android.hardware.automotive.evs@1.1",
66 init_rc: ["android.hardware.automotive.evs@1.1-sample.rc"],
96 "manifest_android.hardware.automotive.evs@1.1.xml",
108 "android.hardware.automotive.evs@1.0",
109 "android.hardware.automotive.evs@1.1",
124 sub_dir: "automotive/evs",
131 sub_dir: "automotive/evs",
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.h34 namespace evs {
41 using ::android::hardware::automotive::evs::V1_0::EvsResult;
42 using ::android::hardware::automotive::evs::V1_1::CameraDesc;
43 using ::android::hardware::automotive::evs::V1_1::CameraParam;
46 using IEvsDisplay_1_0 = ::android::hardware::automotive::evs::V1_0::IEvsDisplay;
47 using IEvsDisplay_1_1 = ::android::hardware::automotive::evs::V1_1::IEvsDisplay;
48 using BufferDesc_1_0 = ::android::hardware::automotive::evs::V1_0::BufferDesc;
49 using BufferDesc_1_1 = ::android::hardware::automotive::evs::V1_1::BufferDesc;
50 using IEvsCamera_1_1 = ::android::hardware::automotive::evs::V1_1::IEvsCamera;
51 using IEvsCameraStream_1_0 = ::android::hardware::automotive::evs::V1_0::IEvsCameraStream;
[all …]
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DEvsParamsTest.java52 EvsParams evs = createEvsParams(EvsParams.EVS_WIDE_BAND, EvsParams.EVS_MODE_7, in testConstructorAndGetters() local
55 assertThat(evs.getEvsBandwidth()).isEqualTo(EvsParams.EVS_WIDE_BAND); in testConstructorAndGetters()
56 assertThat(evs.getEvsMode()).isEqualTo(EvsParams.EVS_MODE_7); in testConstructorAndGetters()
57 assertThat(evs.getChannelAwareMode()).isEqualTo(CHANNEL_AWARE_MODE); in testConstructorAndGetters()
58 assertThat(evs.getUseHeaderFullOnly()).isEqualTo(USE_HEADER_FULL_ONLY); in testConstructorAndGetters()
59 assertThat(evs.getCodecModeRequest()).isEqualTo(CODEC_MODE_REQUEST); in testConstructorAndGetters()
64 EvsParams evs = createEvsParams(EvsParams.EVS_WIDE_BAND, EvsParams.EVS_MODE_7, in testParcel() local
68 evs.writeToParcel(parcel, 0); in testParcel()
72 assertThat(evs).isEqualTo(parcelConfig); in testParcel()
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/
DbufferCopy.h23 namespace aidl::android::hardware::automotive::evs::implementation {
25 void fillNV21FromNV21(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff,
28 void fillNV21FromYUYV(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff,
31 void fillRGBAFromYUYV(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff,
34 void fillYUYVFromYUYV(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff,
37 void fillYUYVFromUYVY(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff,

12345678910>>...12