Home
last modified time | relevance | path

Searched refs:isAvailable (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioPreProcessingTest.java58 boolean isAvailable = NoiseSuppressor.isAvailable(); in test1_1NsCreateAndRelease()
62 isAvailable == (ns != null)); in test1_1NsCreateAndRelease()
79 if (!NoiseSuppressor.isAvailable()) { in test1_2NsSetEnabledGetEnabled()
119 boolean isAvailable = AcousticEchoCanceler.isAvailable(); in test2_1AecCreateAndRelease()
123 isAvailable == (aec != null)); in test2_1AecCreateAndRelease()
140 if (!AcousticEchoCanceler.isAvailable()) { in test2_2AecSetEnabledGetEnabled()
180 boolean isAvailable = AutomaticGainControl.isAvailable(); in test3_1AgcCreateAndRelease()
184 isAvailable == (agc != null)); in test3_1AgcCreateAndRelease()
201 if (!AutomaticGainControl.isAvailable()) { in test3_2AgcSetEnabledGetEnabled()
DConnectionStatus.java55 public boolean isAvailable() { in isAvailable() method in ConnectionStatus
57 return (networkInfo != null) && networkInfo.isAvailable(); in isAvailable()
DIConnectionStatus.java28 public boolean isAvailable(); in isAvailable() method
DMediaCodecPlayerTestBase.java132 if (!connectionStatus.isAvailable()) { in playbackPreCheck()
DNativeMediaDrmClearkeyTest.java225 if (!connectionStatus.isAvailable()) { in testClearKeyPlayback()
DDecodeAccuracyTestBase.java780 while (SystemClock.elapsedRealtime() - start < timeOutMs && !textureView.isAvailable()) { in waitForViewIsAvailable()
790 if (!textureView.isAvailable()) { in waitForViewIsAvailable()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java105 if (!mWifiRttManager.isAvailable()) { in setUp()
108 assertTrue("Wi-Fi RTT is not available (should be)", mWifiRttManager.isAvailable()); in setUp()
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java382 if (!mWifiAwareManager.isAvailable()) { in setUp()
385 assertTrue("Wi-Fi Aware is not available (should be)", mWifiAwareManager.isAvailable()); in setUp()
445 assertFalse("Wi-Fi Aware is available (should not be)", mWifiAwareManager.isAvailable()); in testAvailabilityStatusChange()
454 assertTrue("Wi-Fi Aware is not available (should be)", mWifiAwareManager.isAvailable()); in testAvailabilityStatusChange()
/cts/tests/tests/print/src/android/print/cts/
DPrinterCapabilitiesChangeTest.java149 final PrinterId printerId, final MediaSize mediaSize, final boolean isAvailable) in changeCapabilities() argument
152 () -> session.addPrinters(generatePrinters(printerId, mediaSize, isAvailable ? in changeCapabilities()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java225 boolean isAvailable = false; in isScanCurrentlyAvailable()
234 isAvailable = true; in isScanCurrentlyAvailable()
236 isAvailable = false; in isScanCurrentlyAvailable()
239 return isAvailable; in isScanCurrentlyAvailable()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCameraActivity.java55 Assert.assertTrue(mTextureView.isAvailable()); in onSurfaceTextureAvailable()
/cts/tests/tests/net/src/android/net/cts/
DNetworkInfoTest.kt74 assertTrue(netInfo.isAvailable()) in assertNetworkInfo()
DCaptivePortalApiTest.kt112 testSkipped = eth.isAvailable() in setUp()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceTest.java1146 assertTrue(ImsUtils.retryUntilTrue(() -> mmTelManager.isAvailable( in testCapabilityStatusCallback()
1201 boolean isAvailableBeforeStatusChange = mmTelManager.isAvailable( in testCapabilityStatusWithIsAvailableDuringCallback()
1219 .isAvailable(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE, in testCapabilityStatusWithIsAvailableDuringCallback()
1335 imsRcsManager.isAvailable(RCS_CAP_PRESENCE)); in testRcsCapabilityStatusCallback()
1383 assertFalse(imsRcsManager.isAvailable(RCS_CAP_OPTIONS)); in testRcsCapabilityStatusCallback()
1399 assertTrue(imsRcsManager.isAvailable(RCS_CAP_OPTIONS)); in testRcsCapabilityStatusCallback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DTestListActivity.java157 if (!mWifiAwareManager.isAvailable()) { in handleItemClick()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java354 while (!view.isAvailable() && waitTime > 0) { in getAvailableSurfaceTexture()
360 if (view.isAvailable()) { in getAvailableSurfaceTexture()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java284 if (!AcousticEchoCanceler.isAvailable()) { in startTest()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp117 bool isAvailable(const char* cameraId) { in isAvailable() function in CameraServiceListener
1008 return mServiceListener.isAvailable(cameraId); in isCameraAvailable()