Home
last modified time | relevance | path

Searched refs:supported (Results 1 – 25 of 36) sorted by relevance

12

/cts/hostsidetests/systemui/src/android/host/systemui/
DTileServiceTest.java46 if (!supported()) return; in testAddTile()
56 if (!supported()) return; in testRemoveTile()
68 if (!supported()) return; in testListeningSettings()
81 if (!supported()) return; in testCantAddDialog()
99 if (!supported()) return; in testClick()
122 if (!supported()) return; in testClickAndShowDialog()
142 if (!supported()) return; in testStartActivityDoesNotLaunchPendingIntentWithoutClick()
160 if (!supported()) return; in testSetPendingIntentDoesNotStartActivityWithoutClick()
177 if (!supported()) return; in testSetPendingIntentStartsActivityWithClick()
200 if (!supported()) return; in testSetPendingIntentPersistsAfterShadeIsClosed()
[all …]
DActiveTileServiceTest.java36 if (!supported()) return; in testNotListening()
49 if (!supported()) return; in testRequestListening()
62 if (!supported()) return; in testClick()
DActiveTileServiceCompatChangeTest.java69 if (!supported()) return; in tearDown()
84 if (!supported()) return; in testRequestListeningBadPackage_changeEnabled_SecurityException()
119 if (!supported()) return; in runTest()
178 protected boolean supported() throws DeviceNotAvailableException { in supported() method in ActiveTileServiceCompatChangeTest
183 String supported = getDevice().executeShellCommand(REQUEST_SUPPORTED); in supportedSoftware() local
184 return Boolean.parseBoolean(supported.trim()); in supportedSoftware()
DCompatChangesTileServiceTest.java74 if (!supported()) return; in testStartActivityWithIntent_requiresPendingIntent_ThrowsException()
100 if (!supported()) return; in testStartActivityWithIntent_doesNotRequirePendingIntent_lauchesSuccessfully()
160 protected boolean supported() throws DeviceNotAvailableException { in supported() method in CompatChangesTileServiceTest
165 String supported = getDevice().executeShellCommand(REQUEST_SUPPORTED); in supportedSoftware() local
166 return Boolean.parseBoolean(supported.trim()); in supportedSoftware()
DBaseTileServiceTest.java81 if (!supported()) return; in tearDown()
154 protected boolean supported() throws DeviceNotAvailableException { in supported() method in BaseTileServiceTest
159 String supported = getDevice().executeShellCommand(REQUEST_SUPPORTED); in supportedSoftware() local
160 return Boolean.parseBoolean(supported.trim()); in supportedSoftware()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_VulkanFeaturesTest.cpp47 VkBool32 supported = VK_FALSE; in android_graphics_cts_VulkanFeaturesTest_nativeGetABPSupport() local
53 result = vpGetInstanceProfileSupport(nullptr, &profile, &supported); in android_graphics_cts_VulkanFeaturesTest_nativeGetABPSupport()
59 if (supported != VK_TRUE) { in android_graphics_cts_VulkanFeaturesTest_nativeGetABPSupport()
61 " supported = " + std::to_string(supported)); in android_graphics_cts_VulkanFeaturesTest_nativeGetABPSupport()
117 result = vpGetPhysicalDeviceProfileSupport(instance, devices[i], &profile, &supported); in android_graphics_cts_VulkanFeaturesTest_nativeGetABPSupport()
122 else if (supported != VK_TRUE) { in android_graphics_cts_VulkanFeaturesTest_nativeGetABPSupport()
123 ALOGD("vpGetPhysicalDeviceProfileSupport fail, supported = %d", supported); in android_graphics_cts_VulkanFeaturesTest_nativeGetABPSupport()
144 VkBool32 supported = VK_FALSE; in android_graphics_cts_VulkanFeaturesTest_nativeGetABPCpuOnlySupport() local
150 result = vpGetInstanceProfileSupport(nullptr, &profile, &supported); in android_graphics_cts_VulkanFeaturesTest_nativeGetABPCpuOnlySupport()
156 if (supported != VK_TRUE) { in android_graphics_cts_VulkanFeaturesTest_nativeGetABPCpuOnlySupport()
[all …]
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DEglRequirement.java54 public void setImageContextPrioritySupported(boolean supported) { in setImageContextPrioritySupported() argument
55 this.setMeasuredValue(RequirementConstants.EGL_IMG_CONTEXT_PRIORITY, supported); in setImageContextPrioritySupported()
59 public void setProtectedContentSupported(boolean supported) { in setProtectedContentSupported() argument
60 this.setMeasuredValue(RequirementConstants.EGL_EXT_PROTECTED_CONTENT, supported); in setProtectedContentSupported()
DCameraRequirement.java64 public void setCamera2NightExtensionSupported(int camera, boolean supported) { in setCamera2NightExtensionSupported() argument
67 supported); in setCamera2NightExtensionSupported()
70 supported); in setCamera2NightExtensionSupported()
74 public void setCameraXNightExtensionSupported(int camera, boolean supported) { in setCameraXNightExtensionSupported() argument
77 supported); in setCameraXNightExtensionSupported()
80 supported); in setCameraXNightExtensionSupported()
367 public void setDynamicRangeTenBitsSupported(int camera, boolean supported) { in setDynamicRangeTenBitsSupported() argument
370 supported); in setDynamicRangeTenBitsSupported()
373 supported); in setDynamicRangeTenBitsSupported()
409 public void setHLGCombinationSupported(boolean supported) { in setHLGCombinationSupported() argument
[all …]
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerFlakyNetworkTest.java128 Vector<String> supported = new Vector<String>(); in getSupportedVideos() local
132 supported.add(video); in getSupportedVideos()
135 return supported.toArray(new String[supported.size()]); in getSupportedVideos()
139 String[] supported = getSupportedVideos(); in doPlayStreams() local
140 if (supported.length == 0) { in doPlayStreams()
148 String video = getRandomTestVideo(random, supported); in doPlayStreams()
153 doPlayMp4Stream(getRandomTestVideo(random, supported), 30000, 20000); in doPlayStreams()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DSupportedBitstreamsProcessor.java93 boolean supported = status.equals("true"); in process()
94 if (supported) { in process()
103 decoderCapabilities.put(name, supported); in process()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DSilentModeInfo.java35 private SilentModeInfo(boolean supported, boolean monitoring, boolean byHW, boolean forced) { in SilentModeInfo() argument
36 mSilentModeSupported = supported; in SilentModeInfo()
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/
DMediaPreparerAppTest.java113 boolean supported = true; in testGetResolutions()
115 supported &= MediaUtils.checkDecoderForFormat(format); in testGetResolutions()
117 if (supported) { in testGetResolutions()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DDtsAudioFormatsTest.kt53 val supported = (AudioManager.getDirectPlaybackSupport(dtsFormat, audioAttributes) in <lambda>() constant
56 checkCreateAudioTrack(audioAttributes, dtsFormat, supported) in <lambda>()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DTestApp.java99 boolean[] supported = mInteractor.supportsCommands(commands); in continueTests()
100 Log.i(TAG, "from supportsCommands: " + Arrays.toString(supported)); in continueTests()
101 if (supported.length == 1 && supported[0]) { in continueTests()
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java70 boolean supported = false; in setUp()
73 supported = true; in setUp()
77 assumeTrue("Test skipped as no ARM based ABI is supported", supported); in setUp()
/cts/tests/vibrator/src/android/os/cts/
DVibratorTest.java389 int[] supported = mVibrator.areEffectsSupported(PREDEFINED_EFFECTS); in testVibratePredefined() local
392 if (supported[i] == Vibrator.VIBRATION_EFFECT_SUPPORT_YES) { in testVibratePredefined()
400 boolean[] supported = mVibrator.arePrimitivesSupported(PRIMITIVE_EFFECTS); in testVibrateComposed()
408 if (supported[i]) { in testVibrateComposed()
482 boolean[] supported = mVibrator.arePrimitivesSupported(PRIMITIVE_EFFECTS); in testVibratorPrimitivesDurations()
485 if (supported[i]) { in testVibratorPrimitivesDurations()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DMockSatelliteService.java679 public void setSatelliteSupport(boolean supported) { in setSatelliteSupport() argument
680 logd("setSatelliteSupport: supported=" + supported); in setSatelliteSupport()
681 mIsSupported = supported; in setSatelliteSupport()
741 public void sendOnSatelliteSupportedStateChanged(boolean supported) { in sendOnSatelliteSupportedStateChanged() argument
742 logd("sendOnSatelliteSupportedStateChanged: supported=" + supported); in sendOnSatelliteSupportedStateChanged()
744 listener.onSatelliteSupportedStateChanged(supported))); in sendOnSatelliteSupportedStateChanged()
DSatelliteManagerTestBase.java633 public void onSatelliteSupportedStateChanged(boolean supported) { in onSatelliteSupportedStateChanged() argument
634 logd("onSatelliteSupportedStateChanged: supported=" + supported); in onSatelliteSupportedStateChanged()
635 isSupported = supported; in onSatelliteSupportedStateChanged()
637 mSupportedStates.add(supported); in onSatelliteSupportedStateChanged()
1049 final AtomicReference<Boolean> supported = new AtomicReference<>(); in isSatelliteSupported() local
1056 supported.set(result); in isSatelliteSupported()
1077 Boolean isSupported = supported.get(); in isSatelliteSupported()
DMockSatelliteServiceManager.java934 void setSatelliteSupport(boolean supported) { in setSatelliteSupport() argument
935 logd("setSatelliteSupport: supported=" + supported); in setSatelliteSupport()
940 mSatelliteService.setSatelliteSupport(supported); in setSatelliteSupport()
1013 void sendOnSatelliteSupportedStateChanged(boolean supported) { in sendOnSatelliteSupportedStateChanged() argument
1014 logd("sendOnSatelliteSupportedStateChanged: " + supported); in sendOnSatelliteSupportedStateChanged()
1019 mSatelliteService.sendOnSatelliteSupportedStateChanged(supported); in sendOnSatelliteSupportedStateChanged()
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java178 final boolean supported = HardwareBuffer.isSupported(dimen, dimen, HardwareBuffer.RGBA_8888, in testInvalidUsage()
184 if (!supported) { in testInvalidUsage()
189 if (supported) { in testInvalidUsage()
/cts/apps/CameraITS/tests/feature_combination/
Dtest_feature_combination.py200 supported = cam.is_stream_combination_supported(
202 if not supported:
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java470 Boolean supported = sFormatMap.get(format); in isFormatSupported() local
471 return supported != null ? supported : false; in isFormatSupported()
/cts/tests/net/
DAndroid.bp22 // in those suites, they must pass on all Android versions supported by the modules.
/cts/hostsidetests/adpf/app/hintsession/src/cpp/
Dmain.cpp185 bool supported = getRenderer(pApp)->getAdpfSupported(); in android_main() local
187 if (!supported) { in android_main()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaCodecListTest.java952 boolean supported = true; in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
953 for (int f_ix = 0; supported && f_ix < featuresToConfig.length; ++f_ix) { in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
956 supported = supported && cap.isFeatureSupported(featuresToConfig[f_ix]); in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
959 supported = supported && !cap.isFeatureRequired(featuresToConfig[f_ix]); in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
962 if (supported) { in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()

12