Home
last modified time | relevance | path

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

/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/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 {
127 { SystemProperties::Handle destroy = std::move(handle); } in TEST()
Dheapprofd_producer.h231 std::vector<SystemProperties::Handle> properties;
317 SystemProperties properties_;
Dmain.cc80 SystemProperties::ResetHeapprofdProperties(); in HeapprofdMain()
/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/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/junit-params/lib/
Dassertj-core-1.7.1.jarMETA-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/ ...
/external/kotlinc/lib/
Dkotlin-stdlib.jarMETA-INF/ META-INF/MANIFEST.MF kotlin/ kotlin/collections/ kotlin/ ...
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...