Home
last modified time | relevance | path

Searched refs:mIsEnabled (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/sensors/common/default/2.X/
DSensor.cpp40 : mIsEnabled(false), in Sensor()
52 mIsEnabled = false; in ~Sensor()
77 if (mIsEnabled != enable) { in activate()
79 mIsEnabled = enable; in activate()
87 if (!mIsEnabled || (mSensorInfo.flags & static_cast<uint32_t>(SensorFlagBits::ONE_SHOT_MODE))) { in flush()
112 if (!mIsEnabled || mMode == OperationMode::DATA_INJECTION) { in run()
114 return ((mIsEnabled && mMode == OperationMode::NORMAL) || mStopThread); in run()
DSensor.h74 bool mIsEnabled; variable
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensor.cpp41 : mIsEnabled(false), in Sensor()
64 mIsEnabled = false; in ~Sensor()
88 if (mIsEnabled != enable) { in activate()
90 mIsEnabled = enable; in activate()
98 if (!mIsEnabled || (mSensorInfo.flags & static_cast<uint32_t>(SensorFlagBits::ONE_SHOT_MODE))) { in flush()
123 if (!mIsEnabled || mMode == OperationMode::DATA_INJECTION) { in run()
125 return ((mIsEnabled && mMode == OperationMode::NORMAL) || mStopThread); in run()
DSensor.h67 bool mIsEnabled; variable
/hardware/interfaces/sensors/aidl/default/
DSensor.cpp33 : mIsEnabled(false), in Sensor()
44 mIsEnabled = false; in ~Sensor()
69 if (mIsEnabled != enable) { in activate()
71 mIsEnabled = enable; in activate()
79 if (!mIsEnabled || in flush()
109 if (!mIsEnabled || mMode == OperationMode::DATA_INJECTION) { in run()
111 return ((mIsEnabled && mMode == OperationMode::NORMAL) || mStopThread); in run()
/hardware/interfaces/sensors/aidl/default/include/sensors-impl/
DSensor.h64 bool mIsEnabled; variable
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng.cpp1593 loc_registration_mask_status mIsEnabled; member
1597 LocMsg(), mLocEng(locEng), mMask(mask), mIsEnabled(isEnabled) { in LocEngUpdateRegistrationMask()
1603 mIsEnabled); in proc()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng.cpp1582 loc_registration_mask_status mIsEnabled; member
1586 LocMsg(), mLocEng(locEng), mMask(mask), mIsEnabled(isEnabled) { in LocEngUpdateRegistrationMask()
1592 mIsEnabled); in proc()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng.cpp1608 loc_registration_mask_status mIsEnabled; member
1612 LocMsg(), mLocEng(locEng), mMask(mask), mIsEnabled(isEnabled) { in LocEngUpdateRegistrationMask()
1618 mIsEnabled); in proc()
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng.cpp1609 loc_registration_mask_status mIsEnabled; member
1613 LocMsg(), mLocEng(locEng), mMask(mask), mIsEnabled(isEnabled) { in LocEngUpdateRegistrationMask()
1619 mIsEnabled); in proc()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng.cpp1583 loc_registration_mask_status mIsEnabled; member
1587 LocMsg(), mLocEng(locEng), mMask(mask), mIsEnabled(isEnabled) { in LocEngUpdateRegistrationMask()
1593 mIsEnabled); in proc()