Home
last modified time | relevance | path

Searched refs:hapInfoParameter (Results 1 – 6 of 6) sorted by relevance

/base/security/access_token/frameworks/accesstoken/src/
Dhap_info_parcel.cpp24 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.userID)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteString(this->hapInfoParameter.bundleName)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.instIndex)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.dlpType)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteString(this->hapInfoParameter.appIDDesc)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.apiVersion)); in Marshalling()
30 RETURN_IF_FALSE(out.WriteBool(this->hapInfoParameter.isSystemApp)); in Marshalling()
40 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.userID), hapInfoParcel); in Unmarshalling()
41 hapInfoParcel->hapInfoParameter.bundleName = in.ReadString(); in Unmarshalling()
42 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.instIndex), hapInfoParcel); in Unmarshalling()
[all …]
/base/security/access_token/frameworks/test/unittest/
Daccesstoken_parcel_test.cpp104 hapinfoParcel.hapInfoParameter = {
119 EXPECT_EQ(hapinfoParcel.hapInfoParameter.userID, readedData->hapInfoParameter.userID);
120 …EXPECT_EQ(true, hapinfoParcel.hapInfoParameter.bundleName == readedData->hapInfoParameter.bundleNa…
121 EXPECT_EQ(hapinfoParcel.hapInfoParameter.instIndex, readedData->hapInfoParameter.instIndex);
122 …EXPECT_EQ(true, hapinfoParcel.hapInfoParameter.appIDDesc == readedData->hapInfoParameter.appIDDesc…
123 EXPECT_EQ(hapinfoParcel.hapInfoParameter.apiVersion, readedData->hapInfoParameter.apiVersion);
124 EXPECT_EQ(hapinfoParcel.hapInfoParameter.isSystemApp, readedData->hapInfoParameter.isSystemApp);
/base/security/access_token/frameworks/accesstoken/include/
Dhap_info_parcel.h35 HapInfoParams hapInfoParameter; member
/base/security/access_token/test/fuzztest/access_token_stub/allochaptokenstub_fuzzer/
Dallochaptokenstub_fuzzer.cpp67 hapInfoParcel.hapInfoParameter = TestInfoParms; in AllocHapTokenStubFuzzTest()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp269 info.hapInfoParameter, policy.hapPolicyParameter, tokenIdEx); in AllocHapToken()
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_manager_client.cpp268 hapInfoParcel.hapInfoParameter = info; in AllocHapToken()