Home
last modified time | relevance | path

Searched refs:mConnected (Results 1 – 21 of 21) 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()
145 mConnected = false; in disconnect()
155 return (mService != null && mConnected); in isConnected()
169 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.java61 private boolean mConnected; field in BluetoothMasObexClientSession
102 if (mConnected) { in start()
121 Log.e(TAG, "Adding messages failed, state: " + mConnected); in makeRequest()
144 mConnected = true; in connect()
167 mConnected = false; in disconnect()
185 return mConnected; in connected()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnection.java644 private boolean mConnected; field in RemoteConnection
667 mConnected = true; in RemoteConnection()
678 mConnected = true; in RemoteConnection()
719 mConnected = false; in RemoteConnection()
902 if (mConnected) { in abort()
914 if (mConnected) { in answer()
928 if (mConnected) { in answer()
940 if (mConnected) { in reject()
952 if (mConnected) { in hold()
964 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.java71 private boolean mConnected; field in ScheduleConditionProvider
92 pw.print(" mConnected="); pw.println(mConnected); in dump()
112 mConnected = true; in onConnected()
125 mConnected = false; in onDestroy()
DEventConditionProvider.java72 private boolean mConnected; field in EventConditionProvider
97 pw.print(" mConnected="); pw.println(mConnected); in dump()
135 mConnected = true; in onConnected()
142 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/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java53 private boolean mConnected; field in ConnectivityController
79 mConnected = mValidated = false; in ConnectivityController()
129 mConnected = connected; in updateConstraintsSatisfied()
236 pw.print(mConnected); in dumpControllerStateLocked()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMonitor.java84 private boolean mConnected = false; field in WifiP2pMonitor
151 if (mConnected) { in ensureConnectedLocked()
157 mConnected = mWifiInjector.getWifiP2pNative().connectToSupplicant(); in ensureConnectedLocked()
158 if (mConnected) { in ensureConnectedLocked()
210 mConnected = false; in stopAllMonitoring()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java109 private boolean mConnected = false; field in WifiMonitor
172 if (mConnected) { in ensureConnectedLocked()
178 mConnected = mWifiInjector.getWifiNative().connectToSupplicant(); in ensureConnectedLocked()
179 if (mConnected) { in ensureConnectedLocked()
231 mConnected = false; in stopAllMonitoring()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java129 protected boolean mConnected; field in PhotoViewFragment
265 mConnected = activeNetInfo.isConnected(); in onResume()
269 mConnected = false; in onResume()
591 mConnected = false; in onReceive()
594 if (mConnected == false && !isPhotoBound()) { in onReceive()
601 mConnected = true; in onReceive()
/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h82 mConnected(false), in MyTransmitter()
360 mConnected = true; in onMessageReceived()
576 if (!mConnected) { in onMessageReceived()
605 if (!mConnected) { in onMessageReceived()
615 if (!mConnected) { in onMessageReceived()
716 if (!mConnected) { in onMessageReceived()
789 mConnected = false; in onMessageReceived()
796 if (mConnected) { in onMessageReceived()
842 bool mConnected; in onMessageReceived() member
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java368 private boolean mConnected; field in UsbDeviceManager.UsbHandler
749 intent.putExtra(UsbManager.USB_CONNECTED, mConnected); in updateUsbStateBroadcastIfNeeded()
840 mConnected = (msg.arg1 == 1); in handleMessage()
853 if (!mConnected) { in handleMessage()
933 Slog.v(TAG, "Accessory mode enter timeout: " + mConnected); in handleMessage()
935 if (!mConnected) { in handleMessage()
960 if (mConnected) { in updateUsbNotification()
1043 if (mAdbEnabled && mConnected) { in updateAdbNotification()
1099 pw.println(" mConnected: " + mConnected); in dump()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamController.java82 if (mCurrentDream != null && mCurrentDream.mBound && !mCurrentDream.mConnected) {
293 public boolean mConnected; field in DreamController.DreamRecord
333 mConnected = true; in onServiceConnected()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java914 private volatile boolean mConnected = false; field in NetworkScoreService.ScoringServiceConnection
950 mConnected = false; in unbind()
971 return mBound && mConnected; in isAlive()
977 mConnected = true; in onServiceConnected()
986 mConnected = false; in onServiceDisconnected()
994 + ", connected: " + mConnected); in dump()
DTextServicesManagerService.java781 pw.println(" " + "mConnected=" + grp.mConnected); in dump()
846 private boolean mConnected; field in TextServicesManagerService.SpellCheckerBindGroup
861 mConnected = true; in onServiceConnected()
946 if (!mConnected) { in getISpellCheckerSessionOrQueueLocked()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java254 private final CountDownLatch mConnected = new CountDownLatch(1); field in NsdManager
341 mConnected.countDown(); in handleMessage()
477 mConnected.await(); in init()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java904 private CountDownLatch mConnected; field in WifiManager
2649 mConnected.countDown();
2760 mConnected = new CountDownLatch(1);
2765 mConnected.await();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java88 private final AtomicBoolean mConnected = new AtomicBoolean(false); field in WifiTracker
395 return mConnected.get(); in isConnected()
736 mConnected.set(info.isConnected());