Home
last modified time | relevance | path

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

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DConnectivityState.kt27 @JvmField var connected = false variable in com.android.systemui.statusbar.connectivity.ConnectivityState
64 connected, in tableData()
78 connected = other.connected in copyFrom()
90 builder.append("connected=$connected,") in toString()
106 return o.connected == connected && in equals()
117 var result = connected.hashCode() in hashCode()
DEthernetSignalController.java45 mCurrentState.connected = connectedTransports.get(mTransportType); in updateConnectivity()
51 boolean ethernetVisible = mCurrentState.connected; in notifyListeners()
60 if (mCurrentState.connected) { in getContentDescription()
DWifiSignalController.java104 (mCurrentState.connected && mCurrentState.inetCondition == 1) in notifyListenersForNonCarrierWifi()
107 String wifiDesc = mCurrentState.connected ? mCurrentState.ssid : null; in notifyListenersForNonCarrierWifi()
118 qsIcon = new IconState(mCurrentState.connected, in notifyListenersForNonCarrierWifi()
141 boolean sbVisible = mCurrentState.enabled && mCurrentState.connected in notifyListenersForCarrierWifi()
150 qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconIdForCarrierWifi(), in notifyListenersForCarrierWifi()
173 if (mCurrentState.connected) { in getCurrentIconIdForCarrierWifi()
231 mCurrentState.connected = mWifiTracker.connected; in copyWifiStates()
/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/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/smartspace/java/com/android/server/smartspace/
DRemoteSmartspaceService.java103 void onConnectedStateChanged(boolean connected); in onConnectedStateChanged() argument
107 protected void handleOnConnectedStateChanged(boolean connected) { in handleOnConnectedStateChanged() argument
109 mCallback.onConnectedStateChanged(connected); in handleOnConnectedStateChanged()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DRemoteSearchUiService.java103 void onConnectedStateChanged(boolean connected); in onConnectedStateChanged() argument
107 protected void handleOnConnectedStateChanged(boolean connected) { in handleOnConnectedStateChanged() argument
109 mCallback.onConnectedStateChanged(connected); in handleOnConnectedStateChanged()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DRemoteAppPredictionService.java103 void onConnectedStateChanged(boolean connected); in onConnectedStateChanged() argument
107 protected void handleOnConnectedStateChanged(boolean connected) { in handleOnConnectedStateChanged() argument
109 mCallback.onConnectedStateChanged(connected); in handleOnConnectedStateChanged()
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DRemoteWallpaperEffectsGenerationService.java106 void onConnectedStateChanged(boolean connected); in onConnectedStateChanged() argument
110 protected void handleOnConnectedStateChanged(boolean connected) { in handleOnConnectedStateChanged() argument
112 mCallback.onConnectedStateChanged(connected); 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/services/translation/java/com/android/server/translation/
DRemoteTranslationService.java70 boolean connected) { in onServiceConnectionStatusChanged() argument
72 if (connected) { in onServiceConnectionStatusChanged()
79 "Exception calling onServiceConnectionStatusChanged(" + connected + "): ", e); in onServiceConnectionStatusChanged()
/frameworks/base/services/core/jni/gnss/
DAGnssRil.cpp76 jboolean AGnssRil::updateNetworkState(jboolean connected, jint type, jboolean roaming, in updateNetworkState() argument
83 networkAttributes.isConnected = static_cast<bool>(connected), in updateNetworkState()
150 jboolean AGnssRil_V1_0::updateNetworkState(jboolean connected, jint type, jboolean roaming, in updateNetworkState() argument
163 result = mAGnssRil_V1_0->updateNetworkState(connected, in updateNetworkState()
181 jboolean AGnssRil_V2_0::updateNetworkState(jboolean connected, jint type, jboolean roaming, in updateNetworkState() argument
188 .isConnected = static_cast<bool>(connected), in updateNetworkState()
DAGnssRil.h43 virtual jboolean updateNetworkState(jboolean connected, jint type, jboolean roaming,
57 jboolean updateNetworkState(jboolean connected, jint type, jboolean roaming, jboolean available,
74 jboolean updateNetworkState(jboolean connected, jint type, jboolean roaming, jboolean available,
86 jboolean updateNetworkState(jboolean connected, jint type, jboolean roaming, jboolean available,
/frameworks/base/apex/jobscheduler/service/java/com/android/server/deviceidle/
DBluetoothConstraint.java101 final boolean connected = isBluetoothConnected(mBluetoothManager); in updateAndReportActiveLocked()
102 if (connected != mConnected) { in updateAndReportActiveLocked()
103 mConnected = connected; in updateAndReportActiveLocked()
/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/services/contentcapture/java/com/android/server/contentcapture/
DRemoteContentCaptureService.java82 protected void handleOnConnectedStateChanged(boolean connected) { in handleOnConnectedStateChanged() argument
83 if (connected && getTimeoutIdleBindMillis() != PERMANENT_BOUND_TIMEOUT_MS) { in handleOnConnectedStateChanged()
87 if (connected) { in handleOnConnectedStateChanged()
112 Slog.w(mTag, "Exception calling onConnectedStateChanged(" + connected + "): " + e); in handleOnConnectedStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/domain/interactor/
DKeyboardBacklightInteractor.kt40 keyboardRepository.isAnyKeyboardConnected.flatMapLatest { connected -> in <lambda>() method
41 if (connected) keyboardRepository.backlight else flowOf(null) in <lambda>()
/frameworks/proto_logging/stats/express/catalog/
Dspeech_recognition.cfg3 display_name: "Refused session creations due to exceeding connected services"
4 description: "Counting how many sessions were dropped due to too many connected services"
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyboard/data/repository/
DFakeKeyboardRepository.kt42 fun setIsAnyKeyboardConnected(connected: Boolean) { in setIsAnyKeyboardConnected()
43 _isAnyKeyboardConnected.value = connected in setIsAnyKeyboardConnected()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DFakeNativeWrapper.java158 public void setPortConnectionStatus(int port, boolean connected) { in setPortConnectionStatus() argument
159 mPortConnectionStatus.put(port, connected); in setPortConnectionStatus()
189 public void onHotplugEvent(int port, boolean connected) { in onHotplugEvent() argument
194 mCallback.onHotplugEvent(port, connected); in onHotplugEvent()
/frameworks/base/libs/storage/
DIMountServiceListener.cpp47 bool connected = (data.readInt32() != 0); in onTransact() local
48 onUsbMassStorageConnectionChanged(connected); in onTransact()
/frameworks/base/nfc/java/android/nfc/
DNfcOemExtension.java61 void onTagConnected(boolean connected, @NonNull Tag tag); in onTagConnected() argument
174 public void onTagConnected(boolean connected, Tag tag) throws RemoteException { in onTagConnected() argument
181 mExecutor.execute(() -> mCallback.onTagConnected(connected, tag)); in onTagConnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerWifiTest.java249 assertTrue(mNetworkController.mWifiSignalController.mCurrentState.connected); in testFetchInitialData_correctValues()
387 protected void setWifiState(boolean connected, String ssid) { in setWifiState() argument
390 NetworkCapabilities.TRANSPORT_WIFI, false, connected, mWifiInfo); in setWifiState()
411 protected void setWifiStateForVcn(boolean connected, String ssid) { in setWifiStateForVcn() argument
418 NetworkCapabilities.TRANSPORT_CELLULAR, false, connected, mVcnTransportInfo); in setWifiStateForVcn()
432 protected void verifyLastQsWifiIcon(boolean enabled, boolean connected, int icon, in verifyLastQsWifiIcon() argument
442 if (enabled && connected) { in verifyLastQsWifiIcon()
443 assertEquals("WiFi connected, in quick settings", connected, expected.qsIcon.visible); in verifyLastQsWifiIcon()
DNetworkControllerEthernetTest.java54 protected void setEthernetState(boolean connected, boolean validated) { in setEthernetState() argument
56 NetworkCapabilities.TRANSPORT_ETHERNET, validated, connected, null); in setEthernetState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java375 if (immediate || !connection.connected) { in unbind()
427 private boolean connected; field in CarrierServiceBindHelper.CarrierServiceConnection
432 connected = true; in onServiceConnected()
438 connected = false; in onServiceDisconnected()
444 connected = false; in onBindingDied()
450 connected = false; in onNullBinding()
455 return "CarrierServiceConnection[connected=" + connected + "]"; in toString()

123456789