/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 286 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/ |
D | mocks.h | 31 MOCK_METHOD1(setMode, bool(std::string value));
|
D | test-vibrator.cpp | 139 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()
|
D | test-hwapi.cpp | 391 SetStringTest::MakeParam("device/mode", &Vibrator::HwApi::setMode),
|
/device/google/redfin/vibrator/drv2624/tests/ |
D | mocks.h | 31 MOCK_METHOD1(setMode, bool(std::string value));
|
D | test-vibrator.cpp | 139 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/ |
D | mocks.h | 31 MOCK_METHOD1(setMode, bool(std::string value));
|
D | test-vibrator.cpp | 143 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()
|
D | test-hwapi.cpp | 392 SetStringTest::MakeParam("device/mode", &Vibrator::HwApi::setMode),
|
/device/google/bramble/vibrator/drv2624/tests/ |
D | mocks.h | 31 MOCK_METHOD1(setMode, bool(std::string value));
|
D | test-vibrator.cpp | 139 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()
|
D | test-hwapi.cpp | 391 SetStringTest::MakeParam("device/mode", &Vibrator::HwApi::setMode),
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 379 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/ |
D | ams_tmd2772.c | 305 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/ |
D | Vibrator.h | 59 virtual bool setMode(std::string value) = 0;
|
D | Hardware.h | 50 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() function
|
/device/generic/goldfish/audio/ |
D | primary_device.h | 86 Return<Result> setMode(AudioMode mode) override;
|
D | primary_device.cpp | 315 Return<Result> PrimaryDevice::setMode(AudioMode mode) { in setMode() function in android::hardware::audio::V6_0::implementation::PrimaryDevice
|
/device/google/barbet/vibrator/drv2624/ |
D | Vibrator.h | 56 virtual bool setMode(std::string value) = 0;
|
D | Hardware.h | 45 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() function
|
/device/google/bramble/vibrator/drv2624/ |
D | Vibrator.h | 56 virtual bool setMode(std::string value) = 0;
|
D | Hardware.h | 45 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() function
|
/device/google/redfin/vibrator/drv2624/ |
D | Vibrator.h | 56 virtual bool setMode(std::string value) = 0;
|
D | Hardware.h | 45 bool setMode(std::string value) override { return set(value, &mMode); } in setMode() function
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 468 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()
|