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.java120 private State mConnected; field in MceStateMachine
190 mConnected = new Connected(); in MceStateMachine()
195 addState(mConnected); in MceStateMachine()
267 if (this.getCurrentState() == mConnected) { in sendMapMessage()
314 if (this.getCurrentState() == mConnected) { in getMessage()
325 if (this.getCurrentState() == mConnected) { in getUnreadMessages()
333 if (this.getCurrentState() == mConnected && mMasClient != null) { in getSupportedFeatures()
345 if (this.getCurrentState() == mConnected) { in setMessageStatus()
465 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/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()
60 if (mConnected) { in onReceive()
89 mUsbConnectionListener.onUsbConnectionChanged(mConnected, mFunctions, mPowerRole, in onReceive()
96 mConnected = false; in register()
117 return mConnected; in isConnected()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java39 private boolean mConnected; field in UsbConnectionBroadcastReceiver
58 mConnected = intent.getExtras().getBoolean(UsbManager.USB_CONNECTED) in onReceive()
60 if (mConnected) { in onReceive()
89 mUsbConnectionListener.onUsbConnectionChanged(mConnected, mFunctions, mPowerRole, in onReceive()
96 mConnected = false; in register()
117 return mConnected; in isConnected()
/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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java119 protected final Connected mConnected; field in AvrcpControllerStateMachine
152 mConnected = new Connected(); in AvrcpControllerStateMachine()
157 addState(mConnected); in AvrcpControllerStateMachine()
161 addState(mGetFolderList, mConnected); in AvrcpControllerStateMachine()
439 transitionTo(mConnected); in enter()
743 transitionTo(mConnected); in enter()
781 transitionTo(mConnected); in processMessage()
806 transitionTo(mConnected); in processMessage()
828 transitionTo(mConnected); in processMessage()
835 transitionTo(mConnected); in processMessage()
[all …]
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportVCardActivity.java60 protected boolean mConnected; field in ExportVCardActivity
157 mConnected = true; in onServiceConnected()
169 mConnected = false; in onServiceDisconnected()
223 if (mConnected) { in onDestroy()
225 mConnected = false; in onDestroy()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java57 protected final Connected mConnected; field in A2dpSinkStateMachine
72 mConnected = new Connected(); in A2dpSinkStateMachine()
77 addState(mConnected); in A2dpSinkStateMachine()
183 transitionTo(mConnected); in processStackEvent()
227 transitionTo(mConnected); in processStackEvent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiEnabler.java54 private AtomicBoolean mConnected = new AtomicBoolean(false); field in WifiEnabler
66 if (!mConnected.get()) {
73 mConnected.set(info.isConnected());
216 mConnected.get()); in onSwitchToggled()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java54 private AtomicBoolean mConnected = new AtomicBoolean(false); field in WifiEnabler
66 if (!mConnected.get()) {
73 mConnected.set(info.isConnected());
216 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/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java83 private Connected mConnected; field in HearingAidStateMachine
102 mConnected = new Connected(); in HearingAidStateMachine()
107 addState(mConnected); in HearingAidStateMachine()
220 transitionTo(mConnected); in processConnectionEvent()
313 transitionTo(mConnected); in processConnectionEvent()
401 transitionTo(mConnected); in processConnectionEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DPbapStateMachine.java83 private final Connected mConnected = new Connected(); field in PbapStateMachine
106 addState(mConnected); in PbapStateMachine()
189 isValidTransition = mPrevState == mConnected || mPrevState == mWaitingForAuth; in enforceValidConnectionStateTransition()
190 } else if (this == mConnected) { in enforceValidConnectionStateTransition()
224 transitionTo(mConnected); in processMessage()
/packages/services/Car/service/src/com/android/car/
DVmsPublisherService.java144 private boolean mConnected; field in VmsPublisherService.PublisherProxy
155 mConnected = true; in register()
161 mConnected = false; in unregister()
243 if (!mConnected) { in assertPermission()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java123 private final Connected mConnected = new Connected(); field in HeadsetStateMachine
189 addState(mConnected); in HeadsetStateMachine()
346 || mPrevState == mConnected || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
351 result = mPrevState == mConnected in enforceValidConnectionStateTransition()
356 } else if (this == mConnected) { in enforceValidConnectionStateTransition()
363 result = mPrevState == mConnected; in enforceValidConnectionStateTransition()
371 || mPrevState == mConnected; in enforceValidConnectionStateTransition()
691 transitionTo(mConnected); in processConnectionEvent()
782 transitionTo(mConnected); in processConnectionEvent()
1166 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.java176 private final CompletableFuture<Void> mConnected = new CompletableFuture<>(); field in AoapServiceManager.AoapServiceConnection
207 mConnected.complete(null); in onServiceConnected()
276 return mConnected.thenCompose(x -> { in sendMessageForResult()
304 + ", mConnected=" + mConnected in toString()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java87 private Connected mConnected; field in A2dpStateMachine
110 mConnected = new Connected(); in A2dpStateMachine()
115 addState(mConnected); in A2dpStateMachine()
243 transitionTo(mConnected); in processConnectionEvent()
340 transitionTo(mConnected); in processConnectionEvent()
434 transitionTo(mConnected); in processConnectionEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java93 private State mConnected; field in PbapClientStateMachine
116 mConnected = new Connected(); in PbapClientStateMachine()
121 addState(mConnected); in PbapClientStateMachine()
183 transitionTo(mConnected); in processMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java131 private final Connected mConnected; field in HeadsetClientStateMachine
699 mConnected = new Connected(); in HeadsetClientStateMachine()
704 addState(mConnected); in HeadsetClientStateMachine()
705 addState(mAudioOn, mConnected); in HeadsetClientStateMachine()
816 } else if (mPrevState == mConnected || mPrevState == mAudioOn) { in enter()
1025 transitionTo(mConnected); in processConnectionEvent()
1637 transitionTo(mConnected); in processAudioEvent()
1672 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState()
1760 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
/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/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java451 private boolean mConnected; field in LivePreviewFragment.WallpaperConnection
470 mConnected = true; in connect()
480 mConnected = false; in disconnect()
528 if (mConnected) { in attachEngine()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java592 boolean mConnected; field in LiveWallpaperPreview.WallpaperConnection
606 mConnected = true; in connect()
613 mConnected = false; in disconnect()
658 if (mConnected) { in attachEngine()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java168 private boolean mConnected; field in WifiDetailPreferenceController
359 mConnected = mAccessPoint.isActive(); in WifiDetailPreferenceController()
547 if (mConnected != mAccessPoint.isActive()) { in updateAccessPoint()
548 mConnected = mAccessPoint.isActive(); in updateAccessPoint()

12