Home
last modified time | relevance | path

Searched full:app_id (Results 1 – 25 of 113) sorted by relevance

12345

/foundation/distributeddatamgr/datamgr_service/test/fuzztest/autolaunch_fuzzer/
Dautolaunch_fuzzer.cpp24 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/
Dhisysevent.yaml44 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/
Ddistributeddb_single_ver_dlp_test.cpp177 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()
Ddistributeddb_single_ver_multi_user_test.cpp43 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 …]
Ddistributeddb_relational_multi_user_test.cpp45 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/
Dapp_control_manager_rdb.cpp39 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/
Dhiview_adapter.cpp35 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/
Ddistributed_data_storage.h30 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/
Ddb_dfx_adapter.cpp44 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/
Ddistributeddb_cloud_meta_data_test.cpp40 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/
Dstorage_fuzzer.cpp46 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/
Djs_app_control.cpp43 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/
Ddistributeddb_auto_launch_test.cpp35 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/
Ddb_properties.cpp24 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/
Donline_sync_table.cpp31 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/
Ddb_dfx_adapter.h55 static const std::string APP_ID; variable
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
Druntime_store.cpp29 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()
Druntime_store.h43 static const DistributedKv::AppId APP_ID;
/foundation/distributeddatamgr/datamgr_service/test/fuzztest/kvstoredisksize_fuzzer/
Dkvstoredisksize_fuzzer.cpp22 static auto g_kvManager = KvStoreDelegateManager("APP_ID", "USER_ID");
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
Ddb_properties.h53 static const std::string APP_ID; variable
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/kvstoreresultset_fuzzer/
Dkvstoreresultset_fuzzer.cpp26 static auto g_kvManager = KvStoreDelegateManager("APP_ID", "USER_ID");
/foundation/distributedhardware/distributed_hardware_fwk/common/utils/include/
Dconstants.h40 const std::string APP_ID = "dtbhardware_manager_service"; variable
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/importfile_fuzzer/
Dimportfile_fuzzer.cpp32 static auto kvManager = KvStoreDelegateManager("APP_ID", "USER_ID"); in SingerVerImport()
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
Dprofile_storage_test.cpp52 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/
Ddistributeddb_storage_index_optimize_test.cpp36 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"));

12345