Home
last modified time | relevance | path

Searched refs:connected (Results 1 – 25 of 158) sorted by relevance

1234567

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiHotplugEvent.java41 public HdmiHotplugEvent(int port, boolean connected) { in HdmiHotplugEvent() argument
43 mConnected = connected; in HdmiHotplugEvent()
98 boolean connected = p.readByte() == 1;
99 return new HdmiHotplugEvent(port, connected);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSignalController.java126 if (mCurrentState.connected) { in getQsCurrentIconId()
139 if (mCurrentState.connected) { in getCurrentIconId()
153 if (mCurrentState.connected) { in getContentDescription()
258 boolean connected; field in SignalController.State
271 connected = state.connected; in copyFrom()
294 builder.append("connected=").append(connected).append(',') in toString()
311 return other.connected == connected in equals()
DWifiSignalController.java88 && (mCurrentState.connected || !mHasMobileData || visibleWhenEnabled); in notifyListeners()
96 IconState qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconId(), in notifyListeners()
109 mCurrentState.connected = mWifiTracker.connected; in handleBroadcast()
DEthernetSignalController.java45 mCurrentState.connected = connectedTransports.get(mTransportType); in updateConnectivity()
51 boolean ethernetVisible = mCurrentState.connected; in notifyListeners()
/frameworks/base/tests/UsbTests/res/raw/
Dreadme.txt2 USB-C to 3.5mm adapter, with different loads connected to the 3.5mm
9 - The descriptors when the jack is connected to 32-ohm headphones,
17 - The descriptors when the jack is connected to a PC line-in jack.
25 headphones are connected.
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaDevice.java201 boolean connected = isOutputJackConnected(); in updateWiredDeviceConnectionState()
202 Slog.i(TAG, "OUTPUT JACK connected: " + connected); in updateWiredDeviceConnectionState()
203 int outputState = (enable && connected) ? 1 : 0; in updateWiredDeviceConnectionState()
216 boolean connected = isInputJackConnected(); in updateWiredDeviceConnectionState()
217 Slog.i(TAG, "INPUT JACK connected: " + connected); in updateWiredDeviceConnectionState()
218 int inputState = (enable && connected) ? 1 : 0; in updateWiredDeviceConnectionState()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DRemoteContentCaptureService.java76 protected void handleOnConnectedStateChanged(boolean connected) { in handleOnConnectedStateChanged() argument
77 if (connected && getTimeoutIdleBindMillis() != PERMANENT_BOUND_TIMEOUT_MS) { in handleOnConnectedStateChanged()
81 if (connected) { in handleOnConnectedStateChanged()
97 Slog.w(mTag, "Exception calling onConnectedStateChanged(" + connected + "): " + e); in handleOnConnectedStateChanged()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/
DShadowCar.java87 public static void setIsConnected(boolean connected) { in setIsConnected() argument
88 sIsConnected = connected; in setIsConnected()
89 doReturn(connected).when(sMockCar).isConnected(); in setIsConnected()
/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java171 public void onHotplug(long timestampNanos, long physicalDisplayId, boolean connected) { in onHotplug() argument
209 private void dispatchHotplug(long timestampNanos, long physicalDisplayId, boolean connected) { in dispatchHotplug() argument
210 onHotplug(timestampNanos, physicalDisplayId, connected); in dispatchHotplug()
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_factory.cpp61 bool connected = socket_.IsValid(); in Connect() local
62 if (!connected) { in Connect()
79 while (!connected) { in Connect()
123 connected = true; in Connect()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java235 CastController.CastDevice connected = new CastController.CastDevice(); in testUpdateState_connectedAndConnecting() local
236 connected.state = CastDevice.STATE_CONNECTED; in testUpdateState_connectedAndConnecting()
237 connected.tag = mock(RouteInfo.class); in testUpdateState_connectedAndConnecting()
238 connected.name = "Test Casting Device"; in testUpdateState_connectedAndConnecting()
242 devices.add(connected); in testUpdateState_connectedAndConnecting()
249 assertTrue(mCastTile.getState().secondaryLabel.toString().startsWith(connected.name)); in testUpdateState_connectedAndConnecting()
/frameworks/base/services/core/java/com/android/server/deviceidle/
DBluetoothConstraint.java99 final boolean connected = isBluetoothConnected(mBluetoothManager); in updateAndReportActiveLocked()
100 if (connected != mConnected) { in updateAndReportActiveLocked()
101 mConnected = connected; in updateAndReportActiveLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java318 if (immediate || !connection.connected) { in unbind()
375 private boolean connected; field in CarrierServiceBindHelper.CarrierServiceConnection
380 connected = true; in onServiceConnected()
386 connected = false; in onServiceDisconnected()
392 connected = false; in onBindingDied()
398 connected = false; in onNullBinding()
403 return "CarrierServiceConnection[connected=" + connected + "]"; in toString()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp74 event.hotplug.connected ? "connected" : "disconnected"); in toString()
89 bool connected) { in makeHotplug() argument
92 event.hotplug.connected = connected; in makeHotplug()
298 void EventThread::onHotplugReceived(PhysicalDisplayId displayId, bool connected) { in onHotplugReceived() argument
301 mPendingEvents.push_back(makeHotplug(displayId, systemTime(), connected)); in onHotplugReceived()
325 if (event->hotplug.connected && !mVSyncState) { in threadMain()
327 } else if (!event->hotplug.connected && mVSyncState && in threadMain()
/frameworks/base/libs/storage/
DIMountServiceListener.cpp47 bool connected = (data.readInt32() != 0); in onTransact() local
48 onUsbMassStorageConnectionChanged(connected); in onTransact()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DRemoteAppPredictionService.java158 void onConnectedStateChanged(boolean connected); in onConnectedStateChanged() argument
162 protected void handleOnConnectedStateChanged(boolean connected) { in handleOnConnectedStateChanged() argument
164 mCallback.onConnectedStateChanged(connected); in handleOnConnectedStateChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerEthernetTest.java39 protected void setEthernetState(boolean connected, boolean validated) { in setEthernetState() argument
40 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_ETHERNET, validated, connected); in setEthernetState()
DNetworkControllerWifiTest.java193 protected void setWifiState(boolean connected, String ssid) { in setWifiState() argument
196 when(networkInfo.isConnected()).thenReturn(connected); in setWifiState()
217 protected void verifyLastQsWifiIcon(boolean enabled, boolean connected, int icon, in verifyLastQsWifiIcon() argument
228 assertEquals("WiFi connected, in quick settings", connected, iconState.visible); in verifyLastQsWifiIcon()
/frameworks/base/core/java/android/debug/
DPairDevice.java47 public PairDevice(@NonNull String name, @NonNull String guid, boolean connected) { in PairDevice() argument
52 mConnected = connected; in PairDevice()
/frameworks/hardware/interfaces/displayservice/1.0/
DIEventCallback.hal27 * @param connected Current state of hotplug.
29 oneway onHotplug(uint64_t timestamp, bool connected);
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingSecondaryUserActivity.java64 boolean connected = intent.getBooleanExtra(UsbManager.USB_CONNECTED, false); in onReceive()
65 if (!connected) { in onReceive()
/frameworks/base/tests/AccessoryDisplay/
DREADME12 to be connected using the USB accessory protocol. Think of it as
43 devices which are then connected using a USB OTG cable.
47 When connected, the applications should automatically launch
/frameworks/base/core/java/android/hardware/radio/
DTunerCallbackAdapter.java179 public void onAntennaState(boolean connected) { in onAntennaState() argument
180 mIsAntennaConnected = connected; in onAntennaState()
181 mHandler.post(() -> mCallback.onAntennaState(connected)); in onAntennaState()
/frameworks/base/native/android/
Dchoreographer.cpp73 void dispatchHotplug(nsecs_t timestamp, PhysicalDisplayId displayId, bool connected) override;
164 void Choreographer::dispatchHotplug(nsecs_t, PhysicalDisplayId displayId, bool connected) { in dispatchHotplug() argument
167 this, displayId, toString(connected)); in dispatchHotplug()
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp65 void dispatchHotplug(nsecs_t timestamp, PhysicalDisplayId displayId, bool connected) override;
109 bool connected) { in dispatchHotplug() argument
116 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, displayId, connected); in dispatchHotplug()

1234567