Home
last modified time | relevance | path

Searched refs:store (Results 1 - 25 of 43) sorted by relevance

12

/test/xts/acts/distributeddatamgr/kvStoretest/kvStorejstest/hap/entry/src/ohosTest/js/test/
H A DKvManagerCallbackJsunit.test.js84 await kvManager.getKVStore(TEST_STORE_ID, options, function (err, store) {
85 expect((err == undefined) && (store != null)).assertTrue();
87 kvStore = store;
109 await kvManager.getKVStore(options, function (err, store) {
142 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) {
144 console.info('testKVManagerGetKVStore103 err ' + err + ' store ' + store);
145 expect((err == undefined) && (store != null)).assertTrue();
146 kvStore = store;
173 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) {
[all...]
H A DKvManagerPromiseJsunit.test.js58 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => {
60 kvStoreNew = store;
102 await kvManager.getKVStore(TEST_STORE_ID).then((store) => {
122 await kvManager.getKVStore(options).then((store) => {
150 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((store) => {
152 kvStore = store;
153 expect(store != null).assertTrue();
177 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((store) => {
202 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((store) => {
204 kvStore = store;
[all...]
H A DSchemaJsunit.test.js40 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => {
42 kvStore = store;
43 expect(store != null).assertTrue();
236 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => {
238 kvStore = store;
239 expect(store != null).assertTrue();
281 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => {
283 kvStore = store;
284 expect(store != null).assertTrue();
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/
H A DRelationalStoreJsunit.test.js60 * @tc.desc RelationalStore store getRdbStore test
64 await data_Rdb.getRdbStore(context, STORE_CONFIG).then(async (store) => {
66 console.info(TAG + "getRdbStore done: " + store);
83 * @tc.desc RelationalStore store getRdbStore and create table
88 await storePromise.then(async (store) => {
90 console.info(TAG + "getRdbStore done: " + store);
91 await store.executeSql(CREATE_TABLE_TEST);
108 * @tc.desc RelationalStore store getRdbStore with wrong path
139 * @tc.desc RelationalStore store deleteRdbStore
144 let store
[all...]
H A DRelationalStoreCustomDir.test.js48 * @tc.name RelationalStore store Single level directory getRdbStore callback test
50 * @tc.desc RelationalStore store Single level directory getRdbStore callback test
71 * @tc.name RelationalStore store Single level directory getRdbStore promise test
73 * @tc.desc RelationalStore store Single level directory getRdbStore promise test
101 * @tc.name RelationalStore store Single level directory insert update delete query test
103 * @tc.desc RelationalStore store Single level directory insert update delete query test
115 let store = null;
117 store = await data_Rdb.getRdbStore(context, STORE_CONFIG);
118 await store.executeSql(CREATE_TABLE_TEST, null);
129 await store
[all...]
H A DRelationalStoreEncryptionJsunit.test.js110 data_rdb.getRdbStore(context, STORE_CONFIG_ENCRYPT).then((store) => {
112 expect(store != null).assertTrue();
128 storePromise.then((store) => {
129 expect(store != null).assertTrue();
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/
H A DKvManagerKVCallbackJsTest.js81 await kvManager.getKVStore(TEST_STORE_ID, options, function (err, store) {
82 expect((err == undefined) && (store != null)).assertTrue();
84 kvStore = store;
107 await kvManager.getKVStore(options, function (err, store) {
143 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) {
145 expect((err == undefined) && (store != null)).assertTrue();
146 kvStore = store;
174 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) {
176 expect((err == undefined) && (store != null)).assertTrue();
204 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) {
[all...]
H A DKvManagerKVPromiseJsTest.js49 kvManager.getKVStore(TEST_STORE_ID, options).then((store) => {
51 kvStoreNew = store;
94 await kvManager.getKVStore(TEST_STORE_ID).then((store) => {
116 await kvManager.getKVStore(options).then((store) => {
146 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((store) => {
437 kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => {
439 store.put(STORE_KEY, STORE_VALUE).then(async (data) => {
441 store.get(STORE_KEY).then((data) => {
478 kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => {
480 store
[all...]
H A DSchemaJsTest.js43 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => {
45 kvStore = store;
46 expect(store != null).assertTrue();
234 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => {
236 kvStore = store;
237 expect(store != null).assertTrue();
280 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => {
282 kvStore = store;
283 expect(store != null).assertTrue();
/test/xts/dcts/distributeddatamgr/jstest/distributed_kv_store/client/hap/src/main/js/test/
H A DKvStoreSecurityLevelS1Jsunit.test.js218 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => {
219 kvStore = store;
277 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => {
278 kvStore = store;
335 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => {
336 kvStore = store;
393 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => {
394 kvStore = store;
451 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => {
452 kvStore = store;
[all...]
/test/xts/acts/distributeddatamgr/relationalStoretest/RdbJstest/hap/entry/src/ohosTest/js/test/
H A DRdbstoreRdbstoreJsunit.test.js55 * @tc.name rdb store getRdbStore test
57 * @tc.desc rdb store getRdbStore test
61 await dataRdb.getRdbStore(STORE_CONFIG, 1).then(async (store) => {
63 console.info(TAG + "getRdbStore done: " + store);
75 * @tc.name rdb store getRdbStore and create table
77 * @tc.desc rdb store getRdbStore and create table
82 storePromise.then(async (store) => {
84 console.info(TAG + "getRdbStore done: " + store);
85 await store.executeSql(CREATE_TABLE_TEST);
101 * @tc.desc rdb store getRdbStor
[all...]
H A DRdbstoreEncryptionJsunit.test.js107 data_rdb.getRdbStore(context, STORE_CONFIG_ENCRYPT, 1).then((store) => {
109 expect(store != null).assertTrue();
125 storePromise.then((store) => {
126 expect(store != null).assertTrue();
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreNdktestHvigor/entry/src/main/cpp/
H A Dnapi_init.cpp229 auto store = OH_Rdb_CreateOrOpen(config, &errCode); in OH_Rdb_SetDbType_SQLITE_0200() local
232 errCode = OH_Rdb_ExecuteByTrxId(store, 0, createTableSql); in OH_Rdb_SetDbType_SQLITE_0200()
235 errCode = OH_Rdb_BeginTransWithTrxId(store, &trxId); in OH_Rdb_SetDbType_SQLITE_0200()
240 errCode = OH_Rdb_ExecuteByTrxId(store, trxId, insertSql); in OH_Rdb_SetDbType_SQLITE_0200()
242 errCode = OH_Rdb_CommitByTrxId(store, trxId); in OH_Rdb_SetDbType_SQLITE_0200()
246 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(store, querySql); in OH_Rdb_SetDbType_SQLITE_0200()
254 errCode = OH_Rdb_ExecuteByTrxId(store, 0, dropSql); in OH_Rdb_SetDbType_SQLITE_0200()
257 errCode =OH_Rdb_Execute(store, dropTableSql); in OH_Rdb_SetDbType_SQLITE_0200()
258 errCode = OH_Rdb_CloseStore(store); in OH_Rdb_SetDbType_SQLITE_0200()
283 auto store in OH_Rdb_SetDbType_SQLITE_0300() local
333 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_SetDbType_SQLITE_Id_0100() local
382 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_SetDbType_SQLITE_Id_0200() local
1702 auto store = OH_Rdb_CreateOrOpen(NULL, &errcode); OH_Rdb_CreateOrOpen_Param_0100() local
1732 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_ExecuteByTrxId_Param_0100() local
1761 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_ExecuteByTrxId_Param_0200() local
1807 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_ExecuteByTrxId_Param_0300() local
1837 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_BeginTransWithTrxId_Param_0100() local
1864 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_BeginTransWithTrxId_Param_0200() local
1891 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_CommitByTrxId_Param_0100() local
1918 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_CommitByTrxId_Param_0200() local
1952 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_RollBackByTrxId_Param_0100() local
1977 auto store = OH_Rdb_CreateOrOpen(config, &errCode); OH_Rdb_RollBackByTrxId_Param_0200() local
[all...]
/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/src/
H A DADecEncNdkSample.cpp185 isDecRunning_.store(true); in StartDec()
205 acodecSignal_->isFlushing_.store(true); in ResetDecParam()
218 acodecSignal_->isFlushing_.store(false); in ResetDecParam()
219 isDecRunning_.store(true); in ResetDecParam()
228 acodecSignal_->isFlushing_.store(true); in ResetEncParam()
241 acodecSignal_->isFlushing_.store(false); in ResetEncParam()
242 isEncRunning_.store(true); in ResetEncParam()
250 acodecSignal_->isFlushing_.store(true); in StopDec()
264 acodecSignal_->isFlushing_.store(false); in StopDec()
276 acodecSignal_->isFlushing_.store(tru in FlushDec()
[all...]
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/
H A DVDecEncNdkSample.cpp180 isDecRunning_.store(true); in ResetDecParam()
194 isEncRunning_.store(true); in ResetEncParam()
255 isDecRunning_.store(true); in StartDec()
274 vcodecSignal_->isVdecFlushing_.store(true); in StopDec()
289 vcodecSignal_->isVdecFlushing_.store(false); in StopDec()
299 vcodecSignal_->isVdecFlushing_.store(true); in FlushDec()
314 vcodecSignal_->isVdecFlushing_.store(false); in FlushDec()
324 vcodecSignal_->isVdecFlushing_.store(true); in ResetDec()
339 vcodecSignal_->isVdecFlushing_.store(false); in ResetDec()
347 isDecRunning_.store(fals in ReleaseDec()
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/
H A Dvideoenc_ndk_sample.cpp77 enc_sample->isRunning_.store(false); in VencInputDataReady()
85 enc_sample->isRunning_.store(false); in VencInputDataReady()
103 enc_sample->isRunning_.store(false); in VencOutputDataReady()
111 enc_sample->isRunning_.store(false); in VencOutputDataReady()
260 isRunning_.store(false); in StopInloop()
326 isRunning_.store(false); in OpenFile()
333 isRunning_.store(false); in OpenFile()
345 isRunning_.store(true); in StartVideoEncoder()
357 isRunning_.store(false); in StartVideoEncoder()
371 isRunning_.store(fals in StartVideoEncoder()
[all...]
H A Dvideoenc_api11_sample.cpp294 isRunning_.store(false); in StopInloop()
357 isRunning_.store(false); in OpenFile()
364 isRunning_.store(false); in OpenFile()
376 isRunning_.store(true); in StartVideoEncoder()
388 isRunning_.store(false); in StartVideoEncoder()
402 isRunning_.store(false); in StartVideoEncoder()
409 isRunning_.store(false); in StartVideoEncoder()
520 isRunning_.store(false); in InputFuncSurface()
529 isRunning_.store(false); in InputFuncSurface()
827 isRunning_.store(fals in CheckAttrFlag()
[all...]
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
H A Dpkg_database.cpp167 int32_t PkgDataBaseCallBack::OnCreate(OHOS::NativeRdb::RdbStore &store) in OnCreate() argument
170 int32_t ret = store.ExecuteSql(sql); in OnCreate()
179 int32_t PkgDataBaseCallBack::OnUpgrade(OHOS::NativeRdb::RdbStore &store, int32_t oldVersion, int32_t newVersion) in OnUpgrade() argument
182 (void)store; in OnUpgrade()
188 int32_t PkgDataBaseCallBack::OnDowngrade(OHOS::NativeRdb::RdbStore &store, int32_t oldVersion, int32_t newVersion) in OnDowngrade() argument
191 (void)store; in OnDowngrade()
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/
H A Dvideodec_ndk_sample.cpp133 dec_sample->isRunning_.store(false); in VdecInputDataReady()
141 dec_sample->isRunning_.store(false); in VdecInputDataReady()
159 dec_sample->isRunning_.store(false); in VdecOutputDataReady()
167 dec_sample->isRunning_.store(false); in VdecOutputDataReady()
354 isRunning_.store(false); in StopInloop()
372 isRunning_.store(true); in StartVideoDecoder()
376 isRunning_.store(false); in StartVideoDecoder()
383 isRunning_.store(false); in StartVideoDecoder()
390 isRunning_.store(false); in StartVideoDecoder()
401 isRunning_.store(fals in StartVideoDecoder()
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/
H A Dvideodec_ndk_sample.cpp305 isRunning_.store(true); in StartVideoDecoder()
309 isRunning_.store(false); in StartVideoDecoder()
316 isRunning_.store(false); in StartVideoDecoder()
327 isRunning_.store(false); in StartVideoDecoder()
337 isRunning_.store(false); in StartVideoDecoder()
521 isRunning_.store(false); in SendData()
529 isRunning_.store(false); in SendData()
540 isRunning_.store(false); in SendData()
677 isRunning_.store(false); in Reset()
712 isRunning_.store(tru in Start()
[all...]
/test/ostest/wukong/common/src/
H A Devent_monitor.cpp50 lastEventMillis_.store(1); in GetLastEventMillis()
59 lastEventMillis_.store(currentMs); in WaitEventIdle()
/test/xts/dcts/testtools/disjsTest/server/
H A DtestApi.js146 await kvManager.getKVStore(storeId,optionsInfo).then((store) =>{
147 kvStore = store;
241 await dataRdb.getRdbStore(storeConfig,1).then((store) => {
243 rdbStore = store;
/drivers/hdf_core/interfaces/inner_api/hdi/base/
H A Dhdi_smq.h350 writeOffset_->store(0, std::memory_order_release); in Init()
352 readOffset_->store(0, std::memory_order_release); in Init()
568 writeOffset_->store(newWriteOffset, std::memory_order_release); in WriteNonBlocking()
592 readOffset_->store((rOffset + count) % qCount, std::memory_order_release); in ReadNonBlocking()
606 readOffset_->store(secPartSize, std::memory_order_release); in ReadNonBlocking()
/test/xts/acts/multimedia/av_codec/vcodec/hdrcodec/src/
H A Dhdrcodec_ndk_sample.cpp103 g_isRunning.store(false); in VencOutputDataReady()
300 g_isRunning.store(false); in InputFunc()
423 g_isRunning.store(true); in Start()
434 g_isRunning.store(false); in Start()
448 g_isRunning.store(false); in StopInloop()
/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/
H A Dmetadata_controller.cpp48 isRunning_.store(false); in ~MetadataController()
547 isRunning_.store(false); in Start()
552 isRunning_.store(true); in Start()
581 isRunning_.store(false); in Stop()

Completed in 20 milliseconds

12