Home
last modified time | relevance | path

Searched refs:mConnected (Results 1 – 25 of 30) 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/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/apex/jobscheduler/service/java/com/android/server/deviceidle/
DBluetoothConstraint.java48 private volatile boolean mConnected = true; field in BluetoothConstraint
62 mConnected = true; in startMonitoring()
102 if (connected != mConnected) { in updateAndReportActiveLocked()
103 mConnected = connected; in updateAndReportActiveLocked()
105 mLocalService.onConstraintStateChanged(this, /* active= */ mConnected); in updateAndReportActiveLocked()
/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/services/core/java/com/android/server/tv/
DTvRemoteProviderProxy.java52 private boolean mConnected; field in TvRemoteProviderProxy
68 pw.println(prefix + " mConnected=" + mConnected); in dump()
99 if (mRunning && !mConnected) { in rebindIfDisconnected()
145 mConnected = true; in onServiceConnected()
162 mConnected = false; in onServiceDisconnected()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnection.java648 private boolean mConnected; field in RemoteConnection
672 mConnected = true; in RemoteConnection()
690 mConnected = true; in RemoteConnection()
732 mConnected = false; in RemoteConnection()
916 if (mConnected) { in abort()
932 if (mConnected) { in answer()
950 if (mConnected) { in answer()
966 if (mConnected) { in reject()
982 if (mConnected) { in hold()
998 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
89 pw.print(" mConnected="); pw.println(mConnected); in dump()
97 mConnected = true; in onConnected()
104 if (mConnected) { in onDestroy()
107 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()
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()
/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.java55 private boolean mConnected = false; field in OsuNetworkConnection
145 mConnected = false; in disconnectIfNeeded()
169 if (mConnected) { in connect()
256 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/av/services/oboeservice/
DAAudioServiceEndpoint.cpp66 result << " Connected: " << mConnected.load() << "\n"; in dump()
97 mConnected.store(false); in disconnectRegisteredStreams()
141 if (!mConnected.load()) { in matches()
DAAudioServiceEndpoint.h109 return mConnected; in isConnected()
153 std::atomic<bool> mConnected{true};
/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/base/services/core/java/com/android/server/dreams/
DDreamController.java79 if (mCurrentDream != null && mCurrentDream.mBound && !mCurrentDream.mConnected) {
270 public boolean mConnected; field in DreamController.DreamRecord
305 mConnected = true; in onServiceConnected()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java145 private final ArrayMap<String, Boolean> mConnected = new ArrayMap<>(); field in UsbPortManager
1022 if (!mConnected.containsKey(portInfo.mUsbPort.getId())) { in enableContaminantDetectionIfNeeded()
1026 if (mConnected.get(portInfo.mUsbPort.getId()) in enableContaminantDetectionIfNeeded()
1040 if (mConnected.containsKey(portInfo.mUsbPort.getId())) { in logToStatsd()
1042 if (mConnected.get(portInfo.mUsbPort.getId())) { in logToStatsd()
1048 mConnected.remove(portInfo.mUsbPort.getId()); in logToStatsd()
1065 if (!mConnected.containsKey(portInfo.mUsbPort.getId()) in logToStatsd()
1066 || (mConnected.get(portInfo.mUsbPort.getId()) in logToStatsd()
1068 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()
450 ConnectionRecord current = mConnected.get(deviceAddress); in usbDeviceRemoved()
DUsbDeviceManager.java476 protected boolean mConnected; field in UsbDeviceManager.UsbHandler
710 intent.putExtra(UsbManager.USB_CONNECTED, mConnected); in updateUsbStateBroadcastIfNeeded()
805 mConnected = (msg.arg1 == 1); in handleMessage()
817 if (!mConnected && !hasMessages(MSG_ACCESSORY_MODE_ENTER_TIMEOUT) in handleMessage()
930 if (!mConnected) { in handleMessage()
994 Slog.v(TAG, "Accessory mode enter timeout: " + mConnected); in handleMessage()
996 if (!mConnected || (mCurrentFunctions & UsbManager.FUNCTION_ACCESSORY) == 0) { in handleMessage()
1061 } else if (mConnected) { in updateUsbNotification()
1185 if (isAdbEnabled() && mConnected) { in updateAdbNotification()
1267 dump.write("connected", UsbHandlerProto.CONNECTED, mConnected); in dump()
[all …]
/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.java954 private volatile boolean mConnected = false; field in NetworkScoreService.ScoringServiceConnection
990 mConnected = false; in unbind()
1011 return mBound && mConnected; in isAlive()
1017 mConnected = true; in onServiceConnected()
1026 mConnected = false; in onServiceDisconnected()
1034 + ", 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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java116 private boolean mConnected = false; field in WifiMonitor
219 mConnected = false; in stopAllMonitoring()

12