Home
last modified time | relevance | path

Searched refs:GetProperty (Results 1 – 25 of 44) 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.cpp97 const std::string dex2oat_flags = GetProperty("dalvik.vm.dex2oat-flags", ""); in Initialize()
213 std::string vold_decrypt = GetProperty("vold.decrypt", ""); in PrepareCompilerConfigFlags()
262 debuggable = GetProperty("dalvik.vm.always_debuggable", "") == "1"; in PrepareCompilerConfigFlags()
350 std::string RunDex2Oat::GetProperty(const std::string& key, in GetProperty() function in android::installd::RunDex2Oat
352 return android::base::GetProperty(key, default_value); in GetProperty()
362 std::string prop = GetProperty(property, default_value); in MapPropertyToArg()
374 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);
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()
Ddexopt.cpp72 using android::base::GetProperty;
179 return android::base::GetProperty("persist.sys.dalvik.vm.lib.2", "") == "libartd.so"; in is_debug_runtime()
279 (android::base::GetProperty("ro.build.version.codename", "") == "REL"), in select_execution_binary()
313 std::string profile_boot_class_path = GetProperty("dalvik.vm.profilebootclasspath", ""); in IsBootClassPathProfilingEnable()
343 std::string dex2oat_prop_buf = GetProperty("dalvik.vm.dex2oat-swap", ""); in ShouldUseSwapFileForDexopt()
1026 std::string app_image_format = GetProperty("dalvik.vm.appimageformat", ""); in maybe_open_app_image()
1941 if (!GetProperty("ro.product.cpu.abilist64", "").empty()) { in dexopt()
2355 const std::string slot_suffix = GetProperty("ro.boot.slot_suffix", ""); in move_ab()
/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.cpp99 std::string debugOverdrawProperty = base::GetProperty(PROPERTY_DEBUG_OVERDRAW, ""); in load()
112 std::string profileProperty = base::GetProperty(PROPERTY_PROFILE, ""); in load()
198 …std::string rendererProperty = base::GetProperty(PROPERTY_RENDERER, useVulkan ? "skiavk" : "skiagl… in peekRenderPipelineType()
/frameworks/native/services/surfaceflinger/
DFlagManager.cpp100 doParse<bool>(base::GetProperty("debug.sf.enable_adpf_cpu_hint", "").c_str()); in use_adpf_cpu_hint()
106 doParse<bool>(base::GetProperty(PROPERTY_SKIA_ATRACE_ENABLED, "").c_str()); in use_skia_tracing()
/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/base/core/jni/
DAndroidRuntime.cpp55 using android::base::GetProperty;
446 const std::string locale = GetProperty("persist.sys.locale", ""); in readLocale()
451 const std::string language = GetProperty("persist.sys.language", ""); in readLocale()
453 const std::string country = GetProperty("persist.sys.country", ""); in readLocale()
454 const std::string variant = GetProperty("persist.sys.localevar", ""); in readLocale()
468 const std::string productLocale = GetProperty("ro.product.locale", ""); in readLocale()
475 const std::string productLanguage = GetProperty("ro.product.locale.language", "en"); in readLocale()
476 const std::string productRegion = GetProperty("ro.product.locale.region", "US"); in readLocale()
1134 std::string fingerprint = GetProperty("ro.build.fingerprint", ""); in startVm()
DLayoutlibLoader.cpp236 if (base::GetProperty(kAbilistProp, EMPTY) != EMPTY) { in property_initialize_ro_cpu_abilist()
244 abilist32_prop_val = base::GetProperty(abilist32_prop, EMPTY); in property_initialize_ro_cpu_abilist()
245 abilist64_prop_val = base::GetProperty(abilist64_prop, EMPTY); in property_initialize_ro_cpu_abilist()
Dandroid_os_SystemProperties.cpp77 android::base::GetProperty(key.c_str(), "").c_str()); in ReadProperty()
Dandroid_hardware_camera2_DngCreator.cpp55 using android::base::GetProperty;
1497 std::string manufacturer = GetProperty("ro.product.manufacturer", ""); in DngCreator_setup()
1508 std::string model = GetProperty("ro.product.model", ""); in DngCreator_setup()
1534 std::string software = GetProperty("ro.build.fingerprint", ""); in DngCreator_setup()
1871 std::string model = GetProperty("ro.product.model", ""); in DngCreator_setup()
1872 std::string manufacturer = GetProperty("ro.product.manufacturer", ""); in DngCreator_setup()
1873 std::string brand = GetProperty("ro.product.brand", ""); in DngCreator_setup()
/frameworks/base/cmds/bootanimation/
DBootAnimationUtil.cpp90 if (!android::base::GetProperty(POWER_CTL_PROP_NAME, "").empty()) { in playSoundsAllowed()
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp172 auto buildId = base::GetProperty("ro.build.id", ""); in getFlattenedSize()
193 auto buildId = base::GetProperty("ro.build.id", ""); in flatten()
246 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/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()
/frameworks/native/libs/dumputils/
Ddump_utils.cpp101 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/libstagefright/omx/
DOMXStore.cpp115 std::string characteristics = android::base::GetProperty("ro.build.characteristics", ""); in isTV()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp768 build = android::base::GetProperty("ro.build.display.id", "(unknown)"); in PrintHeader()
769 fingerprint = android::base::GetProperty("ro.build.fingerprint", "(unknown)"); in PrintHeader()
770 radio = android::base::GetProperty("gsm.version.baseband", "(unknown)"); in PrintHeader()
771 bootloader = android::base::GetProperty("ro.bootloader", "(unknown)"); in PrintHeader()
772 network = android::base::GetProperty("gsm.operator.alpha", "(unknown)"); in PrintHeader()
791 android::base::GetProperty("build.version.extensions.r", "-").c_str(), in PrintHeader()
792 android::base::GetProperty("build.version.extensions.s", "-").c_str()); in PrintHeader()
2434 android::base::GetProperty("persist.dbg.keep_debugfs_mounted", ""); in DumpstateBoard()
2583 std::string build_id = android::base::GetProperty("ro.build.id", "UNKNOWN_BUILD"); in PrepareToWriteToFile()
2584 std::string device_name = android::base::GetProperty("ro.product.name", "UNKNOWN_DEVICE"); in PrepareToWriteToFile()
[all …]

12