Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaScannerConnection.java47 private boolean mConnected; // true if connect() has been called since last disconnect() field in MediaScannerConnection
114 if (!mConnected) { in connect()
120 mConnected = true; in connect()
130 if (mConnected) { in disconnect()
141 mConnected = false; in disconnect()
151 return (mService != null && mConnected); in isConnected()
165 if (mService == null || !mConnected) { in scanFile()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiHotplugEvent.java32 private final boolean mConnected; field in HdmiHotplugEvent
43 mConnected = connected; in HdmiHotplugEvent()
61 return mConnected; in isConnected()
83 dest.writeByte((byte) (mConnected ? 1 : 0)); in writeToParcel()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java57 private boolean mConnected; field in BluetoothMasObexClientSession.ClientThread
63 mConnected = false; in ClientThread()
72 if (mConnected) { in run()
120 mConnected = true; in connect()
139 mConnected = false; in disconnect()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnection.java578 private boolean mConnected; field in RemoteConnection
600 mConnected = true; in RemoteConnection()
611 mConnected = true; in RemoteConnection()
637 mConnected = false; in RemoteConnection()
810 if (mConnected) { in abort()
822 if (mConnected) { in answer()
836 if (mConnected) { in answer()
848 if (mConnected) { in reject()
860 if (mConnected) { in hold()
872 if (mConnected) { in unhold()
[all …]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DSourceActivity.java52 private boolean mConnected; field in SourceActivity
118 if (!mConnected) { in onAccessoryAttached()
125 if (mConnected && accessory.equals(mAccessory)) { in onAccessoryDetached()
137 if (mConnected) { in connect()
161 mConnected = true; in connect()
173 mConnected = false; in disconnect()
/frameworks/base/services/core/java/com/android/server/notification/
DCountdownConditionProvider.java53 private boolean mConnected; field in CountdownConditionProvider
88 pw.print(" mConnected="); pw.println(mConnected); in dump()
96 mConnected = true; in onConnected()
103 if (mConnected) { in onDestroy()
106 mConnected = false; in onDestroy()
DScheduleConditionProvider.java58 private boolean mConnected; field in ScheduleConditionProvider
79 pw.print(" mConnected="); pw.println(mConnected); in dump()
94 mConnected = true; in onConnected()
106 mConnected = false; in onDestroy()
DEventConditionProvider.java67 private boolean mConnected; field in EventConditionProvider
90 pw.print(" mConnected="); pw.println(mConnected); in dump()
126 mConnected = true; in onConnected()
133 mConnected = false; in onDestroy()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java74 private boolean mConnected; field in SinkActivity
147 if (!mConnected) { in onDeviceAttached()
154 if (mConnected && device.equals(mDevice)) { in onDeviceDetached()
160 if (mConnected) { in connect()
222 mConnected = true; in connect()
267 if (!mConnected) { in connect()
279 mConnected = false; in disconnect()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java128 protected boolean mConnected; field in PhotoViewFragment
262 mConnected = activeNetInfo.isConnected(); in onResume()
266 mConnected = false; in onResume()
598 mConnected = false; in onReceive()
601 if (mConnected == false && !isPhotoBound()) { in onReceive()
608 mConnected = true; in onReceive()
/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h81 mConnected(false), in MyTransmitter()
357 mConnected = true; in onMessageReceived()
573 if (!mConnected) { in onMessageReceived()
602 if (!mConnected) { in onMessageReceived()
612 if (!mConnected) { in onMessageReceived()
713 if (!mConnected) { in onMessageReceived()
786 mConnected = false; in onMessageReceived()
793 if (mConnected) { in onMessageReceived()
839 bool mConnected; in onMessageReceived() member
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java301 private boolean mConnected; field in UsbDeviceManager.UsbHandler
560 intent.putExtra(UsbManager.USB_CONNECTED, mConnected);
571 if (DEBUG) Slog.d(TAG, "broadcasting " + intent + " connected: " + mConnected
635 mConnected = (msg.arg1 == 1);
637 if (!mConnected) {
646 } else if (!mConnected) {
710 if (mConnected) {
771 if (mAdbEnabled && mConnected) {
823 pw.println(" mConnected: " + mConnected);
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamController.java75 if (mCurrentDream != null && mCurrentDream.mBound && !mCurrentDream.mConnected) {
283 public boolean mConnected; field in DreamController.DreamRecord
318 mConnected = true; in onServiceConnected()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java577 private boolean mConnected = false; field in WifiMonitor.WifiMonitorSingleton
590 Log.d(TAG, "startMonitoring(" + iface + ") with mConnected = " + mConnected); in startMonitoring()
592 if (mConnected) { in startMonitoring()
602 mConnected = true; in startMonitoring()
657 mConnected = false; in killSupplicant()
695 mConnected = false; in dispatchEvent()
727 mConnected = false; in dispatchEvent()
749 mWifiMonitorSingleton.mConnected); in run()
753 if (!mWifiMonitorSingleton.mConnected) { in run()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java222 private final CountDownLatch mConnected = new CountDownLatch(1); field in NsdManager
308 mConnected.countDown(); in handleMessage()
445 mConnected.await(); in init()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java66 private final AtomicBoolean mConnected = new AtomicBoolean(false); field in WifiTracker
241 return mConnected.get(); in isConnected()
512 mConnected.set(info.isConnected());
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java529 if (bindGroup.mSpellChecker == null & bindGroup.mConnected) { in getSpellCheckerService()
796 pw.print(" mConnected="); pw.println(grp.mConnected); in dump()
825 public boolean mConnected; field in TextServicesManagerService.SpellCheckerBindGroup
832 mConnected = false; in SpellCheckerBindGroup()
859 mConnected = true; in onServiceConnected()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth-le.jd488 mConnected = true;
492 mConnected = false;