Home
last modified time | relevance | path

Searched refs:isConnected (Results 1 – 25 of 48) 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/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/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/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/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()
/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()
DMediaScannerConnectionTest.java74 assertFalse(mMediaScannerConnection.isConnected()); in testMediaScannerConnection()
115 return mMediaScannerConnection.isConnected() == expected; in checkConnectionState()
DIConnectionStatus.java30 public boolean isConnected(); in isConnected() method
DMediaBrowserTest.java60 assertEquals(false, mMediaBrowser.isConnected()); in testMediaBrowser()
63 assertEquals(true, mMediaBrowser.isConnected()); in testMediaBrowser()
76 return !mMediaBrowser.isConnected(); in testMediaBrowser()
DMediaScannerTest.java124 assertFalse(mMediaScannerConnection.isConnected()); in testLocalizeRingtoneTitles()
170 assertFalse(mMediaScannerConnection.isConnected()); in testMediaScanner()
288 assertFalse(mMediaScannerConnection.isConnected()); in testWildcardPaths()
362 assertFalse(mMediaScannerConnection.isConnected()); in testCanonicalize()
647 return mMediaScannerConnection.isConnected() == expected; in checkConnectionState()
/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
DConditionProviderVerifierActivity.java173 if (MockConditionProvider.getInstance().isConnected() in test()
210 !MockConditionProvider.getInstance().isConnected()) { in test()
240 if (MockConditionProvider.getInstance().isConnected() in test()
792 !MockConditionProvider.getInstance().isConnected()) { in test()
/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/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