Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A 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()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A 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()
/aosp14/system/core/fs_mgr/tests/
H A Dvts_fs_test.cpp58 ASSERT_EQ(uname(&uts), 0); in TEST()
83 ASSERT_EQ(uname(&uts), 0); in TEST()
H A Dadb-remount-test.sh782 HOSTOS=`uname`
/aosp14/system/core/shell_and_utilities/
H A DREADME.md69 traceroute6 true truncate tty tunctl uclampset ulimit umount uname
103 traceroute6 true truncate tty tunctl **uclampset** ulimit umount uname
137 traceroute6 true truncate tty tunctl ulimit umount uname uniq unix2dos
171 tty tunctl ulimit umount uname uniq unix2dos unlink unshare uptime
203 true truncate tty **tunctl** ulimit umount uname uniq unix2dos **unlink**
231 umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc
256 tty ulimit umount uname uniq unix2dos uptime usleep **uudecode** **uuencode**
278 time timeout touch tr true truncate **tty** **ulimit** umount uname uniq unix2dos
299 time timeout touch tr true truncate umount uname uniq unix2dos usleep
/aosp14/system/core/init/
H A Dbootchart.cpp74 if (uname(&uts) == -1) return; in log_header()
H A Dfirst_stage_init.cpp168 if (uname(&uts)) { in LoadKernelModules()
H A Dinit.cpp699 if ((uname(&uts) != 0) || (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) { in SetKernelVersion()
/aosp14/system/core/fastboot/device/
H A Dusb.cpp215 if ((uname(&uts) != 0) || (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) { in DoesKernelSupportIouring()
/aosp14/system/core/toolbox/
H A Dmodprobe.cpp95 if ((uname(&uts) != 0) || (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) { in KernelVersionNameFilter()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
H A Dsnapuserd_core.cpp441 if ((uname(&uts) != 0) || (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) { in IsIouringSupported()
/aosp14/system/core/libsysutils/src/
H A DNetlinkEvent.cpp171 (void)uname(&u); // only possible failure is EFAULT, but u is on stack. in isKernel64Bit()
/aosp14/system/core/fs_mgr/libdm/
H A Ddm.cpp741 if (uname(&uts) != 0 || sscanf(uts.release, "%u.%u", &major, &minor) != 2) { in CreatePlaceholderDevice()
H A Ddm_test.cpp722 ASSERT_EQ(uname(&u), 0); in TEST_F()
/aosp14/system/core/fs_mgr/
H A Dfs_mgr_overlayfs.cpp325 uname(&uts); in KernelSupportsUserXattrs()
H A Dfs_mgr.cpp2405 if (uname(&uts) == -1) { in fs_mgr_overlayfs_valid()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...