Home
last modified time | relevance | path

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

12

/cts/tests/app/app/src/android/app/stubs/
DTestTileService.java33 AtomicBoolean isConnected = new AtomicBoolean(false); field in TestTileService
56 public static boolean isConnected() { in isConnected() method in TestTileService
57 return sTestTileService != null && sTestTileService.isConnected.get(); in isConnected()
90 isConnected.set(true); in onTileAdded()
97 isConnected.set(false); in onTileRemoved()
DTestNotificationListener.java36 boolean isConnected; field in TestNotificationListener
58 isConnected = true; in onListenerConnected()
63 isConnected = false; in onListenerDisconnected()
/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.java36 boolean isConnected; field in TestNotificationListener
58 isConnected = true; in onListenerConnected()
63 isConnected = false; in onListenerDisconnected()
/cts/tests/tests/car/src/android/car/cts/
DCarTest.java64 assertFalse(mCar.isConnected()); in testConnection()
68 assertTrue(mServiceConnectionListener.isConnected()); in testConnection()
71 assertFalse(mCar.isConnected()); in testConnection()
80 public synchronized boolean isConnected() { in isConnected() method in CarTest.DefaultServiceConnectionListener
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DTestNotificationAssistant.java33 boolean isConnected; field in TestNotificationAssistant
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/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/media/src/android/media/cts/
DConnectionStatus.java60 public boolean isConnected() { in isConnected() method in ConnectionStatus
62 return (networkInfo != null) && networkInfo.isConnected(); in isConnected()
DIConnectionStatus.java30 public boolean isConnected(); in isConnected() method
DMediaScannerConnectionTest.java73 assertFalse(mMediaScannerConnection.isConnected()); in testMediaScannerConnection()
114 return mMediaScannerConnection.isConnected() == expected; in checkConnectionState()
/cts/tests/tests/net/src/android/net/cts/
DLocalSocketTest.java50 assertFalse(clientSocket.isConnected()); in testLocalConnections()
52 assertTrue(clientSocket.isConnected()); in testLocalConnections()
55 assertTrue(serverSocket.isConnected()); in testLocalConnections()
304 assertTrue(clientSocketCreatedFromFileDescriptor.isConnected()); in testLocalSocketCreatedFromFileDescriptor()
453 assertTrue(clientSocket.isConnected()); in createConnectedSocketPair()
DLocalServerSocketTest.java41 assertTrue(serverSocket.isConnected()); in testLocalServerSocket()
DNetworkInfoTest.java60 assertTrue(netInfo.isConnected()); in assertNetworkInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java65 boolean isConnected; field in MockListener
96 isConnected = true; in onListenerConnected()
101 isConnected = false; in onListenerDisconnected()
DMockConditionProvider.java61 public boolean isConnected() { in isConnected() method in MockConditionProvider
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DConnectivityUtils.java32 return (networkInfo != null) && networkInfo.isConnected(); in isNetworkConnected()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DConnectivityUtils.java32 return (networkInfo != null) && networkInfo.isConnected(); in isNetworkConnected()
/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/tests/app/src/android/app/cts/
DTileServiceTest.java250 while (TestTileService.isConnected() != state && (ct++ < CHECK_RETRIES)) { in waitForConnected()
253 assertEquals(state, TestTileService.isConnected()); in waitForConnected()
/cts/tests/tests/location/src/android/location/cts/
DTestUtils.java92 && info.isConnected() in isConnectedToWifiOrCellular()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DBaseTestCase.java56 if (mTestUtils.isConnected(null, null)) { in setUp()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java249 return ni != null && ni.isConnected(); in isWifiConnected()
281 ni != null && ni.isConnected(); in testRequestRouteToHost()

12