Home
last modified time | relevance | path

Searched refs:SystemUtils (Results 1 – 25 of 52) sorted by relevance

123

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DSystemUtilsTest.java58 final String javaVersion = SystemUtils.JAVA_VERSION; in test_IS_JAVA()
60 assertFalse(SystemUtils.IS_JAVA_1_1); in test_IS_JAVA()
61 assertFalse(SystemUtils.IS_JAVA_1_2); in test_IS_JAVA()
62 assertFalse(SystemUtils.IS_JAVA_1_3); in test_IS_JAVA()
63 assertFalse(SystemUtils.IS_JAVA_1_4); in test_IS_JAVA()
64 assertFalse(SystemUtils.IS_JAVA_1_5); in test_IS_JAVA()
65 assertFalse(SystemUtils.IS_JAVA_1_6); in test_IS_JAVA()
66 assertFalse(SystemUtils.IS_JAVA_1_7); in test_IS_JAVA()
67 assertFalse(SystemUtils.IS_JAVA_1_8); in test_IS_JAVA()
68 assertFalse(SystemUtils.IS_JAVA_1_9); in test_IS_JAVA()
[all …]
DSystemPropertiesTest.java28 return SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_11); in isJava11OrGreater()
78 if (SystemUtils.IS_JAVA_14) { in testGetJavaCompiler()
/external/angle/src/common/
Dsystem_utils_unittest.cpp28 TEST(SystemUtils, ExecutablePath) in TEST() argument
38 TEST(SystemUtils, ExecutableDir) in TEST() argument
52 TEST(SystemUtils, Environment) in TEST() argument
72 TEST(SystemUtils, CpuTimeSmallOp) in TEST() argument
80 TEST(SystemUtils, CpuTimeSleepy) in TEST() argument
89 TEST(SystemUtils, CpuTimeHeavyOp) in TEST() argument
100 TEST(SystemUtils, ConcatenatePathSimple) in TEST() argument
108 TEST(SystemUtils, ConcatenatePath1Empty) in TEST() argument
116 TEST(SystemUtils, ConcatenatePath2Empty) in TEST() argument
124 TEST(SystemUtils, ConcatenatePath2FullPath) in TEST() argument
[all …]
/external/ot-br-posix/src/backbone_router/
Ddua_routing_manager.cpp72SystemUtils::ExecuteCommand("ip -6 route add %s dev %s proto static metric 1", mDomainPrefix.ToStr… in AddDefaultRouteToThread()
78SystemUtils::ExecuteCommand("ip -6 route del %s dev %s proto static metric 1", mDomainPrefix.ToStr… in DelDefaultRouteToThread()
85 SystemUtils::ExecuteCommand("ip -6 rule add iif %s table openthread", mInterfaceName.c_str()); in AddPolicyRouteToBackbone()
86 SystemUtils::ExecuteCommand("ip -6 route add %s dev %s proto static table openthread", in AddPolicyRouteToBackbone()
92 SystemUtils::ExecuteCommand("ip -6 rule del iif %s table openthread", mInterfaceName.c_str()); in DelPolicyRouteToBackbone()
93 SystemUtils::ExecuteCommand("ip -6 route del %s dev %s proto static table openthread", in DelPolicyRouteToBackbone()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DCheckGcpEnvironment.java29 import org.apache.commons.lang3.SystemUtils;
69 if (SystemUtils.IS_OS_LINUX) { in isRunningOnGcp()
72 } else if (SystemUtils.IS_OS_WINDOWS) { in isRunningOnGcp()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DFileSystemTest.java26 import org.apache.commons.lang3.SystemUtils;
39 if (SystemUtils.IS_OS_WINDOWS) { in testGetCurrent()
42 if (SystemUtils.IS_OS_LINUX) { in testGetCurrent()
45 if (SystemUtils.IS_OS_MAC_OSX) { in testGetCurrent()
DFilenameUtilsTest.java35 import org.apache.commons.lang3.SystemUtils;
284 if (SystemUtils.IS_OS_WINDOWS) { in testGetFullPath()
287 if (SystemUtils.IS_OS_LINUX) { in testGetFullPath()
326 if (SystemUtils.IS_OS_WINDOWS) { in testGetFullPathNoEndSeparator()
329 if (SystemUtils.IS_OS_LINUX) { in testGetFullPathNoEndSeparator()
477 if (SystemUtils.IS_OS_WINDOWS) { in testGetPrefix()
480 if (SystemUtils.IS_OS_LINUX) { in testGetPrefix()
527 if (SystemUtils.IS_OS_WINDOWS) { in testGetPrefixLength()
530 if (SystemUtils.IS_OS_LINUX) { in testGetPrefixLength()
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/
DPathUtilsDeleteFileTest.java34 import org.apache.commons.lang3.SystemUtils;
62 assumeFalse(SystemUtils.IS_OS_WINDOWS); in testDeleteBrokenLink()
133 if (SystemUtils.IS_OS_WINDOWS) { in testDeleteReadOnlyFileDirectory1FileSize1()
152 if (SystemUtils.IS_OS_WINDOWS) { in testSetReadOnlyFileDirectory1FileSize1()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DJDKGenericDumpTestCase.java39 import org.apache.commons.lang3.SystemUtils;
86 if (SystemUtils.IS_OS_WINDOWS) { in findJavaHomes()
90 javaHomes.add(SystemUtils.JAVA_HOME); in findJavaHomes()
/external/apache-commons-io/src/test/java/org/apache/commons/io/function/
DIOIteratorAdapterTest.java32 import org.apache.commons.lang3.SystemUtils;
84 …final Class<? extends Exception> exClass = SystemUtils.isJavaVersionAtMost(JavaVersion.JAVA_1_8) ?… in testRemove()
DIOIteratorTest.java33 import org.apache.commons.lang3.SystemUtils;
88 …final Class<? extends Exception> exClass = SystemUtils.isJavaVersionAtMost(JavaVersion.JAVA_1_8) ?… in testRemove()
/external/ot-br-posix/src/utils/
Dsystem_utils.hpp38 namespace SystemUtils { namespace
Dsystem_utils.cpp45 namespace SystemUtils { namespace
/external/apache-commons-lang/src/site/resources/release-notes/
DRELEASE-NOTES-1.0.1.txt41 #- : SystemUtils.isJavaVersionAtLeast made static.
44 "1.1E-700F". Fix is to use SystemUtils to protect it for the moment.
DRELEASE-NOTES-2.1.txt83 - SystemUtils - methods to get system properties as File objects
119 25849 Add SystemUtils methods for directory properties.
123 26877 Add SystemUtils.AWT_TOOLKIT and others.
144 32133 SystemUtils fails init on HP-UX
DRELEASE-NOTES-3.9.txt31 o LANG-1427: Add API org.apache.commons.lang3.SystemUtils.isJavaVersionAtMost(JavaVersion)
35 o LANG-1416: Add more SystemUtils.IS_JAVA_XX variants.
113 o LANG-1393: Add API SystemUtils.String getEnvironmentVariable(final String name, final String defa…
114 o LANG-1394: org.apache.commons.lang3.SystemUtils should not write to System.err. Thanks to Sebb, G…
174 o LANG-1365: Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_1…
365 o LANG-1297: Add SystemUtils.getHostName() API.
380 o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
429 o org.apache.commons.lang3.SystemUtils
485 o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
493 o LANG-1146: z/OS identification in SystemUtils.
[all …]
DRELEASE-NOTES-3.5.txt27 o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
76 o org.apache.commons.lang3.SystemUtils
132 o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
140 o LANG-1146: z/OS identification in SystemUtils.
302 o LANG-1075: Deprecate SystemUtils.FILE_SEPARATOR and
303 SystemUtils.PATH_SEPARATOR.
313 o LANG-1273: Added new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils. Thanks
337 o LANG-821: Support OS X versions in SystemUtils. Thanks to Timo Kockert.
338 o LANG-1103: Add SystemUtils.IS_JAVA_1_9
367 o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
[all …]
DRELEASE-NOTES-3.8.1.txt90 o LANG-1393: Add API SystemUtils.String getEnvironmentVariable(final String name, final String defa…
91 o LANG-1394: org.apache.commons.lang3.SystemUtils should not write to System.err. Thanks to Sebb, G…
151 o LANG-1365: Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_1…
342 o LANG-1297: Add SystemUtils.getHostName() API.
357 o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
406 o org.apache.commons.lang3.SystemUtils
462 o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
470 o LANG-1146: z/OS identification in SystemUtils.
632 o LANG-1075: Deprecate SystemUtils.FILE_SEPARATOR and
633 SystemUtils.PATH_SEPARATOR.
[all …]
DRELEASE-NOTES-3.8.txt49 o LANG-1393: Add API SystemUtils.String getEnvironmentVariable(final String name, final String defa…
50 o LANG-1394: org.apache.commons.lang3.SystemUtils should not write to System.err. Thanks to Sebb, G…
118 o LANG-1365: Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_1…
309 o LANG-1297: Add SystemUtils.getHostName() API.
324 o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
373 o org.apache.commons.lang3.SystemUtils
429 o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
437 o LANG-1146: z/OS identification in SystemUtils.
599 o LANG-1075: Deprecate SystemUtils.FILE_SEPARATOR and
600 SystemUtils.PATH_SEPARATOR.
[all …]
DRELEASE-NOTES-3.6.txt196 o LANG-1297: Add SystemUtils.getHostName() API.
211 o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
260 o org.apache.commons.lang3.SystemUtils
316 o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
324 o LANG-1146: z/OS identification in SystemUtils.
486 o LANG-1075: Deprecate SystemUtils.FILE_SEPARATOR and
487 SystemUtils.PATH_SEPARATOR.
497 o LANG-1273: Added new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils. Thanks
521 o LANG-821: Support OS X versions in SystemUtils. Thanks to Timo Kockert.
522 o LANG-1103: Add SystemUtils.IS_JAVA_1_9
[all …]
DRELEASE-NOTES-3.7.txt50 o LANG-1365: Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_1…
248 o LANG-1297: Add SystemUtils.getHostName() API.
263 o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
312 o org.apache.commons.lang3.SystemUtils
368 o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
376 o LANG-1146: z/OS identification in SystemUtils.
538 o LANG-1075: Deprecate SystemUtils.FILE_SEPARATOR and
539 SystemUtils.PATH_SEPARATOR.
549 o LANG-1273: Added new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils. Thanks
573 o LANG-821: Support OS X versions in SystemUtils. Thanks to Timo Kockert.
[all …]
DRELEASE-NOTES-2.5.txt52 * [LANG-555] - SystemUtils - add IS_OS_WINDOWS_7 constant
53 * [LANG-554] - SystemUtils - add IS_JAVA_1_7 constant for JDK 1.7
DRELEASE-NOTES-3.4.txt51 o LANG-821: Support OS X versions in SystemUtils. Thanks to Timo Kockert.
52 o LANG-1103: Add SystemUtils.IS_JAVA_1_9
81 o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
123 o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
144 o LANG-1027: org.apache.commons.lang3.SystemUtils#isJavaVersionAtLeast should
171 o LANG-989: Add org.apache.commons.lang3.SystemUtils.IS_JAVA_1_8
378 o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.
439 o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
597 o LANG-624: SystemUtils.getJavaVersionAsFloat throws
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DSystemUtils.java35 public class SystemUtils { class
2091 public SystemUtils() { in SystemUtils() method in SystemUtils
/external/apache-commons-lang/
DRELEASE-NOTES.txt58 o Fix Javadoc for SystemUtils.isJavaVersionAtMost() #638. Thanks to John R. D'Orazio.
256 o LANG-1508: Add org.apache.commons.lang3.SystemUtils.getUserName(). Thanks to Gary Gregory.
259 o LANG-1512: Add IS_JAVA_14 and IS_JAVA_15 to org.apache.commons.lang3.SystemUtils. Thanks to Gary …
348 o LANG-1427: Add API org.apache.commons.lang3.SystemUtils.isJavaVersionAtMost(JavaVersion)
352 o LANG-1416: Add more SystemUtils.IS_JAVA_XX variants.
430 o LANG-1393: Add API SystemUtils.String getEnvironmentVariable(final String name, final String defa…
431 o LANG-1394: org.apache.commons.lang3.SystemUtils should not write to System.err. Thanks to Sebb, G…
491 o LANG-1365: Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_1…
682 o LANG-1297: Add SystemUtils.getHostName() API.
697 o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
[all …]

123