Home
last modified time | relevance | path

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

/art/libarttools/
Dsystem_properties_test.cc30 MOCK_METHOD(std::string, GetProperty, (const std::string& key), (const, override));
39 EXPECT_CALL(system_properties_, GetProperty("key_1")).WillOnce(Return("value_1")); in TEST_F()
44 EXPECT_CALL(system_properties_, GetProperty("key_1")).WillOnce(Return("")); in TEST_F()
45 EXPECT_CALL(system_properties_, GetProperty("key_2")).WillOnce(Return("value_2")); in TEST_F()
46 EXPECT_CALL(system_properties_, GetProperty("key_3")).WillOnce(Return("value_3")); in TEST_F()
52 EXPECT_CALL(system_properties_, GetProperty("key_1")).WillOnce(Return("")); in TEST_F()
57 EXPECT_CALL(system_properties_, GetProperty("key_1")).WillOnce(Return("value_1")); in TEST_F()
62 EXPECT_CALL(system_properties_, GetProperty("key_1")).WillOnce(Return("")); in TEST_F()
63 EXPECT_CALL(system_properties_, GetProperty("key_2")).WillOnce(Return("value_2")); in TEST_F()
64 EXPECT_CALL(system_properties_, GetProperty("key_3")).WillOnce(Return("value_3")); in TEST_F()
[all …]
/art/libarttools/include/tools/
Dsystem_properties.h42 std::string value = GetProperty(key); in Get()
80 android::base::ParseBoolResult result = android::base::ParseBool(GetProperty(key)); in GetBool()
101 virtual std::string GetProperty(const std::string& key) const { in GetProperty() function
102 return android::base::GetProperty(key, /*default_value=*/""); in GetProperty()
/art/odrefresh/
Dodrefresh_main.cc41 using ::android::base::GetProperty;
176 zygote = GetProperty("ro.zygote", {}); in InitializeConfig()
185 std::string filter = GetProperty("dalvik.vm.systemservercompilerfilter", ""); in InitializeConfig()
186 filter = GetProperty(kSystemPropertySystemServerCompilerFilterOverride, filter); in InitializeConfig()
192 GetProperty("ro.build.version.security_patch", /*default_value=*/""))) { in InitializeConfig()
196 if (ShouldDisableRefresh(GetProperty("ro.build.version.sdk", /*default_value=*/""))) { in InitializeConfig()
216 GetProperty(system_property_config.name, system_property_config.default_value); in GetSystemProperties()
Dodr_config.h108 std::string GetProperty(const std::string& key) const override { in GetProperty() function
/art/tools/
Dart_boot.cc38 std::string prop = android::base::GetProperty(src, ""); in CopyPropertyIf()
/art/runtime/arch/
Dinstruction_set_features_test.cc55 std::string dex2oat_isa_variant = android::base::GetProperty(key, "");
89 std::string dex2oat_isa_variant = android::base::GetProperty(variant_key, "");
94 std::string dex2oat_isa_features = android::base::GetProperty(features_key, "");
/art/libartbase/base/
Dflags.cc126 const std::string sysprop = ::android::base::GetProperty(system_property_name_, kUndefinedValue); in Reload()
136 ::android::base::GetProperty(server_setting_name_, kUndefinedValue); in Reload()
Dfile_utils.cc76 using android::base::GetProperty;
560 std::string user_defined_boot_image = GetProperty("dalvik.vm.boot-image", /*default_value=*/""); in GetBootImageLocationForDefaultBcpRespectingSysProps()
/art/artd/
Dartd_test.cc297 MOCK_METHOD(std::string, GetProperty, (const std::string& key), (const, override));
331 EXPECT_CALL(*mock_props_, GetProperty).Times(AnyNumber()).WillRepeatedly(Return("")); in SetUp()
929 EXPECT_CALL(*mock_props_, GetProperty("dalvik.vm.dex2oat-swap")).WillOnce(Return("0")); in TEST_F()
930 EXPECT_CALL(*mock_props_, GetProperty("dalvik.vm.isa.arm64.features")) in TEST_F()
932 EXPECT_CALL(*mock_props_, GetProperty("dalvik.vm.isa.arm64.variant")).WillOnce(Return("variant")); in TEST_F()
933 EXPECT_CALL(*mock_props_, GetProperty("dalvik.vm.dex2oat-max-image-block-size")) in TEST_F()
935 EXPECT_CALL(*mock_props_, GetProperty("dalvik.vm.dex2oat-very-large")) in TEST_F()
937 EXPECT_CALL(*mock_props_, GetProperty("dalvik.vm.dex2oat-resolve-startup-strings")) in TEST_F()
939 EXPECT_CALL(*mock_props_, GetProperty("debug.generate-debug-info")).WillOnce(Return("1")); in TEST_F()
940 EXPECT_CALL(*mock_props_, GetProperty("dalvik.vm.dex2oat-minidebuginfo")).WillOnce(Return("1")); in TEST_F()
[all …]
Dartd.h352 std::string GetProperty(const std::string& key) const override;
Dartd.cc328 android::base::GetProperty("dalvik.vm.artd-verbose", /*default_value=*/"oat"); in SetLogVerbosity()
1960 std::string BuildSystemProperties::GetProperty(const std::string& key) const { in GetProperty() function in art::artd::BuildSystemProperties
/art/libnativeloader/
Dpublic_libraries.cpp231 return android::base::GetProperty("ro.vndk.version", "") != ""; in IsVendorVndkEnabled()
239 return android::base::GetProperty("ro.product.vndk.version", "") != ""; in IsProductVndkEnabled()
448 return android::base::GetProperty("ro.product.vndk.version", ""); in get_vndk_version()
450 return android::base::GetProperty("ro.vndk.version", ""); in get_vndk_version()
Dnative_loader_test.cpp566 if (android::base::GetProperty("ro.vndk.version", "") != "") { in TEST_P()
606 if (android::base::GetProperty("ro.product.vndk.version", "") != "") { in TEST_P()
/art/libartbase/arch/
Dinstruction_set.cc82 std::string zygote_kinds = android::base::GetProperty("ro.zygote", {}); in GetSupportedInstructionSets()
/art/test/dexpreopt/
Ddexpreopt_test.cc67 std::string zygote_kinds = android::base::GetProperty("ro.zygote", {}); in GetZygoteNamesAndIsas()
/art/perfetto_hprof/
Dperfetto_hprof.cc169 std::string build_type = android::base::GetProperty("ro.build.type", ""); in IsDebugBuild()