Home
last modified time | relevance | path

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

/cts/hostsidetests/systemui/src/android/host/systemui/
DTileServiceTest.java36 if (!supported()) return; in testAddTile()
45 if (!supported()) return; in testRemoveTile()
57 if (!supported()) return; in testListeningNotifications()
70 if (!supported()) return; in testListeningSettings()
83 if (!supported()) return; in testCantAddDialog()
101 if (!supported()) return; in testClick()
123 if (!supported()) return; in testClickAndShowDialog()
142 if (!supported()) return; in testStartActivity()
DActiveTileServiceTest.java36 if (!supported()) return; in testNotListening()
47 if (!supported()) return; in testRequestListening()
58 if (!supported()) return; in testClick()
DBaseTileServiceTest.java67 if (!supported()) return; in tearDown()
128 protected boolean supported() throws DeviceNotAvailableException { in supported() method in BaseTileServiceTest
133 String supported = getDevice().executeShellCommand(REQUEST_SUPPORTED); in supportedSoftware() local
134 return Boolean.parseBoolean(supported); in supportedSoftware()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java447 boolean supported = mCm.isNetworkSupported(type); in testIsNetworkSupported()
449 assertTrue("Network type " + type + " should be supported", supported); in testIsNetworkSupported()
451 assertFalse("Network type " + type + " should not be supported", supported); in testIsNetworkSupported()
1219 final int supported = getSupportedKeepalivesForNet(network);
1220 if (supported == 0) {
1228 assertGreaterOrEqual(supported, MIN_SUPPORTED_WIFI_KEEPALIVE_COUNT);
1231 assertEquals(supported, createConcurrentSocketKeepalives(network, srcAddr,
1232 supported + 1, 0));
1234 assertEquals(supported, createConcurrentSocketKeepalives(network, srcAddr, supported,
1243 assertEquals(supported, createConcurrentSocketKeepalives(network, srcAddr, 0,
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerFlakyNetworkTest.java104 Vector<String> supported = new Vector<String>(); in getSupportedVideos() local
107 supported.add(video); in getSupportedVideos()
110 return supported.toArray(new String[supported.size()]); in getSupportedVideos()
114 String[] supported = getSupportedVideos(); in doPlayStreams() local
115 if (supported.length == 0) { in doPlayStreams()
123 String video = getRandomTestVideo(random, supported); in doPlayStreams()
128 doPlayMp4Stream(getRandomTestVideo(random, supported), 30000, 20000); in doPlayStreams()
DMediaCodecListTest.java881 boolean supported = true; in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
882 for (int f_ix = 0; supported && f_ix < featuresToConfig.length; ++f_ix) { in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
885 supported = supported && cap.isFeatureSupported(featuresToConfig[f_ix]); in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
888 supported = supported && !cap.isFeatureRequired(featuresToConfig[f_ix]); in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
891 if (supported) { in testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints()
DVideoEncoderTest.java2028 boolean supported = false; in support()
2035 supported = true; in support()
2039 if (!supported) { in support()
/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()
DMediaBitstreamsTest.java548 Boolean supported = entry.getValue(); in testBitstreamsConformance() local
549 if (supported) { in testBitstreamsConformance()
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/
DMediaPreparerAppTest.java102 boolean supported = true; in testGetResolutions()
104 supported &= MediaUtils.checkDecoderForFormat(format); in testGetResolutions()
106 if (supported) { in testGetResolutions()
/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/tests/tests/permission/src/android/permission/cts/
DServicesInstantAppsCannotAccessTests.java77 boolean supported = RequiredServiceRule.hasService("wallpaper"); in cannotGetWallpaperManager()
78 if (supported) { in cannotGetWallpaperManager()
DFileSystemPermissionTest.java523 boolean supported = false; in testProcfsMmapRndBitsExistsAndSane()
529 supported = true; in testProcfsMmapRndBitsExistsAndSane()
540 if (supported_64 || supported) { in testProcfsMmapRndBitsExistsAndSane()
/cts/tests/tests/net/
DTEST_MAPPING2 // TODO: move to mainline-presubmit once 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/tests/graphics/src/android/graphics/cts/
DVulkanSurfaceSupportTest.java57 AssetManager manager, Surface surface, boolean supported); in nCreateNativeTest() argument
/cts/tests/tests/os/jni/
DAndroid.bp75 // only supported in ARMv7 (and older) cores, and obsolete in ARMv8.
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp216 VkBool32 supported = VK_FALSE; in init() local
217 VK_CALL(vkGetPhysicalDeviceSurfaceSupportKHR(mGpu, mQueueFamilyIndex, mSurface, &supported)); in init()
218 if (supported == VK_FALSE) { in init()
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java399 public void onTetheringSupported(boolean supported) { in onTetheringSupported() argument
400 mHistory.add(new CallbackValue(CallbackType.ON_SUPPORTED, null, (supported ? 1 : 0))); in onTetheringSupported()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp746 bool supported = false; in getMaxSizeForFormat() local
749 return supported; in getMaxSizeForFormat()
759 supported = true; in getMaxSizeForFormat()
763 if (supported) { in getMaxSizeForFormat()
767 return supported; in getMaxSizeForFormat()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DUidAtomTests.java612 String supported = getDevice().executeShellCommand("am supports-multiwindow"); in testPictureInPictureState() local
615 !supported.contains("true")) { in testPictureInPictureState()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dsingle_source_alloc.rscript340 // These data types are not supported from single-source
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1012 boolean supported = mCamera.isSessionConfigurationSupported(sessionConfig);
1014 String supportString = supported ? "supportedCombination" : "unsupportedCombination";