Home
last modified time | relevance | path

Searched refs:mConnected (Results 1 – 25 of 40) sorted by relevance

12

/packages/services/BuiltInPrintService/src/com/android/bips/util/
DWifiMonitor.java38 private Boolean mConnected; field in WifiMonitor
64 mConnected == null || mConnected != isConnected)) { in WifiMonitor()
65 mConnected = isConnected; in WifiMonitor()
66 mListener.onConnectionStateChanged(mConnected); in WifiMonitor()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMasClient.java87 private boolean mConnected = false; field in MasClient
140 mConnected = true; in connect()
167 mConnected = false; in disconnect()
187 Log.e(TAG, "Adding messages failed, state: " + mConnected); in makeRequest()
232 if (!inst.mConnected) { in handleMessage()
238 if (inst.mConnected) { in handleMessage()
244 if (inst.mConnected) { in handleMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java56 private boolean mConnected = false; field in BluetoothMnsObexClient
154 return mConnected; in isConnected()
195 mConnected = false; in disconnect()
312 mConnected = true; in connect()
346 mConnected = false; in connect()
361 mConnected = false; in connect()
363 if (mConnected && mClientSession != null) { in connect()
399 mConnected = connected; in connect()
436 if ((!mConnected) || (clientSession == null)) { in sendEventHandler()
437 Log.w(TAG, "sendEvent after disconnect:" + mConnected); in sendEventHandler()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java43 private boolean mConnected; field in UsbConnectionBroadcastReceiver
67 mConnected = intent.getExtras().getBoolean(UsbManager.USB_CONNECTED) in onReceive()
105 mUsbConnectionListener.onUsbConnectionChanged(mConnected, mFunctions, mPowerRole, in onReceive()
112 mConnected = false; in register()
133 return mConnected; in isConnected()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportVCardActivity.java60 protected boolean mConnected; field in ExportVCardActivity
158 mConnected = true; in onServiceConnected()
170 mConnected = false; in onServiceDisconnected()
224 if (mConnected) { in onDestroy()
226 mConnected = false; in onDestroy()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java61 protected final Connected mConnected; field in A2dpSinkStateMachine
80 mConnected = new Connected(); in A2dpSinkStateMachine()
85 addState(mConnected); in A2dpSinkStateMachine()
200 transitionTo(mConnected); in processStackEvent()
253 transitionTo(mConnected); in processStackEvent()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DGattTransportClientProvider.java72 private boolean mConnected; field in GattTransportClientProvider
108 mConnected = false;
112 mConnected = true;
329 mConnected = false; in stop()
496 + mConnected in startProcessing()
505 if (mConnected) { in startProcessing()
516 mConnected && mServiceDiscovered && mCapabilitiesWritten && mNotificationEnabled; in startProcessing()
DGattTransportServerProvider.java65 private boolean mConnected; field in GattTransportServerProvider
99 mConnected = false;
102 mConnected = true;
425 if (!mConnected || !mNotificationEnabled || mRemoteCapabilities == null) { in startProcessing()
429 + mConnected in startProcessing()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlStateMachine.java55 private Connected mConnected; field in VolumeControlStateMachine
77 mConnected = new Connected(); in VolumeControlStateMachine()
82 addState(mConnected); in VolumeControlStateMachine()
211 transitionTo(mConnected); in processConnectionEvent()
310 transitionTo(mConnected); in processConnectionEvent()
427 transitionTo(mConnected); in processConnectionEvent()
541 return getCurrentState() == mConnected; in isConnected()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachine.java55 private Connected mConnected; field in CsipSetCoordinatorStateMachine
76 mConnected = new Connected(); in CsipSetCoordinatorStateMachine()
81 addState(mConnected); in CsipSetCoordinatorStateMachine()
215 transitionTo(mConnected); in processConnectionEvent()
318 transitionTo(mConnected); in processConnectionEvent()
418 transitionTo(mConnected); in processConnectionEvent()
536 return getCurrentState() == mConnected; in isConnected()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java60 private AtomicBoolean mConnected = new AtomicBoolean(false); field in WifiEnabler
74 if (!mConnected.get()) {
81 mConnected.set(info.isConnected());
233 mConnected.get()); in onSwitchToggled()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java55 private boolean mConnected = false; field in OsuNetworkConnection
145 mConnected = false; in disconnectIfNeeded()
169 if (mConnected) { in connect()
255 mConnected = true; in onAvailable()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java125 protected final Connected mConnected; field in AvrcpControllerStateMachine
177 mConnected = new Connected(); in AvrcpControllerStateMachine()
182 addState(mConnected); in AvrcpControllerStateMachine()
186 addState(mGetFolderList, mConnected); in AvrcpControllerStateMachine()
449 transitionTo(mConnected); in enter()
856 transitionTo(mConnected); in enter()
859 transitionTo(mConnected); in enter()
902 transitionTo(mConnected); in processMessage()
927 transitionTo(mConnected); in processMessage()
995 transitionTo(mConnected); in processMessage()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java63 private Connected mConnected; field in LeAudioStateMachine
86 mConnected = new Connected(); in LeAudioStateMachine()
91 addState(mConnected); in LeAudioStateMachine()
217 transitionTo(mConnected); in processConnectionEvent()
316 transitionTo(mConnected); in processConnectionEvent()
415 transitionTo(mConnected); in processConnectionEvent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java67 private Connected mConnected; field in HearingAidStateMachine
89 mConnected = new Connected(); in HearingAidStateMachine()
94 addState(mConnected); in HearingAidStateMachine()
217 transitionTo(mConnected); in processConnectionEvent()
320 transitionTo(mConnected); in processConnectionEvent()
420 transitionTo(mConnected); in processConnectionEvent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientStateMachine.java66 private final Connected mConnected; field in HapClientStateMachine
88 mConnected = new Connected(); in HapClientStateMachine()
93 addState(mConnected); in HapClientStateMachine()
310 transitionTo(mConnected); in processConnectionEvent()
409 transitionTo(mConnected); in processConnectionEvent()
510 transitionTo(mConnected); in processConnectionEvent()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java292 private boolean mConnected; field in RemoteVvmTaskManager.RemoteServiceConnection
301 if (mConnected) { in enqueue()
307 return mConnected; in isConnected()
313 mConnected = true; in onServiceConnected()
319 mConnected = false; in onServiceDisconnected()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperConnection.java116 private boolean mConnected; field in WallpaperConnection
170 if (mConnected) { in connect()
179 mConnected = true; in connect()
194 mConnected = false; in disconnect()
276 if (mConnected) { in attachEngine()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java175 private final CompletableFuture<Void> mConnected = new CompletableFuture<>(); field in AoapServiceManager.AoapServiceConnection
206 mConnected.complete(null); in onServiceConnected()
275 return mConnected.thenCompose(x -> { in sendMessageForResult()
303 + ", mConnected=" + mConnected in toString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DPbapStateMachine.java82 private final Connected mConnected = new Connected(); field in PbapStateMachine
113 addState(mConnected); in PbapStateMachine()
211 isValidTransition = mPrevState == mConnected || mPrevState == mWaitingForAuth; in enforceValidConnectionStateTransition()
212 } else if (this == mConnected) { in enforceValidConnectionStateTransition()
250 transitionTo(mConnected); in processMessage()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/
DCarSystemUIProxyImpl.java71 private boolean mConnected; field in CarSystemUIProxyImpl
158 mConnected = true; in onConnected()
170 pw.println(" mConnected:" + mConnected); in dump()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java96 private State mConnected; field in PbapClientStateMachine
128 mConnected = new Connected(); in PbapClientStateMachine()
133 addState(mConnected); in PbapClientStateMachine()
194 transitionTo(mConnected); in processMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryStateMachine.java68 private Connected mConnected; field in BatteryStateMachine
85 mConnected = new Connected(); in BatteryStateMachine()
91 addState(mConnected); in BatteryStateMachine()
124 return getCurrentState() == mConnected; in isConnected()
399 transitionTo(mConnected); in processConnectionEvent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java148 private boolean mConnected = false; field in BluetoothOppObexClientSession.ClientThread
277 mConnected = true; in connect()
286 if (mConnected) { in connect()
287 mConnected = false; in connect()
296 mConnected = true; in connect()
330 if (!mConnected) { in doSend()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java74 private Connected mConnected; field in A2dpStateMachine
103 mConnected = new Connected(); in A2dpStateMachine()
108 addState(mConnected); in A2dpStateMachine()
254 transitionTo(mConnected); in processConnectionEvent()
390 transitionTo(mConnected); in processConnectionEvent()
500 transitionTo(mConnected); in processConnectionEvent()

12