/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | accesstoken_info_manager.cpp | 313 std::shared_ptr<HapTokenInfoInner> infoPtr = GetHapTokenInfoInner(tokenID); in GetHapTokenInfo() local 314 if (infoPtr == nullptr) { in GetHapTokenInfo() 319 infoPtr->TranslateToHapTokenInfo(info); in GetHapTokenInfo() 325 std::shared_ptr<HapTokenInfoInner> infoPtr = GetHapTokenInfoInner(id); in GetHapPermissionPolicySet() local 326 if (infoPtr == nullptr) { in GetHapPermissionPolicySet() 331 return infoPtr->GetHapInfoPermissionPolicySet(); in GetHapPermissionPolicySet() 348 std::shared_ptr<NativeTokenInfoInner> infoPtr = GetNativeTokenInfoInner(tokenID); in GetNativeTokenInfo() local 349 if (infoPtr == nullptr) { in GetNativeTokenInfo() 355 infoPtr->TranslateToNativeTokenInfo(infoParcel); in GetNativeTokenInfo() 361 std::shared_ptr<NativeTokenInfoInner> infoPtr = GetNativeTokenInfoInner(id); in GetNativePermissionPolicySet() local [all …]
|
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/ |
D | module_update_proxy.cpp | 195 std::unique_ptr<HmpVersionInfo> infoPtr(reply.ReadParcelable<HmpVersionInfo>()); in GetHmpVersionInfo() local 196 if (infoPtr != nullptr) { in GetHmpVersionInfo() 197 versionInfo.push_back(*infoPtr); in GetHmpVersionInfo() 268 std::unique_ptr<HmpUpdateInfo> infoPtr(reply.ReadParcelable<HmpUpdateInfo>()); in GetHmpUpdateResult() local 269 if (infoPtr != nullptr) { in GetHmpUpdateResult() 270 updateInfo.push_back(*infoPtr); in GetHmpUpdateResult()
|
/base/account/os_account/frameworks/domain_account/src/ |
D | domain_account_common.cpp | 170 std::shared_ptr<DomainAccountInfo> infoPtr(parcel.ReadParcelable<DomainAccountInfo>()); in ReadFromParcel() local 171 if (infoPtr == nullptr) { in ReadFromParcel() 175 accountInfo = *infoPtr; in ReadFromParcel() 317 std::shared_ptr<AuthStatusInfo> infoPtr(parcel.ReadParcelable<AuthStatusInfo>()); in ReadFromParcel() local 318 if (infoPtr == nullptr) { in ReadFromParcel() 322 authStatusInfo = *infoPtr; in ReadFromParcel()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | temp_permission_observer.cpp | 150 …std::shared_ptr<HapTokenInfoInner> infoPtr = AccessTokenInfoManager::GetInstance().GetHapTokenInfo… in GetPermissionStateFull() local 151 if (infoPtr == nullptr) { in GetPermissionStateFull() 155 if (infoPtr->IsRemote()) { in GetPermissionStateFull() 159 std::shared_ptr<PermissionPolicySet> permPolicySet = infoPtr->GetHapInfoPermissionPolicySet(); in GetPermissionStateFull()
|
D | permission_manager.cpp | 617 bool isGranted, uint32_t flag, const std::shared_ptr<HapTokenInfoInner>& infoPtr) in NotifyWhenPermissionStateUpdated() argument 636 grantEvent_.AddEvent(tokenID, permissionName, infoPtr->permUpdateTimestamp_); in NotifyWhenPermissionStateUpdated() 642 …std::shared_ptr<HapTokenInfoInner> infoPtr = AccessTokenInfoManager::GetInstance().GetHapTokenInfo… in UpdateTokenPermissionState() local 643 if (infoPtr == nullptr) { in UpdateTokenPermissionState() 647 if (infoPtr->IsRemote()) { in UpdateTokenPermissionState() 660 std::shared_ptr<PermissionPolicySet> permPolicySet = infoPtr->GetHapInfoPermissionPolicySet(); in UpdateTokenPermissionState() 666 int32_t hapDlpType = infoPtr->GetDlpType(); in UpdateTokenPermissionState() 683 NotifyWhenPermissionStateUpdated(tokenID, permissionName, isGranted, flag, infoPtr); in UpdateTokenPermissionState() 1054 …std::shared_ptr<HapTokenInfoInner> infoPtr = AccessTokenInfoManager::GetInstance().GetHapTokenInfo… in ClearUserGrantedPermission() local 1055 if (infoPtr == nullptr) { in ClearUserGrantedPermission() [all …]
|
/base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
D | domain_account_common_test.cpp | 138 std::shared_ptr<DomainServerConfig> infoPtr(result); 139 EXPECT_EQ(infoPtr->id_, STRING_DOMAIN_NEW);
|
/base/print/print_fwk/services/print_service/src/ |
D | print_service_stub.cpp | 220 auto infoPtr = PrinterInfo::Unmarshalling(data); in OnAddPrinters() local 221 if (infoPtr == nullptr) { in OnAddPrinters() 225 infoPtr->Dump(); in OnAddPrinters() 226 printerInfos.emplace_back(*infoPtr); in OnAddPrinters() 261 auto infoPtr = PrinterInfo::Unmarshalling(data); in OnUpdatePrinters() local 262 if (infoPtr == nullptr) { in OnUpdatePrinters() 266 infoPtr->Dump(); in OnUpdatePrinters() 267 printerInfos.emplace_back(*infoPtr); in OnUpdatePrinters()
|
/base/account/os_account/services/accountmgr/test/unittest/app_account/ |
D | app_account_info_test.cpp | 947 auto infoPtr = AppAccountInfo::Unmarshalling(parcel); variable 948 EXPECT_NE(infoPtr, nullptr); 951 EXPECT_EQ(owner, infoPtr->owner_); 952 EXPECT_EQ(name, infoPtr->name_); 953 EXPECT_EQ(extraInfo, infoPtr->extraInfo_); 954 EXPECT_EQ(authorizedApps.size(), infoPtr->authorizedApps_.size()); 955 EXPECT_EQ(*(authorizedApps.begin()), *(infoPtr->authorizedApps_.begin())); 956 EXPECT_EQ(syncEnable, infoPtr->syncEnable_); 957 EXPECT_EQ(associatedData, infoPtr->associatedData_); 958 EXPECT_EQ(accountCredential, infoPtr->accountCredential_);
|
/base/account/os_account/frameworks/osaccount/core/src/ |
D | os_account_proxy.cpp | 62 std::shared_ptr<OsAccountInfo> infoPtr(reply.ReadParcelable<OsAccountInfo>()); in CreateOsAccount() local 63 if (infoPtr == nullptr) { in CreateOsAccount() 67 osAccountInfo = *infoPtr; in CreateOsAccount() 113 std::shared_ptr<OsAccountInfo> infoPtr(reply.ReadParcelable<OsAccountInfo>()); in CreateOsAccount() local 114 if (infoPtr == nullptr) { in CreateOsAccount() 118 osAccountInfo = *infoPtr; in CreateOsAccount() 530 std::shared_ptr<OsAccountInfo> infoPtr(reply.ReadParcelable<OsAccountInfo>()); in QueryCurrentOsAccount() local 531 if (infoPtr == nullptr) { in QueryCurrentOsAccount() 535 osAccountInfo = *infoPtr; in QueryCurrentOsAccount() 546 std::shared_ptr<OsAccountInfo> infoPtr(reply.ReadParcelable<OsAccountInfo>()); in QueryOsAccountById() local [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/ |
D | accesstoken_info_manager.h | 108 bool TryUpdateExistNativeToken(const std::shared_ptr<NativeTokenInfoInner>& infoPtr); 109 int AllocNativeToken(const std::shared_ptr<NativeTokenInfoInner>& infoPtr);
|
/base/account/os_account/services/accountmgr/src/account_iam/ |
D | account_iam_callback.cpp | 466 std::shared_ptr<AuthStatusInfo> infoPtr(AuthStatusInfo::Unmarshalling(parcel)); in OnResult() local 467 if (infoPtr == nullptr) { in OnResult() 472 attributes.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, infoPtr->remainingTimes); in OnResult() 473 attributes.SetInt32Value(Attributes::ATTR_FREEZING_TIME, infoPtr->freezingTime); in OnResult()
|
/base/account/os_account/frameworks/osaccount/native/test/unittest/ |
D | os_account_info_test.cpp | 473 auto infoPtr = OsAccountInfo::Unmarshalling(parcel); variable 474 ASSERT_NE(infoPtr, nullptr); 476 EXPECT_EQ(INT_ID, infoPtr->localId_);
|
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/ |
D | print_service_proxy.cpp | 161 auto infoPtr = PrintExtensionInfo::Unmarshalling(reply); in QueryAllExtension() local 162 if (infoPtr == nullptr) { in QueryAllExtension() 166 extensionInfos.emplace_back(*infoPtr); in QueryAllExtension()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_manager.h | 91 bool isGranted, uint32_t flag, const std::shared_ptr<HapTokenInfoInner>& infoPtr);
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | permission_manager_test.cpp | 1371 …std::shared_ptr<HapTokenInfoInner> infoPtr = AccessTokenInfoManager::GetInstance().GetHapTokenInfo… variable 1372 infoPtr->SetRemote(true); 1376 infoPtr->SetRemote(false); 1478 …std::shared_ptr<HapTokenInfoInner> infoPtr = AccessTokenInfoManager::GetInstance().GetHapTokenInfo… variable 1479 infoPtr->SetRemote(true); 1482 infoPtr->SetRemote(false);
|
D | accesstoken_info_manager_test.cpp | 1460 …std::shared_ptr<HapTokenInfoInner> infoPtr = AccessTokenInfoManager::GetInstance().GetHapTokenInfo… variable 1461 ASSERT_NE(0, AccessTokenInfoManager::GetInstance().AddHapTokenInfo(infoPtr)); 1540 std::shared_ptr<NativeTokenInfoInner> infoPtr = nullptr; variable 1541 …ASSERT_EQ(false, AccessTokenInfoManager::GetInstance().TryUpdateExistNativeToken(infoPtr)); // inf…
|
/base/telephony/call_manager/services/call_manager_service/src/ |
D | call_manager_service_stub.cpp | 1169 OttCallDetailsInfo *infoPtr = nullptr; in OnReportOttCallDetailsInfo() local 1171 … if ((infoPtr = (OttCallDetailsInfo *)data.ReadRawData(sizeof(OttCallDetailsInfo))) == nullptr) { in OnReportOttCallDetailsInfo() 1175 ottVec.push_back(*infoPtr); in OnReportOttCallDetailsInfo()
|