/base/security/access_token/frameworks/privacy/src/ |
H A D | permission_used_request_parcel.cpp | 46 RELEASE_IF_FALSE(in.ReadUint32(requestParcel->request.tokenId), requestParcel); in Unmarshalling() 47 RELEASE_IF_FALSE(in.ReadBool (requestParcel->request.isRemote), requestParcel); in Unmarshalling() 48 RELEASE_IF_FALSE(in.ReadString(requestParcel->request.deviceId), requestParcel); in Unmarshalling() 49 RELEASE_IF_FALSE(in.ReadString(requestParcel->request.bundleName), requestParcel); in Unmarshalling() 52 RELEASE_IF_FALSE(in.ReadUint32(permSize), requestParcel); in Unmarshalling() 53 RELEASE_IF_FALSE(permSize <= MAX_PERMLIST_SIZE, requestParcel); in Unmarshalling() 56 RELEASE_IF_FALSE(in.ReadString(perm), requestParcel); in Unmarshalling() 59 RELEASE_IF_FALSE(in.ReadInt64(requestParcel->request.beginTimeMillis), requestParcel); in Unmarshalling() 60 RELEASE_IF_FALSE(in.ReadInt64(requestParcel->request.endTimeMillis), requestParcel); in Unmarshalling() 62 RELEASE_IF_FALSE(i in Unmarshalling() [all...] |
H A D | permission_used_record_parcel.cpp | 57 RELEASE_IF_FALSE(in.ReadString(permissionRecordParcel->permissionRecord.permissionName), permissionRecordParcel); in Unmarshalling() 58 RELEASE_IF_FALSE(in.ReadInt32(permissionRecordParcel->permissionRecord.accessCount), permissionRecordParcel); in Unmarshalling() 59 RELEASE_IF_FALSE(in.ReadInt32(permissionRecordParcel->permissionRecord.rejectCount), permissionRecordParcel); in Unmarshalling() 60 RELEASE_IF_FALSE(in.ReadInt64(permissionRecordParcel->permissionRecord.lastAccessTime), permissionRecordParcel); in Unmarshalling() 61 RELEASE_IF_FALSE(in.ReadInt64(permissionRecordParcel->permissionRecord.lastRejectTime), permissionRecordParcel); in Unmarshalling() 62 RELEASE_IF_FALSE(in.ReadInt64(permissionRecordParcel->permissionRecord.lastAccessDuration), permissionRecordParcel); in Unmarshalling() 65 RELEASE_IF_FALSE(in.ReadUint32(accRecordSize), permissionRecordParcel); in Unmarshalling() 66 RELEASE_IF_FALSE(accRecordSize <= MAX_ACCESS_RECORD_SIZE, permissionRecordParcel); in Unmarshalling() 70 RELEASE_IF_FALSE(detailParcel != nullptr, permissionRecordParcel); in Unmarshalling() 75 RELEASE_IF_FALSE(i in Unmarshalling() [all...] |
H A D | used_record_detail_parcel.cpp | 40 RELEASE_IF_FALSE(in.ReadInt32(detailRecordParcel->detail.status), detailRecordParcel); in Unmarshalling() 41 RELEASE_IF_FALSE(in.ReadInt32(detailRecordParcel->detail.lockScreenStatus), detailRecordParcel); in Unmarshalling() 42 RELEASE_IF_FALSE(in.ReadInt64(detailRecordParcel->detail.timestamp), detailRecordParcel); in Unmarshalling() 43 RELEASE_IF_FALSE(in.ReadInt64(detailRecordParcel->detail.accessDuration), detailRecordParcel); in Unmarshalling() 44 RELEASE_IF_FALSE(in.ReadInt32(detailRecordParcel->detail.count), detailRecordParcel); in Unmarshalling() 46 RELEASE_IF_FALSE(in.ReadUint32(type), detailRecordParcel); in Unmarshalling()
|
H A D | bundle_used_record_parcel.cpp | 47 RELEASE_IF_FALSE(in.ReadUint32(bundleRecordParcel->bundleRecord.tokenId), bundleRecordParcel); in Unmarshalling() 48 RELEASE_IF_FALSE(in.ReadBool(bundleRecordParcel->bundleRecord.isRemote), bundleRecordParcel); in Unmarshalling() 49 RELEASE_IF_FALSE(in.ReadString(bundleRecordParcel->bundleRecord.deviceId), bundleRecordParcel); in Unmarshalling() 50 RELEASE_IF_FALSE(in.ReadString(bundleRecordParcel->bundleRecord.bundleName), bundleRecordParcel); in Unmarshalling() 53 RELEASE_IF_FALSE(in.ReadUint32(permRecordSize), bundleRecordParcel); in Unmarshalling() 54 RELEASE_IF_FALSE(permRecordSize <= MAX_RECORD_SIZE, bundleRecordParcel); in Unmarshalling() 57 RELEASE_IF_FALSE(permRecord != nullptr, bundleRecordParcel); in Unmarshalling()
|
H A D | add_perm_param_info_parcel.cpp | 40 RELEASE_IF_FALSE(in.ReadUint32(infoParcel->info.tokenId), infoParcel); in Unmarshalling() 41 RELEASE_IF_FALSE(in.ReadString(infoParcel->info.permissionName), infoParcel); in Unmarshalling() 42 RELEASE_IF_FALSE(in.ReadInt32(infoParcel->info.successCount), infoParcel); in Unmarshalling() 43 RELEASE_IF_FALSE(in.ReadInt32(infoParcel->info.failCount), infoParcel); in Unmarshalling() 45 RELEASE_IF_FALSE(in.ReadUint32(type), infoParcel); in Unmarshalling()
|
H A D | permission_used_result_parcel.cpp | 45 RELEASE_IF_FALSE(in.ReadInt64(resultParcel->result.beginTimeMillis), resultParcel); in Unmarshalling() 46 RELEASE_IF_FALSE(in.ReadInt64(resultParcel->result.endTimeMillis), resultParcel); in Unmarshalling() 49 RELEASE_IF_FALSE(in.ReadUint32(bundResponseSize), resultParcel); in Unmarshalling() 50 RELEASE_IF_FALSE(bundResponseSize <= MAX_RECORD_SIZE, resultParcel); in Unmarshalling() 53 RELEASE_IF_FALSE(bunRecordParcel != nullptr, resultParcel); in Unmarshalling()
|
H A D | perm_active_response_parcel.cpp | 38 RELEASE_IF_FALSE(in.ReadUint32(activeChangeResponseParcel->changeResponse.tokenID), activeChangeResponseParcel); in Unmarshalling() 39 RELEASE_IF_FALSE(in.ReadString(activeChangeResponseParcel->changeResponse.permissionName), in Unmarshalling() 41 RELEASE_IF_FALSE(in.ReadString(activeChangeResponseParcel->changeResponse.deviceId), activeChangeResponseParcel); in Unmarshalling() 44 RELEASE_IF_FALSE(in.ReadInt32(type), activeChangeResponseParcel); in Unmarshalling()
|
H A D | sec_comp_enhance_data_parcel.cpp | 45 RELEASE_IF_FALSE(in.ReadInt32(enhanceDataParcel->enhanceData.pid), enhanceDataParcel); in Unmarshalling() 46 RELEASE_IF_FALSE(in.ReadUint32(enhanceDataParcel->enhanceData.token), enhanceDataParcel); in Unmarshalling() 47 RELEASE_IF_FALSE(in.ReadUint64(enhanceDataParcel->enhanceData.challenge), enhanceDataParcel); in Unmarshalling() 48 RELEASE_IF_FALSE(in.ReadUint32(enhanceDataParcel->enhanceData.sessionId), enhanceDataParcel); in Unmarshalling() 49 RELEASE_IF_FALSE(in.ReadUint32(enhanceDataParcel->enhanceData.seqNum), enhanceDataParcel); in Unmarshalling()
|
H A D | permission_used_type_info_parcel.cpp | 38 RELEASE_IF_FALSE(in.ReadUint32(parcel->info.tokenId), parcel); in Unmarshalling() 39 RELEASE_IF_FALSE(in.ReadString(parcel->info.permissionName), parcel); in Unmarshalling() 41 RELEASE_IF_FALSE(in.ReadUint32(type), parcel); in Unmarshalling()
|
/base/security/access_token/frameworks/accesstoken/src/ |
H A D | hap_policy_parcel.cpp | 80 RELEASE_IF_FALSE(in.ReadInt32(apl), hapPolicyParcel); in Unmarshalling() 86 RELEASE_IF_FALSE(in.ReadUint32(permListSize), hapPolicyParcel); in Unmarshalling() 87 RELEASE_IF_FALSE((permListSize <= MAX_PERMLIST_SIZE), hapPolicyParcel); in Unmarshalling() 91 RELEASE_IF_FALSE(permDefParcel != nullptr, hapPolicyParcel); in Unmarshalling() 96 RELEASE_IF_FALSE(in.ReadUint32(permStateListSize), hapPolicyParcel); in Unmarshalling() 97 RELEASE_IF_FALSE((permStateListSize <= MAX_PERMLIST_SIZE), hapPolicyParcel); in Unmarshalling() 100 RELEASE_IF_FALSE(permissionStateParcel != nullptr, hapPolicyParcel); in Unmarshalling() 104 RELEASE_IF_FALSE(in.ReadUint32(aclRequestedListSize), hapPolicyParcel); in Unmarshalling() 105 RELEASE_IF_FALSE((aclRequestedListSize <= MAX_PERMLIST_SIZE), hapPolicyParcel); in Unmarshalling() 108 RELEASE_IF_FALSE(i in Unmarshalling() [all...] |
H A D | permission_state_full_parcel.cpp | 51 RELEASE_IF_FALSE(in.ReadString(permissionStateParcel->permStatFull.permissionName), permissionStateParcel); in Unmarshalling() 52 RELEASE_IF_FALSE(in.ReadBool(permissionStateParcel->permStatFull.isGeneral), permissionStateParcel); in Unmarshalling() 55 RELEASE_IF_FALSE(in.ReadUint32(resIdSize), permissionStateParcel); in Unmarshalling() 56 RELEASE_IF_FALSE(resIdSize <= MAX_DEVICE_ID_SIZE, permissionStateParcel); in Unmarshalling() 59 RELEASE_IF_FALSE(in.ReadString(resId), permissionStateParcel); in Unmarshalling() 64 RELEASE_IF_FALSE(in.ReadUint32(grantStatsSize), permissionStateParcel); in Unmarshalling() 65 RELEASE_IF_FALSE(grantStatsSize <= MAX_DEVICE_ID_SIZE, permissionStateParcel); in Unmarshalling() 68 RELEASE_IF_FALSE(in.ReadInt32(grantStat), permissionStateParcel); in Unmarshalling() 73 RELEASE_IF_FALSE(in.ReadUint32(grantFlagSize), permissionStateParcel); in Unmarshalling() 74 RELEASE_IF_FALSE(grantFlagSiz in Unmarshalling() [all...] |
H A D | hap_token_info_parcel.cpp | 47 RELEASE_IF_FALSE(in.ReadInt32(apl), hapTokenInfoParcel); in Unmarshalling() 49 RELEASE_IF_FALSE(in.ReadUint8(ver), hapTokenInfoParcel); in Unmarshalling() 51 RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.userID), hapTokenInfoParcel); in Unmarshalling() 53 RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.apiVersion), hapTokenInfoParcel); in Unmarshalling() 54 RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.instIndex), hapTokenInfoParcel); in Unmarshalling() 55 RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.dlpType), hapTokenInfoParcel); in Unmarshalling() 58 RELEASE_IF_FALSE(in.ReadUint32(hapTokenInfoParcel->hapTokenInfoParams.tokenID), hapTokenInfoParcel); in Unmarshalling() 59 RELEASE_IF_FALSE(in.ReadUint32(hapTokenInfoParcel->hapTokenInfoParams.tokenAttr), hapTokenInfoParcel); in Unmarshalling()
|
H A D | permission_state_change_scope_parcel.cpp | 43 RELEASE_IF_FALSE(in.ReadUint32(tokenIdListSize), permStateChangeScopeParcel); in Unmarshalling() 44 RELEASE_IF_FALSE(tokenIdListSize <= TOKENIDS_LIST_SIZE_MAX, permStateChangeScopeParcel); in Unmarshalling() 47 RELEASE_IF_FALSE(in.ReadUint32(tokenID), permStateChangeScopeParcel); in Unmarshalling() 52 RELEASE_IF_FALSE(in.ReadUint32(permListSize), permStateChangeScopeParcel); in Unmarshalling() 53 RELEASE_IF_FALSE(permListSize <= PERMS_LIST_SIZE_MAX, permStateChangeScopeParcel); in Unmarshalling() 56 RELEASE_IF_FALSE(in.ReadString(permName), permStateChangeScopeParcel); in Unmarshalling()
|
H A D | hap_info_parcel.cpp | 41 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.userID), hapInfoParcel);
in Unmarshalling() 43 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.instIndex), hapInfoParcel);
in Unmarshalling() 44 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.dlpType), hapInfoParcel);
in Unmarshalling() 46 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.apiVersion), hapInfoParcel);
in Unmarshalling() 47 RELEASE_IF_FALSE(in.ReadBool(hapInfoParcel->hapInfoParameter.isSystemApp), hapInfoParcel);
in Unmarshalling() 48 RELEASE_IF_FALSE(in.ReadString(hapInfoParcel->hapInfoParameter.appDistributionType), hapInfoParcel);
in Unmarshalling()
|
H A D | permission_def_parcel.cpp | 49 RELEASE_IF_FALSE(in.ReadInt32(permissionDefParcel->permissionDef.grantMode), permissionDefParcel); in Unmarshalling() 52 RELEASE_IF_FALSE(in.ReadInt32(level), permissionDefParcel); in Unmarshalling() 55 RELEASE_IF_FALSE(in.ReadBool(permissionDefParcel->permissionDef.provisionEnable), permissionDefParcel); in Unmarshalling() 56 RELEASE_IF_FALSE(in.ReadBool(permissionDefParcel->permissionDef.distributedSceneEnable), permissionDefParcel); in Unmarshalling() 58 RELEASE_IF_FALSE(in.ReadInt32(permissionDefParcel->permissionDef.labelId), permissionDefParcel); in Unmarshalling() 60 RELEASE_IF_FALSE(in.ReadInt32(permissionDefParcel->permissionDef.descriptionId), permissionDefParcel); in Unmarshalling() 62 RELEASE_IF_FALSE(in.ReadInt32(availableType), permissionDefParcel); in Unmarshalling()
|
H A D | hap_token_info_for_sync_parcel.cpp | 53 RELEASE_IF_FALSE(baseInfoParcel != nullptr, hapTokenInfoForSyncParcel); in Unmarshalling() 57 RELEASE_IF_FALSE(in.ReadUint32(permStateListSize), hapTokenInfoForSyncParcel); in Unmarshalling() 58 RELEASE_IF_FALSE((permStateListSize <= MAX_PERMLIST_SIZE), hapTokenInfoForSyncParcel); in Unmarshalling() 61 RELEASE_IF_FALSE(permissionStateParcel != nullptr, hapTokenInfoForSyncParcel); in Unmarshalling()
|
H A D | permission_state_change_info_parcel.cpp | 36 RELEASE_IF_FALSE(in.ReadInt32(permissionStateParcel->changeInfo.permStateChangeType), permissionStateParcel); in Unmarshalling() 37 RELEASE_IF_FALSE(in.ReadUint32(permissionStateParcel->changeInfo.tokenID), permissionStateParcel); in Unmarshalling() 38 RELEASE_IF_FALSE(in.ReadString(permissionStateParcel->changeInfo.permissionName), permissionStateParcel); in Unmarshalling()
|
H A D | permission_list_state_parcel.cpp | 37 RELEASE_IF_FALSE(in.ReadString(permissionStateParcel->permsState.permissionName), permissionStateParcel); in Unmarshalling() 39 RELEASE_IF_FALSE(in.ReadInt32(state), permissionStateParcel); in Unmarshalling()
|
H A D | hap_base_info_parcel.cpp | 36 RELEASE_IF_FALSE(in.ReadInt32(hapBaseInfoParcel->hapBaseInfo.userID), hapBaseInfoParcel); in Unmarshalling() 38 RELEASE_IF_FALSE(in.ReadInt32(hapBaseInfoParcel->hapBaseInfo.instIndex), hapBaseInfoParcel); in Unmarshalling()
|
H A D | atm_tools_param_info_parcel.cpp | 40 RELEASE_IF_FALSE(in.ReadInt32(type), atmToolsParamInfoParcel); in Unmarshalling() 42 RELEASE_IF_FALSE(in.ReadUint32(atmToolsParamInfoParcel->info.tokenId), atmToolsParamInfoParcel); in Unmarshalling()
|
H A D | native_token_info_parcel.cpp | 42 RELEASE_IF_FALSE(in.ReadInt32(apl), nativeTokenInfoParcel); in Unmarshalling()
|
/base/security/access_token/interfaces/innerkits/el5filekeymanager/src/ |
H A D | app_key_info.cpp | 36 RELEASE_IF_FALSE(parcel.ReadUint32(info->uid), info); in Unmarshalling() 37 RELEASE_IF_FALSE(parcel.ReadString(info->bundleName), info); in Unmarshalling() 38 RELEASE_IF_FALSE(parcel.ReadInt32(info->userId), info); in Unmarshalling()
|
/base/accesscontrol/sandbox_manager/frameworks/common/include/ |
H A D | parcel_utils.h | 34 #define RELEASE_IF_FALSE(expr, obj) \ macro
|
/base/security/access_token/frameworks/common/include/ |
H A D | parcel_utils.h | 34 #define RELEASE_IF_FALSE(expr, obj) \ macro
|
/base/accesscontrol/sandbox_manager/frameworks/sandbox_manager/src/ |
H A D | policy_info_parcel.cpp | 37 RELEASE_IF_FALSE(in.ReadUint64(policyInfoParcel->policyInfo.mode), policyInfoParcel); in Unmarshalling()
|