Searched refs:new_mode (Results 1 – 2 of 2) sorted by relevance
56 new_mode = current_mode | stat.S_IEXEC57 os.chmod(file, new_mode)58 …g.log(log.INFO, "Changed file mode of %s from %s to %s" % (file, oct(current_mode), oct(new_mode)))
976 uint8_t new_mode = BTM_BLE_ADV_ENABLE; in btm_ble_set_discoverability() local997 new_mode = BTM_BLE_ADV_DISABLE; in btm_ble_set_discoverability()1007 if (new_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_discoverability()1023 if (status == BTM_SUCCESS && p_cb->adv_mode != new_mode) { in btm_ble_set_discoverability()1024 if (new_mode == BTM_BLE_ADV_ENABLE) in btm_ble_set_discoverability()1068 uint8_t new_mode = BTM_BLE_ADV_ENABLE; in btm_ble_set_connectability() local1089 new_mode = BTM_BLE_ADV_DISABLE; in btm_ble_set_connectability()1095 if (new_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_connectability()1110 if (status == BTM_SUCCESS && new_mode != p_cb->adv_mode) { in btm_ble_set_connectability()1111 if (new_mode == BTM_BLE_ADV_ENABLE) in btm_ble_set_connectability()