Home
last modified time | relevance | path

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

12

/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c286 static void setMode(bool on, uint8_t state) in setMode() function
336 setMode(newMode, STATE_DISABLING_BARO); in sensorPowerBaro()
425 setMode(newMode, STATE_DISABLING_TEMP); in sensorPowerTemp()
578 setMode(true,STATE_ENABLING_BARO_TEMP); in handleI2cEvent()
584 setMode(true,STATE_ENABLING_BARO); in handleI2cEvent()
588 setMode(true,STATE_ENABLING_TEMP); in handleI2cEvent()
/device/google/barbet/vibrator/drv2624/tests/
Dmocks.h31 MOCK_METHOD1(setMode, bool(std::string value));
Dtest-vibrator.cpp139 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock()
207 EXPECT_CALL(*mMockApi, setMode(_)).Times(times); in relaxMock()
298 e += EXPECT_CALL(*mMockApi, setMode("rtp")).WillOnce(DoDefault()); in TEST_P()
416 e += EXPECT_CALL(*mMockApi, setMode("waveform")).WillOnce(DoDefault()); in TEST_P()
Dtest-hwapi.cpp391 SetStringTest::MakeParam("device/mode", &Vibrator::HwApi::setMode),
/device/google/redfin/vibrator/drv2624/tests/
Dmocks.h31 MOCK_METHOD1(setMode, bool(std::string value));
Dtest-vibrator.cpp139 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock()
207 EXPECT_CALL(*mMockApi, setMode(_)).Times(times); in relaxMock()
298 e += EXPECT_CALL(*mMockApi, setMode("rtp")).WillOnce(DoDefault()); in TEST_P()
416 e += EXPECT_CALL(*mMockApi, setMode("waveform")).WillOnce(DoDefault()); in TEST_P()
/device/google/sunfish/vibrator/drv2624/tests/
Dmocks.h31 MOCK_METHOD1(setMode, bool(std::string value));
Dtest-vibrator.cpp143 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock()
211 EXPECT_CALL(*mMockApi, setMode(_)).Times(times); in relaxMock()
302 e += EXPECT_CALL(*mMockApi, setMode("rtp")).WillOnce(DoDefault()); in TEST_P()
412 e += EXPECT_CALL(*mMockApi, setMode("waveform")).WillOnce(DoDefault()); in TEST_P()
Dtest-hwapi.cpp392 SetStringTest::MakeParam("device/mode", &Vibrator::HwApi::setMode),
/device/google/bramble/vibrator/drv2624/tests/
Dmocks.h31 MOCK_METHOD1(setMode, bool(std::string value));
Dtest-vibrator.cpp139 ON_CALL(*mMockApi, setMode(_)).WillByDefault(Return(true)); in createMock()
207 EXPECT_CALL(*mMockApi, setMode(_)).Times(times); in relaxMock()
298 e += EXPECT_CALL(*mMockApi, setMode("rtp")).WillOnce(DoDefault()); in TEST_P()
416 e += EXPECT_CALL(*mMockApi, setMode("waveform")).WillOnce(DoDefault()); in TEST_P()
Dtest-hwapi.cpp391 SetStringTest::MakeParam("device/mode", &Vibrator::HwApi::setMode),
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c379 static void setMode(bool alsOn, bool proxOn, uint8_t state) in setMode() function
408 setMode(on, mTask.proxOn, (on ? SENSOR_STATE_ENABLING_ALS : SENSOR_STATE_DISABLING_ALS)); in sensorPowerAls()
458 setMode(mTask.alsOn, on, (on ? SENSOR_STATE_ENABLING_PROX : SENSOR_STATE_DISABLING_PROX)); in sensorPowerProx()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c305 static void setMode(bool alsOn, bool proxOn, uint8_t state) in setMode() function
333 setMode(on, mData.proxOn, (on ? SENSOR_STATE_ENABLING_ALS : SENSOR_STATE_DISABLING_ALS)); in sensorPowerAls()
388 setMode(mData.alsOn, on, (on ? SENSOR_STATE_ENABLING_PROX : SENSOR_STATE_DISABLING_PROX)); in sensorPowerProx()
/device/google/sunfish/vibrator/drv2624/
DVibrator.h59 virtual bool setMode(std::string value) = 0;
DHardware.h50 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() function
/device/generic/goldfish/audio/
Dprimary_device.h86 Return<Result> setMode(AudioMode mode) override;
Dprimary_device.cpp315 Return<Result> PrimaryDevice::setMode(AudioMode mode) { in setMode() function in android::hardware::audio::V6_0::implementation::PrimaryDevice
/device/google/barbet/vibrator/drv2624/
DVibrator.h56 virtual bool setMode(std::string value) = 0;
DHardware.h45 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() function
/device/google/bramble/vibrator/drv2624/
DVibrator.h56 virtual bool setMode(std::string value) = 0;
DHardware.h45 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() function
/device/google/redfin/vibrator/drv2624/
DVibrator.h56 virtual bool setMode(std::string value) = 0;
DHardware.h45 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() function
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c468 static void setMode(bool alsOn, bool proxOn, uint8_t state) in setMode() function
496 setMode(on, mTask.proxOn, (on) ? SENSOR_STATE_ENABLING_ALS : SENSOR_STATE_DISABLING_ALS); in sensorPowerAls()
583 setMode(mTask.alsOn, on, (on) ? SENSOR_STATE_ENABLING_PROX : SENSOR_STATE_DISABLING_PROX); in sensorPowerProx()

12