Home
last modified time | relevance | path

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

1234

/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.cc137 bool ImageConfig::LoadPostInstallConfig(const brillo::KeyValueStore& store) { in LoadPostInstallConfig() argument
141 if (!store.GetBoolean("RUN_POSTINSTALL_" + part.name, &run_postinstall) || in LoadPostInstallConfig()
146 store.GetString("POSTINSTALL_PATH_" + part.name, &part.postinstall.path); in LoadPostInstallConfig()
147 store.GetString("FILESYSTEM_TYPE_" + part.name, in LoadPostInstallConfig()
149 store.GetBoolean("POSTINSTALL_OPTIONAL_" + part.name, in LoadPostInstallConfig()
160 const brillo::KeyValueStore& store) { in LoadDynamicPartitionMetadata() argument
163 if (!store.GetString("super_partition_groups", &buf)) { in LoadDynamicPartitionMetadata()
171 if (!store.GetString("super_" + group_name + "_group_size", &buf) && in LoadDynamicPartitionMetadata()
172 !store.GetString(group_name + "_size", &buf)) { in LoadDynamicPartitionMetadata()
186 if (store.GetString("super_" + group_name + "_partition_list", &buf) || in LoadDynamicPartitionMetadata()
[all …]
Dpayload_generation_config.h157 bool LoadPostInstallConfig(const brillo::KeyValueStore& store);
163 bool LoadDynamicPartitionMetadata(const brillo::KeyValueStore& store);
Dgenerate_delta_main.cc690 brillo::KeyValueStore store; in Main() local
691 CHECK(store.Load(base::FilePath(FLAGS_new_postinstall_config_file))); in Main()
692 CHECK(payload_config.target.LoadPostInstallConfig(store)); in Main()
709 brillo::KeyValueStore store; in Main() local
710 CHECK(store.Load(base::FilePath(FLAGS_dynamic_partition_info_file))); in Main()
711 CHECK(payload_config.target.LoadDynamicPartitionMetadata(store)); in Main()
/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.h35 inline void AtomicBool::store(bool desired) { in store() function
36 mAtomic.store(desired); in store()
54 inline void AtomicUint32::store(uint32_t desired) { in store() function
55 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()
DSession.h50 Session(int32_t cipherSuite, sp<IPresentationSession> halBinder, sp<CredentialStore> store) in Session() argument
51 : cipherSuite_(cipherSuite), halBinder_(halBinder), store_(store) {} in Session()
/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/chre/platform/include/chre/platform/
Datomic.h70 void store(bool desired);
127 void store(uint32_t desired);
/system/chre/platform/arm/include/chre/target_platform/
Datomic_base_impl.h37 inline void AtomicBool::store(bool desired) { in store() function
58 inline void AtomicUint32::store(uint32_t desired) { in store() function
/system/chre/platform/tinysys/include/chre/target_platform/
Datomic_base_impl.h37 inline void AtomicBool::store(bool desired) { in store() function
58 inline void AtomicUint32::store(uint32_t desired) { in store() function
/system/secretkeeper/core/src/
Dta.rs20 use crate::store::{KeyValueStore, PolicyGatedStorage};
94 store: PolicyGatedStorage, field
137 let store = PolicyGatedStorage::init(storage_impl); in new_with_session_limit() localVariable
147 store, in new_with_session_limit()
225 self.store in delete_ids()
234 self.store.delete_all().map_err(|e| aidl_err!(InternalError, "failed to delete all: {e:?}")) in delete_all()
309 self.store.store(request.id, request.secret, request.sealing_policy, peer_cert_chain)?; in store_secret()
322 self.store.get(&request.id, peer_cert_chain, request.updated_sealing_policy)?; in get_secret()
Dstore.rs74 pub fn store( in store() method
103 self.secure_store.store(id, &entry).map_err(unexpected_err)?; in store()
145 self.secure_store.store(id_bytes, &new_entry).map_err(unexpected_err)?; in get()
229 fn store(&mut self, key: &[u8], value: &[u8]) -> Result<(), Error>; in store() method
Dlib.rs24 pub mod store; module
/system/chre/platform/zephyr/include/chre/target_platform/
Datomic_base_impl.h38 inline void AtomicBool::store(bool desired) { in store() function
58 inline void AtomicUint32::store(uint32_t desired) { in store() function
/system/memory/libmemunreachable/
DAtomicState.h42 void set(T to) { state_.store(to); } in set()
58 state_.store(orFunc()); in transition_or()
/system/security/keystore2/selinux/src/
Dconcurrency_test.rs151 turnpike.store(255, Ordering::Relaxed); in test_concurrent_check_access()
156 complete_count.store(0, Ordering::Relaxed); in test_concurrent_check_access()
157 turnpike.store(0, Ordering::Relaxed); in test_concurrent_check_access()
/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/binder/
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.cc297 brillo::KeyValueStore store; in TEST() local
298 EXPECT_FALSE(utils::GetMinorVersion(store, &minor_version)); in TEST()
300 EXPECT_TRUE(store.LoadFromString("PAYLOAD_MINOR_VERSION=one-two-three\n")); in TEST()
301 EXPECT_FALSE(utils::GetMinorVersion(store, &minor_version)); in TEST()
303 EXPECT_TRUE(store.LoadFromString("PAYLOAD_MINOR_VERSION=123\n")); in TEST()
304 EXPECT_TRUE(utils::GetMinorVersion(store, &minor_version)); in TEST()
/system/sepolicy/private/
Dextra_free_kbytes.te5 # Only extra_free_kbytes script is allowed to store these properties
/system/hwservicemanager/
DTokenManager.cpp65 Return<void> TokenManager::createToken(const sp<IBase>& store, createToken_cb hidl_cb) { in createToken() argument
66 TokenInterface interface = generateToken(store); in createToken()
/system/core/libutils/
DProcessCallStack_fuzz.cpp55 ranCallStackUpdate.store(true); in spawnThreads()

1234