/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | LauncherPackagesLiveData.kt | 21 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/ |
D | ThreadNetworkManagerTest.java | 80 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/ |
D | AbstractDeviceSupportHelper.java | 31 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/ |
D | AppDataSharingUpdatesPreferenceControllerTest.java | 20 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/ |
D | HostSideTestUtil.java | 41 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/ |
D | CSLocalAgentCreationTests.kt | 19 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/ |
D | AirplaneModePreferenceControllerTest.java | 99 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/ |
D | DeviceUtils.java | 24 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK); in isTelevision()
|
/packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/ |
D | DeviceUtils.java | 35 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isOdpSupported()
|
/packages/modules/OnDevicePersonalization/tests/testutils/src/com/android/ondevicepersonalization/testing/utils/ |
D | DeviceSupportHelper.java | 37 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isDeviceSupported()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v31/ |
D | TelevisionRoleBehavior.java | 37 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK); in isAvailableAsUser()
|
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/ |
D | BasePermissionUiTest.kt | 34 hasSystemFeature(PackageManager.FEATURE_LEANBACK) || in <lambda>()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/ |
D | HealthConnectBaseTest.kt | 55 !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) && in isHardwareSupported()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthServicesInitializer.java | 59 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isHardwareSupported()
|
/packages/apps/Settings/src/com/android/settings/privacy/ |
D | AppDataSharingUpdatesPreferenceController.java | 64 && !packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isPrivacySafetyLabelChangeNotificationsEnabled()
|
/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/ |
D | PermissionUtils.kt | 32 context.packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isAutomotive()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/ |
D | UiBaseTest.java | 84 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isHardwareSupported()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | HealthConnectUiTestHelper.kt | 82 !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) && in isHardwareSupported()
|
/packages/apps/Settings/src/com/android/settings/spa/network/ |
D | AirplaneModePreference.kt | 68 && !context.packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isAvailable()
|
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/ |
D | AppDataSharingUpdatesTest.kt | 38 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/ |
D | DeviceInfoUtils.kt | 99 !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) && in isHealthConnectAvailable()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | ConnectivityServiceInitializer.java | 184 if (!SdkLevel.isAtLeastV() && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK)) { in createThreadNetworkService()
|
/packages/modules/OnDevicePersonalization/systemservice/java/com/android/server/ondevicepersonalization/ |
D | OnDevicePersonalizationSystemService.java | 184 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK) in isOdpSupported()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | ReviewAccessibilityServicesTest.kt | 78 Assume.assumeFalse(context.packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK)) in assumeNotAutoTvOrWear()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/ |
D | SafetyLabelChangesJobServiceTest.kt | 98 whenever(mockPackageManager.hasSystemFeature(eq(PackageManager.FEATURE_LEANBACK))) in setUp()
|