Home
last modified time | relevance | path

Searched refs:osAccountId (Results 1 - 12 of 12) sorted by relevance

/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Ddevice_auth.h69 #define FIELD_OS_ACCOUNT_ID "osAccountId"
156 int32_t (*authDevice)(int32_t osAccountId, int64_t authReqId, const char *authParams,
166 int32_t (*createGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams);
167 int32_t (*deleteGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *disbandParams);
168 int32_t (*addMemberToGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *addParams);
169 int32_t (*deleteMemberFromGroup)(int32_t osAccountId, int64_t requestId, const char *appId,
172 int32_t (*addMultiMembersToGroup)(int32_t osAccountId, const char *appId, const char *addParams);
173 int32_t (*delMultiMembersFromGroup)(int32_t osAccountId, const char *appId, const char *deleteParams);
174 int32_t (*confirmRequest)(int32_t osAccountId, int64_t requestId, const char *appId, const char *confirmParams);
183 int32_t (*checkAccessToGroup)(int32_t osAccountId, cons
[all...]
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_hichain_auth_connector.cpp96 int32_t osAccountId = 0; in HWTEST_F() local
99 int32_t ret = hiChain_->AuthDevice(pinCode, osAccountId, udid, requestId); in HWTEST_F()
107 int32_t osAccountId = 0; in HWTEST_F() local
108 int32_t ret = hiChain_->ProcessAuthData(requestId, authData, osAccountId); in HWTEST_F()
243 int32_t osAccountId = 0; in HWTEST_F() local
245 int32_t ret = hiChain_->GenerateCredential(localUdid, osAccountId, publicKey); in HWTEST_F()
252 int32_t osAccountId = 0; in HWTEST_F() local
256 int32_t ret = hiChain_->GenerateCredential(localUdid, osAccountId, publicKey); in HWTEST_F()
263 int32_t osAccountId = 0; in HWTEST_F() local
267 int32_t ret = hiChain_->GenerateCredential(localUdid, osAccountId, publicKe in HWTEST_F()
274 int32_t osAccountId = 0; HWTEST_F() local
285 int32_t osAccountId = 0; HWTEST_F() local
296 int32_t osAccountId = 0; HWTEST_F() local
307 int32_t osAccountId = 0; HWTEST_F() local
318 int32_t osAccountId = 1245; HWTEST_F() local
331 int32_t osAccountId = 1245; HWTEST_F() local
344 int32_t osAccountId = 1245; HWTEST_F() local
357 int32_t osAccountId = 1245; HWTEST_F() local
370 int32_t osAccountId = 1245; HWTEST_F() local
383 int32_t osAccountId = 1245; HWTEST_F() local
396 int32_t osAccountId = 1245; HWTEST_F() local
404 int32_t osAccountId = 0; HWTEST_F() local
413 int32_t osAccountId = 0; HWTEST_F() local
423 int32_t osAccountId = 0; HWTEST_F() local
434 int32_t osAccountId = 0; HWTEST_F() local
445 int32_t osAccountId = 0; HWTEST_F() local
456 int32_t osAccountId = 0; HWTEST_F() local
467 int32_t osAccountId = 0; HWTEST_F() local
478 int32_t osAccountId = 0; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/
H A Dlnn_hichain_mock.h53 int32_t osAccountId, int64_t authReqId, const char *authParams, const DeviceAuthCallback *gaCallback);
56 int32_t osAccountId, const char *appId, int32_t groupType, char **returnGroupVec, uint32_t *groupNum);
58 int32_t osAccountId, const char *appId, int32_t groupType, char **returnGroupVec, uint32_t *groupNum);
60 int32_t osAccountId, const char *appId, int32_t groupType, char **returnGroupVec, uint32_t *groupNum);
65 int32_t osAccountId, int64_t authReqId, const char *authParams, const DeviceAuthCallback *gaCallback);
75 int32_t osAccountId, const char *appId, const char *groupId, char **returnDevInfoVec, uint32_t *deviceNum);
77 int32_t osAccountId, const char *appId, const char *groupId, char **returnDevInfoVec, uint32_t *deviceNum);
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Dlnn_hichain_mock.cpp91 int32_t LnnHichainInterfaceMock::InvokeAuthDevice(int32_t osAccountId, int64_t authReqId, const char *authParams, in InvokeAuthDevice() argument
97 int32_t LnnHichainInterfaceMock::AuthDeviceConnSend(int32_t osAccountId, int64_t authReqId, const char *authParams, in AuthDeviceConnSend() argument
114 int32_t LnnHichainInterfaceMock::InvokeGetJoinedGroups1(int32_t osAccountId, const char *appId, int32_t groupType, in InvokeGetJoinedGroups1() argument
117 (void)osAccountId; in InvokeGetJoinedGroups1()
134 int32_t LnnHichainInterfaceMock::InvokeGetJoinedGroups2(int32_t osAccountId, const char *appId, int32_t groupType, in InvokeGetJoinedGroups2() argument
137 (void)osAccountId; in InvokeGetJoinedGroups2()
146 int32_t LnnHichainInterfaceMock::InvokeGetJoinedGroups3(int32_t osAccountId, const char *appId, int32_t groupType, in InvokeGetJoinedGroups3() argument
149 (void)osAccountId; in InvokeGetJoinedGroups3()
213 int32_t osAccountId, const char *appId, const char *groupId, char **returnDevInfoVec, uint32_t *deviceNum) in getTrustedDevices()
215 (void)osAccountId; in getTrustedDevices()
212 getTrustedDevices( int32_t osAccountId, const char *appId, const char *groupId, char **returnDevInfoVec, uint32_t *deviceNum) getTrustedDevices() argument
239 getTrustedDevices1( int32_t osAccountId, const char *appId, const char *groupId, char **returnDevInfoVec, uint32_t *deviceNum) getTrustedDevices1() argument
[all...]
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/hichain/
H A Dhichain_auth_connector.h52 int32_t AuthDevice(int32_t pinCode, int32_t osAccountId, std::string udid, int64_t requestId);
53 int32_t ProcessAuthData(int64_t requestId, std::string authData, int32_t osAccountId);
54 int32_t GenerateCredential(std::string &localUdid, int32_t osAccountId, std::string &publicKey);
55 bool QueryCredential(std::string &localUdid, int32_t osAccountId);
56 int32_t ImportCredential(int32_t osAccountId, std::string deviceId, std::string publicKey);
59 int32_t GetCredential(std::string &localUdid, int32_t osAccountId, std::string &publicKey);
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/
H A Dhichain_auth_connector.cpp52 int32_t HiChainAuthConnector::AuthDevice(int32_t pinCode, int32_t osAccountId, std::string udid, int64_t requestId) in AuthDevice() argument
56 authParamJson["osAccountId"] = osAccountId; in AuthDevice()
70 int32_t HiChainAuthConnector::ProcessAuthData(int64_t requestId, std::string authData, int32_t osAccountId) in ProcessAuthData() argument
74 jsonAuthParam["osAccountId"] = osAccountId; in ProcessAuthData()
154 int32_t HiChainAuthConnector::GenerateCredential(std::string &localUdid, int32_t osAccountId, std::string &publicKey) in GenerateCredential() argument
158 jsonObj["osAccountId"] = osAccountId; in GenerateCredential()
187 bool HiChainAuthConnector::QueryCredential(std::string &localUdid, int32_t osAccountId) in QueryCredential() argument
218 GetCredential(std::string &localUdid, int32_t osAccountId, std::string &publicKey) GetCredential() argument
250 ImportCredential(int32_t osAccountId, std::string deviceId, std::string publicKey) ImportCredential() argument
[all...]
/foundation/distributedhardware/device_manager/services/service/src/devicenamemgr/
H A Dlocal_device_name_mgr.cpp136 int32_t osAccountId = GetActiveOsAccountIds(); in GetUserDefinedDeviceName() local
137 if (osAccountId == ERR_DM_FAILED) { in GetUserDefinedDeviceName()
138 LOGE("osAccountId acquire fail!"); in GetUserDefinedDeviceName()
141 std::string accountIdStr = std::to_string(osAccountId); in GetUserDefinedDeviceName()
155 int32_t osAccountId = GetActiveOsAccountIds(); in GetDisplayDeviceName() local
156 if (osAccountId == ERR_DM_FAILED) { in GetDisplayDeviceName()
157 LOGE("osAccountId acquire fail!"); in GetDisplayDeviceName()
160 std::string accountIdStr = std::to_string(osAccountId); in GetDisplayDeviceName()
217 int32_t osAccountId = GetActiveOsAccountIds(); in RegisterDeviceNameChangeCb() local
218 if (osAccountId in RegisterDeviceNameChangeCb()
261 int32_t osAccountId = GetActiveOsAccountIds(); RegisterDisplayNameChangeCb() local
[all...]
/foundation/communication/dsoftbus/core/adapter/bus_center/src/
H A Dlnn_ohos_account_adapter.cpp122 int32_t osAccountId = GetActiveOsAccountIds(); in IsActiveOsAccountUnlocked() local
123 if (osAccountId == SOFTBUS_ERR) { in IsActiveOsAccountUnlocked()
127 LNN_LOGD(LNN_STATE, "current active os accountId=%{public}d", osAccountId); in IsActiveOsAccountUnlocked()
129 OHOS::ErrCode res = OHOS::AccountSA::OsAccountManager::IsOsAccountVerified(osAccountId, isUnlocked); in IsActiveOsAccountUnlocked()
131 LNN_LOGE(LNN_STATE, "check account verify status failed, res=%{public}d, osAccountId=%{public}d", res, in IsActiveOsAccountUnlocked()
132 osAccountId); in IsActiveOsAccountUnlocked()
135 LNN_LOGI(LNN_STATE, "account verified status=%{public}d, accountId=%{public}d", isUnlocked, osAccountId); in IsActiveOsAccountUnlocked()
H A Dlnn_settingdata_event_monitor.cpp134 int32_t osAccountId = GetActiveOsAccountIds(); in GetUserDefinedDeviceName() local
135 if (osAccountId == SOFTBUS_ERR) { in GetUserDefinedDeviceName()
138 std::string accountIdStr = std::to_string(osAccountId); in GetUserDefinedDeviceName()
156 int32_t osAccountId = GetActiveOsAccountIds(); in RegisterNameMonitorHelper() local
157 if (osAccountId == SOFTBUS_ERR) { in RegisterNameMonitorHelper()
160 std::string accountIdStr = std::to_string(osAccountId); in RegisterNameMonitorHelper()
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Ddm_auth_manager.cpp1510 int32_t osAccountId = MultipleUserConnector::GetCurrentAccountUserID(); in AuthDevice() local
1515 if (hiChainAuthConnector_->AuthDevice(pinCode, osAccountId, remoteDeviceId_, in AuthDevice()
1873 int32_t osAccountId = MultipleUserConnector::GetCurrentAccountUserID(); in GenerateCredential() local
1874 hiChainAuthConnector_->GenerateCredential(localUdid, osAccountId, publicKey); in GenerateCredential()
1876 hiChainAuthConnector_->GetCredential(localUdid, osAccountId, publicKey); in GenerateCredential()
1900 int32_t osAccountId = MultipleUserConnector::GetCurrentAccountUserID(); in ImportCredential() local
1901 return hiChainAuthConnector_->ImportCredential(osAccountId, deviceId, publicKey); in ImportCredential()
2212 int32_t osAccountId = MultipleUserConnector::GetCurrentAccountUserID(); in OnAuthDeviceDataReceived() local
2213 hiChainAuthConnector_->ProcessAuthData(authResponseContext_->requestId, authData, osAccountId); in OnAuthDeviceDataReceived()
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dbg_continuous_task_mgr.cpp91 static void GetOsAccountIdFromUid(int32_t uid, int32_t &osAccountId) in GetOsAccountIdFromUid() argument
93 osAccountId = uid / UID_TRANSFORM_DIVISOR; in GetOsAccountIdFromUid()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp4792 int32_t osAccountId = AudioSettingProvider::GetCurrentUserId(); in GetUserSetDeviceNameFromDataShareHelper() local
4793 std::string accountIdStr = std::to_string(osAccountId); in GetUserSetDeviceNameFromDataShareHelper()
7407 int32_t osAccountId = AudioSettingProvider::GetCurrentUserId(); in RegisterDataObserver() local
7408 std::string accountIdStr = std::to_string(osAccountId); in RegisterDataObserver()

Completed in 27 milliseconds