Home
last modified time | relevance | path

Searched refs:V1_1 (Results 1 – 25 of 191) sorted by relevance

12345678

/packages/services/Car/cpp/evs/manager/aidl/utils/src/
DUtils.cpp126 HardwareBuffer Utils::makeHwBufferFromHidlBuffer(const hidlevs::V1_1::BufferDesc& hidlBuffer, in makeHwBufferFromHidlBuffer()
155 BufferDesc Utils::makeFromHidl(const hidlevs::V1_1::BufferDesc& hidlBuffer, bool doDup) { in makeFromHidl()
207 hidlevs::V1_1::BufferDesc Utils::makeToHidlV1_1(const BufferDesc& aidlBuffer, bool doDup) { in makeToHidlV1_1()
208 hidlevs::V1_1::BufferDesc hidlBuffer = { in makeToHidlV1_1()
267 CameraDesc Utils::makeFromHidl(const hidlevs::V1_1::CameraDesc& hidlDesc) { in makeFromHidl()
286 hidlevs::V1_1::CameraDesc Utils::makeToHidlV1_1(const CameraDesc& aidlDesc) { in makeToHidlV1_1()
287 hidlevs::V1_1::CameraDesc hidlDesc = { in makeToHidlV1_1()
304 hidlevs::V1_1::CameraParam Utils::makeToHidl(CameraParam id) { in makeToHidl()
307 return hidlevs::V1_1::CameraParam::BRIGHTNESS; in makeToHidl()
309 return hidlevs::V1_1::CameraParam::CONTRAST; in makeToHidl()
[all …]
/packages/services/Car/cpp/evs/manager/1.1/
DEnumeratorProxy.cpp31 using CameraDesc_1_1 = ::android::hardware::automotive::evs::V1_1::CameraDesc;
35 namespace android::automotive::evs::V1_1::implementation { namespace
74 ::android::hardware::automotive::evs::V1_1::IEvsEnumerator::getCameraList_1_1_cb in getCameraList_1_1()
80 hardware::Return<sp<hardware::automotive::evs::V1_1::IEvsCamera>> EnumeratorProxy::openCamera_1_1( in openCamera_1_1()
83 return sp<hardware::automotive::evs::V1_1::IEvsCamera>{ in openCamera_1_1()
92 hardware::automotive::evs::V1_1::IEvsEnumerator::getDisplayIdList_cb list_callback) { in getDisplayIdList()
98 hardware::Return<sp<hardware::automotive::evs::V1_1::IEvsDisplay>> EnumeratorProxy::openDisplay_1_1( in openDisplay_1_1()
100 return sp<hardware::automotive::evs::V1_1::IEvsDisplay>{ in openDisplay_1_1()
105 ::android::hardware::automotive::evs::V1_1::IEvsEnumerator::getUltrasonicsArrayList_cb in getUltrasonicsArrayList()
112 hardware::Return<sp<::android::hardware::automotive::evs::V1_1::IEvsUltrasonicsArray>>
[all …]
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);
72 const hardware::hidl_vec<hardware::automotive::evs::V1_1::BufferDesc>& buffer) override;
84 hardware::Return<void> getIntParameterRange(hardware::automotive::evs::V1_1::CameraParam id,
86 hardware::Return<void> setIntParameter(hardware::automotive::evs::V1_1::CameraParam id,
88 hardware::Return<void> getIntParameter(hardware::automotive::evs::V1_1::CameraParam id,
95 const hardware::hidl_vec<hardware::automotive::evs::V1_1::BufferDesc>& buffers,
[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 = "",
69 const hardware::hidl_vec<hardware::automotive::evs::V1_1::BufferDesc>& buffers,
76 hardware::Return<void> doneWithFrame(const hardware::automotive::evs::V1_1::BufferDesc& buffer);
84 sp<VirtualCamera> virtualCamera, hardware::automotive::evs::V1_1::CameraParam id,
87 hardware::automotive::evs::V1_1::CameraParam id, int32_t* value);
108 const hardware::hidl_vec<hardware::automotive::evs::V1_1::BufferDesc>& buffer) override;
110 const hardware::automotive::evs::V1_1::EvsEventDesc& event) override;
113 sp<hardware::automotive::evs::V1_1::IEvsCamera> mHwCamera;
DIEnumeratorManager.h28 namespace android::automotive::evs::V1_1::implementation {
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>
55 virtual std::vector<::android::hardware::automotive::evs::V1_1::UltrasonicsArrayDesc>
57 virtual std::unique_ptr<::android::hardware::automotive::evs::V1_1::IEvsUltrasonicsArray>
60 const ::android::hardware::automotive::evs::V1_1::IEvsUltrasonicsArray&
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;
88 hardware::Return<sp<hardware::automotive::evs::V1_1::IEvsCamera>> openCamera_1_1(
93 hardware::Return<sp<hardware::automotive::evs::V1_1::IEvsDisplay>> openDisplay_1_1(
DEnumeratorProxy.h28 namespace android::automotive::evs::V1_1::implementation {
32 class EnumeratorProxy : public hardware::automotive::evs::V1_1::IEvsEnumerator {
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>>
90 const ::android::sp<hardware::automotive::evs::V1_1::IEvsUltrasonicsArray>& in closeUltrasonicsArray()
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h165 void logModelToInfo(const V1_1::Model& model);
197 bool compliantWithV1_0(const V1_1::Capabilities& capabilities);
201 bool compliantWithV1_1(const V1_1::Capabilities& capabilities);
205 bool compliantWithV1_2(const V1_1::Capabilities& capabilities);
209 bool compliantWithV1_3(const V1_1::Capabilities& capabilities);
220 bool compliantWithV1_0(const V1_1::Model& model);
226 bool compliantWithV1_1(const V1_1::Model& model);
232 bool compliantWithV1_2(const V1_1::Model& model);
244 V1_0::Capabilities convertToV1_0(const V1_1::Capabilities& capabilities);
247 V1_1::Capabilities convertToV1_1(const V1_0::Capabilities& capabilities);
[all …]
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorHidlUnitTest.cpp51 const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>&)>;
55 std::function<::android::hardware::Return<void>(const hidlevs::V1_1::EvsEventDesc&)>;
111 bool VerifyCameraStream(const hidlevs::V1_1::CameraDesc& desc, size_t framesToReceive,
130 class StreamCallback : public hidlevs::V1_1::IEvsCameraStream {
137 ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc> frames(1); in deliverFrame()
154 const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>& buffers) override { in deliverFrame_1_1()
158 ::android::hardware::Return<void> notify(const hidlevs::V1_1::EvsEventDesc& event) { in notify()
186 ::android::hardware::hidl_vec<hidlevs::V1_1::CameraDesc> list; in TEST_F()
192 ::android::sp<hidlevs::V1_1::IEvsCamera> invalidCamera = in TEST_F()
197 ::android::sp<hidlevs::V1_1::IEvsDisplay> invalidDisplay = in TEST_F()
[all …]
/packages/services/Car/cpp/evs/manager/aidl/utils/include/
DUtils.h52 const hidlevs::V1_1::BufferDesc& hidlBuffer, bool doDup);
57 static aidlevs::BufferDesc makeFromHidl(const hidlevs::V1_1::BufferDesc& hidlBuffer,
63 static hidlevs::V1_1::BufferDesc makeToHidlV1_1(const aidlevs::BufferDesc& hidlBuffer,
85 static aidlevs::CameraDesc makeFromHidl(const hidlevs::V1_1::CameraDesc& desc);
89 static hidlevs::V1_1::CameraDesc makeToHidlV1_1(const aidlevs::CameraDesc& desc);
91 static hidlevs::V1_1::CameraParam makeToHidl(aidlevs::CameraParam id);
93 static aidlevs::CameraParam makeFromHidl(hidlevs::V1_1::CameraParam id);
97 static hidlevs::V1_1::EvsEventType makeToHidl(const aidlevs::EvsEventType& type);
99 static aidlevs::EvsEventType makeFromHidl(const hidlevs::V1_1::EvsEventType& type);
101 static bool makeToHidl(const aidlevs::EvsEventDesc& in, hidlevs::V1_1::EvsEventDesc* out);
[all …]
/packages/services/Car/cpp/evs/manager/1.1/test/unit/
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;
46 using CameraDesc_1_1 = ::android::hardware::automotive::evs::V1_1::CameraDesc;
145 std::unique_ptr<::android::hardware::automotive::evs::V1_1::IEvsCamera> camera; in TEST()
188 std::vector<::android::hardware::automotive::evs::V1_1::UltrasonicsArrayDesc> in TEST()
194 std::vector<::android::hardware::automotive::evs::V1_1::UltrasonicsArrayDesc> result; in TEST()
[all …]
DMockEnumeratorManager.h31 namespace android::automotive::evs::V1_1::implementation {
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>,
60 MOCK_METHOD(std::vector<::android::hardware::automotive::evs::V1_1::UltrasonicsArrayDesc>,
62 MOCK_METHOD(std::unique_ptr<::android::hardware::automotive::evs::V1_1::IEvsUltrasonicsArray>,
65 (const ::android::hardware::automotive::evs::V1_1::IEvsUltrasonicsArray&),
DEvsEnumeratorTest.cpp27 using ::android::automotive::evs::V1_1::implementation::Enumerator;
28 using ::android::automotive::evs::V1_1::implementation::NiceMockPermissionsChecker;
29 using ::android::automotive::evs::V1_1::implementation::NiceMockServiceFactory;
30 using ::android::automotive::evs::V1_1::implementation::NiceMockStatsCollector;
31 using ::android::hardware::automotive::evs::V1_1::IEvsDisplay;
DMockEvsEnumerator.h26 namespace android::automotive::evs::V1_1::implementation {
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/cpp/evs/manager/aidl/tests/unit/include/
DMockHidlEvsHal.h43 ::android::sp<hidlevs::V1_1::IEvsEnumerator> getEnumerator();
64 std::unordered_map<std::string, ::android::sp<hidlevs::V1_1::IEvsCameraStream>> mCameraClient;
67 hidlevs::V1_1::CameraDesc desc;
68 ::android::wp<hidlevs::V1_1::IEvsCamera> activeInstance;
70 CameraRecord(hidlevs::V1_1::CameraDesc& desc) : desc(desc) {} in CameraRecord()
78 std::map<hidlevs::V1_1::CameraParam, int32_t> mCameraParams;
79 std::vector<hidlevs::V1_1::BufferDesc> mBufferPool GUARDED_BY(mLock);
80 std::vector<hidlevs::V1_1::BufferDesc> mBuffersInUse GUARDED_BY(mLock);
DMockHidlEvsCamera.h30 class MockHidlEvsCamera : public hidlevs::V1_1::IEvsCamera {
54 (const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>&), (override));
66 (hidlevs::V1_1::CameraParam, getIntParameterRange_cb), (override));
68 (hidlevs::V1_1::CameraParam, int32_t, setIntParameter_cb), (override));
70 (hidlevs::V1_1::CameraParam, getIntParameter_cb), (override));
76 (const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>&,
DMockHidlEvsEnumerator.h29 class MockHidlEvsEnumerator : public hidlevs::V1_1::IEvsEnumerator {
50 MOCK_METHOD(::android::hardware::Return<::android::sp<hidlevs::V1_1::IEvsCamera>>,
58 MOCK_METHOD(::android::hardware::Return<::android::sp<hidlevs::V1_1::IEvsDisplay>>,
62 MOCK_METHOD(::android::hardware::Return<::android::sp<hidlevs::V1_1::IEvsUltrasonicsArray>>,
65 (const ::android::sp<hidlevs::V1_1::IEvsUltrasonicsArray>&), (override));
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalHidlImpTest.java31 import android.hardware.wifi.hostapd.V1_1.IHostapdCallback;
84 private android.hardware.wifi.hostapd.V1_1.IHostapd mIHostapdMockV11;
104 private ArgumentCaptor<android.hardware.wifi.hostapd.V1_1.IHostapd.IfaceParams>
106 ArgumentCaptor.forClass(android.hardware.wifi.hostapd.V1_1.IHostapd.IfaceParams.class);
140 protected android.hardware.wifi.hostapd.V1_1.IHostapd getHostapdMockableV1_1() in getHostapdMockableV1_1()
228 android.hardware.wifi.hostapd.V1_1.IHostapd.kInterfaceName), anyString())) in testInitialize_successV1_1()
230 mIHostapdMockV11 = mock(android.hardware.wifi.hostapd.V1_1.IHostapd.class); in testInitialize_successV1_1()
240 android.hardware.wifi.hostapd.V1_1.IHostapd.kInterfaceName), anyString())) in testInitialize_registerCallbackFailureV1_1()
242 mIHostapdMockV11 = mock(android.hardware.wifi.hostapd.V1_1.IHostapd.class); in testInitialize_registerCallbackFailureV1_1()
533 android.hardware.wifi.hostapd.V1_1.IHostapd.kInterfaceName), anyString())) in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
[all …]
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp134 void logModelToInfo(const V1_1::Model& model) { in logModelToInfo()
368 bool compliantWithV1_0(const V1_1::Capabilities& capabilities) { in compliantWithV1_0()
404 bool compliantWithV1_1(const V1_1::Capabilities&) { in compliantWithV1_1()
434 bool compliantWithV1_2(const V1_1::Capabilities&) { in compliantWithV1_2()
450 bool compliantWithV1_3(const V1_1::Capabilities&) { in compliantWithV1_3()
499 static V1_0::OperationType uncheckedConvertToV1_0(V1_1::OperationType type) { in uncheckedConvertToV1_0()
511 static V1_1::OperationType convertToV1_1(V1_0::OperationType type) { in convertToV1_1()
512 return static_cast<V1_1::OperationType>(type); in convertToV1_1()
515 static V1_1::OperationType uncheckedConvertToV1_1(V1_2::OperationType type) { in uncheckedConvertToV1_1()
516 return static_cast<V1_1::OperationType>(type); in uncheckedConvertToV1_1()
[all …]
/packages/services/Car/cpp/evs/manager/aidl/wrappers/include/
DHidlCameraStream.h31 class HidlCameraStream final : public ::android::hardware::automotive::evs::V1_1::IEvsCameraStream {
39 const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>& buffers) override;
40 ::android::hardware::Return<void> notify(const hidlevs::V1_1::EvsEventDesc& event) override;
47 bool getHidlBuffer(int id, hidlevs::V1_1::BufferDesc* _return);
53 std::list<hidlevs::V1_1::BufferDesc> mHidlV1Buffers;
DHidlCamera.h41 class HidlCamera final : public hidlevs::V1_1::IEvsCamera {
63 const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>& buffer) override;
76 hidlevs::V1_1::CameraParam id, getIntParameterRange_cb _hidl_cb) override;
77 ::android::hardware::Return<void> setIntParameter(hidlevs::V1_1::CameraParam id, int32_t value,
79 ::android::hardware::Return<void> getIntParameter(hidlevs::V1_1::CameraParam id,
87 const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>& buffers,
DHidlEnumerator.h33 class HidlEnumerator final : public hidlevs::V1_1::IEvsEnumerator {
48 ::android::hardware::Return<::android::sp<hidlevs::V1_1::IEvsCamera>> openCamera_1_1(
53 ::android::hardware::Return<::android::sp<hidlevs::V1_1::IEvsDisplay>> openDisplay_1_1(
57 ::android::hardware::Return<::android::sp<hidlevs::V1_1::IEvsUltrasonicsArray>>
60 const ::android::sp<hidlevs::V1_1::IEvsUltrasonicsArray>& evsUltrasonicsArray) override;
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.h35 namespace V1_1 {
42 using ::android::hardware::automotive::evs::V1_1::CameraDesc;
43 using ::android::hardware::automotive::evs::V1_1::CameraParam;
47 using IEvsDisplay_1_1 = ::android::hardware::automotive::evs::V1_1::IEvsDisplay;
49 using BufferDesc_1_1 = ::android::hardware::automotive::evs::V1_1::BufferDesc;
50 using IEvsCamera_1_1 = ::android::hardware::automotive::evs::V1_1::IEvsCamera;
52 using IEvsCameraStream_1_1 = ::android::hardware::automotive::evs::V1_1::IEvsCameraStream;
/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/
DHidlCameraStream.cpp72 const hidl_vec<hidlevs::V1_1::BufferDesc>& buffers) { in deliverFrame_1_1()
80 hidlevs::V1_1::BufferDesc buffer = std::move(buffers[i]); in deliverFrame_1_1()
92 Return<void> HidlCameraStream::notify(const hidlevs::V1_1::EvsEventDesc& event) { in notify()
119 bool HidlCameraStream::getHidlBuffer(int id, hidlevs::V1_1::BufferDesc* _return) { in getHidlBuffer()
121 [id](const hidlevs::V1_1::BufferDesc& buffer) { in getHidlBuffer()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsV4lCamera.h38 namespace V1_1 {
47 using IEvsDisplay_1_1 = ::android::hardware::automotive::evs::V1_1::IEvsDisplay;
49 using BufferDesc_1_1 = ::android::hardware::automotive::evs::V1_1::BufferDesc;
51 using IEvsCameraStream_1_1 = ::android::hardware::automotive::evs::V1_1::IEvsCameraStream;
99 const V1_1::CameraDesc& getDesc() { return mDescription; }; in getDesc()
121 V1_1::CameraDesc mDescription = {}; // The properties of this camera

12345678