Home
last modified time | relevance | path

Searched refs:isTv (Results 1 – 16 of 16) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleSecureClientTestListActivity.java48 boolean isTv = getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK); in onCreate()
50 if (isTv && (firstSdk <= 29)) { in onCreate()
/cts/tests/tests/permission3/src/android/permission3/cts/
DBaseUsePermissionTest.kt102 protected val isTv = packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in <lambda>() constant in android.permission3.cts.BaseUsePermissionTest
310 if (isAutomotive || isTv || isWatch) { in <lambda>()
327 if (isAutomotive || isWatch || isTv) { in <lambda>()
416 if (isTv) { in <lambda>()
462 } else if (isTv || isWatch) { in <lambda>()
491 } else if (isTv || isWatch) { in <lambda>()
538 if (!isTv) { in <lambda>()
591 if (isTv || isWatch) { in <lambda>()
605 if (isTv || isWatch) { in <lambda>()
DPermissionTapjackingTest.kt42 assumeFalse(isTv) in testTapjackGrantDialog_fullOverlay()
61 assumeFalse(isTv) in testTapjackGrantDialog_partialOverlay()
DPermissionUsageInfoTest.kt33 assumeFalse(isTv) in assumeHandheld()
DPermissionSplitTest.kt29 assumeFalse(isTv) in assumeNotTv()
DPermissionTest23.kt310 if (isTv || isWatch) { in denyPermissionRequestWithPrejudice()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMinimalPostProcessingTests.java76 final boolean isTv = packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK); in assertDisplayRequestedMinimalPostProcessing()
77 if (isTv) { in assertDisplayRequestedMinimalPostProcessing()
/cts/tests/tests/permission4/src/android/permission4/cts/
DCameraMicIndicatorsPermissionTest.kt69 private val isTv = packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK) constant in android.permission4.cts.CameraMicIndicatorsPermissionTest
128 if (!isTv) { in tearDown()
174 if (isTv) { in testCameraAndMicIndicator()
/cts/tests/tests/settings/src/android/settings/cts/
DWifiSliceTest.java76 assumeFalse("Skipping test: TV does not support provider android.settings.slices", isTv()); in setUp()
169 private boolean isTv() { in isTv() method in WifiSliceTest
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DRecognitionServiceMicIndicatorTest.java191 if (isTv()) { in testVoiceRecognitionServiceBlameCallingApp()
276 private boolean isTv() { in isTv() method in RecognitionServiceMicIndicatorTest
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTestBase.java345 public boolean isTv() { in isTv() method in MediaPlayerTestBase
352 return MediaUtils.check(isTv(), "not a TV"); in checkTv()
DMediaCodecCapabilitiesTest.java114 if (isTv()) { in testH264DecoderProfileAndLevel()
168 if (isTv()) { in testH265DecoderProfileAndLevel()
174 if (isTv() && MediaUtils.canDecodeVideo(MIMETYPE_VIDEO_HEVC, 3840, 2160, 30)) { in testH265DecoderProfileAndLevel()
182 if (isTv() && MediaUtils.hasHardwareCodec(MIMETYPE_VIDEO_VP9, /* encode = */ false)) { in testVp9DecoderCapabilitiesOnTv()
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java580 static boolean isTv() { in isTv() method in CodecTestBase
611 return pm.hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN) && !isWatch() && !isTv() && in isHandheld()
660 if (isHandheld() || isTv() || isAutomotive()) { in compileRequiredMimeList()
683 if (isTv() && needVideo) { in compileRequiredMimeList()
696 if (isHandheld() || isTv() || isAutomotive()) { in compileRequiredMimeList()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java72 if (!isTv()) { in testMaxOneManagedProfile()
DDeviceOwnerTest.java575 assertTrue(isProvisioningAllowedForNormalUsers || isTv()); in testAllowProvisioningProperty()
DBaseDevicePolicyTest.java1336 boolean isTv() throws DeviceNotAvailableException { in isTv() method in BaseDevicePolicyTest