Home
last modified time | relevance | path

Searched refs:isSupported (Results 1 – 25 of 34) sorted by relevance

12

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DApkVerityInstallTest.java195 boolean isSupported) throws Exception { in testInstallSplitOnly() argument
207 .run(isSupported); in testInstallSplitOnly()
208 if (isSupported) { in testInstallSplitOnly()
217 boolean updateIncremental, boolean isSupported) throws Exception { in testInstallSplitOnlyMissingSignature() argument
231 isSupported && installIncremental && !isIncrementalDeliveryV2Feature(); in testInstallSplitOnlyMissingSignature()
239 boolean updateIncremental, boolean isSupported) throws Exception { in testInstallSplitOnlyWithoutBaseSignature() argument
249 .run(isSupported); in testInstallSplitOnlyWithoutBaseSignature()
250 if (isSupported) { in testInstallSplitOnlyWithoutBaseSignature()
259 boolean updateIncremental, boolean isSupported) throws Exception { in testInstallSplitAndSignatureForBase() argument
271 .run(isSupported); in testInstallSplitAndSignatureForBase()
[all …]
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothConfigTest.java82 final boolean isSupported = supportedProfiles.contains(profile); in checkIsProfileEnabledInList()
85 if (!isEnabled || isSupported) { in checkIsProfileEnabledInList()
91 + ". Is profile in the list: " + isSupported); in checkIsProfileEnabledInList()
130 final boolean isSupported = BluetoothStatusCodes.FEATURE_SUPPORTED == adapterSupport; in checkIsProfileEnabled()
133 if (!isEnabled || isSupported) { in checkIsProfileEnabled()
/cts/tests/mediapc/src/android/mediapc/cts/
DVideoCodecRequirementsTest.java363 boolean isSupported = true;
365 isSupported = selectHardwareCodecs(mediaType, null, null, false).stream()
371 if (!isSupported) {
379 DynamicColorAspectsReq.setDynamicColorAspectsSupportReq(isSupported);
397 boolean isSupported = true; in testPortraitResolutionSupport()
416 isSupported = selectHardwareCodecs(mediaType, null, null, isEncoder).stream() in testPortraitResolutionSupport()
419 if (!isSupported) { in testPortraitResolutionSupport()
428 portraitResolutionSupportReq.setPortraitResolutionSupportreq(isSupported); in testPortraitResolutionSupport()
444 boolean isSupported = true; in testColorFormatSupport()
452 isSupported = false; in testColorFormatSupport()
[all …]
/cts/tests/tests/broadcastradio/src/android/broadcastradio/cts/
DRadioTunerTest.java364 boolean isSupported = mRadioTuner.isConfigFlagSupported(TEST_CONFIG_FLAG); in isConfigFlagSet_forTunerNotSupported_throwsException()
365 assumeFalse("Config flag supported", isSupported); in isConfigFlagSet_forTunerNotSupported_throwsException()
376 boolean isSupported = mRadioTuner.isConfigFlagSupported(TEST_CONFIG_FLAG); in setConfigFlag_forTunerNotSupported_throwsException()
377 assumeFalse("Config flag supported", isSupported); in setConfigFlag_forTunerNotSupported_throwsException()
389 boolean isSupported = mRadioTuner.isConfigFlagSupported(TEST_CONFIG_FLAG); in setConfigFlag_withTrue_succeeds()
390 assumeTrue("Config flag supported", isSupported); in setConfigFlag_withTrue_succeeds()
406 boolean isSupported = mRadioTuner.isConfigFlagSupported(TEST_CONFIG_FLAG); in setConfigFlag_withFalse_succeeds()
407 assumeTrue("Config flag supported", isSupported); in setConfigFlag_withFalse_succeeds()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/tile/
DQuickSettings.kt26 fun isSupported(): Boolean { in isSupported() method
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceSetupTest.java540 boolean isSupported = cameraDeviceSetup.isSessionConfigurationSupported( in testFeatureCombinationQueryConsistencyByCamera()
549 isSupported); in testFeatureCombinationQueryConsistencyByCamera()
554 !isSupported); in testFeatureCombinationQueryConsistencyByCamera()
573 "isSessionCharacteristicsSupported returns " + isSupported in testFeatureCombinationQueryConsistencyByCamera()
575 + " with preview stabilization on.", isSupported, in testFeatureCombinationQueryConsistencyByCamera()
595 isSupported); in testFeatureCombinationQueryConsistencyByCamera()
613 boolean isSupported = entry.getValue(); in testFeatureCombinationQueryConsistencyByCamera()
626 features.toString() + " (support: " + isSupported in testFeatureCombinationQueryConsistencyByCamera()
628 + isSupportedNoJpegR, isSupported, isSupportedNoJpegR); in testFeatureCombinationQueryConsistencyByCamera() local
637 features.toString() + " (support: " + isSupported in testFeatureCombinationQueryConsistencyByCamera()
[all …]
DRecordingTest.java1054 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in videoPreviewSurfaceSharingTestByCamera()
1688 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
1954 boolean isSupported = isStreamConfigurationSupported( in videoSnapshotTestByCamera()
1956 if (!isSupported) { in videoSnapshotTestByCamera()
1971 boolean isSupported = isStreamConfigurationSupported( in videoSnapshotTestByCamera()
1973 if (!isSupported) { in videoSnapshotTestByCamera()
2737 private boolean isSupported(Size sz, int captureRate, int encodingRate) throws Exception {
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java101 if (HardwareBuffer.isSupported(2, 4, format, 1, HardwareBuffer.USAGE_CPU_READ_RARELY)) { in testCreateOptionalFormats()
160 assertTrue(HardwareBuffer.isSupported(1, 1, HardwareBuffer.RGBA_8888, in testIsSupported()
162 assertTrue(HardwareBuffer.isSupported(1, 1, HardwareBuffer.RGBA_8888, in testIsSupported()
164 assertFalse(HardwareBuffer.isSupported(1, 1, HardwareBuffer.BLOB, in testIsSupported()
178 final boolean supported = HardwareBuffer.isSupported(dimen, dimen, HardwareBuffer.RGBA_8888, in testInvalidUsage()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestBase.java627 public boolean isSupported = false; field in SatelliteManagerTestBase.SatelliteSupportedStateCallbackTest
635 isSupported = supported; in onSatelliteSupportedStateChanged()
1077 Boolean isSupported = supported.get(); in isSatelliteSupported() local
1079 assertNotNull(isSupported); in isSatelliteSupported()
1080 logd("isSatelliteSupported isSupported=" + isSupported); in isSatelliteSupported()
1081 return isSupported; in isSatelliteSupported()
1083 assertNull(isSupported); in isSatelliteSupported()
DSatelliteManagerTest.java417 Boolean isSupported = supported.get(); in testRequestIsSatelliteSupported() local
419 assertNotNull(isSupported); in testRequestIsSatelliteSupported()
420 Log.d(TAG, "testRequestIsSatelliteSupported isSupported=" + isSupported); in testRequestIsSatelliteSupported()
422 assertNull(isSupported); in testRequestIsSatelliteSupported()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/
DTestApisTest.java212 Truth.assertThat(TestApis.quickSettings().isSupported()).isEqualTo( in quickSettings_isSupported_returns()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecTestBase.java657 boolean isSupported = true; in isFormatSupported()
659 isSupported = cap.isFormatSupported(format); in isFormatSupported()
661 if (isSupported) return true; in isFormatSupported()
672 boolean isSupported = true; in areFormatsSupported()
674 for (int i = 0; i < formats.size() && isSupported; i++) { in areFormatsSupported()
675 isSupported = cap.isFormatSupported(formats.get(i)); in areFormatsSupported()
678 if (isSupported) return true; in areFormatsSupported()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsMmTelManagerTest.java632 mMmTelManager.isSupported(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE, in testMethodPermissions()
652 mMmTelManager.isSupported(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE, in testMethodPermissions()
669 (m) -> m.isSupported(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE, in testMethodPermissions()
DSipDelegateManagerTest.java300 manager.isSupported(); in testIncorrectPermissions()
308 manager, SipDelegateManager::isSupported, ImsException.class, in testIncorrectPermissions()
318 manager, SipDelegateManager::isSupported, ImsException.class, in testIncorrectPermissions()
596 manager, SipDelegateManager::isSupported, ImsException.class, in testFeatureImsNotSupported()
650 SipDelegateManager::isSupported, ImsException.class, in testIsSupportedWithSipTransportCapable()
672 getSipDelegateManager(), SipDelegateManager::isSupported, in testIsSupportedWithSipTransportCapableCarrierConfigNotSet()
702 getSipDelegateManager(), SipDelegateManager::isSupported, in testIsSupportedWithSipTransportCapableOnlyRcs()
729 getSipDelegateManager(), SipDelegateManager::isSupported, in testIsSupportedWithSipTransportCapableButNotImplemented()
754 getSipDelegateManager(), SipDelegateManager::isSupported, in testIsSupportedWithSipTransportImplementedButNotCapable()
778 getSipDelegateManager(), SipDelegateManager::isSupported, in testIsSupportedWithSipTransportNotImplementedNotCapable()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java207 if (!isSupported()) return; in setUpClass()
228 if (!isSupported()) return; in tearDownClass()
234 assumeTrue(isSupported()); in setUp()
1302 private void checkUsageSetting(int inputSetting, boolean isSupported) throws Exception { in checkUsageSetting() argument
1310 assertEquals(isSupported ? inputSetting : initialSetting, newSetting); in checkUsageSetting()
1673 private static boolean isSupported() { in isSupported() method
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiTests.java141 assumeTrue(sUnsupportedReason, isSupported()); in assumeSupported()
155 if (!isSupported()) return; in cleanUp()
182 if (!isSupported()) return; in cleanUpAfterAllTests()
1528 private static boolean isSupported() { in isSupported() method in DeviceConfigApiTests
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DProtectedConfirmationTest.java68 ConfirmationPrompt.isSupported(getApplicationContext()); in onCreate()
/cts/tests/tests/car/src/android/car/cts/
DCarEvsManagerTest.java111 if (!mCarEvsManager.isSupported(i)) { in setUp()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaCodecListTest.java354 boolean isSupported = false; in areRequiredCodecTypesSupported()
357 isSupported = true; in areRequiredCodecTypesSupported()
360 if (!isSupported) { in areRequiredCodecTypesSupported()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java75 public boolean isSupported() { return isFormatSupported(mFormatName); } in isSupported() method in CompressedTextureLoader.Texture
DCompressedTextureSurfaceView.java284 if (mCompressedTexture != null && !mCompressedTexture.isSupported()) { in onSurfaceCreated()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecBlockModelTest.java299 if (!HardwareBuffer.isSupported( in runEncodeShortVideo()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java1191 boolean isSupported = false; in testRecordedVideoPlaybackWithAngle()
1210 isSupported = true; in testRecordedVideoPlaybackWithAngle()
1215 if (!isSupported) { in testRecordedVideoPlaybackWithAngle()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioManagerTest.java2077 boolean isSupported = mAudioManager.isHdmiSystemAudioSupported(); in testIsHdmiSystemAudidoSupported()
2078 Log.d(TAG, "isHdmiSystemAudioSupported() = " + isSupported); in testIsHdmiSystemAudidoSupported()
2084 boolean isSupported = mAudioManager.isBluetoothScoAvailableOffCall(); in testIsBluetoothScoAvailableOffCall()
2085 Log.d(TAG, "isBluetoothScoAvailableOffCall() = " + isSupported); in testIsBluetoothScoAvailableOffCall()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBufferRendererTests.kt682 !HardwareBuffer.isSupported(width, height, format, 1, usage)) { in <lambda>()

12