Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/debug/
DPairDevice.java45 private final boolean mConnected; field in PairDevice
52 mConnected = connected; in PairDevice()
75 return mConnected; in isConnected()
82 dest.writeBoolean(mConnected); in writeToParcel()
90 return "\n" + mName + "\n" + mGuid + "\n" + mConnected; in toString()
/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/base/services/core/java/com/android/server/deviceidle/
DBluetoothConstraint.java46 private volatile boolean mConnected = true; field in BluetoothConstraint
60 mConnected = true; in startMonitoring()
100 if (connected != mConnected) { in updateAndReportActiveLocked()
101 mConnected = connected; in updateAndReportActiveLocked()
103 mLocalService.onConstraintStateChanged(this, /* active= */ mConnected); in updateAndReportActiveLocked()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnection.java645 private boolean mConnected; field in RemoteConnection
668 mConnected = true; in RemoteConnection()
679 mConnected = true; in RemoteConnection()
720 mConnected = false; in RemoteConnection()
903 if (mConnected) { in abort()
915 if (mConnected) { in answer()
929 if (mConnected) { in answer()
941 if (mConnected) { in reject()
953 if (mConnected) { in hold()
965 if (mConnected) { in unhold()
[all …]
/frameworks/av/media/libaaudio/src/flowgraph/
DAudioProcessorBase.cpp64 return (mConnected == NULL) in pullData()
66 : mConnected->pullData(framePosition, numFrames); in pullData()
70 if (mConnected == NULL) { in getBlock()
73 return mConnected->getBlock(); in getBlock()
DAudioProcessorBase.h218 mConnected = port; in connect()
222 assert(mConnected == port); in disconnect()
224 mConnected = nullptr; in disconnect()
228 mConnected = nullptr; in disconnect()
232 AudioFloatOutputPort *mConnected = nullptr;
/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
89 pw.print(" mConnected="); pw.println(mConnected); in dump()
97 mConnected = true; in onConnected()
104 if (mConnected) { in onDestroy()
107 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.java71 private boolean mConnected; field in EventConditionProvider
96 pw.print(" mConnected="); pw.println(mConnected); in dump()
134 mConnected = true; in onConnected()
141 mConnected = false; in onDestroy()
/frameworks/av/services/oboeservice/
DAAudioServiceEndpoint.cpp65 result << " Connected: " << mConnected.load() << "\n"; in dump()
91 mConnected.store(false); in disconnectRegisteredStreams()
116 if (!mConnected.load()) { in matches()
DAAudioServiceEndpoint.h108 return mConnected; in isConnected()
132 std::atomic<bool> mConnected{true};
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java40 private boolean mConnected; field in NotificationListenerWithPlugins
75 mConnected = true; in onPluginConnected()
114 if (mConnected) { in onPluginConnected()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java54 private boolean mConnected = false; field in OsuNetworkConnection
144 mConnected = false; in disconnectIfNeeded()
168 if (mConnected) { in connect()
252 mConnected = true; in onAvailable()
/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/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/usb/java/com/android/server/usb/
DUsbPortManager.java144 private final ArrayMap<String, Boolean> mConnected = new ArrayMap<>(); field in UsbPortManager
1021 if (!mConnected.containsKey(portInfo.mUsbPort.getId())) { in enableContaminantDetectionIfNeeded()
1025 if (mConnected.get(portInfo.mUsbPort.getId()) in enableContaminantDetectionIfNeeded()
1039 if (mConnected.containsKey(portInfo.mUsbPort.getId())) { in logToStatsd()
1041 if (mConnected.get(portInfo.mUsbPort.getId())) { in logToStatsd()
1046 mConnected.remove(portInfo.mUsbPort.getId()); in logToStatsd()
1063 if (!mConnected.containsKey(portInfo.mUsbPort.getId()) in logToStatsd()
1064 || (mConnected.get(portInfo.mUsbPort.getId()) in logToStatsd()
1066 mConnected.put(portInfo.mUsbPort.getId(), portInfo.mUsbPortStatus.isConnected()); in logToStatsd()
DUsbHostManager.java91 private final ArrayMap<String, ConnectionRecord> mConnected = new ArrayMap<>(); field in UsbHostManager
307 mConnected.put(deviceAddress, rec); in addConnectionRecord()
309 mConnected.remove(deviceAddress); in addConnectionRecord()
449 ConnectionRecord current = mConnected.get(deviceAddress); in usbDeviceRemoved()
DUsbDeviceManager.java447 private boolean mConnected; field in UsbDeviceManager.UsbHandler
708 intent.putExtra(UsbManager.USB_CONNECTED, mConnected); in updateUsbStateBroadcastIfNeeded()
803 mConnected = (msg.arg1 == 1); in handleMessage()
815 if (!mConnected && !hasMessages(MSG_ACCESSORY_MODE_ENTER_TIMEOUT) in handleMessage()
928 if (!mConnected) { in handleMessage()
992 Slog.v(TAG, "Accessory mode enter timeout: " + mConnected); in handleMessage()
994 if (!mConnected || (mCurrentFunctions & UsbManager.FUNCTION_ACCESSORY) == 0) { in handleMessage()
1059 } else if (mConnected) { in updateUsbNotification()
1184 if (isAdbEnabled() && mConnected) { in updateAdbNotification()
1293 dump.write("connected", UsbHandlerProto.CONNECTED, mConnected); in dump()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java258 private final CountDownLatch mConnected = new CountDownLatch(1); field in NsdManager
355 mConnected.countDown(); in handleMessage()
490 mConnected.await(); in init()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java964 private volatile boolean mConnected = false; field in NetworkScoreService.ScoringServiceConnection
1000 mConnected = false; in unbind()
1021 return mBound && mConnected; in isAlive()
1027 mConnected = true; in onServiceConnected()
1036 mConnected = false; in onServiceDisconnected()
1044 + ", connected: " + mConnected); in dump()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMonitor.java84 private boolean mConnected = false; field in WifiP2pMonitor
173 mConnected = false; in stopAllMonitoring()

12