Searched refs:accessDuration (Results 1 – 12 of 12) sorted by relevance
/base/security/access_token/frameworks/privacy/src/ |
D | used_record_detail_parcel.cpp | 26 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/ |
D | privacy_parcel_test.cpp | 38 .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/ |
D | permission_record.cpp | 28 values.Put(PrivacyFiledConst::FIELD_ACCESS_DURATION, record.accessDuration); in TranslationIntoGenericValues() 39 record.accessDuration = values.GetInt64(PrivacyFiledConst::FIELD_ACCESS_DURATION); in TranslationIntoPermissionRecord()
|
D | permission_record_manager.cpp | 109 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()
|
D | permission_used_record_cache.cpp | 86 record.accessDuration += curFindMergePos->record.accessDuration; in MergeRecord()
|
/base/security/access_token/services/privacymanager/include/record/ |
D | permission_record.h | 29 int64_t accessDuration = 0L; member
|
/base/security/access_token/interfaces/innerkits/privacy/include/ |
D | permission_used_result.h | 58 int64_t accessDuration = 0L; member
|
/base/security/access_token/services/privacymanager/src/database/ |
D | data_translator.cpp | 84 detail.accessDuration = inGenericValues.GetInt64(PrivacyFiledConst::FIELD_ACCESS_DURATION); in TranslationGenericValuesIntoPermissionUsedRecord()
|
/base/security/access_token/tools/accesstoken/src/ |
D | to_string.cpp | 35 … infos.append(R"( "duration": )" + std::to_string(detail.accessDuration) + ",\n"); in DetailUsedRecordToString()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_manager_test.cpp | 96 .accessDuration = 0L, 105 .accessDuration = 0L, 114 .accessDuration = 0L, 123 .accessDuration = 0L, 773 detail.accessDuration = 10;
|
/base/security/access_token/interfaces/kits/privacy/napi/src/ |
D | permission_record_manager_napi.cpp | 217 … NAPI_CALL_RETURN_VOID(env, napi_create_int64(env, detailRecord.accessDuration, &nAccessDuration)); in ConvertDetailUsedRecord()
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/ |
D | privacy_kit_test.cpp | 109 .accessDuration = 2L,
|