Home
last modified time | relevance | path

Searched refs:new_mode (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Virtualization/authfs/src/file/
Dattr.rs73 let new_mode = Mode::from_bits_truncate(encoded_mode); in set_mode() localVariable
81 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()
/packages/modules/Bluetooth/system/
Dsetup.py48 new_mode = current_mode | stat.S_IEXEC
49 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)))
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_gap.cc1372 uint8_t new_mode = BTM_BLE_ADV_ENABLE; in btm_ble_set_discoverability() local
1392 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() local
1481 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()
/packages/modules/Bluetooth/system/stack/acl/
Dacl.h120 tBTM_STATUS BTM_SetPowerMode(uint16_t handle, const tBTM_PM_PWR_MD& new_mode);