Home
last modified time | relevance | path

Searched refs:formatKernelVersion (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DDeviceInfoUtilsTest.java51 assertThat(DeviceInfoUtils.formatKernelVersion(mContext, uname)).isEqualTo(expected); in formatKernelVersion_regularInputVersion_shouldStripOptionalValues()
65 assertThat(DeviceInfoUtils.formatKernelVersion(mContext, uname)).isEqualTo(expected); in formatKernelVersion_nonRegularInputVersion_shouldBeUnavailable()
72 assertThat(DeviceInfoUtils.formatKernelVersion(mContext, null)).isEqualTo(expected); in formatKernelVersion_nullInputVersion_shouldBeUnavailable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java70 return formatKernelVersion(context, Os.uname()); in getFormattedKernelVersion()
74 static String formatKernelVersion(Context context, StructUtsname uname) { in formatKernelVersion() method in DeviceInfoUtils