Searched refs:new_mode (Results 1 – 4 of 4) sorted by relevance
73 let new_mode = Mode::from_bits_truncate(encoded_mode); in set_mode() localVariable81 if new_mode != self.mode { in set_mode()82 self.service.chmod(self.remote_fd, new_mode.bits() as i32).map_err(|e| { in set_mode()85 self.remote_fd, new_mode, e in set_mode()89 self.mode = new_mode; in set_mode()
48 new_mode = current_mode | stat.S_IEXEC49 os.chmod(file, new_mode)50 …g.log(log.INFO, "Changed file mode of %s from %s to %s" % (file, oct(current_mode), oct(new_mode)))
1372 uint8_t new_mode = BTM_BLE_ADV_ENABLE; in btm_ble_set_discoverability() local1392 new_mode = BTM_BLE_ADV_DISABLE; in btm_ble_set_discoverability()1402 if (new_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_discoverability()1420 if (status == BTM_SUCCESS && btm_cb.ble_ctr_cb.inq_var.adv_mode != new_mode) { in btm_ble_set_discoverability()1421 if (new_mode == BTM_BLE_ADV_ENABLE) in btm_ble_set_discoverability()1461 uint8_t new_mode = BTM_BLE_ADV_ENABLE; in btm_ble_set_connectability() local1481 new_mode = BTM_BLE_ADV_DISABLE; in btm_ble_set_connectability()1487 if (new_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_connectability()1504 if (status == BTM_SUCCESS && new_mode != btm_cb.ble_ctr_cb.inq_var.adv_mode) { in btm_ble_set_connectability()1505 if (new_mode == BTM_BLE_ADV_ENABLE) in btm_ble_set_connectability()
120 tBTM_STATUS BTM_SetPowerMode(uint16_t handle, const tBTM_PM_PWR_MD& new_mode);