Home
last modified time | relevance | path

Searched refs:isConnected (Results 1 – 25 of 54) sorted by relevance

123

/cts/tests/app/app/src/android/app/stubs/
DTestTileService.java31 AtomicBoolean isConnected = new AtomicBoolean(false); field in TestTileService
58 public static boolean isConnected() { in isConnected() method in TestTileService
59 return getInstance() != null && getInstance().isConnected.get(); in isConnected()
92 isConnected.set(true); in onTileAdded()
99 isConnected.set(false); in onTileRemoved()
DTestNotificationListener.java49 boolean isConnected; field in TestNotificationListener
72 isConnected = true; in onListenerConnected()
79 isConnected = false; in onListenerDisconnected()
DToggleableTestTileService.java29 public static boolean isConnected() { in isConnected() method in ToggleableTestTileService
30 return getInstance() != null && getInstance().isConnected.get(); in isConnected()
/cts/tests/app/NotificationListener/src/com/android/test/notificationlistener/
DTestNotificationListener.kt22 var isConnected = false variable
27 isConnected = true in onListenerConnected()
32 isConnected = false in onListenerDisconnected()
DNotificationUriAccessService.kt40 val isConnected = listener?.isConnected ?: false in ensureNotificationListenerServiceConnected() constant
41 check(isConnected == ensureConnected) { in ensureNotificationListenerServiceConnected()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DPollableConditionProviderService.java26 boolean isConnected; field in PollableConditionProviderService
33 isConnected = true; in onConnected()
39 isConnected = false; in onDestroy()
DSecondaryNotificationListener.java35 boolean isConnected; field in SecondaryNotificationListener
57 isConnected = true; in onListenerConnected()
62 isConnected = false; in onListenerDisconnected()
DTestNotificationListener.java38 boolean isConnected; field in TestNotificationListener
60 isConnected = true; in onListenerConnected()
65 isConnected = false; in onListenerDisconnected()
/cts/tests/tests/car/src/android/car/cts/
DCarTest.java63 if (mCar != null && mCar.isConnected()) { in tearDown()
72 assertThat(mCar.isConnected()).isFalse(); in testConnection()
76 assertThat(mServiceConnectionListener.isConnected()).isTrue(); in testConnection()
79 assertThat(mCar.isConnected()).isFalse(); in testConnection()
123 assertThat(car.isConnected()).isTrue(); in assertConnectedCar()
169 public synchronized boolean isConnected() { in isConnected() method in CarTest.DefaultServiceConnectionListener
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DTestNotificationListener.java36 boolean isConnected; field in TestNotificationListener
58 isConnected = true; in onListenerConnected()
63 isConnected = false; in onListenerDisconnected()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DTestNotificationListener.java38 boolean isConnected; field in TestNotificationListener
67 isConnected = true; in onListenerConnected()
72 isConnected = false; in onListenerDisconnected()
DTestNotificationAssistant.java34 boolean isConnected; field in TestNotificationAssistant
67 isConnected = true; in onListenerConnected()
72 isConnected = false; in onListenerDisconnected()
/cts/tests/tests/media/src/android/media/cts/
DIConnectionStatus.java30 public boolean isConnected(); in isConnected() method
DConnectionStatus.java60 public boolean isConnected() { in isConnected() method in ConnectionStatus
62 return (networkInfo != null) && networkInfo.isConnected(); in isConnected()
DMediaScannerConnectionTest.java74 assertFalse(mMediaScannerConnection.isConnected()); in testMediaScannerConnection()
112 return mMediaScannerConnection.isConnected() == expected; in checkConnectionState()
/cts/tests/app/src/android/app/cts/
DBooleanTileServiceTest.java126 while (ToggleableTestTileService.isConnected() != state && (ct++ < CHECK_RETRIES)) { in waitForConnected()
129 assertEquals(state, ToggleableTestTileService.isConnected()); in waitForConnected()
DTileServiceTest.java176 while (TestTileService.isConnected() != state && (ct++ < CHECK_RETRIES)) { in waitForConnected()
179 assertEquals(state, TestTileService.isConnected()); in waitForConnected()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DConnectivityUtils.java32 return (networkInfo != null) && networkInfo.isConnected(); in isNetworkConnected()
DDisplayUtil.java55 if (event.isConnected()) { in isDisplayConnected()
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
DWifiHelper.java37 return wifiNetworkInfo.isConnected(); in isWifiConnected()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTestA11yService.java66 public boolean isConnected() { in isConnected() method in UiAutomationTestA11yService
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java65 boolean isConnected; field in MockListener
105 isConnected = true; in onListenerConnected()
110 isConnected = false; in onListenerDisconnected()
DMockConditionProvider.java61 public boolean isConnected() { in isConnected() method in MockConditionProvider
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPassthroughTestHelper.java75 if (!s.isConnected()) { in createHttpConnectConnection()
/cts/tests/location/common/src/android/location/cts/common/
DTestUtils.java92 && info.isConnected() in isConnectedToWifiOrCellular()

123