/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache_test.cc | 44 config.SetProperty("A", "B", "C"); in TEST() 52 ASSERT_DEATH({ config.SetProperty("", "B", "C"); }, "Empty section name not allowed"); in TEST() 53 ASSERT_DEATH({ config.SetProperty("A", "", "C"); }, "Empty property name not allowed"); in TEST() 55 config.SetProperty("A", "B", ""); in TEST() 63 config.SetProperty("A", "B", "C"); in TEST() 64 config.SetProperty("CC:DD:EE:FF:00:10", "Name", "Hello"); in TEST() 65 config.SetProperty("CC:DD:EE:FF:00:09", "Name", "Hello 2"); in TEST() 66 config.SetProperty("CC:DD:EE:FF:00:11", "LinkKey", "AABBAABBCCDDEE"); in TEST() 72 config_1.SetProperty("A", "B", "C"); in TEST() 73 config_1.SetProperty("CC:DD:EE:FF:00:10", "Name", "Hello"); in TEST() [all …]
|
D | legacy_config_file_test.cc | 40 config.SetProperty("A", "B", "C"); in TEST() 41 config.SetProperty("AA:BB:CC:DD:EE:FF", "B", "C"); in TEST() 42 config.SetProperty("AA:BB:CC:DD:EE:FF", "C", "D"); in TEST() 43 config.SetProperty("CC:DD:EE:FF:00:11", "LinkKey", "AABBAABBCCDDEE"); in TEST() 115 config.SetProperty("Info", "FileSource", "Empty"); in TEST() 116 config.SetProperty("Info", "TimeCreated", ""); in TEST() 117 config.SetProperty("Adapter", "Address", "01:02:03:ab:cd:ef"); in TEST() 118 config.SetProperty("01:02:03:ab:cd:ea", "name", "hello world"); in TEST() 119 config.SetProperty("01:02:03:ab:cd:ea", "LinkKey", "fedcba0987654321fedcba0987654328"); in TEST()
|
D | mutation_test.cc | 35 config.SetProperty("A", "B", "C"); in TEST() 36 config.SetProperty("AA:BB:CC:DD:EE:FF", "B", "C"); in TEST() 37 config.SetProperty("AA:BB:CC:DD:EE:FF", "C", "D"); in TEST() 38 config.SetProperty("CC:DD:EE:FF:00:11", "LinkKey", "AABBAABBCCDDEE"); in TEST() 53 config.SetProperty("A", "B", "C"); in TEST() 54 config.SetProperty("A", "C", "D"); in TEST() 55 config.SetProperty("B", "B", "C"); in TEST() 56 config.SetProperty("B", "C", "D"); in TEST()
|
D | config_cache_helper.cc | 26 config_cache_.SetProperty(section, property, value ? "true" : "false"); in SetBool() 44 config_cache_.SetProperty(section, property, std::to_string(value)); in SetUint64() 56 config_cache_.SetProperty(section, property, std::to_string(value)); in SetUint32() 75 config_cache_.SetProperty(section, property, std::to_string(value)); in SetInt64() 87 config_cache_.SetProperty(section, property, std::to_string(value)); in SetInt() 107 config_cache_.SetProperty(section, property, common::ToHexString(value)); in SetBin()
|
D | device_test.cc | 49 config.SetProperty(address2.ToString(), "Name", "hello"); in TEST() 74 config.SetProperty(address2.ToString(), "Name", "hello"); in TEST() 101 config.SetProperty(pseudo_first_seen_address.ToString(), "Name", "hello"); in TEST() 102 …config.SetProperty(pseudo_first_seen_address.ToString(), "LeIdentityAddr", le_identity_address.ToS… in TEST() 103 config.SetProperty(address.ToString(), "Name", "world"); in TEST() 220 config.SetProperty(address.ToString(), "Name", "hello"); in TEST() 229 config.SetProperty(address.ToString(), "Name", "hello"); in TEST()
|
D | storage_module.cc | 180 config->SetProperty(kInfoSection, kFileSourceProperty, std::move(file_source)); in Start() 193 config->SetProperty(kInfoSection, kTimeCreatedProperty, ss.str()); in Start() 283 void StorageModule::SetProperty(std::string section, std::string property, std::string value) { in SetProperty() function in bluetooth::storage::StorageModule 285 pimpl_->cache_.SetProperty(section, property, value); in SetProperty()
|
D | config_cache.cc | 180 void ConfigCache::SetProperty(std::string section, std::string property, std::string value) { in SetProperty() function in bluetooth::storage::ConfigCache 301 SetProperty(section, std::string(property), kEncryptedStr); in ConvertEncryptOrDecryptKeyIfNeeded() 308 SetProperty(section, std::string(property), value_str); in ConvertEncryptOrDecryptKeyIfNeeded() 368 SetProperty(std::move(entry.section), std::move(entry.property), std::move(entry.value)); in Commit()
|
D | legacy_config_file.cc | 71 cache.SetProperty(section, tokens[0], std::move(tokens[1])); in Read()
|
D | config_cache.h | 103 virtual void SetProperty(std::string section, std::string property, std::string value);
|
D | storage_module.h | 152 void SetProperty(std::string section, std::string property, std::string value);
|
D | storage_module_test.cc | 80 return SetProperty(section, property, value); in SetPropertyPublic()
|
/packages/modules/adb/daemon/ |
D | property_monitor_test.cpp | 57 android::base::SetProperty(prop_name, "0"); in RegisterExitCallback() 60 android::base::SetProperty(prop_name, "1"); in RegisterExitCallback() 83 android::base::SetProperty(foo, "foo"); in TEST() 109 android::base::SetProperty(foo, "foo"); in TEST() 122 android::base::SetProperty(foo, "bar"); in TEST() 150 android::base::SetProperty(foo, "foo"); in TEST() 151 android::base::SetProperty(bar, "bar"); in TEST() 169 android::base::SetProperty(foo, "bar"); in TEST() 170 android::base::SetProperty(bar, "foo"); in TEST()
|
D | restart_service.cpp | 42 android::base::SetProperty("service.adb.root", "1"); in restart_root_service() 53 android::base::SetProperty("service.adb.root", "0"); in restart_unroot_service() 64 android::base::SetProperty("service.adb.tcp.port", android::base::StringPrintf("%d", port)); in restart_tcp_service() 70 android::base::SetProperty("service.adb.tcp.port", "0"); in restart_usb_service()
|
D | mdns.cpp | 45 android::base::SetProperty("ctl.start", "mdnsd"); in start_mdnsd() 183 android::base::SetProperty("persist.adb.wifi.guid", guid); in ReadDeviceGuid()
|
D | adb_wifi.cpp | 174 SetProperty(kWifiPortProp, std::to_string(sTlsServer->port())); in enable_wifi_debugging() 187 SetProperty(kWifiPortProp, ""); in disable_wifi_debugging()
|
D | main.cpp | 165 android::base::SetProperty("service.adb.root", "0"); in drop_privileges()
|
D | usb_ffs.cpp | 302 android::base::SetProperty("sys.usb.ffs.ready", "1"); in open_functionfs()
|
D | services.cpp | 150 if (!android::base::SetProperty(ANDROID_RB_PROPERTY, reboot_string)) { in reboot_device()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | SilentModeHandler.cpp | 45 using ::android::base::SetProperty; 229 if (!SetProperty(kPropertyNoBootAnimation, value)) { in enableBootAnimation() 233 if (!SetProperty(kPropertyBootAnimationExit, value)) { in enableBootAnimation()
|
/packages/services/Car/cpp/bugreport/ |
D | main.cpp | 462 android::base::SetProperty("ctl.start", "cardumpstatez"); in main() 470 android::base::SetProperty("ctl.stop", "cardumpstatez"); in main() 501 android::base::SetProperty("ctl.stop", "cardumpstatez"); in main()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_test_utils.h | 98 android::base::SetProperty(key, value); in ScopedSystemProperties() 100 ~ScopedSystemProperties() { android::base::SetProperty(mStoredKey, mStoredValue); } in ~ScopedSystemProperties()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | config.cc | 107 GetStorage()->SetProperty(section, property, value); in SetStr()
|
/packages/modules/SdkExtensions/derive_sdk/ |
D | derive_sdk.cpp | 139 if (!android::base::SetProperty(property_name, std::to_string(version))) { in SetExtension()
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | ConfigUpdate_e2e_ab_test.cpp | 32 using android::base::SetProperty;
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.cpp | 27 using android::base::SetProperty; 2084 SetProperty(StringPrintf("persist.device_config.%s.%s", STATSD_NATIVE_NAMESPACE.c_str(), in writeFlag() 2090 SetProperty(StringPrintf("persist.device_config.%s.%s", STATSD_NATIVE_BOOT_NAMESPACE.c_str(), in writeBootFlag()
|