Home
last modified time | relevance | path

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

/system/bt/gd/
Dsetup.py56 new_mode = current_mode | stat.S_IEXEC
57 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)))
/system/bt/stack/btm/
Dbtm_ble_gap.cc976 uint8_t new_mode = BTM_BLE_ADV_ENABLE; in btm_ble_set_discoverability() local
997 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() local
1089 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()