Home
last modified time | relevance | path

Searched refs:GetProperty (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/native/cmds/installd/
Dotapreopt.cpp159 int GetProperty(const char* key, char* value, const char* default_value) const { in GetProperty() function in android::installd::OTAPreoptService
160 const std::string* prop_value = system_properties_.GetProperty(key); in GetProperty()
263 if (system_properties_.GetProperty(kAndroidDataPathPropertyName) == nullptr) { in ReadEnvironment()
266 android_data_ = *system_properties_.GetProperty(kAndroidDataPathPropertyName); in ReadEnvironment()
268 if (system_properties_.GetProperty(kAndroidRootPathPropertyName) == nullptr) { in ReadEnvironment()
271 android_root_ = *system_properties_.GetProperty(kAndroidRootPathPropertyName); in ReadEnvironment()
273 if (system_properties_.GetProperty(kBootClassPathPropertyName) == nullptr) { in ReadEnvironment()
276 boot_classpath_ = *system_properties_.GetProperty(kBootClassPathPropertyName); in ReadEnvironment()
278 if (system_properties_.GetProperty(ASEC_MOUNTPOINT_ENV_NAME) == nullptr) { in ReadEnvironment()
281 asec_mountpoint_ = *system_properties_.GetProperty(ASEC_MOUNTPOINT_ENV_NAME); in ReadEnvironment()
[all …]
Drun_dex2oat.cpp99 const std::string dex2oat_flags = GetProperty("dalvik.vm.dex2oat-flags", ""); in Initialize()
241 debuggable = GetProperty("dalvik.vm.always_debuggable", "") == "1"; in PrepareCompilerConfigFlags()
340 std::string RunDex2Oat::GetProperty(const std::string& key, in GetProperty() function in android::installd::RunDex2Oat
342 return android::base::GetProperty(key, default_value); in GetProperty()
352 std::string prop = GetProperty(property, default_value); in MapPropertyToArg()
364 std::string value = GetProperty(property, default_value); in MapPropertyToArgWithBackup()
Dsystem_properties.h51 const std::string* GetProperty(const std::string& key) const { in GetProperty() function
Drun_dex2oat.h84 virtual std::string GetProperty(const std::string& key, const std::string& default_value);
/frameworks/av/media/libmedia/xsd/vts/
DValidateMediaProfiles.cpp38 std::string mediaSettingsPath = android::base::GetProperty("media.settings.xml", ""); in TEST()
50 std::string variant = android::base::GetProperty( in TEST()
/frameworks/base/libs/hwui/
DProperties.cpp113 std::string debugOverdrawProperty = base::GetProperty(PROPERTY_DEBUG_OVERDRAW, ""); in load()
126 std::string profileProperty = base::GetProperty(PROPERTY_PROFILE, ""); in load()
165 auto hdrHeadroom = (float)atof(base::GetProperty(PROPERTY_8BIT_HDR_HEADROOM, "").c_str()); in load()
225 …std::string rendererProperty = base::GetProperty(PROPERTY_RENDERER, useVulkan ? "skiavk" : "skiagl… in peekRenderPipelineType()
DMemoryPolicy.cpp55 std::string memoryPolicy = base::GetProperty(PROPERTY_MEMORY_POLICY, ""); in loadMemoryPolicy()
/frameworks/libs/modules-utils/build/tests/
Dsdk_level_test.cpp34 android::base::GetProperty("ro.build.version.codename", ""); in SdkLevelTest()
Dunbounded_sdk_level_test.cpp37 android::base::GetProperty("ro.build.version.codename", ""); in UnboundedSdkLevelTest()
/frameworks/native/services/sensorservice/
DSensorServiceUtils.cpp81 std::string buildType = android::base::GetProperty("ro.build.type", "user"); in isUserBuild()
/frameworks/av/media/codec2/hal/common/
DHalSelection.cpp56 std::string selection = ::android::base::GetProperty("media.c2.hal.selection", "hidl"); in IsCodec2AidlHalSelected()
/frameworks/libs/native_bridge_support/guest_state_accessor/
Daccessor_proxy.cc56 std::string library_name = android::base::GetProperty( in LoadGuestStateRegisters()
/frameworks/base/cmds/bootanimation/
DBootAnimationUtil.cpp90 if (!android::base::GetProperty(POWER_CTL_PROP_NAME, "").empty()) { in playSoundsAllowed()
/frameworks/base/core/jni/
DAndroidRuntime.cpp55 using android::base::GetProperty;
458 const std::string locale = GetProperty("persist.sys.locale", ""); in readLocale()
463 const std::string language = GetProperty("persist.sys.language", ""); in readLocale()
465 const std::string country = GetProperty("persist.sys.country", ""); in readLocale()
466 const std::string variant = GetProperty("persist.sys.localevar", ""); in readLocale()
480 const std::string productLocale = GetProperty("ro.product.locale", ""); in readLocale()
487 const std::string productLanguage = GetProperty("ro.product.locale.language", "en"); in readLocale()
488 const std::string productRegion = GetProperty("ro.product.locale.region", "US"); in readLocale()
1132 std::string fingerprint = GetProperty("ro.build.fingerprint", ""); in startVm()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2CommonUtils.cpp40 sDeviceCodeName = base::GetProperty("ro.build.version.codename", ""); in isAtLeast()
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp174 auto buildId = base::GetProperty("ro.build.id", ""); in getFlattenedSize()
195 auto buildId = base::GetProperty("ro.build.id", ""); in flatten()
250 auto buildId = base::GetProperty("ro.build.id", ""); in unflatten()
DLoader.cpp281 auto driverSuffix = base::GetProperty(RO_DRIVER_SUFFIX_PROPERTY, ""); in open()
299 auto prop = base::GetProperty(key, ""); in open()
571 auto prop = base::GetProperty(key, ""); in load_updated_driver()
/frameworks/base/core/jni/platform/host/
DHostRuntime.cpp234 if (base::GetProperty(kAbilistProp, EMPTY) != EMPTY) { in property_initialize_ro_cpu_abilist()
242 abilist32_prop_val = base::GetProperty(abilist32_prop, EMPTY); in property_initialize_ro_cpu_abilist()
243 abilist64_prop_val = base::GetProperty(abilist64_prop, EMPTY); in property_initialize_ro_cpu_abilist()
/frameworks/native/libs/input/
DInputDevice.cpp29 using android::base::GetProperty;
107 if (auto apex = GetProperty("input_device.config_file.apex", ""); !apex.empty()) { in getInputDeviceConfigurationFilePathByName()
/frameworks/native/libs/dumputils/
Ddump_utils.cpp125 std::string value = android::base::GetProperty("ro.dump.hals.extra", ""); in read_extra_hals_to_dump_from_property()
/frameworks/native/libs/binder/ndk/tests/
DbinderVendorDoubleLoadTest.cpp38 using ::android::base::GetProperty;
/frameworks/av/media/module/codecserviceregistrant/
DCodecServiceRegistrant.cpp717 GetProperty("ro.com.android.media.swcodec.ion.heapmask", "undefined"); in ionPropertiesDefined()
719 GetProperty("ro.com.android.media.swcodec.ion.flags", "undefined"); in ionPropertiesDefined()
721 GetProperty("ro.com.android.media.swcodec.ion.align", "undefined"); in ionPropertiesDefined()
745 std::string codeName = android::base::GetProperty("ro.build.version.codename", ""); in getDeclaredHidlSwcodec()
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp36 using android::base::GetProperty;
85 auto device = GetProperty("ro.product.vendor.device", ""); in isCuttlefishPhone()
86 auto product = GetProperty("ro.product.vendor.name", ""); in isCuttlefishPhone()
/frameworks/av/drm/libmediadrmrkp/src/
DDrmRemotelyProvisionedComponent.cpp112 std::string propValue = android::base::GetProperty(prop, ""); in getDeviceInfo()
/frameworks/av/media/libstagefright/omx/
DOMXStore.cpp115 std::string characteristics = android::base::GetProperty("ro.build.characteristics", ""); in isTV()

123