Searched refs:FEATURE_LEANBACK_ONLY (Results 1 – 9 of 9) sorted by relevance
284 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK_ONLY)) { in testAlarmClockDismissAlarm()292 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK_ONLY)) { in testAlarmClockSnoozeAlarm()307 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK_ONLY)) { in testAlarmClockShowTimers()
88 if (!hasFeature(FEATURE_LEANBACK_ONLY, false)) return; in testPowerUse()
128 .hasSystemFeature(PackageManager.FEATURE_LEANBACK_ONLY); in isTV()
113 && !pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK_ONLY); in isSupportedDevice()
45 public static final String FEATURE_LEANBACK_ONLY = "android.software.leanback_only"; field in BatteryStatsValidationTest
373 if (!hasFeature(FEATURE_LEANBACK_ONLY, false)) return; in testDeviceCalculatedPowerUse()395 if (!hasFeature(FEATURE_LEANBACK_ONLY, false)) return; in testDeviceCalculatedPowerBlameUid()
631 if (!hasFeature(FEATURE_LEANBACK_ONLY, false)) return; in testConnectivityStateChange()
100 public static final String FEATURE_LEANBACK_ONLY = "android.software.leanback_only"; field in AtomTestCase
539 context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK_ONLY)); in testNotificationSeen()