/foundation/distributeddatamgr/preferences/test/js/unittest/storage/src/ |
H A D | StoragePromiseJsunit.test.js | 54 await promise.then((ret) => { 69 await promise.then((ret) => { 84 await promise.then((ret) => { 99 await promise.then((ret) => { 114 await promise.then((ret) => { 129 await promise.then((ret) => { 143 await promise.then((ret) => { 158 await promise.then((ret) => { 173 await promise.then((ret) => { 188 await promise.then((re [all...] |
H A D | StorageHelperJsunit.test.js | 59 await promise.then((pref) => { 95 await promise.then((pref) => { 129 await promise.then((pref) => {
|
/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | SingleKvStoreKVPromiseJsTest.js | 126 await kvStore.put(KEY_TEST_STRING_ELEMENT, null).then((data) => { 149 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(async () => { 150 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 156 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then((data) => { 179 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then((data) => { 202 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then(async (data) => { 204 await kvStore.get(KEY_TEST_STRING_ELEMENT).then((data) => { 226 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then(async (data) => { 228 await kvStore.get().then((data) => { 251 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then(asyn [all...] |
H A D | DeviceKvStoreKVPromiseJsTest.js | 83 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => { 94 kvStore.put("getDeviceId", "byPut").then((data) => { 102 await getDeviceId.then(function (deviceId) { 157 await kvStore.put(KEY_TEST_STRING_ELEMENT, null).then((data) => { 180 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(async () => { 181 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 187 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then((data) => { 210 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then((data) => { 233 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then(async (data) => { 235 await kvStore.get(localDeviceId, KEY_TEST_STRING_ELEMENT).then((dat [all...] |
H A D | KvManagerKVPromiseJsTest.js | 64 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(async () => { 66 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 87 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => { 110 await kvManager.getKVStore(TEST_STORE_ID).then((store) => { 133 await kvManager.getKVStore(options).then((store) => { 156 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 168 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then(() => { 180 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(async () => { 181 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 209 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((stor [all...] |
H A D | SchemaJsTest.js | 68 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID, kvStore).then(async () => { 70 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 102 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 115 await kvStore.getEntries(query).then((entries) => { 149 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 162 await kvStore.getEntries(query).then((entries) => { 196 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 209 await kvStore.getEntries(query).then((entries) => { 243 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 256 await kvStore.getEntries(query).then((entrie [all...] |
H A D | KvStoreResultSetKVJsTest.js | 47 await kvManager.getAllKVStoreId(TEST_BUNDLE_NAME).then(async (data) => { 50 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, data[i]).then(() => { 74 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => { 92 await kvStore.putBatch(entries).then(async (err) => { 97 await kvStore.getResultSet('batch_test_string_key').then((result) => { 109 await kvStore.closeResultSet(resultSet).then((err) => { 115 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(async () => { 117 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 155 await kvStore.getResultSet('test').then((result) => { 162 await kvStore.closeResultSet(rs).then((er [all...] |
/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | SingleKvStoreDataPromiseJsTest.js | 78 await factory.createKVManager(config).then((manager) => { 97 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => { 109 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID, kvStore).then(async () => { 111 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 132 await kvStore.put(KEY_TEST_STRING_ELEMENT, null).then((data) => { 154 await kvStore.put(KEY_TEST_STRING_ELEMENT, '').then((data) => { 177 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then((data) => { 204 await kvStore.put(KEY_TEST_STRING_ELEMENT, str).then(async (data) => { 207 await kvStore.get(KEY_TEST_STRING_ELEMENT).then((data) => { 234 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then(asyn [all...] |
H A D | KvManagerDataPromiseJsTest.js | 50 await factory.createKVManager(config).then((manager) => { 72 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID, kvStore).then(async () => { 74 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 95 await kvManager.getKVStore(TEST_STORE_ID).then((store) => { 116 await kvManager.getKVStore(options).then((store) => { 145 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((store) => { 173 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((store) => { 199 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((store) => { 227 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((store) => { 255 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo).then((stor [all...] |
H A D | DeviceKvStoreDataPromiseJsTest.js | 81 await factory.createKVManager(config).then((manager) => { 87 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => { 98 kvStore.put("getDeviceId", "byPut").then((data) => { 106 await getDeviceId.then(function(deviceId) { 129 await kvManager.getKVStore(TEST_STORE_ID, options).then((store) => { 141 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID, kvStore).then(async () => { 143 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 164 await kvStore.put(KEY_TEST_STRING_ELEMENT, null).then((data) => { 186 await kvStore.put(KEY_TEST_STRING_ELEMENT, '').then((data) => { 209 await kvStore.put(KEY_TEST_STRING_ELEMENT, VALUE_TEST_STRING_ELEMENT).then((dat [all...] |
H A D | SchemaJsTest.js | 40 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 54 kvStore.putBatch(entries).then((data) => { 62 await canGet.then(async function(deviceId) { 70 await kvStore.getEntries(query).then((entries) => { 108 await ddm.createKVManager(config).then((manager) => { 135 await kvManager.closeKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID, kvStore).then(async () => { 137 await kvManager.deleteKVStore(TEST_BUNDLE_NAME, TEST_STORE_ID).then(() => { 238 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 251 await kvStore.getEntries(query).then((entries) => { 284 await kvManager.getKVStore(TEST_STORE_ID, options).then(asyn [all...] |
/foundation/distributeddatamgr/preferences/test/js/unittest/preferences/src/ |
H A D | PreferencesPromiseJsunit.test.js | 113 await promise.then((obj) => { 143 await promise.then(async (ret) => { 160 await promise.then((ret) => { 175 await promise.then((ret) => { 190 await promise.then((ret) => { 205 await promise.then((ret) => { 220 await promise.then((ret) => { 234 await promise.then((ret) => { 249 await promise.then((ret) => { 264 await promise.then((re [all...] |
H A D | PreferencesHelperJsunit.test.js | 62 await promise.then(async (pref) => { 155 await promise.then((pref) => { 200 await promise.then((pref) => {
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_state_mgmt_profiler.cpp | 46 auto then = GetNanoseconds(); in Begin() local 65 block->SetOwnLookupTime(GetNanoseconds() - then); in Begin() 72 auto then = currentBlocks_.top(); in End() local 73 then->SetTotalTime(then->TotalTime() + (now - then->StartTime())); in End() 77 parent->SetOwnLookupTime(parent->OwnLookupTime() + then->OwnLookupTime()); in End()
|
/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/ |
H A D | CloudShareTest.js | 80 await rdbStore.insert("employee", valueBucket).then((rowId) => { 188 await cloudData.sharing.allocResourceAndShare(undefined, predicates, participants, columns).then((resultSet) => { 209 await cloudData.sharing.allocResourceAndShare("employee", undefined, participants, columns).then((resultSet) => { 232 cloudData.sharing.allocResourceAndShare("employee", predicates, undefined, columns).then((resultSet) => { 294 cloudData.sharing.share(undefined, participants).then(result => { 314 cloudData.sharing.share(SHARING_RESOURCE, undefined).then(result => { 376 cloudData.sharing.unshare(undefined, participants).then(result => { 396 cloudData.sharing.unshare(SHARING_RESOURCE, undefined).then(result => { 437 cloudData.sharing.exit(undefined).then(result => { 509 cloudData.sharing.changePrivilege(undefined, changePart).then(resul [all...] |
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbstoreCreateDeleteWithFAContextJsunit.test.js | 104 deletePromise.then(async (ret) => { 182 data_relationalStore.getRdbStore(context, STORE_CONFIG).then((rdbStore) => { 184 rdbStore.executeSql(CREATE_TABLE_TEST, null).then(() => { 192 rdbStore.insert("test", valueBucket).then((rowId) => { 196 rdbStore.delete(predicates).then((rows) => { 200 data_relationalStore.deleteRdbStore(context, "CreateDeleteWithFAContextTest.db").then(() => {
|
H A D | RdbstorePromiseJsunit.test.js | 63 data_relationalStore.getRdbStore(context, STORE_CONFIG).then(async (rdbStore) => { 75 rdbStore.query(predicates, []).then((resultSet) => { 92 rdbStore.delete(predicates).then((rows) => { 95 data_relationalStore.deleteRdbStore(context, "RDBPromiseTest.db").then(() => { 120 data_relationalStore.getRdbStore(context, {dbname: "RDBCallbackTest.db"}).then((rdbStore) => { 145 data_relationalStore.getRdbStore(context, STORE_CONFIG).then((rdbStore) => { 172 data_relationalStore.deleteRdbStore(context, 123454345).then((rdbStore) => { 200 data_relationalStore.deleteRdbStore(context, "RDBCallbackTest.db").then((err) => { 230 data_relationalStore.getRdbStore(context, STORE_CONFIG).then((rdbStore) => { 260 data_relationalStore.deleteRdbStore(context, STORE_CONFIG).then((er [all...] |
H A D | RdbstoreDeleteJsunit.test.js | 92 deletePromise.then(async (ret) => { 145 deletePromise.then(async (ret) => { 197 deletePromise.then(async (ret) => { 257 deletePromise.then(async (ret) => { 309 deletePromise.then(async (ret) => { 333 deletePromise.then(async (ret) => { 398 await rdbStore.close().then(() => { 451 await rdbStore.close().then(() => {
|
H A D | RdbstoreStoreExcuteSqlJsunit.test.js | 95 querySqlPromise.then(async (resultSet) => { 148 querySqlPromise.then(async (resultSet) => { 205 querySqlPromise.then(async (resultSet) => { 215 executeSqlPromise.then(async () => { 224 querySqlPromise.then(async (resultSet) => {
|
/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/ |
H A D | RdbstoreCreateDeleteWithFAContextJsunit.test.js | 104 deletePromise.then(async (ret) => { 184 dataRdb.getRdbStore(context, STORE_CONFIG, 1).then((rdbStore) => { 186 rdbStore.executeSql(CREATE_TABLE_TEST, null).then(() => { 194 rdbStore.insert("test", valueBucket).then((rowId) => { 198 rdbStore.delete(predicates).then((rows) => { 202 dataRdb.deleteRdbStore(context, "CreateDeleteWithFAContextTest.db").then(() => {
|
H A D | RdbstoreDeleteJsunit.test.js | 87 deletePromise.then(async (ret) => { 138 deletePromise.then(async (ret) => { 187 deletePromise.then(async (ret) => { 245 deletePromise.then(async (ret) => { 295 deletePromise.then(async (ret) => { 318 deletePromise.then(async (ret) => {
|
H A D | RdbstoreStoreExcuteSqlJsunit.test.js | 90 querySqlPromise.then(async (resultSet) => { 141 querySqlPromise.then(async (resultSet) => { 195 querySqlPromise.then(async (resultSet) => { 205 executeSqlPromise.then(async () => { 214 querySqlPromise.then(async (resultSet) => {
|
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/test/unittest/src/ |
H A D | ObjectStoreJsunitV9.test.js | 106 g_object.setSessionId("123456").then((data) => { 131 g_object.setSessionId(123).then((data) => { 161 g_object.setSessionId("session1").then(() => { 185 g_object.setSessionId("123456").then((data) => { 245 g_object.setSessionId("session1").then(() => { 281 * @tc.desc: object join session and on,then object change data twice,object can receive two callbacks when data has been changed 318 * @tc.desc object join session and on,then object do not change data,object can not receive callbacks 328 g_object.setSessionId("session1").then(() => { 366 g_object.setSessionId("session5").then(() => { 415 g_object.setSessionId("session6").then(() [all...] |
/foundation/communication/netmanager_ext/frameworks/native/vpnextension/src/ |
H A D | js_vpn_extension.cpp | 328 napi_value then = nullptr; in OnConnect() local 329 napi_get_named_property(env, result, "then", &then); in OnConnect() 330 if (then == nullptr) { in OnConnect() 331 NETMGR_EXT_LOG_E("CallPromise, error to get property: then."); in OnConnect() 335 napi_is_callable(env, then, &isCallable); in OnConnect() 337 NETMGR_EXT_LOG_E("CallPromise, property then is not callable"); in OnConnect() 344 napi_call_function(env, result, then, 1, argv, nullptr); in OnConnect() 550 napi_value then = nullptr; in CallPromise() local 551 napi_get_named_property(env, result, "then", in CallPromise() [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 781 }).then(h6 => { 783 fs.copy(fileUri.getUriFromPath(z5), i6).then(() => { 801 this.checkAccessToken(j5).then(o5 => { 806 p5.requestPermissionsFromUser(this.context, [j5]).then(t5 => { 832 router.pushUrl({ url: c5.url, params: c5.params }, this.parseRouterMode(c5.mode)).then(() => { 843 router.replaceUrl({ url: y4.url, params: y4.params }, this.parseRouterMode(y4.mode)).then(() => { 971 }).then((g4) => { 990 }).then((b4) => { 999 filePreview.canPreview(this.context, o3).then((s3) => { 1008 }).then(() [all...] |