Home
last modified time | relevance | path

Searched refs:uname (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DDeviceInfoUtilsTest.java47 final StructUtsname uname = new StructUtsname(sysName, nodeName, release, version, machine); in formatKernelVersion_regularInputVersion_shouldStripOptionalValues() local
51 assertThat(DeviceInfoUtils.formatKernelVersion(mContext, uname)).isEqualTo(expected); in formatKernelVersion_regularInputVersion_shouldStripOptionalValues()
61 final StructUtsname uname = new StructUtsname(sysName, nodeName, release, version, machine); in formatKernelVersion_nonRegularInputVersion_shouldBeUnavailable() local
65 assertThat(DeviceInfoUtils.formatKernelVersion(mContext, uname)).isEqualTo(expected); in formatKernelVersion_nonRegularInputVersion_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() argument
75 if (uname == null) { in formatKernelVersion()
85 Matcher m = Pattern.compile(VERSION_REGEX).matcher(uname.version); in formatKernelVersion()
87 Log.e(TAG, "Regex did not match on uname version " + uname.version); in formatKernelVersion()
94 return new StringBuilder().append(uname.release) in formatKernelVersion()
/frameworks/layoutlib/bridge/
Dupdate_nav_icons.sh18 case $(uname -s) in
/frameworks/av/media/codec2/hidl/services/seccomp_policy/
Dandroid.hardware.media.c2@1.1-default-x86_64.policy60 uname: 1
Dandroid.hardware.media.c2@1.1-default-x86.policy60 uname: 1
/frameworks/av/services/mediacodec/seccomp_policy/
Dmediacodec-x86_64.policy60 uname: 1
Dmediaswcodec-x86.policy60 uname: 1
Dmediacodec-x86.policy60 uname: 1
Dmediaswcodec-x86_64.policy60 uname: 1
/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc30 if (uname(&info))
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp867 if (uname(&uts) == -1) { in NeedsNoRandomizeWorkaround()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt27628 method public static android.system.StructUtsname uname();
/frameworks/base/api/
Dcurrent.txt44813 method public static android.system.StructUtsname uname();