Searched defs:new_state (Results 1 - 19 of 19) sorted by relevance

/system/bt/service/common/bluetooth/binder/
H A DIBluetoothCallback.cpp48 int prev_state, new_state; local
50 data.readInt32(&new_state) != android::NO_ERROR)
55 static_cast<bluetooth::AdapterState>(new_state));
72 bluetooth::AdapterState new_state) {
77 data.writeInt32(new_state);
70 OnBluetoothStateChange( bluetooth::AdapterState prev_state, bluetooth::AdapterState new_state) argument
/system/bt/test/suite/adapter/
H A Dbluetooth_test.cpp108 void BluetoothTest::AdapterStateChangedCallback(bt_state_t new_state) { argument
109 state_ = new_state;
/system/connectivity/shill/cellular/
H A Dactive_passive_out_of_credits_detector_unittest.cc98 Service::ConnectState new_state) {
99 out_of_credits_detector_->NotifyServiceStateChanged(old_state, new_state);
97 SetMockServiceState(Service::ConnectState old_state, Service::ConnectState new_state) argument
H A Dactive_passive_out_of_credits_detector.cc78 Service::ConnectState old_state, Service::ConnectState new_state) {
79 SLOG(this, 2) << __func__ << ": " << old_state << " -> " << new_state; local
80 switch (new_state) {
111 DetectConnectDisconnectLoop(old_state, new_state);
194 Service::ConnectState curr_state, Service::ConnectState new_state) {
248 (new_state == Service::kStateFailure ||
249 new_state == Service::kStateIdle);
77 NotifyServiceStateChanged( Service::ConnectState old_state, Service::ConnectState new_state) argument
193 DetectConnectDisconnectLoop( Service::ConnectState curr_state, Service::ConnectState new_state) argument
H A Dcellular_capability_classic.cc365 uint32_t old_state, uint32_t new_state, uint32_t reason) {
366 SLOG(this, 2) << __func__ << "(" << old_state << ", " << new_state << ", "
368 cellular()->OnModemStateChanged(ConvertClassicToModemState(new_state));
364 OnModemStateChangedSignal( uint32_t old_state, uint32_t new_state, uint32_t reason) argument
H A Dcellular_service.cc367 void CellularService::SetState(ConnectState new_state) { argument
368 out_of_credits_detector_->NotifyServiceStateChanged(state(), new_state); local
369 Service::SetState(new_state);
H A Dcellular.cc916 void Cellular::OnModemStateChanged(ModemState new_state) { argument
919 << " -> " << GetModemStateString(new_state);
920 if (old_state == new_state) {
924 set_modem_state(new_state);
926 new_state < kModemStateRegistered) {
927 capability_->SetUnregistered(new_state == kModemStateSearching);
930 if (new_state == kModemStateDisabled) {
932 } else if (new_state >= kModemStateEnabled) {
937 if ((new_state == kModemStateEnabled ||
938 new_state
[all...]
H A Dcellular_capability_universal.cc1627 int32_t old_state, int32_t new_state, uint32_t reason) {
1631 static_cast<Cellular::ModemState>(new_state);
1626 OnModemStateChangedSignal( int32_t old_state, int32_t new_state, uint32_t reason) argument
/system/bt/service/ipc/binder/
H A Dbluetooth_binder_server.cpp177 bluetooth::AdapterState new_state) {
180 << " new: " << new_state; local
181 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) {
182 callback->OnBluetoothStateChange(prev_state, new_state);
174 OnAdapterStateChanged( bluetooth::Adapter* adapter, bluetooth::AdapterState prev_state, bluetooth::AdapterState new_state) argument
/system/bt/hci/src/
H A Dlow_power_manager.c112 uint8_t new_state = BT_VND_LPM_WAKE_ASSERT; local
113 vendor->send_command(VENDOR_SET_LPM_WAKE_STATE, &new_state);
170 uint8_t new_state = BT_VND_LPM_WAKE_DEASSERT; local
171 vendor->send_command(VENDOR_SET_LPM_WAKE_STATE, &new_state);
/system/bt/service/
H A Dadapter.cpp61 AdapterState new_state) {
352 AdapterState new_state) {
353 if (prev_state == new_state)
358 OnAdapterStateChanged(this, prev_state, new_state));
59 OnAdapterStateChanged(Adapter* adapter, AdapterState prev_state, AdapterState new_state) argument
351 NotifyAdapterStateChanged(AdapterState prev_state, AdapterState new_state) argument
/system/bt/tools/bdtool/
H A Dadapter.c88 void adapter_state_changed(bt_state_t new_state) { argument
89 state = new_state;
/system/connectivity/shill/wifi/
H A Dmac80211_monitor.cc97 void Mac80211Monitor::UpdateConnectedState(bool new_state) { argument
98 SLOG(this, 2) << __func__ << " (new_state=" << new_state << ")"; local
99 is_device_connected_ = new_state;
H A Dmac80211_monitor_unittest.cc166 void UpdateConnectedState(bool new_state) { argument
167 mac80211_monitor_.UpdateConnectedState(new_state);
H A Dwifi.cc1574 void WiFi::StateChanged(const string& new_state) { argument
1576 supplicant_state_ = new_state;
1578 << old_state << " -> " << new_state; local
1580 if (new_state == WPASupplicant::kInterfaceStateCompleted ||
1581 new_state == WPASupplicant::kInterfaceState4WayHandshake) {
1588 new_state != WPASupplicant::kInterfaceStateDisconnected) {
1611 if (new_state == WPASupplicant::kInterfaceStateCompleted) {
1648 } else if (new_state == WPASupplicant::kInterfaceStateAssociated) {
1650 } else if (new_state == WPASupplicant::kInterfaceStateAuthenticating ||
1651 new_state
2473 SetScanState(ScanState new_state, ScanMethod new_method, const char* reason) argument
[all...]
H A Dwifi_unittest.cc747 void SetScanState(WiFi::ScanState new_state, argument
750 wifi_->SetScanState(new_state, new_method, reason);
1091 void ReportStateChanged(const string& new_state) { argument
1092 wifi_->StateChanged(new_state);
/system/weaved/buffet/
H A Dshill_client.cc61 string new_state = property_it->second.TryGet<string>(); local
62 if (new_state.empty()) {
66 *state = new_state;
/system/bt/stack/btm/
H A Dbtm_sec.c75 static void btm_sec_change_pairing_state (tBTM_PAIRING_STATE new_state);
5856 static void btm_sec_change_pairing_state (tBTM_PAIRING_STATE new_state) argument
5862 btm_pair_state_descr(new_state), btm_cb.pairing_flags);
5864 btm_cb.pairing_state = new_state;
5866 if (new_state == BTM_PAIR_STATE_IDLE)
/system/bt/btif/src/
H A Dbtif_hl.c4399 void btif_hl_set_socket_state(btif_hl_soc_cb_t *p_scb, btif_hl_soc_state_t new_state){ argument
4400 BTIF_TRACE_DEBUG("btif_hl_set_socket_state %d---->%d", p_scb->state, new_state);
4401 p_scb->state = new_state;

Completed in 466 milliseconds