/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache_test.cc | 45 config.SetProperty("A", "B", "C"); in TEST() 53 ASSERT_DEATH({ config.SetProperty("", "B", "C"); }, "Empty section name not allowed"); in TEST() 54 ASSERT_DEATH({ config.SetProperty("A", "", "C"); }, "Empty property name not allowed"); in TEST() 56 config.SetProperty("A", "B", ""); in TEST() 64 config.SetProperty("A", "B", "C"); in TEST() 65 config.SetProperty("CC:DD:EE:FF:00:10", BTIF_STORAGE_KEY_NAME, "Hello"); in TEST() 66 config.SetProperty("CC:DD:EE:FF:00:09", BTIF_STORAGE_KEY_NAME, "Hello 2"); in TEST() 67 config.SetProperty("CC:DD:EE:FF:00:11", BTIF_STORAGE_KEY_LINK_KEY, "AABBAABBCCDDEE"); in TEST() 73 config_1.SetProperty("A", "B", "C"); in TEST() 74 config_1.SetProperty("CC:DD:EE:FF:00:10", BTIF_STORAGE_KEY_NAME, "Hello"); in TEST() [all …]
|
D | legacy_config_file_test.cc | 41 config.SetProperty("A", "B", "C"); in TEST() 42 config.SetProperty("AA:BB:CC:DD:EE:FF", "B", "C"); in TEST() 43 config.SetProperty("AA:BB:CC:DD:EE:FF", "C", "D"); in TEST() 44 config.SetProperty("CC:DD:EE:FF:00:11", BTIF_STORAGE_KEY_LINK_KEY, "AABBAABBCCDDEE"); in TEST() 116 config.SetProperty("Info", "FileSource", "Empty"); in TEST() 117 config.SetProperty("Info", "TimeCreated", ""); in TEST() 118 config.SetProperty(BTIF_STORAGE_SECTION_ADAPTER, BTIF_STORAGE_KEY_ADDRESS, "01:02:03:ab:cd:ef"); in TEST() 119 config.SetProperty("01:02:03:ab:cd:ea", BTIF_STORAGE_KEY_NAME, "hello world"); in TEST() 120 config.SetProperty( 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 | 28 config_cache_.SetProperty(section, property, value ? "true" : "false"); in SetBool() 46 config_cache_.SetProperty(section, property, std::to_string(value)); in SetUint64() 58 config_cache_.SetProperty(section, property, std::to_string(value)); in SetUint32() 77 config_cache_.SetProperty(section, property, std::to_string(value)); in SetInt64() 89 config_cache_.SetProperty(section, property, std::to_string(value)); in SetInt() 109 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 | config_cache.cc | 182 void ConfigCache::SetProperty(std::string section, std::string property, std::string value) { in SetProperty() function in bluetooth::storage::ConfigCache 303 SetProperty(section, std::string(property), kEncryptedStr); in ConvertEncryptOrDecryptKeyIfNeeded() 310 SetProperty(section, std::string(property), value_str); in ConvertEncryptOrDecryptKeyIfNeeded() 370 SetProperty(std::move(entry.section), std::move(entry.property), std::move(entry.value)); in Commit()
|
D | storage_module.cc | 170 config->SetProperty(kInfoSection, kTimeCreatedProperty, ss.str()); in Start() 266 void StorageModule::SetProperty(std::string section, std::string property, std::string value) { in SetProperty() function in bluetooth::storage::StorageModule 268 pimpl_->cache_.SetProperty(section, property, value); in SetProperty()
|
D | legacy_config_file.cc | 73 cache.SetProperty(section, tokens[0], std::move(tokens[1])); in Read()
|
D | config_cache.h | 105 virtual void SetProperty(std::string section, std::string property, std::string value);
|
D | storage_module.h | 155 void SetProperty(std::string section, std::string property, std::string value);
|
D | storage_module_test.cc | 82 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() 182 android::base::SetProperty("persist.adb.wifi.guid", guid); in ReadDeviceGuid()
|
D | adb_wifi.cpp | 170 SetProperty(kWifiPortProp, std::to_string(sTlsServer->port())); in enable_wifi_debugging() 183 SetProperty(kWifiPortProp, ""); in disable_wifi_debugging()
|
D | main.cpp | 173 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()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | SilentModeHandler.cpp | 45 using ::android::base::SetProperty; 272 if (!SetProperty(kPropertyNoBootAnimation, value)) { in enableBootAnimation() 276 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/Bluetooth/floss/android-base/include/android-base/ |
D | properties.h | 30 bool SetProperty(const std::string& key, const std::string& value);
|
/packages/modules/UprobeStats/src/lib/ |
D | uprobestats_client.cpp | 29 android::base::SetProperty("uprobestats.start_with_config", "config"); in AUprobestatsClient_startUprobestats()
|
/packages/modules/Bluetooth/floss/android-base/ |
D | properties.cc | 30 bool SetProperty(const std::string& key, const std::string& value) { in SetProperty() function
|
/packages/modules/DnsResolver/tests/ |
D | resolv_test_utils.h | 130 android::base::SetProperty(key, value); in ScopedSystemProperties() 132 ~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/Connectivity/netbpfload/ |
D | NetBpfLoad.cpp | 512 if (!android::base::SetProperty("bpf.progs_loaded", "1")) { in main()
|