Searched refs:formatKernelVersion (Results 1 – 2 of 2) sorted by relevance
51 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()
70 return formatKernelVersion(context, Os.uname()); in getFormattedKernelVersion()74 static String formatKernelVersion(Context context, StructUtsname uname) { in formatKernelVersion() method in DeviceInfoUtils