Searched refs:factory (Results 1 – 25 of 29) sorted by relevance
12
16 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 …]
16 import factory from '@ohos.data.distributedData';36 userType: factory.UserType.SAME_USER_ID45 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 …]
16 import factory from '@ohos.data.distributedData';31 userType : factory.UserType.SAME_USER_ID40 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 …]
16 import factory from '@ohos.data.distributedData'48 type : factory.ValueType.STRING,63 userType : factory.UserType.SAME_USER_ID72 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 …]
16 import factory from '@ohos.data.distributedData'49 type : factory.ValueType.STRING,63 userType : factory.UserType.SAME_USER_ID72 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 …]
16 import factory from '@ohos.data.distributedData'48 type : factory.ValueType.STRING,63 userType : factory.UserType.SAME_USER_ID72 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 …]
16 import factory from '@ohos.data.distributedData'49 type : factory.ValueType.STRING,63 userType : factory.UserType.SAME_USER_ID72 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 …]
16 import factory from '@ohos.data.distributedData';30 userType : factory.UserType.SAME_USER_ID39 kvStoreType : factory.KVStoreType.SINGLE_VERSION,41 securityLevel : factory.SecurityLevel.S2,47 await factory.createKVManager(config).then((manager) => {92 type : factory.ValueType.STRING,
17 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 …]
16 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 …]
16 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)
16 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 …]
16 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 …]
16 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 …]
16 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 …]
16 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,
20 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_ID116 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 …]
17 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) => {
31 import org.springframework.beans.factory.annotation.Autowired;
32 import org.springframework.beans.factory.annotation.Autowired;
239 factory = "factory" variable in ModeType
20 import factory from '@ohos.data.distributedData';