/system/update_engine/payload_generator/ |
D | payload_generation_config_unittest.cc | 30 brillo::KeyValueStore store; in TEST_F() local 32 store.LoadFromString("RUN_POSTINSTALL_root=true\n" in TEST_F() 36 EXPECT_TRUE(image_config.LoadPostInstallConfig(store)); in TEST_F() 47 brillo::KeyValueStore store; in TEST_F() local 49 store.LoadFromString("RUN_POSTINSTALL_root=true\n" in TEST_F() 52 EXPECT_FALSE(image_config.LoadPostInstallConfig(store)); in TEST_F() 58 brillo::KeyValueStore store; in TEST_F() local 60 store.LoadFromString("super_partition_groups=group_a group_b\n" in TEST_F() 65 EXPECT_TRUE(image_config.LoadDynamicPartitionMetadata(store)); in TEST_F() 87 brillo::KeyValueStore store; in TEST_F() local [all …]
|
D | payload_generation_config.cc | 119 bool ImageConfig::LoadPostInstallConfig(const brillo::KeyValueStore& store) { in LoadPostInstallConfig() argument 123 if (!store.GetBoolean("RUN_POSTINSTALL_" + part.name, &run_postinstall) || in LoadPostInstallConfig() 128 store.GetString("POSTINSTALL_PATH_" + part.name, &part.postinstall.path); in LoadPostInstallConfig() 129 store.GetString("FILESYSTEM_TYPE_" + part.name, in LoadPostInstallConfig() 131 store.GetBoolean("POSTINSTALL_OPTIONAL_" + part.name, in LoadPostInstallConfig() 142 const brillo::KeyValueStore& store) { in LoadDynamicPartitionMetadata() argument 145 if (!store.GetString("super_partition_groups", &buf)) { in LoadDynamicPartitionMetadata() 153 if (!store.GetString("super_" + group_name + "_group_size", &buf) && in LoadDynamicPartitionMetadata() 154 !store.GetString(group_name + "_size", &buf)) { in LoadDynamicPartitionMetadata() 168 if (store.GetString("super_" + group_name + "_partition_list", &buf) || in LoadDynamicPartitionMetadata() [all …]
|
D | ext2_filesystem_unittest.cc | 192 brillo::KeyValueStore store; in TEST_F() local 194 EXPECT_FALSE(fs->LoadSettings(&store)); in TEST_F() 202 brillo::KeyValueStore store; in TEST_F() local 203 EXPECT_TRUE(fs->LoadSettings(&store)); in TEST_F() 205 EXPECT_TRUE(store.GetString("PAYLOAD_MINOR_VERSION", &minor_version)); in TEST_F()
|
D | fake_filesystem.cc | 51 bool FakeFilesystem::LoadSettings(brillo::KeyValueStore* store) const { in LoadSettings() 54 store->SetString("PAYLOAD_MINOR_VERSION", std::to_string(minor_version_)); in LoadSettings()
|
D | payload_generation_config.h | 141 bool LoadPostInstallConfig(const brillo::KeyValueStore& store); 147 bool LoadDynamicPartitionMetadata(const brillo::KeyValueStore& store);
|
D | generate_delta_main.cc | 608 brillo::KeyValueStore store; in Main() local 609 CHECK(store.Load(base::FilePath(FLAGS_new_postinstall_config_file))); in Main() 610 CHECK(payload_config.target.LoadPostInstallConfig(store)); in Main() 625 brillo::KeyValueStore store; in Main() local 626 CHECK(store.Load(base::FilePath(FLAGS_dynamic_partition_info_file))); in Main() 627 CHECK(payload_config.target.LoadDynamicPartitionMetadata(store)); in Main() 656 brillo::KeyValueStore store; in Main() local 660 if (part.fs_interface && part.fs_interface->LoadSettings(&store) && in Main() 661 utils::GetMinorVersion(store, &minor_version)) { in Main()
|
D | filesystem_interface.h | 94 virtual bool LoadSettings(brillo::KeyValueStore* store) const = 0;
|
D | raw_filesystem.h | 46 bool LoadSettings(brillo::KeyValueStore* store) const override { in LoadSettings() argument
|
D | mapfile_filesystem.h | 49 bool LoadSettings(brillo::KeyValueStore* store) const override;
|
D | ext2_filesystem.h | 63 bool LoadSettings(brillo::KeyValueStore* store) const override;
|
D | fake_filesystem.h | 41 bool LoadSettings(brillo::KeyValueStore* store) const override;
|
D | boot_img_filesystem.h | 43 bool LoadSettings(brillo::KeyValueStore* store) const override;
|
/system/core/bootstat/ |
D | boot_event_record_store_test.cpp | 131 BootEventRecordStore store; in TEST_F() local 132 store.SetStorePath(GetStorePathForTesting()); in TEST_F() 137 store.AddBootEvent("cenozoic"); in TEST_F() 139 auto events = store.GetAllBootEvents(); in TEST_F() 146 BootEventRecordStore store; in TEST_F() local 147 store.SetStorePath(GetStorePathForTesting()); in TEST_F() 152 store.AddBootEvent("cretaceous"); in TEST_F() 153 store.AddBootEvent("jurassic"); in TEST_F() 154 store.AddBootEvent("triassic"); in TEST_F() 160 auto events = store.GetAllBootEvents(); in TEST_F() [all …]
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | atomic_base_impl.h | 36 inline void AtomicBool::store(bool desired) { in store() function 37 mAtomic.store(desired); in store() 56 inline void AtomicUint32::store(uint32_t desired) { in store() function 57 mAtomic.store(desired); in store()
|
/system/chre/platform/freertos/include/chre/target_platform/ |
D | atomic_base_impl.h | 37 inline void AtomicBool::store(bool desired) { in store() function 38 mAtomic.store(desired); in store() 58 inline void AtomicUint32::store(uint32_t desired) { in store() function 59 mAtomic.store(desired); in store()
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | atomic_base_impl.h | 35 store(desired); 44 inline void AtomicBool::store(bool desired) { in store() function 58 store(desired); 67 inline void AtomicUint32::store(uint32_t desired) { in store() function
|
/system/security/identity/ |
D | CredentialStoreFactory.cpp | 48 CredentialStore* store = new CredentialStore(dataPath_, hal); in createCredentialStore() local 49 if (!store->init()) { in createCredentialStore() 52 delete store; in createCredentialStore() 55 return store; in createCredentialStore()
|
/system/chre/platform/include/chre/platform/ |
D | atomic.h | 70 void store(bool desired); 127 void store(uint32_t desired);
|
/system/update_engine/cros/ |
D | image_properties_chromeos.cc | 50 std::string GetStringWithDefault(const brillo::KeyValueStore& store, in GetStringWithDefault() argument 54 if (store.GetString(key, &result)) in GetStringWithDefault() 70 void LoadLsbRelease(LsbReleaseSource source, brillo::KeyValueStore* store) { in LoadLsbRelease() argument 76 store->Load(base::FilePath(path + kLsbRelease)); in LoadLsbRelease()
|
D | hardware_chromeos.cc | 290 brillo::KeyValueStore store; in LoadConfig() local 293 store.Load(base::FilePath(root_prefix + kConfigFilePath)); in LoadConfig() 295 if (store.Load(base::FilePath(root_prefix + kStatefulPartition + in LoadConfig() 299 store.Load(base::FilePath(root_prefix + kConfigFilePath)); in LoadConfig() 303 if (!store.GetBoolean(kConfigOptsIsOOBEEnabled, &is_oobe_enabled_)) in LoadConfig()
|
D | omaha_request_builder_xml.cc | 345 brillo::KeyValueStore store; in GetApp() local 346 if (store.LoadFromString(app_data.product_components)) { in GetApp() 347 for (const string& key : store.GetKeys()) { in GetApp() 353 if (!store.GetString(key, &version)) { in GetApp()
|
/system/libhidl/transport/token/1.0/ |
D | ITokenManager.hal | 31 * @param store Interface which can later be fetched with the returned token. 34 createToken(interface store) generates (vec<uint8_t>token); 48 * @return store Interface registered with createToken and the corresponding 51 get(vec<uint8_t> token) generates (interface store);
|
/system/unwinding/libunwindstack/benchmarks/ |
D | thread_unwind_benchmarks.cpp | 31 tid->store(android::base::GetThreadId()); in ThreadCall6() 80 done.store(true); in BM_thread_unwind()
|
/system/core/libutils/ |
D | SharedBuffer.cpp | 42 sb->mRefs.store(1, std::memory_order_relaxed); in alloc() 120 mRefs.store(0, std::memory_order_relaxed); in release()
|
/system/update_engine/common/ |
D | utils_unittest.cc | 301 brillo::KeyValueStore store; in TEST() local 302 EXPECT_FALSE(utils::GetMinorVersion(store, &minor_version)); in TEST() 304 EXPECT_TRUE(store.LoadFromString("PAYLOAD_MINOR_VERSION=one-two-three\n")); in TEST() 305 EXPECT_FALSE(utils::GetMinorVersion(store, &minor_version)); in TEST() 307 EXPECT_TRUE(store.LoadFromString("PAYLOAD_MINOR_VERSION=123\n")); in TEST() 308 EXPECT_TRUE(utils::GetMinorVersion(store, &minor_version)); in TEST()
|