Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dotapreopt.cpp148 int GetProperty(const char* key, char* value, const char* default_value) const { in GetProperty() function in android::installd::OTAPreoptService
149 const std::string* prop_value = system_properties_.GetProperty(key); in GetProperty()
215 if (system_properties_.GetProperty(kAndroidDataPathPropertyName) == nullptr) { in ReadEnvironment()
218 android_data_ = *system_properties_.GetProperty(kAndroidDataPathPropertyName); in ReadEnvironment()
220 if (system_properties_.GetProperty(kAndroidRootPathPropertyName) == nullptr) { in ReadEnvironment()
223 android_root_ = *system_properties_.GetProperty(kAndroidRootPathPropertyName); in ReadEnvironment()
225 if (system_properties_.GetProperty(kBootClassPathPropertyName) == nullptr) { in ReadEnvironment()
228 boot_classpath_ = *system_properties_.GetProperty(kBootClassPathPropertyName); in ReadEnvironment()
230 if (system_properties_.GetProperty(ASEC_MOUNTPOINT_ENV_NAME) == nullptr) { in ReadEnvironment()
233 asec_mountpoint_ = *system_properties_.GetProperty(ASEC_MOUNTPOINT_ENV_NAME); in ReadEnvironment()
[all …]
Dsystem_properties.h51 const std::string* GetProperty(const std::string& key) const { in GetProperty() function
Ddexopt.cpp93 return android::base::GetProperty("persist.sys.dalvik.vm.lib.2", "") == "libartd.so"; in is_debug_runtime()
313 bool is_release = android::base::GetProperty("ro.build.version.codename", "") == "REL"; in run_dex2oat()
/frameworks/av/services/mediaextractor/
Dmain_extractorservice.cpp69 std::string value = base::GetProperty("ro.build.type", "unknown"); in main()
/frameworks/base/core/jni/
DAndroidRuntime.cpp53 using android::base::GetProperty;
417 const std::string locale = GetProperty("persist.sys.locale", ""); in readLocale()
422 const std::string language = GetProperty("persist.sys.language", ""); in readLocale()
424 const std::string country = GetProperty("persist.sys.country", ""); in readLocale()
425 const std::string variant = GetProperty("persist.sys.localevar", ""); in readLocale()
439 const std::string productLocale = GetProperty("ro.product.locale", ""); in readLocale()
446 const std::string productLanguage = GetProperty("ro.product.locale.language", "en"); in readLocale()
447 const std::string productRegion = GetProperty("ro.product.locale.region", "US"); in readLocale()
997 std::string fingerprint = GetProperty("ro.build.fingerprint", ""); in startVm()
Dandroid_os_SystemProperties.cpp59 std::string prop_val = android::base::GetProperty(key, ""); in SystemProperties_getSS()
Dandroid_hardware_camera2_DngCreator.cpp53 using android::base::GetProperty;
1242 std::string manufacturer = GetProperty("ro.product.manufacturer", ""); in DngCreator_setup()
1253 std::string model = GetProperty("ro.product.model", ""); in DngCreator_setup()
1279 std::string software = GetProperty("ro.build.fingerprint", ""); in DngCreator_setup()
1615 std::string model = GetProperty("ro.product.model", ""); in DngCreator_setup()
1616 std::string manufacturer = GetProperty("ro.product.manufacturer", ""); in DngCreator_setup()
1617 std::string brand = GetProperty("ro.product.brand", ""); in DngCreator_setup()
Dandroid_util_AssetManager.cpp165 std::string overlay_theme_path = base::GetProperty(AssetManager::OVERLAY_THEME_DIR_PROPERTY, in NativeVerifySystemIdmaps()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp693 build = android::base::GetProperty("ro.build.display.id", "(unknown)"); in PrintHeader()
694 fingerprint = android::base::GetProperty("ro.build.fingerprint", "(unknown)"); in PrintHeader()
695 radio = android::base::GetProperty("gsm.version.baseband", "(unknown)"); in PrintHeader()
696 bootloader = android::base::GetProperty("ro.bootloader", "(unknown)"); in PrintHeader()
697 network = android::base::GetProperty("gsm.operator.alpha", "(unknown)"); in PrintHeader()
1025 anr_traces_dir = android::base::GetProperty("dalvik.vm.stack-trace-dir", ""); in AddAnrTraceFiles()
1027 anr_traces_file = android::base::GetProperty("dalvik.vm.stack-trace-file", ""); in AddAnrTraceFiles()
1888 ds.extra_options_ = android::base::GetProperty(PROPERTY_EXTRA_OPTIONS, ""); in run_main()
1917 ds.notification_title = android::base::GetProperty(PROPERTY_EXTRA_TITLE, ""); in run_main()
1922 ds.notification_description = android::base::GetProperty(PROPERTY_EXTRA_DESCRIPTION, ""); in run_main()
[all …]
Dutils.cpp90 static Dumpstate singleton_(android::base::GetProperty("dumpstate.version", VERSION_CURRENT)); in GetInstance()
789 const std::string traces_dir = android::base::GetProperty("dalvik.vm.stack-trace-dir", ""); in dump_traces()
794 const std::string traces_file = android::base::GetProperty("dalvik.vm.stack-trace-file", ""); in dump_traces()
DDumpstateUtil.cpp182 build_type_ = android::base::GetProperty("ro.build.type", "user"); in IsUserBuild()
/frameworks/base/cmds/bootanimation/
Dbootanimation_main.cpp78 if (!android::base::GetProperty(POWER_CTL_PROP_NAME, "").empty()) { in playSoundsAllowed()
DBootAnimation.cpp107 std::string powerCtl = android::base::GetProperty("sys.powerctl", ""); in BootAnimation()
/frameworks/base/cmds/incidentd/src/
DReporter.cpp134 std::string buildType = android::base::GetProperty("ro.build.type", ""); in runReport()
/frameworks/native/cmds/atrace/
Datrace.cpp393 return !android::base::GetProperty(k_coreServicesProp, "").empty(); in isCategorySupported()
823 packageList += android::base::GetProperty(k_coreServicesProp, ""); in setUpUserspaceTracing()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp210 std::string file_path = base::GetProperty(property_name, ""); in OnGetConfigurationData()
/frameworks/ml/nn/common/
DUtils.cpp48 const std::string vLogSetting = android::base::GetProperty(kVLogPropKey, ""); in initVLogMask()
1725 const std::string propStr = android::base::GetProperty(str, ""); in getProp()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp874 bool has_metric = !base::GetProperty(kDvrLensMetricsProperty, "").empty(); in TEST_F()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp143 SetBuildType(android::base::GetProperty("ro.build.type", "(unknown)")); in SetUp()