Home
last modified time | relevance | path

Searched refs:store (Results 1 – 25 of 107) sorted by relevance

12345

/system/update_engine/payload_generator/
Dpayload_generation_config_unittest.cc30 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 …]
Dpayload_generation_config.cc119 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 …]
Dext2_filesystem_unittest.cc192 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()
Dfake_filesystem.cc51 bool FakeFilesystem::LoadSettings(brillo::KeyValueStore* store) const { in LoadSettings()
54 store->SetString("PAYLOAD_MINOR_VERSION", std::to_string(minor_version_)); in LoadSettings()
Dpayload_generation_config.h141 bool LoadPostInstallConfig(const brillo::KeyValueStore& store);
147 bool LoadDynamicPartitionMetadata(const brillo::KeyValueStore& store);
Dgenerate_delta_main.cc608 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()
Dfilesystem_interface.h94 virtual bool LoadSettings(brillo::KeyValueStore* store) const = 0;
Draw_filesystem.h46 bool LoadSettings(brillo::KeyValueStore* store) const override { in LoadSettings() argument
Dmapfile_filesystem.h49 bool LoadSettings(brillo::KeyValueStore* store) const override;
Dext2_filesystem.h63 bool LoadSettings(brillo::KeyValueStore* store) const override;
Dfake_filesystem.h41 bool LoadSettings(brillo::KeyValueStore* store) const override;
Dboot_img_filesystem.h43 bool LoadSettings(brillo::KeyValueStore* store) const override;
/system/core/bootstat/
Dboot_event_record_store_test.cpp131 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/
Datomic_base_impl.h36 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/
Datomic_base_impl.h37 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/
Datomic_base_impl.h35 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/
DCredentialStoreFactory.cpp48 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/
Datomic.h70 void store(bool desired);
127 void store(uint32_t desired);
/system/update_engine/cros/
Dimage_properties_chromeos.cc50 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()
Dhardware_chromeos.cc290 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()
Domaha_request_builder_xml.cc345 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/
DITokenManager.hal31 * @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/
Dthread_unwind_benchmarks.cpp31 tid->store(android::base::GetThreadId()); in ThreadCall6()
80 done.store(true); in BM_thread_unwind()
/system/core/libutils/
DSharedBuffer.cpp42 sb->mRefs.store(1, std::memory_order_relaxed); in alloc()
120 mRefs.store(0, std::memory_order_relaxed); in release()
/system/update_engine/common/
Dutils_unittest.cc301 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()

12345