Home
last modified time | relevance | path

Searched refs:GetProperty (Results 1 – 25 of 38) 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()
257 if (system_properties_.GetProperty(kAndroidDataPathPropertyName) == nullptr) { in ReadEnvironment()
260 android_data_ = *system_properties_.GetProperty(kAndroidDataPathPropertyName); in ReadEnvironment()
262 if (system_properties_.GetProperty(kAndroidRootPathPropertyName) == nullptr) { in ReadEnvironment()
265 android_root_ = *system_properties_.GetProperty(kAndroidRootPathPropertyName); in ReadEnvironment()
267 if (system_properties_.GetProperty(kBootClassPathPropertyName) == nullptr) { in ReadEnvironment()
270 boot_classpath_ = *system_properties_.GetProperty(kBootClassPathPropertyName); in ReadEnvironment()
272 if (system_properties_.GetProperty(ASEC_MOUNTPOINT_ENV_NAME) == nullptr) { in ReadEnvironment()
275 asec_mountpoint_ = *system_properties_.GetProperty(ASEC_MOUNTPOINT_ENV_NAME); in ReadEnvironment()
[all …]
Drun_dex2oat.cpp101 const std::string dex2oat_flags = GetProperty("dalvik.vm.dex2oat-flags", ""); in Initialize()
217 std::string vold_decrypt = GetProperty("vold.decrypt", ""); in PrepareCompilerConfigFlags()
266 debuggable = GetProperty("dalvik.vm.always_debuggable", "") == "1"; in PrepareCompilerConfigFlags()
354 std::string RunDex2Oat::GetProperty(const std::string& key, in GetProperty() function in android::installd::RunDex2Oat
356 return android::base::GetProperty(key, default_value); in GetProperty()
366 std::string prop = GetProperty(property, default_value); in MapPropertyToArg()
378 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.h81 virtual std::string GetProperty(const std::string& key, const std::string& default_value);
Ddexopt.cpp65 using android::base::GetProperty;
93 return android::base::GetProperty("persist.sys.dalvik.vm.lib.2", "") == "libartd.so"; in is_debug_runtime()
193 (android::base::GetProperty("ro.build.version.codename", "") == "REL"), in select_execution_binary()
227 std::string profile_boot_class_path = GetProperty("dalvik.vm.profilebootclasspath", ""); in IsBootClassPathProfilingEnable()
263 std::string dex2oat_prop_buf = GetProperty("dalvik.vm.dex2oat-swap", ""); in ShouldUseSwapFileForDexopt()
931 std::string app_image_format = GetProperty("dalvik.vm.appimageformat", ""); in maybe_open_app_image()
1818 if (!GetProperty("ro.product.cpu.abilist64", "").empty()) { in dexopt()
2201 const std::string slot_suffix = GetProperty("ro.boot.slot_suffix", ""); in move_ab()
Drun_dex2oat_test.cpp63 virtual std::string GetProperty(const std::string& key, in GetProperty() function in android::installd::RunDex2OatTest::FakeRunDex2Oat
76 std::string value = GetProperty(key, ""); in GetBoolProperty()
/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.cpp97 std::string debugOverdrawProperty = base::GetProperty(PROPERTY_DEBUG_OVERDRAW, ""); in load()
110 std::string profileProperty = base::GetProperty(PROPERTY_PROFILE, ""); in load()
193 …std::string rendererProperty = base::GetProperty(PROPERTY_RENDERER, useVulkan ? "skiavk" : "skiagl… in peekRenderPipelineType()
/frameworks/libs/modules-utils/build/include/android-modules-utils/
Dsdk_level.h30 android::base::GetProperty("ro.build.version.codename", ""); in IsAtLeastPreReleaseCodename()
/frameworks/av/services/mediacodec/registrant/
DCodecServiceRegistrant.cpp387 GetProperty("ro.com.android.media.swcodec.ion.heapmask", "undefined"); in ionPropertiesDefined()
389 GetProperty("ro.com.android.media.swcodec.ion.flags", "undefined"); in ionPropertiesDefined()
391 GetProperty("ro.com.android.media.swcodec.ion.align", "undefined"); in ionPropertiesDefined()
423 android::base::GetProperty("ro.build.version.codename", ""); in RegisterCodecServices()
/frameworks/base/core/jni/
DAndroidRuntime.cpp54 using android::base::GetProperty;
443 const std::string locale = GetProperty("persist.sys.locale", ""); in readLocale()
448 const std::string language = GetProperty("persist.sys.language", ""); in readLocale()
450 const std::string country = GetProperty("persist.sys.country", ""); in readLocale()
451 const std::string variant = GetProperty("persist.sys.localevar", ""); in readLocale()
465 const std::string productLocale = GetProperty("ro.product.locale", ""); in readLocale()
472 const std::string productLanguage = GetProperty("ro.product.locale.language", "en"); in readLocale()
473 const std::string productRegion = GetProperty("ro.product.locale.region", "US"); in readLocale()
1130 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;
1518 std::string manufacturer = GetProperty("ro.product.manufacturer", ""); in DngCreator_setup()
1529 std::string model = GetProperty("ro.product.model", ""); in DngCreator_setup()
1555 std::string software = GetProperty("ro.build.fingerprint", ""); in DngCreator_setup()
1892 std::string model = GetProperty("ro.product.model", ""); in DngCreator_setup()
1893 std::string manufacturer = GetProperty("ro.product.manufacturer", ""); in DngCreator_setup()
1894 std::string brand = GetProperty("ro.product.brand", ""); in DngCreator_setup()
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp168 auto buildId = base::GetProperty("ro.build.id", ""); in getFlattenedSize()
189 auto buildId = base::GetProperty("ro.build.id", ""); in flatten()
242 auto buildId = base::GetProperty("ro.build.id", ""); in unflatten()
Degl_angle_platform.cpp127 std::string angleEs2LibSuffix = android::base::GetProperty("ro.hardware.egl", ""); in initializeAnglePlatform()
DLoader.cpp239 auto prop = base::GetProperty(key, ""); in open()
508 auto prop = base::GetProperty(key, ""); in load_updated_driver()
Degl_layers.cpp172 debug_layers = base::GetProperty("debug.gles.layers", ""); in GetDebugLayers()
/frameworks/base/cmds/bootanimation/
DBootAnimationUtil.cpp90 if (!android::base::GetProperty(POWER_CTL_PROP_NAME, "").empty()) { in playSoundsAllowed()
/frameworks/native/libs/dumputils/
Ddump_utils.cpp94 std::string value = android::base::GetProperty("ro.dump.hals.extra", ""); in read_extra_hals_to_dump_from_property()
/frameworks/native/libs/graphicsenv/
DGraphicsEnv.cpp76 return base::GetProperty("ro.vndk.version", ""); in vndkVersionStr()
347 auto manufacturer = base::GetProperty("ro.product.manufacturer", "UNSET"); in checkAngleRules()
348 auto model = base::GetProperty("ro.product.model", "UNSET"); in checkAngleRules()
/frameworks/native/libs/binder/ndk/tests/
DbinderVendorDoubleLoadTest.cpp38 using ::android::base::GetProperty;
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp775 build = android::base::GetProperty("ro.build.display.id", "(unknown)"); in PrintHeader()
776 fingerprint = android::base::GetProperty("ro.build.fingerprint", "(unknown)"); in PrintHeader()
777 radio = android::base::GetProperty("gsm.version.baseband", "(unknown)"); in PrintHeader()
778 bootloader = android::base::GetProperty("ro.bootloader", "(unknown)"); in PrintHeader()
779 network = android::base::GetProperty("gsm.operator.alpha", "(unknown)"); in PrintHeader()
798 android::base::GetProperty("build.version.extensions.r", "-").c_str(), in PrintHeader()
799 android::base::GetProperty("build.version.extensions.s", "-").c_str()); in PrintHeader()
2319 android::base::GetProperty("persist.dbg.keep_debugfs_mounted", ""); in DumpstateBoard()
2469 std::string build_id = android::base::GetProperty("ro.build.id", "UNKNOWN_BUILD"); in PrepareToWriteToFile()
2470 std::string device_name = android::base::GetProperty("ro.product.name", "UNKNOWN_DEVICE"); in PrepareToWriteToFile()
[all …]
DDumpstateUtil.cpp198 build_type_ = android::base::GetProperty("ro.build.type", "user"); in IsUserBuild()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp353 std::string fingerprint = base::GetProperty("ro.vendor.build.fingerprint", in buildMediaCodecList()
358 std::string sdk = base::GetProperty("ro.vendor.build.version.sdk", "0"); in buildMediaCodecList()
/frameworks/native/cmds/atrace/
Datrace.cpp443 return !android::base::GetProperty(k_coreServicesProp, "").empty(); in isCategorySupported()
808 packageList += android::base::GetProperty(k_coreServicesProp, ""); in setUpUserspaceTracing()

12