Home
last modified time | relevance | path

Searched refs:RETURN_IF_FALSE (Results 1 - 25 of 27) sorted by relevance

12

/base/security/access_token/frameworks/accesstoken/src/
H A Dpermission_def_parcel.cpp26 RETURN_IF_FALSE(out.WriteString(this->permissionDef.permissionName)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteString(this->permissionDef.bundleName)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteInt32(this->permissionDef.grantMode)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteInt32(this->permissionDef.availableLevel)); in Marshalling()
30 RETURN_IF_FALSE(out.WriteBool(this->permissionDef.provisionEnable)); in Marshalling()
31 RETURN_IF_FALSE(out.WriteBool(this->permissionDef.distributedSceneEnable)); in Marshalling()
32 RETURN_IF_FALSE(out.WriteString(this->permissionDef.label)); in Marshalling()
33 RETURN_IF_FALSE(out.WriteInt32(this->permissionDef.labelId)); in Marshalling()
34 RETURN_IF_FALSE(out.WriteString(this->permissionDef.description)); in Marshalling()
35 RETURN_IF_FALSE(ou in Marshalling()
[all...]
H A Dhap_token_info_parcel.cpp24 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.apl)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteUint8(this->hapTokenInfoParams.ver)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.userID)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteString(this->hapTokenInfoParams.bundleName)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.apiVersion)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.instIndex)); in Marshalling()
30 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.dlpType)); in Marshalling()
31 RETURN_IF_FALSE(out.WriteString(this->hapTokenInfoParams.appID)); in Marshalling()
32 RETURN_IF_FALSE(out.WriteString(this->hapTokenInfoParams.deviceID)); in Marshalling()
33 RETURN_IF_FALSE(ou in Marshalling()
[all...]
H A 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()
31 RETURN_IF_FALSE(out.WriteString(this->hapInfoParameter.appDistributionType)); in Marshalling()
H A Dpermission_grant_info_parcel.cpp24 RETURN_IF_FALSE(out.WriteString(this->info.grantBundleName)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteString(this->info.grantAbilityName)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteString(this->info.grantServiceAbilityName)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteString(this->info.permStateAbilityName)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteString(this->info.globalSwitchAbilityName)); in Marshalling()
H A Datm_tools_param_info_parcel.cpp24 RETURN_IF_FALSE(out.WriteInt32(this->info.type)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteUint32(this->info.tokenId)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteString(this->info.permissionName)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteString(this->info.bundleName)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteString(this->info.processName)); in Marshalling()
H A Dhap_policy_parcel.cpp30 RETURN_IF_FALSE(out.WriteInt32(this->hapPolicyParameter.apl)); in Marshalling()
31 RETURN_IF_FALSE(out.WriteString(this->hapPolicyParameter.domain)); in Marshalling()
35 RETURN_IF_FALSE(out.WriteUint32(permListSize)); in Marshalling()
40 RETURN_IF_FALSE(out.WriteParcelable(&permDefParcel)); in Marshalling()
45 RETURN_IF_FALSE(out.WriteUint32(permStateListSize)); in Marshalling()
50 RETURN_IF_FALSE(out.WriteParcelable(&permStateParcel)); in Marshalling()
55 RETURN_IF_FALSE(out.WriteUint32(aclRequestedListSize)); in Marshalling()
58 RETURN_IF_FALSE(out.WriteString(aclRequestedList[i])); in Marshalling()
63 RETURN_IF_FALSE(out.WriteUint32(infoSize)); in Marshalling()
66 RETURN_IF_FALSE(ou in Marshalling()
[all...]
H A Dpermission_state_full_parcel.cpp24 RETURN_IF_FALSE(out.WriteString(this->permStatFull.permissionName)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteBool(this->permStatFull.isGeneral)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteUint32(this->permStatFull.resDeviceID.size())); in Marshalling()
29 RETURN_IF_FALSE(out.WriteString(devId)); in Marshalling()
32 RETURN_IF_FALSE(out.WriteUint32(this->permStatFull.grantStatus.size())); in Marshalling()
34 RETURN_IF_FALSE(out.WriteInt32(grantStat)); in Marshalling()
37 RETURN_IF_FALSE(out.WriteUint32(this->permStatFull.grantFlags.size())); in Marshalling()
39 RETURN_IF_FALSE(out.WriteUint32(grantFlag)); in Marshalling()
H A Dpermission_state_change_scope_parcel.cpp24 RETURN_IF_FALSE(out.WriteUint32((this->scope.tokenIDs.size()))); in Marshalling()
26 RETURN_IF_FALSE(out.WriteUint32(tokenID)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteUint32((this->scope.permList.size()))); in Marshalling()
31 RETURN_IF_FALSE(out.WriteString(permissionName)); in Marshalling()
H A Dhap_token_info_for_sync_parcel.cpp30 RETURN_IF_FALSE(out.WriteParcelable(&baseInfoParcel)); in Marshalling()
34 RETURN_IF_FALSE(permStateListSize <= MAX_PERMLIST_SIZE); in Marshalling()
35 RETURN_IF_FALSE(out.WriteUint32(permStateListSize)); in Marshalling()
39 RETURN_IF_FALSE(out.WriteParcelable(&permStateParcel)); in Marshalling()
H A Dpermission_state_change_info_parcel.cpp24 RETURN_IF_FALSE(out.WriteInt32(this->changeInfo.permStateChangeType)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteUint32(this->changeInfo.tokenID)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteString(this->changeInfo.permissionName)); in Marshalling()
H A Dhap_base_info_parcel.cpp24 RETURN_IF_FALSE(out.WriteInt32(this->hapBaseInfo.userID)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteString(this->hapBaseInfo.bundleName)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteInt32(this->hapBaseInfo.instIndex)); in Marshalling()
H A Dpermission_list_state_parcel.cpp25 RETURN_IF_FALSE(out.WriteString(this->permsState.permissionName)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteInt32(static_cast<int32_t>(this->permsState.state))); in Marshalling()
H A Dnative_token_info_parcel.cpp29 RETURN_IF_FALSE(out.WriteInt32(this->nativeTokenInfoParams.apl)); in Marshalling()
30 RETURN_IF_FALSE(out.WriteString(this->nativeTokenInfoParams.processName)); in Marshalling()
/base/security/access_token/frameworks/privacy/src/
H A Dpermission_used_request_parcel.cpp24 RETURN_IF_FALSE(out.WriteUint32(this->request.tokenId)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteBool(this->request.isRemote)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteString(this->request.deviceId)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteString(this->request.bundleName)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteUint32(this->request.permissionList.size())); in Marshalling()
31 RETURN_IF_FALSE(out.WriteString(perm)); in Marshalling()
33 RETURN_IF_FALSE(out.WriteInt64(this->request.beginTimeMillis)); in Marshalling()
34 RETURN_IF_FALSE(out.WriteInt64(this->request.endTimeMillis)); in Marshalling()
35 RETURN_IF_FALSE(out.WriteInt32(this->request.flag)); in Marshalling()
H A Dused_record_detail_parcel.cpp24 RETURN_IF_FALSE(out.WriteInt32(this->detail.status)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteInt32(this->detail.lockScreenStatus)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteInt64(this->detail.timestamp)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteInt64(this->detail.accessDuration)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteInt32(this->detail.count)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteUint32(static_cast<uint32_t>(this->detail.type))); in Marshalling()
H A Dsec_comp_enhance_data_parcel.cpp28 RETURN_IF_FALSE(out.WriteInt32(this->enhanceData.pid)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteUint32(this->enhanceData.token)); in Marshalling()
30 RETURN_IF_FALSE(out.WriteUint64(this->enhanceData.challenge)); in Marshalling()
31 RETURN_IF_FALSE(out.WriteUint32(this->enhanceData.sessionId)); in Marshalling()
32 RETURN_IF_FALSE(out.WriteUint32(this->enhanceData.seqNum)); in Marshalling()
33 RETURN_IF_FALSE(out.WriteBuffer(this->enhanceData.key, AES_KEY_STORAGE_LEN)); in Marshalling()
34 RETURN_IF_FALSE((static_cast<MessageParcel*>(&out))->WriteRemoteObject(this->enhanceData.callback)); in Marshalling()
H A Dadd_perm_param_info_parcel.cpp25 RETURN_IF_FALSE(out.WriteUint32(this->info.tokenId)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteString(this->info.permissionName)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteInt32(this->info.successCount)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteInt32(this->info.failCount)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteUint32(static_cast<uint32_t>(this->info.type))); in Marshalling()
H A Dpermission_used_record_parcel.cpp27 RETURN_IF_FALSE(out.WriteString(this->permissionRecord.permissionName)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteInt32(this->permissionRecord.accessCount)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteInt32(this->permissionRecord.rejectCount)); in Marshalling()
30 RETURN_IF_FALSE(out.WriteInt64(this->permissionRecord.lastAccessTime)); in Marshalling()
31 RETURN_IF_FALSE(out.WriteInt64(this->permissionRecord.lastRejectTime)); in Marshalling()
32 RETURN_IF_FALSE(out.WriteInt64(this->permissionRecord.lastAccessDuration)); in Marshalling()
34 RETURN_IF_FALSE(out.WriteUint32(this->permissionRecord.accessRecords.size())); in Marshalling()
41 RETURN_IF_FALSE(out.WriteUint32(this->permissionRecord.rejectRecords.size())); in Marshalling()
H A Dperm_active_response_parcel.cpp24 RETURN_IF_FALSE(out.WriteUint32(this->changeResponse.tokenID)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteString(this->changeResponse.permissionName)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteString(this->changeResponse.deviceId)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteInt32(this->changeResponse.type)); in Marshalling()
H A Dbundle_used_record_parcel.cpp26 RETURN_IF_FALSE(out.WriteUint32(this->bundleRecord.tokenId)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteBool(this->bundleRecord.isRemote)); in Marshalling()
28 RETURN_IF_FALSE(out.WriteString(this->bundleRecord.deviceId)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteString(this->bundleRecord.bundleName)); in Marshalling()
31 RETURN_IF_FALSE(out.WriteUint32(this->bundleRecord.permissionRecords.size())); in Marshalling()
H A Dpermission_used_type_info_parcel.cpp25 RETURN_IF_FALSE(out.WriteUint32(this->info.tokenId)); in Marshalling()
26 RETURN_IF_FALSE(out.WriteString(this->info.permissionName)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteUint32(static_cast<uint32_t>(this->info.type))); in Marshalling()
H A Dpermission_used_result_parcel.cpp26 RETURN_IF_FALSE(out.WriteInt64(this->result.beginTimeMillis)); in Marshalling()
27 RETURN_IF_FALSE(out.WriteInt64(this->result.endTimeMillis)); in Marshalling()
29 RETURN_IF_FALSE(out.WriteUint32(this->result.bundleRecords.size())); in Marshalling()
/base/security/access_token/interfaces/innerkits/el5filekeymanager/src/
H A Dapp_key_info.cpp24 RETURN_IF_FALSE(parcel.WriteUint32(this->uid)); in Marshalling()
25 RETURN_IF_FALSE(parcel.WriteString(this->bundleName)); in Marshalling()
26 RETURN_IF_FALSE(parcel.WriteInt32(this->userId)); in Marshalling()
/base/accesscontrol/sandbox_manager/frameworks/sandbox_manager/src/
H A Dpolicy_info_parcel.cpp24 RETURN_IF_FALSE(out.WriteString(policyInfo.path)); in Marshalling()
25 RETURN_IF_FALSE(out.WriteUint64(policyInfo.mode)); in Marshalling()
/base/accesscontrol/sandbox_manager/frameworks/common/include/
H A Dparcel_utils.h29 #define RETURN_IF_FALSE(expr) \ macro

Completed in 6 milliseconds

12