/system/bt/service/common/bluetooth/binder/ |
D | IBluetoothCallback.cpp | 48 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()
|
D | IBluetoothCallback.h | 49 bluetooth::AdapterState new_state) = 0; 80 bluetooth::AdapterState new_state) override;
|
/system/connectivity/shill/cellular/ |
D | active_passive_out_of_credits_detector.cc | 78 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()
|
D | active_passive_out_of_credits_detector.h | 46 Service::ConnectState new_state) override; 95 Service::ConnectState new_state);
|
D | cellular.cc | 916 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 …]
|
D | mock_out_of_credits_detector.h | 38 Service::ConnectState new_state));
|
D | subscription_state_out_of_credits_detector.h | 37 Service::ConnectState new_state) override {} in NotifyServiceStateChanged() argument
|
D | no_out_of_credits_detector.h | 43 Service::ConnectState new_state) override {} in NotifyServiceStateChanged() argument
|
D | out_of_credits_detector.h | 72 Service::ConnectState new_state) = 0;
|
D | cellular_capability_classic.cc | 365 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()
|
D | cellular_service.cc | 367 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/ |
D | bluetooth_binder_server.cpp | 177 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()
|
D | bluetooth_binder_server.h | 71 bluetooth::AdapterState new_state) override;
|
/system/bt/hci/src/ |
D | low_power_manager.c | 112 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/ |
D | IBluetoothCallback.txt | 23 * 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/ |
D | bluetooth_test.cpp | 108 void BluetoothTest::AdapterStateChangedCallback(bt_state_t new_state) { in AdapterStateChangedCallback() argument 109 state_ = new_state; in AdapterStateChangedCallback()
|
/system/connectivity/shill/wifi/ |
D | wifi.cc | 1574 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 …]
|
D | mock_mac80211_monitor.h | 39 MOCK_METHOD1(UpdateConnectedState, void(bool new_state));
|
D | mac80211_monitor.cc | 97 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()
|
D | mac80211_monitor.h | 61 virtual void UpdateConnectedState(bool new_state);
|
/system/bt/service/ |
D | adapter.cpp | 61 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()
|
D | adapter.h | 54 AdapterState new_state);
|
/system/bt/tools/bdtool/ |
D | adapter.c | 88 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/ |
D | adapter_unittest.cpp | 89 bluetooth::AdapterState new_state) override { in OnAdapterStateChanged() argument 92 cur_state_ = new_state; in OnAdapterStateChanged()
|
/system/connectivity/shill/ |
D | metrics.cc | 730 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()
|