Home
last modified time | relevance | path

Searched refs:SharedMemInfo (Results 1 – 25 of 30) sorted by relevance

12

/hardware/interfaces/sensors/aidl/vts/
DSensorsAidlTestSharedMemory.h45 static SensorsAidlTestSharedMemory* create(ISensors::SharedMemInfo::SharedMemType type, in create()
61 ISensors::SharedMemInfo getSharedMemInfo() const { in getSharedMemInfo()
62 if (mType == ISensors::SharedMemInfo::SharedMemType::GRALLOC) { in getSharedMemInfo()
63 ISensors::SharedMemInfo mem = { in getSharedMemInfo()
65 .format = ISensors::SharedMemInfo::SharedMemFormat::SENSORS_EVENT, in getSharedMemInfo()
71 ISensors::SharedMemInfo mem = { in getSharedMemInfo()
73 .format = ISensors::SharedMemInfo::SharedMemFormat::SENSORS_EVENT, in getSharedMemInfo()
145 case ISensors::SharedMemInfo::SharedMemType::ASHMEM: { in ~SensorsAidlTestSharedMemory()
158 case ISensors::SharedMemInfo::SharedMemType::GRALLOC: { in ~SensorsAidlTestSharedMemory()
187 SensorsAidlTestSharedMemory(ISensors::SharedMemInfo::SharedMemType type, size_t size) in SensorsAidlTestSharedMemory()
[all …]
DVtsAidlHalSensorsTargetTest.cpp111 bool isDirectChannelTypeSupported(SensorInfo sensor, ISensors::SharedMemInfo::SharedMemType type) { in isDirectChannelTypeSupported()
113 case ISensors::SharedMemInfo::SharedMemType::ASHMEM: in isDirectChannelTypeSupported()
115 case ISensors::SharedMemInfo::SharedMemType::GRALLOC: in isDirectChannelTypeSupported()
323 void verifyDirectChannel(ISensors::SharedMemInfo::SharedMemType memType);
330 void verifyConfigure(const SensorInfo& sensor, ISensors::SharedMemInfo::SharedMemType memType,
333 void queryDirectChannelSupport(ISensors::SharedMemInfo::SharedMemType memType,
368 ndk::ScopedAStatus registerDirectChannel(const ISensors::SharedMemInfo& mem,
401 ndk::ScopedAStatus SensorsAidlTest::registerDirectChannel(const ISensors::SharedMemInfo& mem, in registerDirectChannel()
972 void SensorsAidlTest::queryDirectChannelSupport(ISensors::SharedMemInfo::SharedMemType memType, in queryDirectChannelSupport()
982 ISensors::SharedMemInfo::SharedMemType::ASHMEM) || in queryDirectChannelSupport()
[all …]
/hardware/interfaces/sensors/aidl/default/multihal/
DHalProxyAidl.cpp90 ISensors::SharedMemInfo::SharedMemType sharedMemType) { in convertSharedMemType()
92 case ISensors::SharedMemInfo::SharedMemType::ASHMEM: in convertSharedMemType()
94 case ISensors::SharedMemInfo::SharedMemType::GRALLOC: in convertSharedMemType()
102 ISensors::SharedMemInfo::SharedMemFormat sharedMemFormat) { in convertSharedMemFormat()
104 case ISensors::SharedMemInfo::SharedMemFormat::SENSORS_EVENT: in convertSharedMemFormat()
111 static ::android::hardware::sensors::V1_0::SharedMemInfo convertSharedMemInfo( in convertSharedMemInfo()
112 const ISensors::SharedMemInfo& sharedMemInfo) { in convertSharedMemInfo()
113 ::android::hardware::sensors::V1_0::SharedMemInfo v1SharedMemInfo; in convertSharedMemInfo()
200 HalProxyAidl::registerDirectChannel(const ISensors::SharedMemInfo &in_mem, in registerDirectChannel()
204 ::android::hardware::sensors::V1_0::SharedMemInfo sharedMemInfo = in registerDirectChannel()
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/current/android/hardware/sensors/
DISensors.aidl44 int registerDirectChannel(in android.hardware.sensors.ISensors.SharedMemInfo mem); in registerDirectChannel()
76 parcelable SharedMemInfo {
77 android.hardware.sensors.ISensors.SharedMemInfo.SharedMemType type;
78 android.hardware.sensors.ISensors.SharedMemInfo.SharedMemFormat format;
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/2/android/hardware/sensors/
DISensors.aidl44 int registerDirectChannel(in android.hardware.sensors.ISensors.SharedMemInfo mem); in registerDirectChannel()
76 parcelable SharedMemInfo {
77 android.hardware.sensors.ISensors.SharedMemInfo.SharedMemType type;
78 android.hardware.sensors.ISensors.SharedMemInfo.SharedMemFormat format;
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/1/android/hardware/sensors/
DISensors.aidl44 int registerDirectChannel(in android.hardware.sensors.ISensors.SharedMemInfo mem); in registerDirectChannel()
74 parcelable SharedMemInfo {
75 android.hardware.sensors.ISensors.SharedMemInfo.SharedMemType type;
76 android.hardware.sensors.ISensors.SharedMemInfo.SharedMemFormat format;
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorsSubHal.h40 using SharedMemInfo = ::android::hardware::sensors::V1_0::SharedMemInfo; variable
52 const SharedMemInfo& mem,
DDynamicSensorsSubHal.cpp90 const SharedMemInfo& mem __unused, in registerDirectChannel()
/hardware/interfaces/sensors/aidl/android/hardware/sensors/
DISensors.aidl239 int registerDirectChannel(in SharedMemInfo mem); in registerDirectChannel()
297 parcelable SharedMemInfo {
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DSubHalWrapper.h54 using SharedMemInfo = ::android::hardware::sensors::V1_0::SharedMemInfo; variable
79 virtual Return<void> registerDirectChannel(const SharedMemInfo& mem,
125 Return<void> registerDirectChannel(const SharedMemInfo& mem, in registerDirectChannel()
DHalProxy.h64 using SharedMemInfo = ::android::hardware::sensors::V1_0::SharedMemInfo; variable
113 Return<void> registerDirectChannel(const SharedMemInfo& mem,
422 Return<void> registerDirectChannel(const SharedMemInfo& mem, in registerDirectChannel()
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensorsSubHal.h45 using SharedMemInfo = ::android::hardware::sensors::V1_0::SharedMemInfo; variable
66 Return<void> registerDirectChannel(const SharedMemInfo& mem,
141 Return<void> registerDirectChannel(const SharedMemInfo& mem, in registerDirectChannel()
DSensorsSubHal.cpp82 using ::android::hardware::sensors::V1_0::SharedMemInfo;
146 const SharedMemInfo& /* mem */, V2_0::ISensors::registerDirectChannel_cb _hidl_cb) { in registerDirectChannel() argument
/hardware/interfaces/sensors/1.0/default/include/sensors/
Dconvert.h38 bool convertFromSharedMemInfo(const SharedMemInfo& memIn, sensors_direct_mem_t *memOut);
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsTestSharedMemory.h56 SharedMemInfo getSharedMemInfo() const { in getSharedMemInfo()
58 SharedMemInfo mem = {.type = mType, in getSharedMemInfo()
65 SharedMemInfo mem = {.type = mType, in getSharedMemInfo()
DSensorsHidlTestBase.h46 using ::android::hardware::sensors::V1_0::SharedMemInfo;
194 virtual Return<void> registerDirectChannel(const SharedMemInfo& mem,
/hardware/interfaces/sensors/common/default/2.X/
DSensors.h47 using SharedMemInfo = ::android::hardware::sensors::V1_0::SharedMemInfo; member
183 Return<void> registerDirectChannel(const SharedMemInfo& /* mem */, in registerDirectChannel()
/hardware/interfaces/sensors/common/utils/
DISensorsWrapper.h48 using ::android::hardware::sensors::V1_0::SharedMemInfo;
94 virtual Return<void> registerDirectChannel(const SharedMemInfo& mem,
154 Return<void> registerDirectChannel(const SharedMemInfo& mem, in registerDirectChannel()
/hardware/interfaces/sensors/1.0/default/
DSensors.h57 const SharedMemInfo& mem, registerDirectChannel_cb _hidl_cb) override;
DSensors.cpp265 const SharedMemInfo& mem, registerDirectChannel_cb _hidl_cb) { in registerDirectChannel()
/hardware/interfaces/sensors/aidl/default/multihal/include/
DHalProxyAidl.h53 const ::aidl::android::hardware::sensors::ISensors::SharedMemInfo& in_mem,
/hardware/interfaces/sensors/aidl/default/
DSensors.cpp136 ScopedAStatus Sensors::registerDirectChannel(const ISensors::SharedMemInfo& /* in_mem */, in registerDirectChannel() argument
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp70 Return<void> registerDirectChannel(const SharedMemInfo& mem,
103 const SharedMemInfo& mem, ISensors::registerDirectChannel_cb cb) { in registerDirectChannel()
/hardware/interfaces/sensors/aidl/default/include/sensors-impl/
DSensors.h88 const ::aidl::android::hardware::sensors::ISensors::SharedMemInfo& in_mem,
/hardware/interfaces/sensors/2.0/
DISensors.hal24 import @1.0::SharedMemInfo;
234 registerDirectChannel(SharedMemInfo mem)

12