/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache_helper_test.cc | 37 ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq("true"))); in TEST() 41 ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq("false"))); in TEST() 49 ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq("123"))); in TEST() 55 …ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq(std::to_string(std::numeric_limits<int>::… in TEST() 59 ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq("0"))); in TEST() 67 ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq("123"))); in TEST() 74 …config.GetProperty("A", "B"), Optional(StrEq(std::to_string(std::numeric_limits<uint32_t>::max()) … in TEST() 78 ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq("0"))); in TEST() 88 …ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq(std::to_string(std::numeric_limits<int32_… in TEST() 93 …config.GetProperty("A", "B"), Optional(StrEq("-" + std::to_string(std::numeric_limits<int32_t>::ma… in TEST() [all …]
|
D | config_cache_test.cc | 46 auto value = config.GetProperty("A", "B"); in TEST() 57 auto value = config.GetProperty("A", "B"); in TEST() 68 ASSERT_TRUE(config.GetProperty("CC:DD:EE:FF:00:10", BTIF_STORAGE_KEY_NAME)); in TEST() 84 ASSERT_TRUE(config_2.GetProperty("CC:DD:EE:FF:00:10", BTIF_STORAGE_KEY_NAME)); in TEST() 86 ASSERT_TRUE(config_1.GetProperty("CC:DD:EE:FF:00:10", BTIF_STORAGE_KEY_NAME)); in TEST() 116 auto value = config.GetProperty("A", "B"); in TEST() 125 auto value = config.GetProperty("A", "B"); in TEST() 128 value = config.GetProperty("AA:BB:CC:DD:EE:FF", "B"); in TEST() 131 ASSERT_FALSE(config.GetProperty("A", "BC")); in TEST() 132 ASSERT_FALSE(config.GetProperty("ABC", "B")); in TEST() [all …]
|
D | legacy_config_file_test.cc | 55 EXPECT_THAT(config_read->GetProperty("A", "B"), Optional(StrEq("C"))); in TEST() 56 …EXPECT_THAT(config_read->GetProperty("CC:DD:EE:FF:00:11", "LinkKey"), Optional(StrEq("AABBAABBCCDD… in TEST() 90 EXPECT_THAT(config_read->GetProperty("Info", "FileSource"), Optional(StrEq("Empty"))); in TEST() 91 EXPECT_THAT(config_read->GetProperty("Info", "FileSource"), Optional(StrEq("Empty"))); in TEST() 93 …config_read->GetProperty("01:02:03:ab:cd:ea", "LinkKey"), Optional(StrEq("fedcba0987654321fedcba09… in TEST() 180 …EXPECT_THAT(config_read->GetProperty(ConfigCache::kDefaultSectionName, "first_key"), Optional(StrE… in TEST() 182 EXPECT_THAT(config_read->GetProperty("DID", "primaryRecord"), Optional(StrEq("true"))); in TEST() 184 EXPECT_THAT(config_read->GetProperty("DID", "version"), Optional(StrEq("0x1436"))); in TEST()
|
D | config_cache_helper.cc | 32 auto value_str = config_cache_.GetProperty(section, property); in GetBool() 50 auto value_str = config_cache_.GetProperty(section, property); in GetUint64() 62 auto value_str = config_cache_.GetProperty(section, property); in GetUint32() 81 auto value_str = config_cache_.GetProperty(section, property); in GetInt64() 93 auto value_str = config_cache_.GetProperty(section, property); in GetInt() 114 auto value_str = config_cache_.GetProperty(section, property); in GetBin()
|
D | config_cache_helper.h | 84 return config_cache_.GetProperty(section, property); in Get() 99 auto value = config_cache_.GetProperty(section, property); in Get() 108 auto value = config_cache_.GetProperty(section, property); in Get() 122 auto value = config_cache_.GetProperty(section, property); in Get()
|
D | mutation_test.cc | 119 ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq("C"))); in TEST() 122 ASSERT_THAT(memory_only_config.GetProperty("A", "D"), Optional(StrEq("Hello"))); in TEST()
|
D | storage_module_test.cc | 79 return GetProperty(section, property); in GetPropertyPublic() 235 config->GetProperty("01:02:03:ab:cd:ea", BTIF_STORAGE_KEY_NAME), Optional(StrEq("foo"))); in TEST_F()
|
D | config_cache.h | 75 …virtual std::optional<std::string> GetProperty(const std::string& section, const std::string& prop…
|
/packages/modules/adb/daemon/ |
D | restart_service_test.cpp | 48 EXPECT_EQ(android::base::GetProperty("service.adb.tcp.port", ""), in TEST() 54 const std::string port_str = android::base::GetProperty("service.adb.tcp.port", ""); in TEST() 64 EXPECT_EQ(android::base::GetProperty("service.adb.tcp.port", ""), port_str); in TEST() 75 EXPECT_EQ(android::base::GetProperty("service.adb.tcp.port", ""), "0"); in TEST()
|
D | main.cpp | 81 std::string prop = android::base::GetProperty("service.adb.root", ""); in should_drop_privileges() 214 bool device_unlocked = android::base::GetProperty("ro.boot.verifiedbootstate", "") == "orange"; in adbd_main() 266 std::string prop_addr = android::base::GetProperty("service.adb.listen_addrs", ""); in adbd_main() 268 std::string prop_port = android::base::GetProperty("service.adb.tcp.port", ""); in adbd_main() 270 prop_port = android::base::GetProperty("persist.adb.tcp.port", ""); in adbd_main()
|
D | mdns.cpp | 41 if (android::base::GetProperty("init.svc.mdnsd", "") == "running") { in start_mdnsd() 122 hostname += android::base::GetProperty("ro.serialno", "unidentified"); in register_base_mdns_transport() 166 std::string serial = android::base::GetProperty("ro.serialno", ""); in GenerateDeviceGuid() 178 std::string guid = android::base::GetProperty("persist.adb.wifi.guid", ""); in ReadDeviceGuid()
|
/packages/modules/Bluetooth/system/test/suite/adapter/ |
D | adapter_unittest.cc | 80 bt_property_t* name_property = GetProperty(BT_PROPERTY_BDNAME); in TEST_F() 93 EXPECT_TRUE(GetProperty(BT_PROPERTY_BDNAME)) in TEST_F() 95 EXPECT_TRUE(property_equals(GetProperty(BT_PROPERTY_BDNAME), new_name)) in TEST_F() 97 << property_as_name(GetProperty(BT_PROPERTY_BDNAME))->name in TEST_F() 105 property_equals(GetProperty(BT_PROPERTY_BDNAME), old_name_property)) in TEST_F() 107 << property_as_name(GetProperty(BT_PROPERTY_BDNAME))->name in TEST_F()
|
D | bluetooth_test.h | 96 bt_property_t* GetProperty(bt_property_type_t type);
|
D | bluetooth_test.cc | 126 bt_property_t* BluetoothTest::GetProperty(bt_property_type_t type) { in GetProperty() function in bttest::BluetoothTest
|
/packages/modules/StatsD/statsd/src/utils/ |
D | DbUtils.cpp | 41 using base::GetProperty; 413 string model = GetProperty("ro.product.model", "(unknown)"); in getDeviceInfoInsertStmt() 417 string product = GetProperty("ro.product.name", "(unknown)"); in getDeviceInfoInsertStmt() 421 string hardware = GetProperty("ro.hardware", "(unknown)"); in getDeviceInfoInsertStmt() 425 string device = GetProperty("ro.product.device", "(unknown)"); in getDeviceInfoInsertStmt() 429 string osBuild = GetProperty("ro.build.id", "(unknown)"); in getDeviceInfoInsertStmt() 433 string fingerprint = GetProperty("ro.build.fingerprint", "(unknown)"); in getDeviceInfoInsertStmt() 437 string brand = GetProperty("ro.product.brand", "(unknown)"); in getDeviceInfoInsertStmt() 441 string manufacturer = GetProperty("ro.product.manufacturer", "(unknown)"); in getDeviceInfoInsertStmt() 445 string board = GetProperty("ro.product.board", "(unknown)"); in getDeviceInfoInsertStmt()
|
/packages/modules/Bluetooth/system/gd/sysprops/ |
D | sysprops_module.cc | 138 auto str = config->GetProperty("Sysprops", *s); in parse_config() 146 auto val = config->GetProperty(kAflagSection, name); in parse_config()
|
/packages/modules/Connectivity/netbpfload/ |
D | NetBpfLoad.cpp | 228 static string ph = base::GetProperty("gsm.current.phone-type", ""); in hasGSM() 241 static string key = base::GetProperty("ro.oem.key1", ""); in isTV() 256 const bool unreleased = (base::GetProperty("ro.build.version.codename", "REL") != "REL"); in doLoad()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | config.cc | 87 auto str = GetStorage()->GetProperty(section, property); in GetStr() 101 return GetStorage()->GetProperty(section, property); in GetStr()
|
/packages/modules/Bluetooth/floss/android-base/include/android-base/ |
D | properties.h | 26 std::string GetProperty(const std::string& key,
|
/packages/modules/Bluetooth/floss/android-base/ |
D | properties.cc | 24 std::string GetProperty(const std::string& key, in GetProperty() function
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | SilentModeHandler.cpp | 42 using ::android::base::GetProperty; 99 mBootReason = GetProperty(kPropertySystemBootReason, ""); in SilentModeHandler()
|
/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
D | VehicleBindingIntegrationTest.cpp | 51 ASSERT_EQ(expected_value, android::base::GetProperty("vold.storage_seed_bound", "")); in TEST()
|
/packages/modules/SdkExtensions/derive_sdk/ |
D | derive_sdk.cpp | 82 android::base::GetProperty(kSystemPropertiesPrefix + dessert, default_); in ReadSystemProperties() 84 properties["ro.build.version.sdk"] = android::base::GetProperty("ro.build.version.sdk", default_); in ReadSystemProperties()
|
/packages/modules/UprobeStats/src/ |
D | UprobeStats.cpp | 37 return android::base::GetProperty("ro.build.type", "unknown") == "user"; in isUserBuild()
|
/packages/modules/adb/ |
D | adb_trace.cpp | 100 return android::base::GetProperty("persist.adb.trace_mask", ""); in get_trace_setting()
|