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

12

/system/bt/service/doc/
H A 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/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
H A DIBluetoothCallback.h49 bluetooth::AdapterState new_state) = 0;
80 bluetooth::AdapterState new_state) override;
/system/connectivity/shill/wifi/
H A Dmock_mac80211_monitor.h39 MOCK_METHOD1(UpdateConnectedState, void(bool new_state));
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 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 Dmac80211_monitor.h61 virtual void UpdateConnectedState(bool new_state);
/system/connectivity/shill/cellular/
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 Dmock_out_of_credits_detector.h38 Service::ConnectState new_state));
H A Dno_out_of_credits_detector.h43 Service::ConnectState new_state) override {}
H A Dsubscription_state_out_of_credits_detector.h37 Service::ConnectState new_state) override {}
H A Dactive_passive_out_of_credits_detector.h46 Service::ConnectState new_state) override;
95 Service::ConnectState new_state);
H A Dout_of_credits_detector.h72 Service::ConnectState new_state) = 0;
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_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);
/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/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
H A Dbluetooth_binder_server.h71 bluetooth::AdapterState new_state) override;
/system/bt/test/suite/adapter/
H A Dbluetooth_test.cpp108 void BluetoothTest::AdapterStateChangedCallback(bt_state_t new_state) { argument
109 state_ = new_state;
/system/bt/service/
H A Dadapter.h51 // |adapter| from |prev_state| to |new_state|.
54 AdapterState new_state);
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/connectivity/shill/
H A Dmock_metrics.h49 void(const Service& service, Service::ConnectState new_state));
/system/bt/service/test/
H A Dadapter_unittest.cpp89 bluetooth::AdapterState new_state) override {
92 cur_state_ = new_state;
/system/bt/tools/bdtool/
H A Dadapter.c88 void adapter_state_changed(bt_state_t new_state) { argument
89 state = new_state;

Completed in 547 milliseconds

12