Home
last modified time | relevance | path

Searched refs:rejectRecords (Results 1 – 8 of 8) sorted by relevance

/base/security/access_token/frameworks/privacy/src/
Dpermission_used_record_parcel.cpp40 RETURN_IF_FALSE(out.WriteUint32(this->permissionRecord.rejectRecords.size())); in Marshalling()
41 for (const auto& rejRecord : this->permissionRecord.rejectRecords) { in Marshalling()
78 permissionRecordParcel->permissionRecord.rejectRecords.emplace_back(detailParcel->detail); in Unmarshalling()
/base/security/access_token/frameworks/test/unittest/
Dprivacy_parcel_test.cpp125 g_permissionRecord2.rejectRecords.emplace_back(g_rejectRecord1);
126 g_permissionRecord2.rejectRecords.emplace_back(g_rejectRecord2);
192 permissionUsedRecordParcel.permissionRecord.rejectRecords.emplace_back(g_rejectRecord1);
193 permissionUsedRecordParcel.permissionRecord.rejectRecords.emplace_back(g_rejectRecord2);
218 … for (uint32_t i = 0; i < permissionUsedRecordParcel.permissionRecord.rejectRecords.size(); i++) {
219 EXPECT_EQ(permissionUsedRecordParcel.permissionRecord.rejectRecords[i].status,
220 readedData->permissionRecord.rejectRecords[i].status);
221 EXPECT_EQ(permissionUsedRecordParcel.permissionRecord.rejectRecords[i].timestamp,
222 readedData->permissionRecord.rejectRecords[i].timestamp);
223 EXPECT_EQ(permissionUsedRecordParcel.permissionRecord.rejectRecords[i].accessDuration,
[all …]
/base/security/access_token/tools/accesstoken/src/
Dto_string.cpp27 infos.append(R"( "rejectRecords": [)"); in DetailUsedRecordToString()
60 ToString::DetailUsedRecordToString(false, perm.rejectRecords, infos); in PermissionUsedRecordToString()
/base/security/access_token/interfaces/innerkits/privacy/include/
Dpermission_used_result.h80 std::vector<UsedRecordDetail> rejectRecords; member
/base/security/access_token/services/privacymanager/src/database/
Ddata_translator.cpp89 permissionRecord.rejectRecords.emplace_back(detail); in TranslationGenericValuesIntoPermissionUsedRecord()
/base/security/access_token/services/privacymanager/src/record/
Dpermission_record_manager.cpp295 …if (inBundleRecord.lastRejectTime > 0 && outBundleRecord.rejectRecords.size() < Constant::MAX_DETA… in UpdateRecords()
296 outBundleRecord.rejectRecords.emplace_back(inBundleRecord.rejectRecords[0]); in UpdateRecords()
/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_manager_test.cpp779 inBundleRecord.rejectRecords.emplace_back(detail);
786 outBundleRecord.rejectRecords = accessRecords;
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dpermission_record_manager_napi.cpp263 for (const auto& rejRecord : permissionRecord.rejectRecords) { in ConvertPermissionUsedRecord()