Home
last modified time | relevance | path

Searched refs:nativeTokenInfoParcel (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/access_token/frameworks/accesstoken/src/
H A Dnative_token_info_parcel.cpp61 if (nativeTokenInfoParcel == nullptr) { in Unmarshalling()
67 RELEASE_IF_FALSE(in.ReadInt32(apl), nativeTokenInfoParcel); in Unmarshalling()
68 RELEASE_IF_FALSE(in.ReadUint8(ver), nativeTokenInfoParcel); in Unmarshalling()
69 nativeTokenInfoParcel->nativeTokenInfoParams.apl = ATokenAplEnum(apl); in Unmarshalling()
70 nativeTokenInfoParcel->nativeTokenInfoParams.ver = ver; in Unmarshalling()
73 …RELEASE_IF_FALSE(in.ReadUint32(nativeTokenInfoParcel->nativeTokenInfoParams.tokenID), nativeTokenI… in Unmarshalling()
74 …RELEASE_IF_FALSE(in.ReadUint32(nativeTokenInfoParcel->nativeTokenInfoParams.tokenAttr), nativeToke… in Unmarshalling()
77 RELEASE_IF_FALSE(in.ReadUint32(dcapSize), nativeTokenInfoParcel); in Unmarshalling()
78 RELEASE_IF_FALSE(dcapSize <= MAX_DCAP_SIZE, nativeTokenInfoParcel); in Unmarshalling()
92 RELEASE_IF_FALSE(in.ReadString(item), nativeTokenInfoParcel); in Unmarshalling()
[all …]
/ohos5.0/base/security/access_token/frameworks/test/unittest/
H A Daccesstoken_parcel_test.cpp519 NativeTokenInfoParcel nativeTokenInfoParcel; variable
521 nativeTokenInfoParcel.nativeTokenInfoParams.ver = 0;
525 nativeTokenInfoParcel.nativeTokenInfoParams.tokenAttr = 0;
529 EXPECT_EQ(true, nativeTokenInfoParcel.Marshalling(parcel));
543 NativeTokenInfoParcel nativeTokenInfoParcel; variable
545 nativeTokenInfoParcel.nativeTokenInfoParams.ver = 0;
549 nativeTokenInfoParcel.nativeTokenInfoParams.tokenAttr = 0;
553 EXPECT_NE(true, nativeTokenInfoParcel.Marshalling(parcel));
565 NativeTokenInfoParcel nativeTokenInfoParcel; variable
567 nativeTokenInfoParcel.nativeTokenInfoParams.ver = 0;
[all …]
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/src/
H A Daccesstoken_manager_client.cpp489 NativeTokenInfoParcel nativeTokenInfoParcel; in GetNativeTokenInfo() local
490 int res = proxy->GetNativeTokenInfo(tokenID, nativeTokenInfoParcel); in GetNativeTokenInfo()
491 nativeTokenInfoRes = nativeTokenInfoParcel.nativeTokenInfoParams; in GetNativeTokenInfo()
/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
H A Daccesstoken_manager_stub.cpp577 NativeTokenInfoParcel nativeTokenInfoParcel; in GetNativeTokenInfoInner() local
578 int result = this->GetNativeTokenInfo(tokenID, nativeTokenInfoParcel); in GetNativeTokenInfoInner()
583 reply.WriteParcelable(&nativeTokenInfoParcel); in GetNativeTokenInfoInner()