Home
last modified time | relevance | path

Searched refs:system_properties_ (Results 1 – 4 of 4) sorted by relevance

/art/libarttools/
Dsystem_properties_test.cc35 MockSystemProperties system_properties_; member in art::tools::__anon078fcaf70111::SystemPropertiesTest
39 EXPECT_CALL(system_properties_, GetProperty("key_1")).WillOnce(Return("value_1")); in TEST_F()
40 EXPECT_EQ(system_properties_.Get("key_1", /*default_value=*/"default"), "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()
47 EXPECT_EQ(system_properties_.Get("key_1", "key_2", "key_3", /*default_value=*/"default"), in TEST_F()
52 EXPECT_CALL(system_properties_, GetProperty("key_1")).WillOnce(Return("")); in TEST_F()
53 EXPECT_EQ(system_properties_.Get("key_1", /*default_value=*/"default"), "default"); in TEST_F()
57 EXPECT_CALL(system_properties_, GetProperty("key_1")).WillOnce(Return("value_1")); in TEST_F()
[all …]
/art/odrefresh/
Dodr_config.h101 : system_properties_(system_properties) {} in OdrSystemProperties()
104 auto begin() const { return system_properties_->begin(); } in begin()
105 auto end() const { return system_properties_->end(); } in end()
109 auto it = system_properties_->find(key); in GetProperty()
110 return it != system_properties_->end() ? it->second : ""; in GetProperty()
114 const std::unordered_map<std::string, std::string>* system_properties_;
142 std::unordered_map<std::string, std::string> system_properties_; variable
153 odr_system_properties_(&system_properties_) {} in OdrConfig()
289 return &system_properties_; in MutableSystemProperties()
/art/artd/
Dartd.h356 : system_properties_(std::move(system_properties)) {} in BuildSystemProperties()
358 const std::unordered_map<std::string, std::string> system_properties_; variable
Dartd.cc1961 auto it = system_properties_.find(key); in GetProperty()
1962 return it != system_properties_.end() ? it->second : ""; in GetProperty()