/art/libarttools/ |
D | system_properties_test.cc | 30 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/ |
D | system_properties.h | 42 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/ |
D | odrefresh_main.cc | 41 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()
|
D | odr_config.h | 108 std::string GetProperty(const std::string& key) const override { in GetProperty() function
|
/art/tools/ |
D | art_boot.cc | 38 std::string prop = android::base::GetProperty(src, ""); in CopyPropertyIf()
|
/art/runtime/arch/ |
D | instruction_set_features_test.cc | 55 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/ |
D | flags.cc | 126 const std::string sysprop = ::android::base::GetProperty(system_property_name_, kUndefinedValue); in Reload() 136 ::android::base::GetProperty(server_setting_name_, kUndefinedValue); in Reload()
|
D | file_utils.cc | 76 using android::base::GetProperty; 560 std::string user_defined_boot_image = GetProperty("dalvik.vm.boot-image", /*default_value=*/""); in GetBootImageLocationForDefaultBcpRespectingSysProps()
|
/art/artd/ |
D | artd_test.cc | 297 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 …]
|
D | artd.h | 352 std::string GetProperty(const std::string& key) const override;
|
D | artd.cc | 328 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/ |
D | public_libraries.cpp | 231 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()
|
D | native_loader_test.cpp | 566 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/ |
D | instruction_set.cc | 82 std::string zygote_kinds = android::base::GetProperty("ro.zygote", {}); in GetSupportedInstructionSets()
|
/art/test/dexpreopt/ |
D | dexpreopt_test.cc | 67 std::string zygote_kinds = android::base::GetProperty("ro.zygote", {}); in GetZygoteNamesAndIsas()
|
/art/perfetto_hprof/ |
D | perfetto_hprof.cc | 169 std::string build_type = android::base::GetProperty("ro.build.type", ""); in IsDebugBuild()
|