Home
last modified time | relevance | path

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

12

/frameworks/native/cmds/installd/
Dotapreopt.cpp153 int GetProperty(const char* key, char* value, const char* default_value) const { in GetProperty() function in android::installd::OTAPreoptService
154 const std::string* prop_value = system_properties_.GetProperty(key); in GetProperty()
220 if (system_properties_.GetProperty(kAndroidDataPathPropertyName) == nullptr) { in ReadEnvironment()
223 android_data_ = *system_properties_.GetProperty(kAndroidDataPathPropertyName); in ReadEnvironment()
225 if (system_properties_.GetProperty(kAndroidRootPathPropertyName) == nullptr) { in ReadEnvironment()
228 android_root_ = *system_properties_.GetProperty(kAndroidRootPathPropertyName); in ReadEnvironment()
230 if (system_properties_.GetProperty(kBootClassPathPropertyName) == nullptr) { in ReadEnvironment()
233 boot_classpath_ = *system_properties_.GetProperty(kBootClassPathPropertyName); in ReadEnvironment()
235 if (system_properties_.GetProperty(ASEC_MOUNTPOINT_ENV_NAME) == nullptr) { in ReadEnvironment()
238 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.cpp60 using android::base::GetProperty;
98 return android::base::GetProperty("persist.sys.dalvik.vm.lib.2", "") == "libartd.so"; in is_debug_runtime()
258 std::string prop = GetProperty(property, default_value); in MapPropertyToArg()
269 std::string value = GetProperty(property, default_value); in MapPropertyToArgWithBackup()
285 (android::base::GetProperty("ro.build.version.codename", "") == "REL"), in select_execution_binary()
322 std::string profile_boot_class_path = GetProperty("dalvik.vm.profilebootclasspath", ""); in IsBootClassPathProfilingEnable()
400 const std::string dex2oat_flags = GetProperty("dalvik.vm.dex2oat-flags", ""); in RunDex2Oat()
405 std::string vold_decrypt = GetProperty("vold.decrypt", ""); in RunDex2Oat()
446 if (!GetProperty("ro.product.cpu.abilist64", "").empty()) { in RunDex2Oat()
519 debuggable = GetProperty("dalvik.vm.always_debuggable", "") == "1"; in RunDex2Oat()
[all …]
/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/core/jni/
DAndroidRuntime.cpp56 using android::base::GetProperty;
471 const std::string locale = GetProperty("persist.sys.locale", ""); in readLocale()
476 const std::string language = GetProperty("persist.sys.language", ""); in readLocale()
478 const std::string country = GetProperty("persist.sys.country", ""); in readLocale()
479 const std::string variant = GetProperty("persist.sys.localevar", ""); in readLocale()
493 const std::string productLocale = GetProperty("ro.product.locale", ""); in readLocale()
500 const std::string productLanguage = GetProperty("ro.product.locale.language", "en"); in readLocale()
501 const std::string productRegion = GetProperty("ro.product.locale.region", "US"); in readLocale()
1118 std::string fingerprint = GetProperty("ro.build.fingerprint", ""); in startVm()
Dandroid_os_SystemProperties.cpp77 android::base::GetProperty(key.c_str(), "").c_str()); in ReadProperty()
Dandroid_hardware_camera2_DngCreator.cpp54 using android::base::GetProperty;
1428 std::string manufacturer = GetProperty("ro.product.manufacturer", ""); in DngCreator_setup()
1439 std::string model = GetProperty("ro.product.model", ""); in DngCreator_setup()
1465 std::string software = GetProperty("ro.build.fingerprint", ""); in DngCreator_setup()
1801 std::string model = GetProperty("ro.product.model", ""); in DngCreator_setup()
1802 std::string manufacturer = GetProperty("ro.product.manufacturer", ""); in DngCreator_setup()
1803 std::string brand = GetProperty("ro.product.brand", ""); in DngCreator_setup()
Dandroid_util_AssetManager.cpp180 std::string overlay_theme_path = base::GetProperty(AssetManager::OVERLAY_THEME_DIR_PROPERTY, in NativeVerifySystemIdmaps()
/frameworks/base/cmds/bootanimation/
DBootAnimationUtil.cpp83 if (!android::base::GetProperty(POWER_CTL_PROP_NAME, "").empty()) { in playSoundsAllowed()
DBootAnimation.cpp119 std::string powerCtl = android::base::GetProperty("sys.powerctl", ""); in BootAnimation()
/frameworks/base/cmds/idmap2/idmap2/
DScan.cpp73 std::string version_prop = android::base::GetProperty("ro.vndk.version", "29"); in VendorIsQOrLater()
184 if (android::base::GetProperty(overlay_info->requiredSystemPropertyName, "") in Scan()
/frameworks/native/libs/dumputils/
Ddump_utils.cpp90 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/native/cmds/dumpstate/
Ddumpstate.cpp679 build = android::base::GetProperty("ro.build.display.id", "(unknown)"); in PrintHeader()
680 fingerprint = android::base::GetProperty("ro.build.fingerprint", "(unknown)"); in PrintHeader()
681 radio = android::base::GetProperty("gsm.version.baseband", "(unknown)"); in PrintHeader()
682 bootloader = android::base::GetProperty("ro.bootloader", "(unknown)"); in PrintHeader()
683 network = android::base::GetProperty("gsm.operator.alpha", "(unknown)"); in PrintHeader()
2126 std::string build_id = android::base::GetProperty("ro.build.id", "UNKNOWN_BUILD"); in PrepareToWriteToFile()
2127 std::string device_name = android::base::GetProperty("ro.product.name", "UNKNOWN_DEVICE"); in PrepareToWriteToFile()
2183 android::base::GetProperty(android::base::StringPrintf("dumpstate.%d.name", ds.pid_), ""); in FinalizeFile()
2359 std::string extra_options = android::base::GetProperty(PROPERTY_EXTRA_OPTIONS, ""); in getBugreportModeFromProperty()
2390 options->notification_title = android::base::GetProperty(PROPERTY_EXTRA_TITLE, ""); in SetOptionsFromProperties()
[all …]
DDumpstateUtil.cpp186 build_type_ = android::base::GetProperty("ro.build.type", "user"); in IsUserBuild()
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp146 mEnableLog = ::android::base::GetProperty("debug.nn.fuzzer.log", "") == "1"; in SetUpTestCase()
147 mDumpSpec = ::android::base::GetProperty("debug.nn.fuzzer.dumpspec", "") == "1"; in SetUpTestCase()
148 mDetectMemoryLeak = ::android::base::GetProperty("debug.nn.fuzzer.detectleak", "") == "1"; in SetUpTestCase()
/frameworks/ml/nn/runtime/
DTypeManager.cpp70 const std::string vExtProductDeny = android::base::GetProperty(kVExtProductDeny, ""); in isNNAPIVendorExtensionsUseAllowedInProductImage()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp210 std::string file_path = base::GetProperty(property_name, ""); in OnGetConfigurationData()
/frameworks/native/cmds/atrace/
Datrace.cpp442 return !android::base::GetProperty(k_coreServicesProp, "").empty(); in isCategorySupported()
808 packageList += android::base::GetProperty(k_coreServicesProp, ""); in setUpUserspaceTracing()
/frameworks/native/libs/graphicsenv/
DGraphicsEnv.cpp85 return android::base::GetProperty("ro.vndk.version", ""); in vndkVersionStr()
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp707 const std::string previous_value = android::base::GetProperty(property, ""); in TEST_F()
755 const std::string previous_value = android::base::GetProperty(property, ""); in TEST_F()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp144 android::base::GetProperty("ro.media.xml_variant.codecs", ""), in getDefaultXmlNames()
145 android::base::GetProperty("ro.media.xml_variant.codecs_performance", "") in getDefaultXmlNames()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp886 bool has_metric = !base::GetProperty(kDvrLensMetricsProperty, "").empty(); in TEST_F()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp587 SetBuildType(android::base::GetProperty("ro.build.type", "(unknown)")); in SetUp()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1779 ::android::base::GetProperty("ro.media.recorder-max-base-layer-fps", ""); in setupVideoEncoder()

12