/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/ |
D | DeviceInfoUtilsTest.java | 36 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("4.8.1", "4.8")); in testMajorMinorVersionCompare() 37 assertEquals(1, DeviceInfoUtils.compareMajorMinorVersion("4.9", "4.8.1")); in testMajorMinorVersionCompare() 38 assertEquals(1, DeviceInfoUtils.compareMajorMinorVersion("5.0", "4.8")); in testMajorMinorVersionCompare() 39 assertEquals(1, DeviceInfoUtils.compareMajorMinorVersion("5", "4.8")); in testMajorMinorVersionCompare() 40 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("5", "5.0")); in testMajorMinorVersionCompare() 41 assertEquals(1, DeviceInfoUtils.compareMajorMinorVersion("5-beta1", "4.8")); in testMajorMinorVersionCompare() 42 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("4.8.0.0", "4.8")); in testMajorMinorVersionCompare() 43 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("4.8-RC1", "4.8")); in testMajorMinorVersionCompare() 44 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("4.8", "4.8")); in testMajorMinorVersionCompare() 45 assertEquals(-1, DeviceInfoUtils.compareMajorMinorVersion("3.10", "4.8.0")); in testMajorMinorVersionCompare() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | FeedbackPreferenceController.java | 26 import com.android.settingslib.DeviceInfoUtils; 44 return !TextUtils.isEmpty(DeviceInfoUtils.getFeedbackReporterPackage(mContext)); in isAvailable() 50 intent.setPackage(DeviceInfoUtils.getFeedbackReporterPackage(mContext)); in updateState()
|
D | KernelVersionPreferenceController.java | 23 import com.android.settingslib.DeviceInfoUtils; 43 preference.setSummary(DeviceInfoUtils.getFormattedKernelVersion(mContext)); in updateState()
|
D | HardwareInfoPreferenceController.java | 26 import com.android.settingslib.DeviceInfoUtils; 56 FutureTask<String> msvSuffixTask = new FutureTask<>(() -> DeviceInfoUtils.getMsvSuffix()); in getDeviceModel()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/ |
D | DeviceInfoUtils.kt | 23 interface DeviceInfoUtils { interface 38 class DeviceInfoUtilsImpl @Inject constructor() : DeviceInfoUtils { in isHealthConnectAvailable() 111 fun deviceInfoUtils(): DeviceInfoUtils in deviceInfoUtils() 118 fun providesDeviceInfoUtils(): DeviceInfoUtils { in deviceInfoUtils()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/ |
D | KernelVersionPreferenceController.java | 22 import com.android.settingslib.DeviceInfoUtils; 37 return DeviceInfoUtils.getFormattedKernelVersion(mContext); in getSummary()
|
D | SecurityPatchLevelPreferenceController.java | 29 import com.android.settingslib.DeviceInfoUtils; 43 mCurrentPatch = DeviceInfoUtils.getSecurityPatch(); in SecurityPatchLevelPreferenceController()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | DeviceInfoUtils.java | 30 public class DeviceInfoUtils { class 172 final KVersion current = DeviceInfoUtils.getMajorMinorSubminorVersion(kernelVersion); in isKernelVersionAtLeast() 173 final KVersion from = DeviceInfoUtils.getMajorMinorSubminorVersion(version); in isKernelVersionAtLeast()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | SecurityPatchPreferenceController.java | 26 import com.android.settingslib.DeviceInfoUtils; 43 preference.setSummary(DeviceInfoUtils.getSecurityPatch()); in updateState()
|
D | KernelVersionPreferenceController.java | 26 import com.android.settingslib.DeviceInfoUtils; 43 preference.setSummary(DeviceInfoUtils.getFormattedKernelVersion(getContext())); in updateState()
|
D | HardwareInfoPreferenceController.java | 30 import com.android.settingslib.DeviceInfoUtils; 76 return new FutureTask<>(() -> DeviceInfoUtils.getMsvSuffix()); in createMsvSuffixTask()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/ |
D | KernelVersionPreferenceControllerTest.java | 23 import com.android.settingslib.DeviceInfoUtils; 49 DeviceInfoUtils.getFormattedKernelVersion(mContext)); in getSummary_shouldGetKernalVersion()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/hardwareinfo/ |
D | DeviceModelPreferenceController.java | 27 import com.android.settingslib.DeviceInfoUtils; 44 preference.setSummary(Build.MODEL + DeviceInfoUtils.getMsvSuffix()); in updateState()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/ |
D | FakeDeviceInfoUtils.kt | 24 import com.android.healthconnect.controller.utils.DeviceInfoUtils 26 class FakeDeviceInfoUtils : DeviceInfoUtils {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | AboutFragment.java | 53 import com.android.settingslib.DeviceInfoUtils; 165 final String patch = DeviceInfoUtils.getSecurityPatch(); in onCreatePreferences() 181 findPreference(KEY_DEVICE_MODEL).setSummary(Build.MODEL + DeviceInfoUtils.getMsvSuffix()); in onCreatePreferences() 189 .setSummary(DeviceInfoUtils.getFormattedKernelVersion(getContext())); in onCreatePreferences() 219 if (TextUtils.isEmpty(DeviceInfoUtils.getFeedbackReporterPackage(getActivity()))) { in onCreatePreferences() 460 String reporterPackage = DeviceInfoUtils.getFeedbackReporterPackage(getActivity()); in sendFeedback()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/ |
D | AppStoreUtilTest.kt | 23 import com.android.healthconnect.controller.utils.DeviceInfoUtils 38 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | KernelVersionPreferenceControllerTest.java | 32 import com.android.settingslib.DeviceInfoUtils; 68 DeviceInfoUtils.getFormattedKernelVersion(mContext)); in onCreate_setsSummary()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/ |
D | AboutState.java | 135 final String patch = DeviceInfoUtils.getSecurityPatch(); in onCreate() 143 Build.MODEL + DeviceInfoUtils.getMsvSuffix()); in onCreate() 152 .setSummary(DeviceInfoUtils.getFormattedKernelVersion(context)); in onCreate() 183 if (TextUtils.isEmpty(DeviceInfoUtils.getFeedbackReporterPackage(context))) { in onCreate() 455 String reporterPackage = DeviceInfoUtils.getFeedbackReporterPackage(context); in sendFeedback()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/hardwareinfo/ |
D | DeviceModelPreferenceControllerTest.java | 33 import com.android.settingslib.DeviceInfoUtils; 67 String deviceModel = Build.MODEL + DeviceInfoUtils.getMsvSuffix(); in onCreate_setsSummary()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/navigation/ |
D | TrampolineActivity.kt | 33 import com.android.healthconnect.controller.utils.DeviceInfoUtils 49 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/shared/ |
D | HelpAndFeedbackFragment.kt | 40 import com.android.healthconnect.controller.utils.DeviceInfoUtils 65 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/safetycenter/ |
D | SafetySourceBroadcastReceiver.kt | 33 import com.android.healthconnect.controller.utils.DeviceInfoUtils 42 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/ |
D | MigrationActivityTest.kt | 21 import com.android.healthconnect.controller.utils.DeviceInfoUtils 39 @BindValue val deviceInfoUtils: DeviceInfoUtils = FakeDeviceInfoUtils()
|
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/ |
D | MtsEthernetTetheringTest.java | 22 import static com.android.testutils.DeviceInfoUtils.KVersion; 52 import com.android.testutils.DeviceInfoUtils; 93 final KVersion current = DeviceInfoUtils.getMajorMinorSubminorVersion(kernelVersion); in isUdpOffloadSupportedByKernel()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/ |
D | ExportDestinationFragment.kt | 40 import com.android.healthconnect.controller.utils.DeviceInfoUtils in <lambda>() 55 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils in <lambda>()
|