Searched refs:GetOrEmpty (Results 1 – 5 of 5) sorted by relevance
/art/libarttools/ |
D | system_properties_test.cc | 56 TEST_F(SystemPropertiesTest, GetOrEmpty) { in TEST_F() argument 58 EXPECT_EQ(system_properties_.GetOrEmpty("key_1"), "value_1"); in TEST_F() 65 EXPECT_EQ(system_properties_.GetOrEmpty("key_1", "key_2", "key_3"), "value_2"); in TEST_F() 70 EXPECT_EQ(system_properties_.GetOrEmpty("key_1"), ""); in TEST_F()
|
/art/artd/ |
D | artd.cc | 903 props_->GetOrEmpty("dalvik.vm.bgdexopt.new-classes-percent")) in mergeProfiles() 905 props_->GetOrEmpty("dalvik.vm.bgdexopt.new-methods-percent")) in mergeProfiles() 1084 args.AddIfNonEmpty("--image-format=%s", props_->GetOrEmpty("dalvik.vm.appimageformat")); in dexopt() 1458 std::string old_release_str = props_->GetOrEmpty("ro.build.version.release"); in checkPreRebootSystemRequirements() 1464 std::string new_release_str = new_props.GetOrEmpty("ro.build.version.release"); in checkPreRebootSystemRequirements() 1584 cached_user_defined_boot_image_locations_ = props_->GetOrEmpty("dalvik.vm.boot-image"); in GetUserDefinedBootImageLocationsLocked() 1615 return !props_->GetOrEmpty("ro.product.cpu.abilist64").empty() && in ShouldUseDex2Oat64() 1645 args.AddIfNonEmpty("--instruction-set-features=%s", props_->GetOrEmpty(features_prop)); in AddCompilerConfigFlags() 1647 args.AddIfNonEmpty("--instruction-set-variant=%s", props_->GetOrEmpty(variant_prop)); in AddCompilerConfigFlags() 1655 props_->GetOrEmpty("dalvik.vm.dex2oat-max-image-block-size")) in AddCompilerConfigFlags() [all …]
|
D | artd_test.cc | 2645 EXPECT_EQ(props.GetOrEmpty("property.foo"), "123"); in TEST_F() 2646 EXPECT_EQ(props.GetOrEmpty("property.bar"), "789"); in TEST_F() 2647 EXPECT_EQ(props.GetOrEmpty("property.baz"), "111"); in TEST_F()
|
/art/libarttools/include/tools/ |
D | system_properties.h | 73 std::string GetOrEmpty(const std::string& key, Args... fallback_keys) const { in GetOrEmpty() function
|
/art/odrefresh/ |
D | odrefresh.cc | 428 threads = system_properties.GetOrEmpty("dalvik.vm.background-dex2oat-threads", in AddDex2OatConcurrencyArguments() 431 threads = system_properties.GetOrEmpty("dalvik.vm.boot-dex2oat-threads"); in AddDex2OatConcurrencyArguments() 437 cpu_set = system_properties.GetOrEmpty("dalvik.vm.background-dex2oat-cpu-set", in AddDex2OatConcurrencyArguments() 440 cpu_set = system_properties.GetOrEmpty("dalvik.vm.boot-dex2oat-cpu-set"); in AddDex2OatConcurrencyArguments() 463 args.AddIfNonEmpty("--instruction-set-features=%s", system_properties.GetOrEmpty(features_prop)); in AddDex2OatInstructionSet() 465 args.AddIfNonEmpty("--instruction-set-variant=%s", system_properties.GetOrEmpty(variant_prop)); in AddDex2OatInstructionSet() 1100 std::string property = system_properties.GetOrEmpty(system_property_config.name); in CheckSystemPropertiesAreDefault() 1140 std::string property = system_properties.GetOrEmpty(name); in CheckSystemPropertiesHaveNotChanged() 1908 args.AddRuntimeIfNonEmpty("-Xms%s", system_properties.GetOrEmpty("dalvik.vm.image-dex2oat-Xms")) in RunDex2oatForBootClasspath() 1909 .AddRuntimeIfNonEmpty("-Xmx%s", system_properties.GetOrEmpty("dalvik.vm.image-dex2oat-Xmx")); in RunDex2oatForBootClasspath() [all …]
|