Home
last modified time | relevance | path

Searched refs:asBaseType (Results 1 – 5 of 5) sorted by relevance

/aosp12/hardware/interfaces/sensors/common/vts/2_X/
H A DSensorsHidlEnvironmentV2_X.cpp41 constexpr typename std::underlying_type<EnumType>::type asBaseType(EnumType value) { in asBaseType() function
111 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::READ_AND_PROCESS)); in HidlTearDown()
132 mEventQueueFlag->wait(asBaseType(EventQueueFlagBits::READ_AND_PROCESS), &eventFlagState); in readEvents()
139 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::EVENTS_READ)); in readEvents()
/aosp12/hardware/interfaces/contexthub/1.0/vts/functional/
H A DVtsHalContexthubV1_0TargetTest.cpp50 using ::android::hardware::contexthub::vts_utils::asBaseType;
179 << "Got sync result " << asBaseType(result) << ", expected TRANSACTION_FAILED or " in checkFailureSyncOrAsync()
180 << asBaseType(allowedSyncResult); in checkFailureSyncOrAsync()
197 FAIL() << "Got result " << asBaseType(result) << ", expected OK, BAD_PARAMS" in TEST_P()
/aosp12/frameworks/native/services/sensorservice/
H A DSensorDevice.cpp77 constexpr typename std::underlying_type<EnumType>::type asBaseType(EnumType value) { in asBaseType() function
316 mEventQueueFlag->wake(asBaseType(INTERNAL_WAKE)); in prepareForReconnect()
583 mEventQueueFlag->wait(asBaseType(EventQueueFlagBits::READ_AND_PROCESS) | in pollFmq()
584 asBaseType(INTERNAL_WAKE), &eventFlagState); in pollFmq()
587 if ((eventFlagState & asBaseType(INTERNAL_WAKE)) && mReconnecting) { in pollFmq()
598 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::EVENTS_READ)); in pollFmq()
649 mWakeLockQueueFlag->wake(asBaseType(WakeLockQueueFlagBits::DATA_WRITTEN)); in writeWakeLockHandled()
/aosp12/hardware/interfaces/contexthub/common/vts/
H A DVtsHalContexthubUtils.h43 inline constexpr typename std::underlying_type<EnumType>::type asBaseType(EnumType value) { in asBaseType() function
/aosp12/hardware/interfaces/contexthub/1.2/vts/functional/
H A DVtsHalContexthubV1_2TargetTest.cpp49 using ::android::hardware::contexthub::vts_utils::asBaseType;