Home
last modified time | relevance | path

Searched refs:FEATURE_LEANBACK (Results 1 – 25 of 40) sorted by relevance

12

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DLauncherPackagesLiveData.kt21 import android.content.pm.PackageManager.FEATURE_LEANBACK
43 PermissionControllerApplication.get().packageManager.hasSystemFeature(FEATURE_LEANBACK) in loadDataAndPostValue()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkManagerTest.java80 assumeFalse(mPackageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK)); in getManager_onUButNotTv_returnsNull()
89 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK)); in getManager_onUAndTv_returnsNonNull()
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractDeviceSupportHelper.java31 private static final String FEATURE_LEANBACK = "android.software.leanback"; field in AbstractDeviceSupportHelper
165 && !hasPackageManagerFeature(FEATURE_LEANBACK); in isPhone()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DAppDataSharingUpdatesPreferenceControllerTest.java20 import static android.content.pm.PackageManager.FEATURE_LEANBACK;
59 Arrays.asList(FEATURE_AUTOMOTIVE, FEATURE_LEANBACK, FEATURE_WATCH);
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/util/
DHostSideTestUtil.java41 private static final String FEATURE_LEANBACK = "android.software.leanback"; field in HostSideTestUtil
128 && !DeviceUtils.hasFeature(device, FEATURE_LEANBACK) in isHardwareSupported()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSLocalAgentCreationTests.kt19 import android.content.pm.PackageManager.FEATURE_LEANBACK
88 doReturn(isTv).`when`(packageManager).hasSystemFeature(FEATURE_LEANBACK) in keepConnectedScore()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DAirplaneModePreferenceControllerTest.java99 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK)).thenReturn(true); in getAvailabilityStatus_hasLeanbackFeature_shouldNotBeAvailable()
107 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK)).thenReturn(false); in getAvailabilityStatus_noLeanbackFeature_shouldBeAvailable()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/
DDeviceUtils.java24 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK); in isTelevision()
/packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/
DDeviceUtils.java35 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isOdpSupported()
/packages/modules/OnDevicePersonalization/tests/testutils/src/com/android/ondevicepersonalization/testing/utils/
DDeviceSupportHelper.java37 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isDeviceSupported()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v31/
DTelevisionRoleBehavior.java37 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK); in isAvailableAsUser()
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/
DBasePermissionUiTest.kt34 hasSystemFeature(PackageManager.FEATURE_LEANBACK) || in <lambda>()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/
DHealthConnectBaseTest.kt55 !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) && in isHardwareSupported()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthServicesInitializer.java59 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isHardwareSupported()
/packages/apps/Settings/src/com/android/settings/privacy/
DAppDataSharingUpdatesPreferenceController.java64 && !packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isPrivacySafetyLabelChangeNotificationsEnabled()
/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/
DPermissionUtils.kt32 context.packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isAutomotive()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/
DUiBaseTest.java84 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isHardwareSupported()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectUiTestHelper.kt82 !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) && in isHardwareSupported()
/packages/apps/Settings/src/com/android/settings/spa/network/
DAirplaneModePreference.kt68 && !context.packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isAvailable()
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt38 import android.content.pm.PackageManager.FEATURE_LEANBACK in <lambda>()
88 @RequireDoesNotHaveFeature(FEATURE_LEANBACK) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DDeviceInfoUtils.kt99 !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) && in isHealthConnectAvailable()
/packages/modules/Connectivity/service-t/src/com/android/server/
DConnectivityServiceInitializer.java184 if (!SdkLevel.isAtLeastV() && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK)) { in createThreadNetworkService()
/packages/modules/OnDevicePersonalization/systemservice/java/com/android/server/ondevicepersonalization/
DOnDevicePersonalizationSystemService.java184 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isOdpSupported()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DReviewAccessibilityServicesTest.kt78 Assume.assumeFalse(context.packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK)) in assumeNotAutoTvOrWear()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DSafetyLabelChangesJobServiceTest.kt98 whenever(mockPackageManager.hasSystemFeature(eq(PackageManager.FEATURE_LEANBACK))) in setUp()

12