Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 25 of 42) sorted by relevance

12

/system/bt/service/common/bluetooth/binder/
DIBluetoothCallback.cpp48 int prev_state, new_state; in onTransact() local
50 data.readInt32(&new_state) != android::NO_ERROR) in onTransact()
55 static_cast<bluetooth::AdapterState>(new_state)); in onTransact()
72 bluetooth::AdapterState new_state) { in OnBluetoothStateChange() argument
77 data.writeInt32(new_state); in OnBluetoothStateChange()
DIBluetoothCallback.h49 bluetooth::AdapterState new_state) = 0;
80 bluetooth::AdapterState new_state) override;
/system/connectivity/shill/cellular/
Dactive_passive_out_of_credits_detector.cc78 Service::ConnectState old_state, Service::ConnectState new_state) { in NotifyServiceStateChanged() argument
79 SLOG(this, 2) << __func__ << ": " << old_state << " -> " << new_state; in NotifyServiceStateChanged()
80 switch (new_state) { in NotifyServiceStateChanged()
111 DetectConnectDisconnectLoop(old_state, new_state); in NotifyServiceStateChanged()
194 Service::ConnectState curr_state, Service::ConnectState new_state) { in DetectConnectDisconnectLoop() argument
248 (new_state == Service::kStateFailure || in DetectConnectDisconnectLoop()
249 new_state == Service::kStateIdle); in DetectConnectDisconnectLoop()
Dactive_passive_out_of_credits_detector.h46 Service::ConnectState new_state) override;
95 Service::ConnectState new_state);
Dcellular.cc916 void Cellular::OnModemStateChanged(ModemState new_state) { in OnModemStateChanged() argument
919 << " -> " << GetModemStateString(new_state); in OnModemStateChanged()
920 if (old_state == new_state) { in OnModemStateChanged()
924 set_modem_state(new_state); in OnModemStateChanged()
926 new_state < kModemStateRegistered) { in OnModemStateChanged()
927 capability_->SetUnregistered(new_state == kModemStateSearching); in OnModemStateChanged()
930 if (new_state == kModemStateDisabled) { in OnModemStateChanged()
932 } else if (new_state >= kModemStateEnabled) { in OnModemStateChanged()
937 if ((new_state == kModemStateEnabled || in OnModemStateChanged()
938 new_state == kModemStateSearching || in OnModemStateChanged()
[all …]
Dmock_out_of_credits_detector.h38 Service::ConnectState new_state));
Dsubscription_state_out_of_credits_detector.h37 Service::ConnectState new_state) override {} in NotifyServiceStateChanged() argument
Dno_out_of_credits_detector.h43 Service::ConnectState new_state) override {} in NotifyServiceStateChanged() argument
Dout_of_credits_detector.h72 Service::ConnectState new_state) = 0;
Dcellular_capability_classic.cc365 uint32_t old_state, uint32_t new_state, uint32_t reason) { in OnModemStateChangedSignal() argument
366 SLOG(this, 2) << __func__ << "(" << old_state << ", " << new_state << ", " in OnModemStateChangedSignal()
368 cellular()->OnModemStateChanged(ConvertClassicToModemState(new_state)); in OnModemStateChangedSignal()
Dcellular_service.cc367 void CellularService::SetState(ConnectState new_state) { in SetState() argument
368 out_of_credits_detector_->NotifyServiceStateChanged(state(), new_state); in SetState()
369 Service::SetState(new_state); in SetState()
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cpp177 bluetooth::AdapterState new_state) { in OnAdapterStateChanged() argument
180 << " new: " << new_state; in OnAdapterStateChanged()
181 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) { in OnAdapterStateChanged()
182 callback->OnBluetoothStateChange(prev_state, new_state); in OnAdapterStateChanged()
Dbluetooth_binder_server.h71 bluetooth::AdapterState new_state) override;
/system/bt/hci/src/
Dlow_power_manager.c112 uint8_t new_state = BT_VND_LPM_WAKE_ASSERT; in wake_assert() local
113 vendor->send_command(VENDOR_SET_LPM_WAKE_STATE, &new_state); in wake_assert()
170 uint8_t new_state = BT_VND_LPM_WAKE_DEASSERT; in wake_deassert() local
171 vendor->send_command(VENDOR_SET_LPM_WAKE_STATE, &new_state); in wake_deassert()
/system/bt/service/doc/
DIBluetoothCallback.txt23 * Called when the adapter state changes from |prev_state| to |new_state|.
25 void onBluetoothStateChange(in int prev_state, in int new_state);
/system/bt/test/suite/adapter/
Dbluetooth_test.cpp108 void BluetoothTest::AdapterStateChangedCallback(bt_state_t new_state) { in AdapterStateChangedCallback() argument
109 state_ = new_state; in AdapterStateChangedCallback()
/system/connectivity/shill/wifi/
Dwifi.cc1574 void WiFi::StateChanged(const string& new_state) { in StateChanged() argument
1576 supplicant_state_ = new_state; in StateChanged()
1578 << old_state << " -> " << new_state; in StateChanged()
1580 if (new_state == WPASupplicant::kInterfaceStateCompleted || in StateChanged()
1581 new_state == WPASupplicant::kInterfaceState4WayHandshake) { in StateChanged()
1588 new_state != WPASupplicant::kInterfaceStateDisconnected) { in StateChanged()
1611 if (new_state == WPASupplicant::kInterfaceStateCompleted) { in StateChanged()
1648 } else if (new_state == WPASupplicant::kInterfaceStateAssociated) { in StateChanged()
1650 } else if (new_state == WPASupplicant::kInterfaceStateAuthenticating || in StateChanged()
1651 new_state == WPASupplicant::kInterfaceStateAssociating || in StateChanged()
[all …]
Dmock_mac80211_monitor.h39 MOCK_METHOD1(UpdateConnectedState, void(bool new_state));
Dmac80211_monitor.cc97 void Mac80211Monitor::UpdateConnectedState(bool new_state) { in UpdateConnectedState() argument
98 SLOG(this, 2) << __func__ << " (new_state=" << new_state << ")"; in UpdateConnectedState()
99 is_device_connected_ = new_state; in UpdateConnectedState()
Dmac80211_monitor.h61 virtual void UpdateConnectedState(bool new_state);
/system/bt/service/
Dadapter.cpp61 AdapterState new_state) { in OnAdapterStateChanged() argument
352 AdapterState new_state) { in NotifyAdapterStateChanged() argument
353 if (prev_state == new_state) in NotifyAdapterStateChanged()
358 OnAdapterStateChanged(this, prev_state, new_state)); in NotifyAdapterStateChanged()
Dadapter.h54 AdapterState new_state);
/system/bt/tools/bdtool/
Dadapter.c88 void adapter_state_changed(bt_state_t new_state) { in adapter_state_changed() argument
89 state = new_state; in adapter_state_changed()
/system/bt/service/test/
Dadapter_unittest.cpp89 bluetooth::AdapterState new_state) override { in OnAdapterStateChanged() argument
92 cur_state_ = new_state; in OnAdapterStateChanged()
/system/connectivity/shill/
Dmetrics.cc730 Service::ConnectState new_state) { in NotifyServiceStateChanged() argument
738 UpdateServiceStateTransitionMetrics(service_metrics, new_state); in NotifyServiceStateChanged()
740 if (new_state == Service::kStateFailure) in NotifyServiceStateChanged()
752 if (new_state != Service::kStateConnected) in NotifyServiceStateChanged()
1642 Service::ConnectState new_state) { in UpdateServiceStateTransitionMetrics() argument
1643 const char* state_string = Service::ConnectStateToString(new_state); in UpdateServiceStateTransitionMetrics()
1645 TimerReportersList& start_timers = service_metrics->start_on_state[new_state]; in UpdateServiceStateTransitionMetrics()
1652 TimerReportersList& stop_timers = service_metrics->stop_on_state[new_state]; in UpdateServiceStateTransitionMetrics()

12