/packages/services/Car/cpp/evs/manager/1.1/ |
D | VirtualCamera.h | 31 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 …]
|
D | EnumeratorProxy.cpp | 30 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 …]
|
D | HalCamera.h | 33 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 …]
|
D | IEnumeratorManager.h | 28 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 …]
|
D | Android.bp | 22 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"], 94 srcs : [ ":android.automotive.evs.manager_sources", "service.cpp" ], 95 init_rc : ["android.automotive.evs.manager@1.1.rc"], [all …]
|
D | HalDisplay.h | 25 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>
|
D | Enumerator.h | 39 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 …]
|
D | EnumeratorProxy.h | 28 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/ |
D | MockEnumeratorManager.h | 31 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 …]
|
D | EnumeratorProxyTest.cpp | 33 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 …]
|
D | MockEvsEnumerator.h | 26 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>&
|
D | MockEvsDisplay.h | 24 namespace android::automotive::evs::V1_1::implementation { 26 class MockEvsDisplay_1_0 : public ::android::hardware::automotive::evs::V1_0::IEvsDisplay { 31 MOCK_METHOD(::android::hardware::Return<::android::hardware::automotive::evs::V1_0::EvsResult>, 32 setDisplayState, (::android::hardware::automotive::evs::V1_0::DisplayState), 35 ::android::hardware::Return<::android::hardware::automotive::evs::V1_0::DisplayState>, 39 MOCK_METHOD(::android::hardware::Return<::android::hardware::automotive::evs::V1_0::EvsResult>, 41 (const ::android::hardware::automotive::evs::V1_0::BufferDesc&), (override));
|
/packages/services/Car/service/src/com/android/car/evs/ |
D | CarEvsServiceUtils.java | 16 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/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/node/ |
D | AudioRtpPayloadNodeTest.cpp | 114 EvsParams evs; member in __anona3b31d4a0111::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/car-lib/src/com/android/car/internal/evs/ |
D | CarEvsUtils.java | 17 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/ |
D | MockHWDisplay.h | 21 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/services/Car/cpp/evs/apps/default/inc/ |
D | StreamHandler.h | 37 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;
|
D | VideoTex.h | 37 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/tests/carservice_unit_test/src/android/car/evs/ |
D | CarEvsManagerUnitTest.java | 17 package android.car.evs; 19 import static android.car.evs.CarEvsManager.ERROR_BUSY; 20 import static android.car.evs.CarEvsManager.ERROR_NONE; 21 import static android.car.evs.CarEvsManager.ERROR_UNAVAILABLE; 22 import static android.car.evs.CarEvsManager.SERVICE_STATE_ACTIVE; 23 import static android.car.evs.CarEvsManager.SERVICE_STATE_INACTIVE; 24 import static android.car.evs.CarEvsManager.SERVICE_STATE_REQUESTED; 25 import static android.car.evs.CarEvsManager.SERVICE_STATE_UNAVAILABLE; 26 import static android.car.evs.CarEvsManager.STREAM_EVENT_STREAM_STOPPED; 58 import android.car.evs.CarEvsBufferDescriptor; [all …]
|
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | EvsEmulatedCamera.h | 34 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/services/Car/service/jni/evs/ |
D | StreamHandler.h | 31 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/ |
D | EvsGlDisplay.h | 29 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;
|
D | Android.bp | 24 name: "android.hardware.automotive.evs@1.1-sample", 45 "android.hardware.automotive.evs@1.0", 46 "android.hardware.automotive.evs@1.1", 67 init_rc: ["android.hardware.automotive.evs@1.1-sample.rc"], 97 "manifest_android.hardware.automotive.evs@1.1.xml", 109 "android.hardware.automotive.evs@1.0", 110 "android.hardware.automotive.evs@1.1", 125 sub_dir: "automotive/evs", 132 sub_dir: "automotive/evs",
|
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/ |
D | EvsParamsTest.java | 52 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/ |
D | bufferCopy.h | 23 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,
|