Home
last modified time | relevance | path

Searched refs:isAvailable (Results 1 – 16 of 16) 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/net/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/net/src/android/net/cts/
DNetworkInfoTest.java58 assertTrue(netInfo.isAvailable()); in assertNetworkInfo()
/cts/tests/tests/net/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/view/src/android/view/cts/
DTextureViewCameraActivity.java55 Assert.assertTrue(mTextureView.isAvailable()); in onSurfaceTextureAvailable()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java224 boolean isAvailable = false; in isScanCurrentlyAvailable()
233 isAvailable = true; in isScanCurrentlyAvailable()
235 isAvailable = false; in isScanCurrentlyAvailable()
238 return isAvailable; in isScanCurrentlyAvailable()
DConcurrencyTest.java302 assertTrue(mMySync.expectedNetworkInfo.isAvailable()); in setupWifiP2p()
/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/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp117 bool isAvailable(const char* cameraId) { in isAvailable() function in CameraServiceListener
1005 return mServiceListener.isAvailable(cameraId); in isCameraAvailable()