Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java85 private boolean mConnected = false; field in MasClient
142 mConnected = true; in connect()
169 mConnected = false; in disconnect()
193 Log.e(TAG, "Adding messages failed, state: " + mConnected); in makeRequest()
225 if (!inst.mConnected) { in handleMessage()
231 if (inst.mConnected) { in handleMessage()
237 if (inst.mConnected) { in handleMessage()
DMceStateMachine.java129 private State mConnected; field in MceStateMachine
200 mConnected = new Connected(); in MceStateMachine()
206 addState(mConnected); in MceStateMachine()
278 if (this.getCurrentState() == mConnected) { in sendMapMessage()
330 if (this.getCurrentState() == mConnected) { in getMessage()
341 if (this.getCurrentState() == mConnected) { in getUnreadMessages()
349 if (this.getCurrentState() == mConnected && mMasClient != null) { in getSupportedFeatures()
361 if (this.getCurrentState() == mConnected) { in setMessageStatus()
481 transitionTo(mConnected); in processMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java57 private boolean mConnected = false; field in BluetoothMnsObexClient
162 return mConnected; in isConnected()
201 mConnected = false; in disconnect()
333 mConnected = true; in connect()
356 mConnected = false; in connect()
366 mConnected = false; in connect()
368 if (mConnected && mClientSession != null) { in connect()
404 mConnected = connected; in connect()
443 if ((!mConnected) || (clientSession == null)) { in sendEventHandler()
444 Log.w(TAG, "sendEvent after disconnect:" + mConnected); in sendEventHandler()
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DWifiMonitor.java38 private Boolean mConnected; field in WifiMonitor
59 if (mListener != null && (mConnected == null || mConnected != isConnected)) { in WifiMonitor()
60 mConnected = isConnected; in WifiMonitor()
61 mListener.onConnectionStateChanged(mConnected); in WifiMonitor()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java39 private boolean mConnected; field in UsbConnectionBroadcastReceiver
58 mConnected = intent.getExtras().getBoolean(UsbManager.USB_CONNECTED) in onReceive()
93 mUsbConnectionListener.onUsbConnectionChanged(mConnected, mFunctions, mPowerRole, in onReceive()
100 mConnected = false; in register()
121 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()
DShareVCardActivity.java45 mConnected = true; in onServiceConnected()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java60 protected final Connected mConnected; field in A2dpSinkStateMachine
75 mConnected = new Connected(); in A2dpSinkStateMachine()
80 addState(mConnected); in A2dpSinkStateMachine()
187 transitionTo(mConnected); in processStackEvent()
231 transitionTo(mConnected); in processStackEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java82 private Connected mConnected; field in LeAudioStateMachine
101 mConnected = new Connected(); in LeAudioStateMachine()
106 addState(mConnected); in LeAudioStateMachine()
218 transitionTo(mConnected); in processConnectionEvent()
306 transitionTo(mConnected); in processConnectionEvent()
393 transitionTo(mConnected); in processConnectionEvent()
516 return getCurrentState() == mConnected; in isConnected()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java123 protected final Connected mConnected; field in AvrcpControllerStateMachine
172 mConnected = new Connected(); in AvrcpControllerStateMachine()
177 addState(mConnected); in AvrcpControllerStateMachine()
181 addState(mGetFolderList, mConnected); in AvrcpControllerStateMachine()
449 transitionTo(mConnected); in enter()
786 transitionTo(mConnected); in enter()
824 transitionTo(mConnected); in processMessage()
849 transitionTo(mConnected); in processMessage()
916 transitionTo(mConnected); in processMessage()
923 transitionTo(mConnected); in processMessage()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperConnection.java72 private boolean mConnected; field in WallpaperConnection
111 if (mConnected) { in connect()
119 mConnected = true; in connect()
134 mConnected = false; in disconnect()
193 if (mConnected) { in attachEngine()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java50 private AtomicBoolean mConnected = new AtomicBoolean(false); field in WifiEnabler
62 if (!mConnected.get()) {
69 mConnected.set(info.isConnected());
200 mConnected.get()); in onSwitchToggled()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java287 private boolean mConnected; field in RemoteVvmTaskManager.RemoteServiceConnection
296 if (mConnected) { in enqueue()
302 return mConnected; in isConnected()
308 mConnected = true; in onServiceConnected()
314 mConnected = false; in onServiceDisconnected()
/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/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java86 private Connected mConnected; field in HearingAidStateMachine
105 mConnected = new Connected(); in HearingAidStateMachine()
110 addState(mConnected); in HearingAidStateMachine()
223 transitionTo(mConnected); in processConnectionEvent()
316 transitionTo(mConnected); in processConnectionEvent()
404 transitionTo(mConnected); in processConnectionEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DPbapStateMachine.java92 private final Connected mConnected = new Connected(); field in PbapStateMachine
115 addState(mConnected); in PbapStateMachine()
198 isValidTransition = mPrevState == mConnected || mPrevState == mWaitingForAuth; in enforceValidConnectionStateTransition()
199 } else if (this == mConnected) { in enforceValidConnectionStateTransition()
233 transitionTo(mConnected); in processMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java128 private final Connected mConnected = new Connected(); field in HeadsetStateMachine
194 addState(mConnected); in HeadsetStateMachine()
351 || mPrevState == mConnected || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
356 result = mPrevState == mConnected in enforceValidConnectionStateTransition()
361 } else if (this == mConnected) { in enforceValidConnectionStateTransition()
368 result = mPrevState == mConnected; in enforceValidConnectionStateTransition()
376 || mPrevState == mConnected; in enforceValidConnectionStateTransition()
700 transitionTo(mConnected); in processConnectionEvent()
793 transitionTo(mConnected); in processConnectionEvent()
1193 transitionTo(mConnected); in processMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java160 private boolean mConnected = false; field in BluetoothOppObexClientSession.ClientThread
279 mConnected = true; in connect()
283 if (mConnected) { in connect()
284 mConnected = false; in connect()
295 mConnected = true; in connect()
317 if (!mConnected) { in doSend()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java174 private final CompletableFuture<Void> mConnected = new CompletableFuture<>(); field in AoapServiceManager.AoapServiceConnection
205 mConnected.complete(null); in onServiceConnected()
274 return mConnected.thenCompose(x -> { in sendMessageForResult()
302 + ", mConnected=" + mConnected in toString()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java95 private State mConnected; field in PbapClientStateMachine
118 mConnected = new Connected(); in PbapClientStateMachine()
123 addState(mConnected); in PbapClientStateMachine()
185 transitionTo(mConnected); in processMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java90 private Connected mConnected; field in A2dpStateMachine
113 mConnected = new Connected(); in A2dpStateMachine()
118 addState(mConnected); in A2dpStateMachine()
246 transitionTo(mConnected); in processConnectionEvent()
343 transitionTo(mConnected); in processConnectionEvent()
437 transitionTo(mConnected); in processConnectionEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java299 boolean mConnected; field in IngestService.ScannerClient
308 if (mConnected) { in scanPath()
320 mConnected = true; in onMediaScannerConnected()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java141 private final Connected mConnected; field in HeadsetClientStateMachine
793 mConnected = new Connected(); in HeadsetClientStateMachine()
798 addState(mConnected); in HeadsetClientStateMachine()
799 addState(mAudioOn, mConnected); in HeadsetClientStateMachine()
910 } else if (mPrevState == mConnected || mPrevState == mAudioOn) { in enter()
1121 transitionTo(mConnected); in processConnectionEvent()
1763 transitionTo(mConnected); in processAudioEvent()
1794 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState()
1884 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java593 boolean mConnected; field in LiveWallpaperPreview.WallpaperConnection
607 mConnected = true; in connect()
614 mConnected = false; in disconnect()
665 if (mConnected) { in attachEngine()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java72 private final AtomicBoolean mConnected = new AtomicBoolean(false); field in NetworkAgentWrapper
269 if (!mConnected.compareAndSet(false /* expect */, true /* update */)) { in connect()

12