Home
last modified time | relevance | path

Searched refs:SystemProperties (Results 1 – 21 of 21) sorted by relevance

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DSystemPropertiesTest.java33 assertDoesNotThrow(SystemProperties::getAwtToolkit); in testGetAwtToolkit()
38 assertNotNull(SystemProperties.getFileEncoding()); in testGetFileEncoding()
43 assertNotNull(SystemProperties.getFileSeparator()); in testGetFileSeparator()
48 assertNull(SystemProperties.getJavaAwtFonts()); in testGetJavaAwtFonts()
53 assertDoesNotThrow(SystemProperties::getJavaAwtGraphicsenv); in testGetJavaAwtGraphicsenv()
58 assertNull(SystemProperties.getJavaAwtHeadless()); in testGetJavaAwtHeadless()
63 assertDoesNotThrow(SystemProperties::getJavaAwtPrinterjob); in testGetJavaAwtPrinterjob()
68 assertNotNull(SystemProperties.getJavaClassPath()); in testGetJavaClassPath()
73 assertNotNull(SystemProperties.getJavaClassVersion()); in testGetJavaClassVersion()
80 assertNotNull(SystemProperties.getJavaCompiler()); in testGetJavaCompiler()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSystemPropertiesTest.java5 import android.os.SystemProperties;
16 assertThat(SystemProperties.get("ro.product.device")).isEqualTo("robolectric"); in get()
21 assertThat(SystemProperties.get("foo", "bar")).isEqualTo("bar"); in getWithDefault()
30 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(16); in readPropFromJarNotClassPath16()
36 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(17); in readPropFromJarNotClassPath17()
42 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(18); in readPropFromJarNotClassPath18()
48 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(19); in readPropFromJarNotClassPath19()
54 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(21); in readPropFromJarNotClassPath21()
60 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(22); in readPropFromJarNotClassPath22()
66 assertThat(SystemProperties.getInt("ro.build.version.sdk", 0)).isEqualTo(23); in readPropFromJarNotClassPath23()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowSystemPropertiesTest.java5 import android.os.SystemProperties;
16 assertThat(SystemProperties.get("ro.product.device")).isEqualTo("robolectric"); in get()
21 assertThat(SystemProperties.get("foo", "bar")).isEqualTo("bar"); in getWithDefault()
38 assertThat(SystemProperties.getBoolean("false_1", true)).isFalse(); in getBoolean()
39 assertThat(SystemProperties.getBoolean("false_2", true)).isFalse(); in getBoolean()
40 assertThat(SystemProperties.getBoolean("false_3", true)).isFalse(); in getBoolean()
41 assertThat(SystemProperties.getBoolean("false_4", true)).isFalse(); in getBoolean()
42 assertThat(SystemProperties.getBoolean("false_5", true)).isFalse(); in getBoolean()
43 assertThat(SystemProperties.getBoolean("true_1", false)).isTrue(); in getBoolean()
44 assertThat(SystemProperties.getBoolean("true_2", false)).isTrue(); in getBoolean()
[all …]
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DSystemUtils.java66 public static final String FILE_ENCODING = SystemProperties.getFileEncoding();
93 public static final String FILE_SEPARATOR = SystemProperties.getFileSeparator();
111 public static final String JAVA_AWT_FONTS = SystemProperties.getJavaAwtFonts();
129 public static final String JAVA_AWT_GRAPHICSENV = SystemProperties.getJavaAwtGraphicsenv();
150 public static final String JAVA_AWT_HEADLESS = SystemProperties.getJavaAwtHeadless();
168 public static final String JAVA_AWT_PRINTERJOB = SystemProperties.getJavaAwtPrinterjob();
186 public static final String JAVA_CLASS_PATH = SystemProperties.getJavaClassPath();
204 public static final String JAVA_CLASS_VERSION = SystemProperties.getJavaClassVersion();
223 public static final String JAVA_COMPILER = SystemProperties.getJavaCompiler();
241 public static final String JAVA_ENDORSED_DIRS = SystemProperties.getJavaEndorsedDirs();
[all …]
DArchUtils.java124 return getProcessor(SystemProperties.getOsArch()); in getProcessor()
DSystemProperties.java27 public final class SystemProperties { class
/external/perfetto/src/profiling/memory/
Dsystem_property.cc29 SystemProperties::Handle::Handle(Handle&& other) noexcept { in Handle()
36 SystemProperties::Handle& SystemProperties::Handle::operator=( in operator =()
46 SystemProperties::Handle::Handle(SystemProperties* system_properties) in Handle()
49 SystemProperties::Handle::Handle(SystemProperties* system_properties, in Handle()
53 SystemProperties::Handle::~Handle() { in ~Handle()
62 SystemProperties::Handle::operator bool() { in operator bool()
66 SystemProperties::Handle SystemProperties::SetProperty(std::string name) { in SetProperty()
82 SystemProperties::Handle SystemProperties::SetAll() { in SetAll()
98 void SystemProperties::ResetHeapprofdProperties() { in ResetHeapprofdProperties()
128 SystemProperties::~SystemProperties() { in ~SystemProperties()
[all …]
Dsystem_property.h39 class SystemProperties {
43 friend void swap(SystemProperties::Handle&, SystemProperties::Handle&);
51 friend class SystemProperties; variable
56 explicit Handle(SystemProperties* system_properties, std::string property);
57 explicit Handle(SystemProperties* system_properties);
59 SystemProperties* system_properties_;
69 virtual ~SystemProperties();
84 void swap(SystemProperties::Handle& a, SystemProperties::Handle& b);
Dsystem_property_unittest.cc28 class MockSystemProperties : public SystemProperties {
129 { SystemProperties::Handle destroy = std::move(handle); } in TEST()
Dheapprofd_producer.h229 std::vector<SystemProperties::Handle> properties;
317 SystemProperties properties_;
Dheapprofd.cc117 SystemProperties::ResetHeapprofdProperties(); in HeapprofdMain()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSystemProperties.java3 import android.os.SystemProperties;
14 @Implements(value = SystemProperties.class, isInAndroidSdk = false)
78 SystemProperties.set(key, val); in override()
92 ClassLoader cl = SystemProperties.class.getClassLoader(); in loadProperties()
132 ReflectionHelpers.setStaticField(SystemProperties.class, "sChangeCallbacks", new ArrayList<>()); in reset()
DShadowSQLiteConnection.java4 import android.os.SystemProperties;
83 SystemProperties.set("debug.sqlite.syncmode", value); in setDefaultSyncMode()
84 SystemProperties.set("debug.sqlite.wal.syncmode", value); in setDefaultSyncMode()
96 SystemProperties.set("debug.sqlite.journalmode", value); in setDefaultJournalMode()
DShadowTelephonyManager.java34 import android.os.SystemProperties;
1223 String emergencyNumbers = SystemProperties.get(ecclist, "");
1227 emergencyNumbers = SystemProperties.get("ro.ril.ecclist");
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSystemProperties.java3 import android.os.SystemProperties;
13 @Implements(value = SystemProperties.class, isInAndroidSdk = false)
76 SystemProperties.set(key, val); in override()
90 ClassLoader cl = SystemProperties.class.getClassLoader(); in loadProperties()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DITNProxy.java27 import com.intellij.util.SystemProperties;
44 params.put("os.name", SystemProperties.getOsName()); in createParameters()
45 params.put("java.version", SystemProperties.getJavaVersion()); in createParameters()
46 params.put("java.vm.vendor", SystemProperties.getJavaVmVendor()); in createParameters()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptingLayerServiceLauncher.java22 import android.os.SystemProperties;
38 if(SystemProperties.getInt("ro.debuggable", 0) == DEBUGGABLE_BUILD) { in onCreate()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/text/
DStrLookup.java21 import org.apache.commons.lang3.SystemProperties;
184 return SystemProperties.getProperty(key); in lookup()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPollingService.java43 import android.os.SystemProperties;
243 String rcsSupported = SystemProperties.get("persist.rcs.supported"); in isRcsSupportedByDevice()
DPersistService.java35 import android.os.SystemProperties;
/external/android-nn-driver/
DLICENSE.spdx716 FileName: ./test/SystemProperties.cpp