/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_persistent.cpp | 71 if (!StorageProxy::GetInstance()->GetStorage()) { in Set() 75 StorageProxy::GetInstance()->GetStorage()->SetString(key, value); in Set() 88 auto storage = StorageProxy::GetInstance()->GetStorage(); in Get() 116 if (!StorageProxy::GetInstance()->GetStorage()) { in Has() 120 std::string value = StorageProxy::GetInstance()->GetStorage()->GetString(key); in Has() 135 if (!StorageProxy::GetInstance()->GetStorage()) { in Delete() 139 StorageProxy::GetInstance()->GetStorage()->Delete(key); in Delete() 149 if (!StorageProxy::GetInstance()->GetStorage()) { in Clear() 153 StorageProxy::GetInstance()->GetStorage()->Clear(); in Clear()
|
/foundation/arkui/ace_engine/frameworks/core/common/storage/ |
H A D | storage_proxy.cpp | 41 RefPtr<Storage> StorageProxy::GetStorage() const in GetStorage() function in OHOS::Ace::StorageProxy 44 return delegate_->GetStorage(); in GetStorage() 47 RefPtr<Storage> StorageProxy::GetStorage(const std::string& sessionId, in GetStorage() function in OHOS::Ace::StorageProxy 51 return distributedDelegate_->GetStorage(sessionId, std::move(notifier), taskExecutor); in GetStorage()
|
H A D | storage_interface.h | 29 virtual RefPtr<Storage> GetStorage() const in GetStorage() function in OHOS::Ace::StorageInterface 34 virtual RefPtr<Storage> GetStorage(const std::string& sessionId, std::function<void(const std::string&)>&& notifier, in GetStorage() function in OHOS::Ace::StorageInterface
|
H A D | storage_proxy.h | 29 RefPtr<Storage> GetStorage() const override; 30 RefPtr<Storage> GetStorage(const std::string& sessionId, std::function<void(const std::string&)>&& notifier,
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | memory_file.cpp | 55 if ((index_ + toRead) > buffer_->GetStorage().size()) { in Read() 56 toRead = buffer_->GetStorage().size() - index_; in Read() 61 if (CloneData(buffer, static_cast<size_t>(count), &(buffer_->GetStorage().data()[index_]), in Read() 82 return buffer_->GetStorage().size(); in GetLength() 87 if (aOffset < buffer_->GetStorage().size()) { in Seek()
|
H A D | memory_file.h | 38 const ByteBuffer& GetStorage() const in GetStorage() function in MemoryFileStorage
|
/foundation/arkui/ace_engine/test/unittest/core/common/storage/ |
H A D | storage_test.cpp | 67 * @tc.steps: step2. call the GetStorage and take the return value with delegate.
in HWTEST_F() 72 RefPtr<Storage> stroage = StorageProxy::GetInstance()->GetStorage();
in HWTEST_F() 86 * @tc.steps: step2. call the GetStorage and take the return value with delegate.
in HWTEST_F() 94 RefPtr<Storage> distributedStorage = StorageProxy::GetInstance()->GetStorage(testSessionId, notifier, taskExecutor);
in HWTEST_F() 108 * @tc.steps: step2. call the GetStorage and take the return value with delegate.
in HWTEST_F() 113 RefPtr<Storage> stroage = StorageProxy::GetInstance()->GetStorage();
in HWTEST_F() 129 * @tc.steps: step2. call the GetStorage and take the return value with delegate.
in HWTEST_F() 137 RefPtr<Storage> distributedStorage = StorageProxy::GetInstance()->GetStorage(testSessionId, notifier, taskExecutor);
in HWTEST_F()
|
H A D | mock_storage.h | 93 RefPtr<Storage> GetStorage() const override
104 RefPtr<Storage> GetStorage(const std::string& sessionId, std::function<void(const std::string&)>&& notifier,
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/ |
H A D | cj_persistent_storage_ffi.cpp | 31 std::string valueStr = StorageProxy::GetInstance()->GetStorage()->GetString(key); in GetValueFromStorage() 46 if (!StorageProxy::GetInstance()->GetStorage()) { in SetValueToStorage() 50 StorageProxy::GetInstance()->GetStorage()->SetString(key, value); in SetValueToStorage() 189 StorageProxy::GetInstance()->GetStorage()->Delete(key); in FfiOHOSAceFrameworkPersistentDelete() 203 StorageProxy::GetInstance()->GetStorage()->Clear(); in FfiOHOSAceFrameworkPersistentClear()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_storage_manager.cpp | 95 shared_ptr<Storage> MtpStorageManager::GetStorage(uint32_t id) in GetStorage() function in OHOS::Media::MtpStorageManager 112 result = (GetStorage(id) != nullptr); in HasStorage()
|
H A D | mtp_operation_utils.cpp | 587 shared_ptr<Storage> storage = MtpStorageManager::GetInstance()->GetStorage(context_->storageInfoID); in GetStorageInfo()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/ |
H A D | mtp_storage_manager.h | 40 std::shared_ptr<Storage> GetStorage(uint32_t id);
|
/foundation/arkui/ace_engine/adapter/ohos/capability/preference/ |
H A D | storage_impl.h | 65 RefPtr<Storage> GetStorage() const override;
|
H A D | storage_impl.cpp | 67 RefPtr<Storage> StorageProxyImpl::GetStorage() const in GetStorage() function in OHOS::Ace::StorageProxyImpl
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/src/ |
H A D | napi_storage_helper.cpp | 70 napi_value GetStorage(napi_env env, napi_callback_info info) in GetStorage() function 72 LOG_DEBUG("GetStorage start"); in GetStorage() 95 return AsyncCall::Call(env, context, "GetStorage"); in GetStorage() 217 DECLARE_NAPI_FUNCTION("getStorage", GetStorage), in InitPreferenceHelper()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_file.h | 112 const std::unique_ptr<uint8_t[]>& GetStorage() const in GetStorage() function in OhosFileStorage
|
H A D | ohos_file.cpp | 207 if (CloneData(buffer, static_cast<size_t>(count), &(buffer_->GetStorage()[index_]), in Read()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/ |
H A D | mock_mtp_operation_utils.cpp | 480 std::shared_ptr<Storage> storage = MtpStorageManager::GetInstance()->GetStorage(context_->storageInfoID); in GetStorageInfo()
|