Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 29) sorted by relevance

12

/test/xts/acts/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/js/test/
DSingleKvStoreEnumJsunit.test.js16 import factory from '@ohos.data.distributedData';
27 var sameUserId = factory.UserType.SAME_USER_ID;
38 var maxKeyLength = factory.Constants.MAX_KEY_LENGTH;
49 var maxValueLength = factory.Constants.MAX_VALUE_LENGTH;
52 expect(factory.Constants.MAX_VALUE_LENGTH).assertEqual(4194303);
62 factory.Constants.MAX_VALUE_LENGTH = 123;
65 expect(factory.Constants.MAX_VALUE_LENGTH).assertEqual(4194303);
75 var maxKeyLengthDevice = factory.Constants.MAX_KEY_LENGTH_DEVICE;
86 var maxStoreIdLength = factory.Constants.MAX_STORE_ID_LENGTH;
97 var maxQueryLength = factory.Constants.MAX_QUERY_LENGTH;
[all …]
DKvManagerPromiseJsunit.test.js16 import factory from '@ohos.data.distributedData';
36 userType: factory.UserType.SAME_USER_ID
45 kvStoreType: factory.KVStoreType.SINGLE_VERSION,
47 securityLevel: factory.SecurityLevel.S2,
52 await factory.createKVManager(config).then((manager) => {
146 kvStoreType: factory.KVStoreType.SINGLE_VERSION,
148 securityLevel: factory.SecurityLevel.NO_LEVEL,
173 kvStoreType: factory.KVStoreType.SINGLE_VERSION,
175 securityLevel: factory.SecurityLevel.S1,
198 kvStoreType: factory.KVStoreType.SINGLE_VERSION,
[all …]
DKvManagerCallbackJsunit.test.js16 import factory from '@ohos.data.distributedData';
31 userType : factory.UserType.SAME_USER_ID
40 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
42 securityLevel : factory.SecurityLevel.S2,
47 await factory.createKVManager(config, function (err, manager) {
90 expect((data == factory.SecurityLevel.S2)).assertTrue();
137 kvStoreType : factory.KVStoreType.DEVICE_COLLABORATION,
139 securityLevel : factory.SecurityLevel.NO_LEVEL,
168 kvStoreType : factory.KVStoreType.DEVICE_COLLABORATION,
170 securityLevel : factory.SecurityLevel.S0,
[all …]
DSingleKvStoreCallbackJsunit.test.js16 import factory from '@ohos.data.distributedData'
48 type : factory.ValueType.STRING,
63 userType : factory.UserType.SAME_USER_ID
72 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
74 securityLevel : factory.SecurityLevel.S2,
79 await factory.createKVManager(config, function (err, manager) {
831 var mode = factory.SyncMode.PULL_ONLY;
860 var mode = factory.SyncMode.PUSH_ONLY;
889 var mode = factory.SyncMode.PUSH_PULL;
982 type : factory.ValueType.STRING,
[all …]
DDeviceKvStoreCallbackJsunit.test.js16 import factory from '@ohos.data.distributedData'
49 type : factory.ValueType.STRING,
63 userType : factory.UserType.SAME_USER_ID
72 kvStoreType : factory.KVStoreType.DEVICE_COLLABORATION,
74 securityLevel : factory.SecurityLevel.S2,
79 await factory.createKVManager(config).then((manager) => {
866 var mode = factory.SyncMode.PULL_ONLY;
898 var mode = factory.SyncMode.PUSH_ONLY;
930 var mode = factory.SyncMode.PUSH_PULL;
1023 type : factory.ValueType.STRING,
[all …]
DSingleKvStorePromiseJsunit.test.js16 import factory from '@ohos.data.distributedData'
48 type : factory.ValueType.STRING,
63 userType : factory.UserType.SAME_USER_ID
72 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
74 securityLevel : factory.SecurityLevel.S2,
79 await factory.createKVManager(config).then((manager) => {
842 var mode = factory.SyncMode.PULL_ONLY;
874 var mode = factory.SyncMode.PUSH_ONLY;
906 var mode = factory.SyncMode.PUSH_PULL;
1217 type : factory.ValueType.INTEGER,
[all …]
DDeviceKvStorePromiseJsunit.test.js16 import factory from '@ohos.data.distributedData'
49 type : factory.ValueType.STRING,
63 userType : factory.UserType.SAME_USER_ID
72 kvStoreType : factory.KVStoreType.DEVICE_COLLABORATION,
74 securityLevel : factory.SecurityLevel.S2,
79 await factory.createKVManager(config).then((manager) => {
871 var mode = factory.SyncMode.PULL_ONLY;
903 var mode = factory.SyncMode.PUSH_ONLY;
935 var mode = factory.SyncMode.PUSH_PULL;
1248 type : factory.ValueType.INTEGER,
[all …]
DKvStoreResultSetJsunit.test.js16 import factory from '@ohos.data.distributedData';
30 userType : factory.UserType.SAME_USER_ID
39 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
41 securityLevel : factory.SecurityLevel.S2,
47 await factory.createKVManager(config).then((manager) => {
92 type : factory.ValueType.STRING,
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/
DSingleKvStoreEnumJsTest.js17 import factory from '@ohos.data.distributedKVStore';
28 var maxKeyLength = factory.Constants.MAX_KEY_LENGTH;
40 var maxValueLength = factory.Constants.MAX_VALUE_LENGTH;
43 expect(factory.Constants.MAX_VALUE_LENGTH).assertEqual(4194303);
54 factory.Constants.MAX_VALUE_LENGTH = 123;
57 expect(factory.Constants.MAX_VALUE_LENGTH).assertEqual(4194303);
68 var maxKeyLengthDevice = factory.Constants.MAX_KEY_LENGTH_DEVICE;
80 var maxStoreIdLength = factory.Constants.MAX_STORE_ID_LENGTH;
92 var maxQueryLength = factory.Constants.MAX_QUERY_LENGTH;
104 var maxBatchSize = factory.Constants.MAX_BATCH_SIZE;
[all …]
DKvManagerKVCallbackJsTest.js16 import factory from '@ohos.data.distributedKVStore'
38 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
40 securityLevel : factory.SecurityLevel.S2,
45 kvManager = factory.createKVManager(config);
87 expect((data == factory.SecurityLevel.S2)).assertTrue();
138 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
140 securityLevel : factory.SecurityLevel.S2,
169 kvStoreType : factory.KVStoreType.MULTI_VERSION,
171 securityLevel : factory.SecurityLevel.S1,
199 kvStoreType : factory.KVStoreType.MULTI_VERSION,
[all …]
DKvManagerKVPromiseJsTest.js16 import factory from '@ohos.data.distributedKVStore'
41 kvStoreType: factory.KVStoreType.SINGLE_VERSION,
43 securityLevel: factory.SecurityLevel.S2,
48 kvManager = factory.createKVManager(config)
142 kvStoreType: factory.KVStoreType.SINGLE_VERSION,
144 securityLevel: factory.SecurityLevel.S1,
436 kvManager = factory.createKVManager(config)
477 kvManager = factory.createKVManager(config)
DDeviceKvStoreKVCallbackJsTest.js16 import factory from '@ohos.data.distributedKVStore'
52 type : factory.ValueType.STRING,
72 kvStoreType : factory.KVStoreType.DEVICE_COLLABORATION,
74 securityLevel : factory.SecurityLevel.S2,
79 kvManager = factory.createKVManager(config)
891 var mode = factory.SyncMode.PULL_ONLY;
924 var mode = factory.SyncMode.PUSH_ONLY;
957 var mode = factory.SyncMode.PUSH_PULL;
1054 type : factory.ValueType.STRING,
1095 type : factory.ValueType.INTEGER,
[all …]
DSingleKvStoreKVPromiseJsTest.js16 import factory from '@ohos.data.distributedKVStore'
51 type : factory.ValueType.STRING,
71 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
73 securityLevel : factory.SecurityLevel.S2,
78 kvManager = factory.createKVManager(config)
1045 var mode = factory.SyncMode.PULL_ONLY;
1079 var mode = factory.SyncMode.PUSH_ONLY;
1113 var mode = factory.SyncMode.PUSH_PULL;
1438 type : factory.ValueType.INTEGER,
1482 type : factory.ValueType.FLOAT,
[all …]
DSingleKvStoreKVCallbackJsTest.js16 import factory from '@ohos.data.distributedKVStore'
51 type : factory.ValueType.STRING,
71 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
73 securityLevel : factory.SecurityLevel.S2,
78 kvManager = factory.createKVManager(config)
937 var mode = factory.SyncMode.PULL_ONLY;
967 var mode = factory.SyncMode.PUSH_ONLY;
997 var mode = factory.SyncMode.PUSH_PULL;
1094 type : factory.ValueType.STRING,
1135 type : factory.ValueType.INTEGER,
[all …]
DDeviceKvStoreKVPromiseJsTest.js16 import factory from '@ohos.data.distributedKVStore'
52 type : factory.ValueType.STRING,
72 kvStoreType : factory.KVStoreType.DEVICE_COLLABORATION,
74 securityLevel : factory.SecurityLevel.S2,
79 kvManager = factory.createKVManager(config);
893 var mode = factory.SyncMode.PULL_ONLY;
926 var mode = factory.SyncMode.PUSH_ONLY;
959 var mode = factory.SyncMode.PUSH_PULL;
1285 type : factory.ValueType.INTEGER,
1329 type : factory.ValueType.FLOAT,
[all …]
DKvStoreResultSetKVJsTest.js16 import factory from '@ohos.data.distributedKVStore'
37 kvStoreType : factory.KVStoreType.SINGLE_VERSION,
39 securityLevel : factory.SecurityLevel.S2,
45 kvManager = factory.createKVManager(config);
85 type : factory.ValueType.STRING,
/test/xts/dcts/distributeddatamgr/jstest/distributed_kv_store/client/hap/src/main/js/test/
DKvStoreSecurityLevelS1Jsunit.test.js20 import factory from '@ohos.data.distributedData';
35 const PULL = factory.SyncMode.PULL_ONLY;
36 const PUSH = factory.SyncMode.PUSH_ONLY;
37 const PUSH_PULL = factory.SyncMode.PUSH_PULL;
51 userType: factory.UserType.SAME_USER_ID
116 factory.createKVManager(config, function (err, manager) {
193 kvStoreType: factory.KVStoreType.SINGLE_VERSION,
195 securityLevel: factory.SecurityLevel.S1,
249 kvStoreType: factory.KVStoreType.SINGLE_VERSION,
251 securityLevel: factory.SecurityLevel.S1,
[all …]
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/
DRelationalStoreQuery.test.js17 import factory from '@ohos.data.distributedData';
80 userType : factory.UserType.SAME_USER_ID,
90 kvStoreType : factory.KVStoreType.DEVICE_COLLABORATION,
92 securityLevel : factory.SecurityLevel.S2,
96 await factory.createKVManager(config).then((manager) => {
/test/xts/tools/sample/ServerSampleD/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/
DVideoController.java31 import org.springframework.beans.factory.annotation.Autowired;
/test/xts/tools/sample/ServerSampleE/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/
DBusinessCommentController.java32 import org.springframework.beans.factory.annotation.Autowired;
DBusinessGoodsController.java32 import org.springframework.beans.factory.annotation.Autowired;
DBusinessController.java31 import org.springframework.beans.factory.annotation.Autowired;
DGroupSiteController.java31 import org.springframework.beans.factory.annotation.Autowired;
/test/testfwk/xdevice/src/xdevice/_core/
Dconstants.py239 factory = "factory" variable in ModeType
/test/xts/dcts/distributeddatamgr/jstest/distributed_rdb_store/client/hap/src/main/js/test/
DRdbStoreSyncCustomDir.test.js20 import factory from '@ohos.data.distributedData';

12