Searched refs:new_mode (Results 1 – 7 of 7) sorted by relevance
/aosp12/system/bt/main/shim/ |
H A D | link_policy.cc | 127 new_mode.mode, in BTM_SetPowerMode() 132 if (p_acl->policy.Mode() == new_mode.mode) { in BTM_SetPowerMode() 145 new_mode.mode); in BTM_SetPowerMode() 147 p_acl->policy.mode.pending_ = new_mode.mode; in BTM_SetPowerMode() 148 switch (new_mode.mode) { in BTM_SetPowerMode() 154 set_sniff_mode(*p_acl, new_mode.max, new_mode.min, new_mode.attempt, in BTM_SetPowerMode() 155 new_mode.timeout); in BTM_SetPowerMode() 159 return set_hold_mode(*p_acl, new_mode.max, new_mode.min); in BTM_SetPowerMode() 197 power_mode_state_text(new_mode).c_str(), new_mode, in btm_pm_on_mode_change() 203 p_acl->policy.mode.mode_ = new_mode; in btm_pm_on_mode_change() [all …]
|
/aosp12/system/bt/test/mock/ |
H A D | mock_main_shim_link_policy.h | 137 std::function<tBTM_STATUS(uint16_t handle, const tBTM_PM_PWR_MD& new_mode)> 138 body{[](uint16_t handle, const tBTM_PM_PWR_MD& new_mode) { return 0; }}; 139 tBTM_STATUS operator()(uint16_t handle, const tBTM_PM_PWR_MD& new_mode) { in operator() 140 return body(handle, new_mode); in operator()
|
H A D | mock_main_shim_link_policy.cc | 93 const tBTM_PM_PWR_MD& new_mode) { in BTM_SetPowerMode() argument 95 return test::mock::main_shim_link_policy::BTM_SetPowerMode(handle, new_mode); in BTM_SetPowerMode()
|
/aosp12/system/bt/gd/ |
H A D | setup.py | 57 new_mode = current_mode | stat.S_IEXEC 58 os.chmod(file, new_mode) 59 …g.log(log.INFO, "Changed file mode of %s from %s to %s" % (file, oct(current_mode), oct(new_mode)))
|
/aosp12/system/bt/stack/btm/ |
H A D | btm_ble_gap.cc | 1043 uint8_t new_mode = BTM_BLE_ADV_ENABLE; in btm_ble_set_discoverability() local 1064 new_mode = BTM_BLE_ADV_DISABLE; in btm_ble_set_discoverability() 1074 if (new_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_discoverability() 1090 if (status == BTM_SUCCESS && p_cb->adv_mode != new_mode) { in btm_ble_set_discoverability() 1091 if (new_mode == BTM_BLE_ADV_ENABLE) in btm_ble_set_discoverability() 1133 uint8_t new_mode = BTM_BLE_ADV_ENABLE; in btm_ble_set_connectability() local 1154 new_mode = BTM_BLE_ADV_DISABLE; in btm_ble_set_connectability() 1160 if (new_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_connectability() 1175 if (status == BTM_SUCCESS && new_mode != p_cb->adv_mode) { in btm_ble_set_connectability() 1176 if (new_mode == BTM_BLE_ADV_ENABLE) in btm_ble_set_connectability()
|
/aosp12/system/bt/stack/acl/ |
H A D | acl.h | 119 tBTM_STATUS BTM_SetPowerMode(uint16_t handle, const tBTM_PM_PWR_MD& new_mode); 323 uint16_t, const tBTM_PM_PWR_MD& new_mode);
|
/aosp12/hardware/qcom/sm7250/display/composer/ |
H A D | hwc_session_services.cpp | 71 bool WaitForResourceNeeded(HWC2::PowerMode prev_mode, HWC2::PowerMode new_mode) { in WaitForResourceNeeded() argument 73 (new_mode == HWC2::PowerMode::On || new_mode == HWC2::PowerMode::Doze)); in WaitForResourceNeeded() 797 HWC2::PowerMode new_mode = hwc_session_->hwc_display_[disp_id]->GetCurrentPowerMode(); in SetPowerMode() local 800 WaitForResourceNeeded(previous_mode, new_mode)) { in SetPowerMode()
|