/cts/tests/tests/notification/NotificationListener/src/com/android/test/notificationlistener/ |
D | TestNotificationListenerNoAutobind.kt | 23 var isConnected = false variable 28 isConnected = true in onListenerConnected() 33 isConnected = false in onListenerDisconnected()
|
D | TestNotificationListener.kt | 22 var isConnected = false variable in com.android.test.notificationlistener.TestNotificationListener 27 isConnected = true in onListenerConnected() 32 isConnected = false in onListenerDisconnected()
|
D | NotificationUriAccessService.kt | 40 val isConnected = listener?.isConnected ?: false in ensureNotificationListenerServiceConnected() constant 41 check(isConnected == ensureConnected) { in ensureNotificationListenerServiceConnected()
|
D | NLSControlService.kt | 41 return listener?.isConnected ?: false in isNotificationListenerConnected()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | PollableConditionProviderService.java | 26 boolean isConnected; field in PollableConditionProviderService 33 isConnected = true; in onConnected() 39 isConnected = false; in onDestroy()
|
D | SecondaryNotificationListener.java | 35 boolean isConnected; field in SecondaryNotificationListener 57 isConnected = true; in onListenerConnected() 62 isConnected = false; in onListenerDisconnected()
|
/cts/common/device-side/bedstead/modules/usb/src/test/kotlin/com/android/bedstead/usb/ |
D | UsbTest.kt | 32 assertThat(TestApis.usb().isConnected()).isTrue() in isConnected_isConnected_returnsTrue() 39 assertThat(TestApis.usb().isConnected()).isFalse() in isConnected_isNotConnected_returnsFalse()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarTest.java | 65 if (mCar != null && mCar.isConnected()) { in tearDown() 77 assertThat(mCar.isConnected()).isFalse(); in testConnection() 81 assertThat(mServiceConnectionListener.isConnected()).isTrue(); in testConnection() 84 assertThat(mCar.isConnected()).isFalse(); in testConnection() 224 assertThat(car.isConnected()).isTrue(); in assertConnectedCar() 270 public synchronized boolean isConnected() { in isConnected() method in CarTest.DefaultServiceConnectionListener
|
/cts/tests/tests/nfc/src/android/nfc/tech/cts/ |
D | NfcBarcodeTest.java | 119 assertEquals(true, nfcBarcode.isConnected()); in testIsConnected_isConnected() 127 assertEquals(false, nfcBarcode.isConnected()); in testIsConnected_notConnected() 136 assertEquals(false, nfcBarcode.isConnected()); in testIsConnected_serviceDead() 178 assertEquals(false, nfcBarcode.isConnected()); in testClose()
|
D | NfcBTest.java | 136 assertEquals(true, nfcB.isConnected()); in testIsConnected_isConnected() 144 assertEquals(false, nfcB.isConnected()); in testIsConnected_notConnected() 153 assertEquals(false, nfcB.isConnected()); in testIsConnected_serviceDead() 195 assertEquals(false, nfcB.isConnected()); in testClose()
|
D | NfcVTest.java | 135 assertEquals(true, nfcV.isConnected()); in testIsConnected_isConnected() 143 assertEquals(false, nfcV.isConnected()); in testIsConnected_notConnected() 152 assertEquals(false, nfcV.isConnected()); in testIsConnected_serviceDead() 194 assertEquals(false, nfcV.isConnected()); in testClose()
|
D | NfcATest.java | 172 assertEquals(true, nfcA.isConnected()); in testIsConnected_isConnected() 180 assertEquals(false, nfcA.isConnected()); in testIsConnected_notConnected() 189 assertEquals(false, nfcA.isConnected()); in testIsConnected_serviceDead() 231 assertEquals(false, nfcA.isConnected()); in testClose()
|
D | NfcFTest.java | 171 assertEquals(true, nfcF.isConnected()); in testIsConnected_isConnected() 179 assertEquals(false, nfcF.isConnected()); in testIsConnected_notConnected() 188 assertEquals(false, nfcF.isConnected()); in testIsConnected_serviceDead() 230 assertEquals(false, nfcF.isConnected()); in testClose()
|
D | IsoDepTest.java | 82 Assert.assertTrue(id.isConnected()); in testIsConnected_isConnected() 89 Assert.assertFalse(id.isConnected()); in testIsConnected_isNotConnected() 96 Assert.assertFalse(id.isConnected()); in testIsConnected_serviceDead() 132 Assert.assertFalse(id.isConnected()); in testClose()
|
D | MifareUltralightTest.java | 222 assertEquals(true, ultralight.isConnected()); in testIsConnected_isConnected() 230 assertEquals(false, ultralight.isConnected()); in testIsConnected_notConnected() 239 assertEquals(false, ultralight.isConnected()); in testIsConnected_serviceDead() 281 assertEquals(false, ultralight.isConnected()); in testClose()
|
D | NdefFormatableTest.java | 219 assertEquals(true, formatable.isConnected()); in testIsConnected_isConnected() 229 assertEquals(false, formatable.isConnected()); in testIsConnected_notConnected() 238 assertEquals(false, formatable.isConnected()); in testIsConnected_serviceDead() 282 assertEquals(false, formatable.isConnected()); in testClose()
|
/cts/common/device-side/interactive/steps/src/main/java/com/android/interactive/steps/ |
D | UntetherDeviceStep.kt | 23 "Disconnect the USB between this device and the host", { !TestApis.usb().isConnected() } in <lambda>()
|
D | ConnectViaAdbToHostStep.kt | 24 …device via ADB to the host", { TestApis.adb().isEnabledOverWifi() || TestApis.usb().isConnected() } in <lambda>()
|
/cts/common/device-side/bedstead/modules/usb/src/main/kotlin/com/android/bedstead/usb/ |
D | Usb.kt | 31 fun isConnected(): Boolean { in isConnected() method
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaScannerConnectionTest.java | 75 assertFalse(mMediaScannerConnection.isConnected()); in testMediaScannerConnection() 113 return mMediaScannerConnection.isConnected() == expected; in checkConnectionState()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ConnectivityUtils.java | 32 return (networkInfo != null) && networkInfo.isConnected(); in isNetworkConnected()
|
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/ |
D | WifiHelper.java | 37 return wifiNetworkInfo.isConnected(); in isWifiConnected()
|
/cts/tests/app/shared/src/android/app/stubs/shared/ |
D | TestNotificationListener.java | 58 boolean isConnected; field in TestNotificationListener 72 isConnected = true; in onListenerConnected() 80 isConnected = false; in onListenerDisconnected()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 65 boolean isConnected; field in MockListener 105 isConnected = true; in onListenerConnected() 110 isConnected = false; in onListenerDisconnected()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | BrailleDisplayControllerTest.java | 450 assertThat(mController.isConnected()).isTrue(); in connect() 471 assertThat(mController.isConnected()).isTrue(); in connect_defaultExecutor_isSuccessful() 577 assertThat(mController.isConnected()).isTrue(); in connect_multipleDevices_returnsCorrectDevice() 632 assertThat(anotherService.getBrailleDisplayController().isConnected()).isTrue(); in connect_multipleServicesSameBrailleDisplay_returnsNotFoundError() 633 assertThat(mController.isConnected()).isFalse(); in connect_multipleServicesSameBrailleDisplay_returnsNotFoundError() 748 assertThat(mController.isConnected()).isTrue(); in connect_allowsReconnectionAfterDisconnect() 770 assertThat(mController.isConnected()).isFalse(); in disconnect_disconnectsExistingConnection() 781 assertThat(mController.isConnected()).isFalse(); in disconnect_notConnected_nothingHappens()
|