Home
last modified time | relevance | path

Searched refs:mConnected (Results 1 – 20 of 20) 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.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.java602 private boolean mConnected; field in RemoteConnection
625 mConnected = true; in RemoteConnection()
636 mConnected = true; in RemoteConnection()
663 mConnected = false; in RemoteConnection()
847 if (mConnected) { in abort()
859 if (mConnected) { in answer()
873 if (mConnected) { in answer()
885 if (mConnected) { in reject()
897 if (mConnected) { in hold()
909 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.java61 private boolean mConnected; field in ScheduleConditionProvider
82 pw.print(" mConnected="); pw.println(mConnected); in dump()
99 mConnected = true; in onConnected()
111 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/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.java320 private boolean mConnected; field in UsbDeviceManager.UsbHandler
612 intent.putExtra(UsbManager.USB_CONNECTED, mConnected);
700 mConnected = (msg.arg1 == 1);
702 if (!mConnected) {
711 } else if (!mConnected) {
786 if (mConnected) {
855 if (mAdbEnabled && mConnected) {
907 pw.println(" mConnected: " + mConnected);
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamController.java76 if (mCurrentDream != null && mCurrentDream.mBound && !mCurrentDream.mConnected) {
284 public boolean mConnected; field in DreamController.DreamRecord
319 mConnected = true; in onServiceConnected()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java452 private boolean mConnected = false; field in NetworkScoreService.ScoringServiceConnection
488 mConnected = true; in onServiceConnected()
496 mConnected = false; in onServiceDisconnected()
501 + ", connected: " + mConnected); in dump()
DTextServicesManagerService.java561 if (bindGroup.mSpellChecker == null & bindGroup.mConnected) { in getSpellCheckerService()
814 pw.println(" " + "mBound=" + grp.mBound + " mConnected=" + grp.mConnected); in dump()
842 public boolean mConnected; field in TextServicesManagerService.SpellCheckerBindGroup
849 mConnected = false; in SpellCheckerBindGroup()
876 mConnected = true; in onServiceConnected()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java548 private boolean mConnected = false; field in WifiMonitor
588 if (mConnected) { in ensureConnectedLocked()
596 mConnected = true; in ensureConnectedLocked()
612 Log.d(TAG, "startMonitoring(" + iface + ") with mConnected = " + mConnected); in startMonitoring()
648 mConnected = false; in killSupplicant()
734 Log.d(TAG, "MonitorThread start with mConnected=" + mConnected); in run()
738 if (!mConnected) { in run()
787 mConnected = false; in dispatchEvent()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java671 private CountDownLatch mConnected; field in WifiManager
1868 mConnected.countDown();
1979 mConnected = new CountDownLatch(1);
1984 mConnected.await();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java73 private final AtomicBoolean mConnected = new AtomicBoolean(false); field in WifiTracker
259 return mConnected.get(); in isConnected()
533 mConnected.set(info.isConnected());
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth-le.jd488 mConnected = true;
492 mConnected = false;