/system/core/libcutils/ |
D | threads.cpp | 51 void* thread_store_get( thread_store_t* store ) in thread_store_get() argument 53 if (!store->has_tls) in thread_store_get() 56 return pthread_getspecific( store->tls ); in thread_store_get() 59 extern void thread_store_set( thread_store_t* store, in thread_store_set() argument 63 pthread_mutex_lock( &store->lock ); in thread_store_set() 64 if (!store->has_tls) { in thread_store_set() 65 if (pthread_key_create( &store->tls, destroy) != 0) { in thread_store_set() 66 pthread_mutex_unlock(&store->lock); in thread_store_set() 69 store->has_tls = 1; in thread_store_set() 71 pthread_mutex_unlock( &store->lock ); in thread_store_set() [all …]
|
/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 | 138 bool LoadPostInstallConfig(const brillo::KeyValueStore& store); 144 bool LoadDynamicPartitionMetadata(const brillo::KeyValueStore& store);
|
D | generate_delta_main.cc | 613 brillo::KeyValueStore store; in Main() local 614 CHECK(store.Load(base::FilePath(FLAGS_new_postinstall_config_file))); in Main() 615 CHECK(payload_config.target.LoadPostInstallConfig(store)); in Main() 630 brillo::KeyValueStore store; in Main() local 631 CHECK(store.Load(base::FilePath(FLAGS_dynamic_partition_info_file))); in Main() 632 CHECK(payload_config.target.LoadDynamicPartitionMetadata(store)); in Main() 677 brillo::KeyValueStore store; in Main() local 681 if (part.fs_interface && part.fs_interface->LoadSettings(&store) && in Main() 682 utils::GetMinorVersion(store, &minor_version)) { in Main()
|
D | raw_filesystem.h | 46 bool LoadSettings(brillo::KeyValueStore* store) const override { in LoadSettings() argument
|
D | filesystem_interface.h | 94 virtual bool LoadSettings(brillo::KeyValueStore* store) const = 0;
|
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;
|
/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/slpi/include/chre/target_platform/ |
D | atomic_base_impl.h | 35 store(desired); 44 inline void AtomicBool::store(bool desired) { in store() function 59 store(desired); 68 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/core/libcutils/include_vndk/cutils/ |
D | threads.h | 67 extern void* thread_store_get(thread_store_t* store); 69 extern void thread_store_set(thread_store_t* store,
|
/system/core/libcutils/include/cutils/ |
D | threads.h | 67 extern void* thread_store_get(thread_store_t* store); 69 extern void thread_store_set(thread_store_t* store,
|
/system/update_engine/ |
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 | 325 brillo::KeyValueStore store; in LoadConfig() local 328 store.Load(base::FilePath(root_prefix + kConfigFilePath)); in LoadConfig() 330 if (store.Load(base::FilePath(root_prefix + kStatefulPartition + in LoadConfig() 334 store.Load(base::FilePath(root_prefix + kConfigFilePath)); in LoadConfig() 338 if (!store.GetBoolean(kConfigOptsIsOOBEEnabled, &is_oobe_enabled_)) in LoadConfig()
|
D | omaha_request_builder_xml.cc | 309 brillo::KeyValueStore store; in GetApp() local 310 if (store.LoadFromString(app_data.product_components)) { in GetApp() 311 for (const string& key : store.GetKeys()) { in GetApp() 317 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/chre/platform/include/chre/platform/ |
D | atomic.h | 71 void store(bool desired); 129 void store(uint32_t desired);
|
/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 | 314 brillo::KeyValueStore store; in TEST() local 315 EXPECT_FALSE(utils::GetMinorVersion(store, &minor_version)); in TEST() 317 EXPECT_TRUE(store.LoadFromString("PAYLOAD_MINOR_VERSION=one-two-three\n")); in TEST() 318 EXPECT_FALSE(utils::GetMinorVersion(store, &minor_version)); in TEST() 320 EXPECT_TRUE(store.LoadFromString("PAYLOAD_MINOR_VERSION=123\n")); in TEST() 321 EXPECT_TRUE(utils::GetMinorVersion(store, &minor_version)); in TEST()
|