| /foundation/distributeddatamgr/datamgr_service/test/fuzztest/autolaunch_fuzzer/ |
| D | autolaunch_fuzzer.cpp | 24 static auto g_kvManager = KvStoreDelegateManager(APP_ID, USER_ID); 35 …KvStoreDelegateManager::EnableKvStoreAutoLaunch(USER_ID, APP_ID, rawString, launchOption, nullptr); in EnableAutoLaunchFuzz() 37 …KvStoreDelegateManager::EnableKvStoreAutoLaunch(USER_ID, APP_ID, "StoreId1", launchOption1, nullpt… in EnableAutoLaunchFuzz() 39 …KvStoreDelegateManager::EnableKvStoreAutoLaunch(USER_ID, APP_ID, "StoreId2", launchOption2, nullpt… in EnableAutoLaunchFuzz() 41 …KvStoreDelegateManager::EnableKvStoreAutoLaunch(USER_ID, APP_ID, "StoreId3", launchOption3, nullpt… in EnableAutoLaunchFuzz() 43 …KvStoreDelegateManager::EnableKvStoreAutoLaunch(USER_ID, APP_ID, "StoreId4", launchOption4, nullpt… in EnableAutoLaunchFuzz() 54 KvStoreDelegateManager::DisableKvStoreAutoLaunch(USER_ID, APP_ID, rawString); in DisableAutoLaunchFUzz() 64 KvStoreDelegateManager::DisableKvStoreAutoLaunch(USER_ID, APP_ID, rawString); in DisableAutoLaunchFUzz()
|
| /foundation/distributeddatamgr/datamgr_service/ |
| D | hisysevent.yaml | 44 APP_ID: {type: STRING, desc: app id } 51 APP_ID: {type: STRING, desc: app id } 58 APP_ID: {type: STRING, desc: app id } 65 APP_ID: {type: STRING, desc: app id } 73 APP_ID: {type: STRING, desc: app id } 80 APP_ID: {type: STRING, desc: app id } 87 APP_ID: {type: STRING, desc: app id } 99 APP_ID: {type: STRING, desc: app id } 105 APP_ID: {type: STRING, desc: app id } 114 APP_ID: {type: STRING, desc: app id }
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
| D | distributeddb_single_ver_dlp_test.cpp | 177 KvStoreDelegateManager mgr1(APP_ID, USER_ID, INSTANCE_ID_1); 182 KvStoreDelegateManager mgr2(APP_ID, USER_ID, INSTANCE_ID_2); 216 RelationalStoreManager mgr1(APP_ID, USER_ID, INSTANCE_ID_1); 221 RelationalStoreManager mgr2(APP_ID, USER_ID, INSTANCE_ID_2); 239 KvStoreDelegateManager mgr1(APP_ID, USER_ID, INSTANCE_ID_1); 272 KvStoreDelegateManager mgr1(APP_ID, USER_ID, INSTANCE_ID_1); 281 if (param.userId != USER_ID || param.appId != APP_ID || param.storeId != STORE_ID_1 || in __anonacc4fffb0302() 318 KvStoreDelegateManager mgr1(APP_ID, USER_ID, INSTANCE_ID_1); 320 if (param.userId == USER_ID && param.appId == APP_ID && param.storeId == STORE_ID_1 && in __anonacc4fffb0502()
|
| D | distributeddb_single_ver_multi_user_test.cpp | 43 KvStoreDelegateManager g_mgr1(APP_ID, USER_ID_1); 44 KvStoreDelegateManager g_mgr2(APP_ID, USER_ID_2); 223 param.appId = APP_ID; in AutoLaunchCallBack() 399 EXPECT_TRUE(g_mgr1.GetKvStoreIdentifier(userId, APP_ID, USER_ID_2, true) != ""); 401 EXPECT_TRUE(g_mgr1.GetKvStoreIdentifier(userId, APP_ID, USER_ID_2, true) != ""); 468 g_identifier = g_mgr1.GetKvStoreIdentifier(USER_ID_2, APP_ID, STORE_ID, true); 469 EXPECT_TRUE(g_identifier == g_mgr1.GetKvStoreIdentifier(USER_ID_1, APP_ID, STORE_ID, true)); 499 RuntimeConfig::ReleaseAutoLaunch(USER_ID_2, APP_ID, STORE_ID, DBType::DB_KV); 532 … EXPECT_TRUE(g_mgr1.EnableKvStoreAutoLaunch(USER_ID_2, APP_ID, STORE_ID, option, notifier) == OK); 533 … EXPECT_TRUE(g_mgr1.EnableKvStoreAutoLaunch(USER_ID_1, APP_ID, STORE_ID, option, notifier) == OK); [all …]
|
| D | distributeddb_relational_multi_user_test.cpp | 45 RelationalStoreManager g_mgr1(APP_ID, USER_ID_1); 46 RelationalStoreManager g_mgr2(APP_ID, USER_ID_2); 243 param.appId = APP_ID; in __anonb65e1f610702() 589 EXPECT_TRUE(g_mgr1.GetRelationalStoreIdentifier(userId, APP_ID, USER_ID_2, true) != ""); 591 EXPECT_TRUE(g_mgr1.GetRelationalStoreIdentifier(userId, APP_ID, USER_ID_2, true) != ""); 665 g_identifier = g_mgr1.GetRelationalStoreIdentifier(USER_ID_2, APP_ID, STORE_ID, true); 666 …EXPECT_TRUE(g_identifier == g_mgr1.GetRelationalStoreIdentifier(USER_ID_1, APP_ID, STORE_ID, true)… 704 RuntimeConfig::ReleaseAutoLaunch(USER_ID_2, APP_ID, STORE_ID, DBType::DB_RELATION); 706 RuntimeConfig::ReleaseAutoLaunch(USER_ID_2, APP_ID, STORE_ID, DBType::DB_RELATION);
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/ |
| D | app_control_manager_rdb.cpp | 39 const std::string APP_ID = "APP_ID"; variable 60 + "APP_CONTROL_LIST TEXT, USER_ID INTEGER, APP_ID TEXT, CONTROL_MESSAGE TEXT, " in AppControlManagerRdb() 85 valuesBucket.PutString(APP_ID, appId); in AddAppInstallControlRule() 110 absRdbPredicates.EqualTo(APP_ID, appId); in DeleteAppInstallControlRule() 192 valuesBucket.PutString(APP_ID, controlRule.appId); in AddAppRunningControlRule() 219 absRdbPredicates.EqualTo(APP_ID, rule.appId); in DeleteAppRunningControlRule() 288 absRdbPredicates.EqualTo(APP_ID, appId); in GetAppRunningControlRule() 353 valuesBucket.PutString(APP_ID, appId); in SetDisposedStatus() 374 absRdbPredicates.EqualTo(APP_ID, appId); in DeleteDisposedStatus() 392 absRdbPredicates.EqualTo(APP_ID, appId); in GetDisposedStatus() [all …]
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/ |
| D | hiview_adapter.cpp | 35 constexpr const char *APP_ID = "APP_ID"; variable 110 APP_ID, msg.appId, in ReportDBFault() 131 APP_ID, msg.appId, in ReportCommFault() 148 APP_ID, msg.appId, in ReportBehaviour() 183 USER_ID, userId, APP_ID, stat.val.appId, STORE_ID, stat.val.storeId, DB_SIZE, dbSize); in ReportDbSize() 243 APP_ID, kv.second.val.appId, in InvokeTraffic() 274 APP_ID, kv.second.val.appId, in InvokeVisit() 318 APP_ID, msg.appId, in ReportUdmfBehaviour()
|
| /foundation/bundlemanager/distributed_bundle_framework/services/dbms/include/ |
| D | distributed_data_storage.h | 30 static const char* APP_ID = "bundle_manager_service"; variable 60 const DistributedKv::AppId appId_ {APP_ID};
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
| D | db_dfx_adapter.cpp | 44 const std::string DBDfxAdapter::APP_ID = "APP_ID"; member in DistributedDB::DBDfxAdapter 82 APP_ID, reportTask.appId, in ReportFault()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
| D | distributeddb_cloud_meta_data_test.cpp | 40 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID); 65 properties.SetStringProp(RelationalDBProperties::APP_ID, appId); in InitStoreProp() 76 InitStoreProp(STORE_PATH, APP_ID, USER_ID, properties); in GetRelationalStore()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/storage_fuzzer/ |
| D | storage_fuzzer.cpp | 46 DistributedDB::RelationalStoreManager g_mgr(APP_ID, USER_ID); 122 properties.SetStringProp(RelationalDBProperties::APP_ID, appId); in InitStoreProp() 133 InitStoreProp(STORE_PATH, APP_ID, USER_ID, properties); in GetRelationalStore()
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/ |
| D | js_app_control.cpp | 43 const std::string APP_ID = "appId"; variable 147 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in SetDisposedStatus() 190 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in SetDisposedStatusSync() 277 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in DeleteDisposedStatus() 316 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in DeleteDisposedStatusSync() 400 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in GetDisposedStatus() 437 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in GetDisposedStatusSync()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
| D | distributeddb_auto_launch_test.cpp | 35 const std::string APP_ID = "appId"; variable 47 KvStoreDelegateManager g_mgr(APP_ID, USER_ID); 135 prop.SetStringProp(KvDBProperties::APP_ID, APP_ID); in GetProperty() 137 identifier = DBCommon::TransferHashString(USER_ID + "-" + APP_ID + "-" + storeId); in GetProperty() 139 dualIdentifier = DBCommon::TransferHashString(APP_ID + "-" + storeId); in GetProperty() 643 param.appId = APP_ID; in AutoLaunchCallBack() 854 EXPECT_EQ(KvStoreDelegateManager::GetKvStoreIdentifier("", APP_ID, STORE_ID_0), ""); 855 EXPECT_EQ(RuntimeConfig::GetStoreIdentifier("", APP_ID, STORE_ID_0), ""); 857 …USER_ID, APP_ID, STORE_ID_0), DBCommon::TransferHashString(USER_ID + "-" + APP_ID + "-" + STORE_ID… 858 EXPECT_EQ(RuntimeConfig::GetStoreIdentifier(USER_ID, APP_ID, STORE_ID_0), [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
| D | db_properties.cpp | 24 const std::string DBProperties::APP_ID = "appId"; member in DistributedDB::DBProperties 78 SetStringProp(DBProperties::APP_ID, appId); in SetIdentifier()
|
| /foundation/deviceprofile/device_info_manager/services/core/src/dbstorage/ |
| D | online_sync_table.cpp | 31 const std::string APP_ID = "distributed_device_profile_service"; variable 37 OnlineSyncTable::OnlineSyncTable() : DeviceProfileStorage(APP_ID, STORE_ID) in OnlineSyncTable()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
| D | db_dfx_adapter.h | 55 static const std::string APP_ID; variable
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/ |
| D | runtime_store.cpp | 29 const AppId RuntimeStore::APP_ID = { "distributeddata" }; member in OHOS::UDMF::RuntimeStore 220 dataManager_.CloseKvStore(APP_ID, storeId_); in Close() 235 … DistributedKv::Status status = dataManager_.GetSingleKvStore(options, APP_ID, storeId_, kvStore_); in Init()
|
| D | runtime_store.h | 43 static const DistributedKv::AppId APP_ID;
|
| /foundation/distributeddatamgr/datamgr_service/test/fuzztest/kvstoredisksize_fuzzer/ |
| D | kvstoredisksize_fuzzer.cpp | 22 static auto g_kvManager = KvStoreDelegateManager("APP_ID", "USER_ID");
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
| D | db_properties.h | 53 static const std::string APP_ID; variable
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/kvstoreresultset_fuzzer/ |
| D | kvstoreresultset_fuzzer.cpp | 26 static auto g_kvManager = KvStoreDelegateManager("APP_ID", "USER_ID");
|
| /foundation/distributedhardware/distributed_hardware_fwk/common/utils/include/ |
| D | constants.h | 40 const std::string APP_ID = "dtbhardware_manager_service"; variable
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/importfile_fuzzer/ |
| D | importfile_fuzzer.cpp | 32 static auto kvManager = KvStoreDelegateManager("APP_ID", "USER_ID"); in SingerVerImport()
|
| /foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
| D | profile_storage_test.cpp | 52 const std::string APP_ID = "distributed_device_profile_service"; variable 88 deviceProfileStorage = std::make_shared<DeviceProfileStorage>(APP_ID, STORE_ID); in ProfileStorageTest() 1022 …tr<DeviceProfileStorage> onlineSyncTbl_ = std::make_shared<DeviceProfileStorage>(APP_ID, STORE_ID); 1114 …tr<DeviceProfileStorage> onlineSyncTbl_ = std::make_shared<DeviceProfileStorage>(APP_ID, STORE_ID); 1127 …tr<DeviceProfileStorage> onlineSyncTbl_ = std::make_shared<DeviceProfileStorage>(APP_ID, STORE_ID); 1172 …tr<DeviceProfileStorage> onlineSyncTbl_ = std::make_shared<DeviceProfileStorage>(APP_ID, STORE_ID); 1185 …tr<DeviceProfileStorage> onlineSyncTbl_ = std::make_shared<DeviceProfileStorage>(APP_ID, STORE_ID); 1230 …tr<DeviceProfileStorage> onlineSyncTbl_ = std::make_shared<DeviceProfileStorage>(APP_ID, STORE_ID); 1243 …tr<DeviceProfileStorage> onlineSyncTbl_ = std::make_shared<DeviceProfileStorage>(APP_ID, STORE_ID);
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
| D | distributeddb_storage_index_optimize_test.cpp | 36 KvStoreDelegateManager g_mgr(APP_ID, USER_ID); 107 std::string origIdentifier = USER_ID + "-" + APP_ID + "-" + STORE_ID_1; in SetUpTestCase() 239 EXPECT_TRUE(CheckIndexFromDbFile(GetKvStoreDirectory(USER_ID, APP_ID, STORE_ID_1), "$.name"));
|