Home
last modified time | relevance | path

Searched refs:accessDuration (Results 1 – 12 of 12) sorted by relevance

/base/security/access_token/frameworks/privacy/src/
Dused_record_detail_parcel.cpp26 RETURN_IF_FALSE(out.WriteInt64(this->detail.accessDuration)); in Marshalling()
39 RELEASE_IF_FALSE(in.ReadInt64(detailRecordParcel->detail.accessDuration), detailRecordParcel); in Unmarshalling()
/base/security/access_token/frameworks/test/unittest/
Dprivacy_parcel_test.cpp38 .accessDuration = 0L,
44 .accessDuration = 1L,
50 .accessDuration = 2L,
56 .accessDuration = 3L,
214 EXPECT_EQ(permissionUsedRecordParcel.permissionRecord.accessRecords[i].accessDuration,
215 readedData->permissionRecord.accessRecords[i].accessDuration);
223 EXPECT_EQ(permissionUsedRecordParcel.permissionRecord.rejectRecords[i].accessDuration,
224 readedData->permissionRecord.rejectRecords[i].accessDuration);
315 .accessDuration = 0L,
326 EXPECT_EQ(usedRecordDetailParcel.detail.accessDuration, readedData->detail.accessDuration);
/base/security/access_token/services/privacymanager/src/record/
Dpermission_record.cpp28 values.Put(PrivacyFiledConst::FIELD_ACCESS_DURATION, record.accessDuration); in TranslationIntoGenericValues()
39 record.accessDuration = values.GetInt64(PrivacyFiledConst::FIELD_ACCESS_DURATION); in TranslationIntoPermissionRecord()
Dpermission_record_manager.cpp109 record.accessDuration = 0; in GetPermissionRecord()
375 it->accessDuration = curStamp - it->timestamp; in FindRecordsToUpdateAndExecuted()
380 it->accessDuration = 0; in FindRecordsToUpdateAndExecuted()
435 record.accessDuration = TimeUtil::GetCurrentTimestamp() - record.timestamp; in GetRecordFromStartList()
482 record.accessDuration = curStamp - record.timestamp; in SavePermissionRecords()
486 record.accessDuration = 0; in SavePermissionRecords()
Dpermission_used_record_cache.cpp86 record.accessDuration += curFindMergePos->record.accessDuration; in MergeRecord()
/base/security/access_token/services/privacymanager/include/record/
Dpermission_record.h29 int64_t accessDuration = 0L; member
/base/security/access_token/interfaces/innerkits/privacy/include/
Dpermission_used_result.h58 int64_t accessDuration = 0L; member
/base/security/access_token/services/privacymanager/src/database/
Ddata_translator.cpp84 detail.accessDuration = inGenericValues.GetInt64(PrivacyFiledConst::FIELD_ACCESS_DURATION); in TranslationGenericValuesIntoPermissionUsedRecord()
/base/security/access_token/tools/accesstoken/src/
Dto_string.cpp35 … infos.append(R"( "duration": )" + std::to_string(detail.accessDuration) + ",\n"); in DetailUsedRecordToString()
/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_manager_test.cpp96 .accessDuration = 0L,
105 .accessDuration = 0L,
114 .accessDuration = 0L,
123 .accessDuration = 0L,
773 detail.accessDuration = 10;
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dpermission_record_manager_napi.cpp217 … NAPI_CALL_RETURN_VOID(env, napi_create_int64(env, detailRecord.accessDuration, &nAccessDuration)); in ConvertDetailUsedRecord()
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
Dprivacy_kit_test.cpp109 .accessDuration = 2L,