Home
last modified time | relevance | path

Searched refs:is_connected (Results 1 – 16 of 16) sorted by relevance

/system/connectivity/shill/wifi/
Dwake_on_wifi_unittest.cc784 void OnBeforeSuspend(bool is_connected, in OnBeforeSuspend() argument
794 wake_on_wifi_->OnBeforeSuspend(is_connected, ssid_whitelist, done_callback, in OnBeforeSuspend()
800 void OnDarkResume(bool is_connected, in OnDarkResume() argument
811 is_connected, ssid_whitelist, done_callback, renew_dhcp_lease_callback, in OnDarkResume()
817 void BeforeSuspendActions(bool is_connected, bool start_lease_renewal_timer, in BeforeSuspendActions() argument
822 NotifyBeforeSuspendActions(is_connected, GetInDarkResume())); in BeforeSuspendActions()
825 wake_on_wifi_->BeforeSuspendActions(is_connected, start_lease_renewal_timer, in BeforeSuspendActions()
951 void ReportConnectedToServiceAfterWake(bool is_connected) { in ReportConnectedToServiceAfterWake() argument
952 wake_on_wifi_->ReportConnectedToServiceAfterWake(is_connected); in ReportConnectedToServiceAfterWake()
1804 const bool is_connected = true; in TEST_F() local
[all …]
Dmock_wake_on_wifi.h38 void(bool is_connected,
45 void(bool is_connected,
54 MOCK_METHOD1(ReportConnectedToServiceAfterWake, void(bool is_connected));
Dwake_on_wifi.cc1239 bool is_connected, in OnBeforeSuspend() argument
1254 if (have_dhcp_lease && is_connected && in OnBeforeSuspend()
1259 weak_ptr_factory_.GetWeakPtr(), is_connected, in OnBeforeSuspend()
1264 weak_ptr_factory_.GetWeakPtr(), is_connected, in OnBeforeSuspend()
1287 bool is_connected, in OnDarkResume() argument
1305 (last_wake_reason_ == kWakeTriggerUnsupported && !is_connected)) { in OnDarkResume()
1352 is_connected, false, 0, remove_supplicant_networks_callback)); in OnDarkResume()
1367 if (is_connected) { in OnDarkResume()
1392 bool is_connected, in BeforeSuspendActions() argument
1397 << (is_connected ? "connected" : "not connected"); in BeforeSuspendActions()
[all …]
Dwake_on_wifi.h241 bool is_connected,
264 bool is_connected,
277 virtual void ReportConnectedToServiceAfterWake(bool is_connected);
487 bool is_connected,
/system/bt/btif/src/
Dbtif_hf.c201 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr) in is_connected() function
777 if (!is_connected(bd_addr)) in connect_int()
817 if (is_connected(bd_addr) && (idx != BTIF_HF_INVALID_IDX)) in disconnect()
851 if (is_connected(bd_addr) && (idx != BTIF_HF_INVALID_IDX)) in connect_audio()
885 if (is_connected(bd_addr) && (idx != BTIF_HF_INVALID_IDX)) in disconnect_audio()
915 if (is_connected(bd_addr) && (idx != BTIF_HF_INVALID_IDX)) in start_voice_recognition()
956 if (is_connected(bd_addr) && (idx != BTIF_HF_INVALID_IDX)) in stop_voice_recognition()
1000 if (is_connected(bd_addr) && (idx != BTIF_HF_INVALID_IDX)) in volume_control()
1026 if (is_connected(NULL)) in device_status_notification()
1064 if (is_connected(bd_addr) && (idx != BTIF_HF_INVALID_IDX)) in cops_response()
[all …]
Dbtif_hf_client.c166 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr) in is_connected() function
218 if (is_connected(bd_addr)) in connect_int()
251 if (is_connected(bd_addr)) in disconnect()
273 if (is_connected(bd_addr)) in connect_audio()
307 if (is_connected(bd_addr)) in disconnect_audio()
Dbtif_hl.c202 p_mcb->is_connected && p_mcb->pcb.channel_id == channel_id ) in btif_hl_if_channel_setup_pending()
279 if (p_mcb->is_connected) { in btif_hl_timer_timeout()
792 if (p_mcb->is_connected) in btif_hl_dch_abort()
2368 p_mcb->is_connected = TRUE; in btif_hl_proc_cch_open_ind()
2487 p_mcb->is_connected = TRUE; in btif_hl_proc_cch_open_cfm()
3320 if (!p_mcb->is_connected) in btif_hl_upstreams_evt()
3858 if (p_mcb->is_connected) in connect_channel()
3968 if (p_mcb->is_connected) in destroy_channel()
/system/update_engine/update_manager/
Dreal_shill_provider.cc123 bool is_connected = (default_service_path_.IsValid() && in ProcessDefaultService() local
125 var_is_connected_.SetValue(is_connected); in ProcessDefaultService()
128 if (!is_connected) { in ProcessDefaultService()
/system/connectivity/shill/
Dmetrics_unittest.cc1043 bool is_connected; in TEST_F() local
1046 is_connected = true; in TEST_F()
1051 metrics_.NotifyBeforeSuspendActions(is_connected, in_dark_resume); in TEST_F()
1053 is_connected = false; in TEST_F()
1058 metrics_.NotifyBeforeSuspendActions(is_connected, in_dark_resume); in TEST_F()
1063 bool is_connected; in TEST_F() local
1066 is_connected = true; in TEST_F()
1068 metrics_.NotifyBeforeSuspendActions(is_connected, in_dark_resume); in TEST_F()
1070 is_connected = false; in TEST_F()
1072 metrics_.NotifyBeforeSuspendActions(is_connected, in_dark_resume); in TEST_F()
Dmock_metrics.h103 void(bool is_connected, bool in_dark_resume));
Dmetrics.cc1553 void Metrics::NotifyBeforeSuspendActions(bool is_connected, in NotifyBeforeSuspendActions() argument
1557 is_connected ? kDarkResumeScanRetryResultConnected in NotifyBeforeSuspendActions()
Dmetrics.h1089 virtual void NotifyBeforeSuspendActions(bool is_connected,
/system/connectivity/shill/dbus/
Dchromeos_dhcpcd_listener.cc58 if (!bus_->is_connected()) { in ChromeosDHCPCDListener()
/system/bt/btif/include/
Dbtif_hl.h205 BOOLEAN is_connected; member
/system/bt/stack/btm/
Dbtm_ble_int.h204 BOOLEAN is_connected; member
/system/bt/stack/include/
Dbt_types.h482 UINT32 is_connected; member