Searched refs:lastAccessTime (Results 1 – 11 of 11) sorted by relevance
/base/security/access_token/services/privacymanager/src/database/ |
D | data_translator.cpp | 67 permissionRecord.lastAccessTime = timestamp; in TranslationGenericValuesIntoPermissionUsedRecord() 82 if (permissionRecord.lastAccessTime > 0) { in TranslationGenericValuesIntoPermissionUsedRecord() 83 detail.timestamp = permissionRecord.lastAccessTime; in TranslationGenericValuesIntoPermissionUsedRecord()
|
/base/security/access_token/frameworks/privacy/src/ |
D | permission_used_record_parcel.cpp | 29 RETURN_IF_FALSE(out.WriteInt64(this->permissionRecord.lastAccessTime)); in Marshalling() 59 …RELEASE_IF_FALSE(in.ReadInt64(permissionRecordParcel->permissionRecord.lastAccessTime), permission… in Unmarshalling()
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_service.cpp | 203 …time_t lastAccessTime = static_cast<time_t>(result.bundleRecords[0].permissionRecords[index].lastA… in ResponseDumpCommand() local 204 infos.append(R"( "lastAccessTime": )" + std::to_string(lastAccessTime) + ",\n"); in ResponseDumpCommand()
|
/base/security/access_token/tools/accesstoken/src/ |
D | to_string.cpp | 56 … infos.append(R"( "lastAccessTime": )" + std::to_string(perm.lastAccessTime) + ",\n"); in PermissionUsedRecordToString()
|
/base/security/access_token/interfaces/innerkits/privacy/include/ |
D | permission_used_result.h | 72 int64_t lastAccessTime = 0L; member
|
/base/security/access_token/frameworks/test/unittest/ |
D | privacy_parcel_test.cpp | 63 .lastAccessTime = 0L, 72 .lastAccessTime = 1L, 186 .lastAccessTime = 0L, 204 …EQ(permissionUsedRecordParcel.permissionRecord.lastAccessTime, readedData->permissionRecord.lastAc…
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
D | faultlogger.cpp | 570 time_t lastAccessTime = GetFileLastAccessTimeStamp(file); in StartBootScan() local 571 if (now > lastAccessTime && now - lastAccessTime > FORTYEIGHT_HOURS) { in StartBootScan()
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record_manager.cpp | 282 if (inBundleRecord.lastAccessTime > outBundleRecord.lastAccessTime) { in UpdateRecords() 283 outBundleRecord.lastAccessTime = inBundleRecord.lastAccessTime; in UpdateRecords() 292 …if (inBundleRecord.lastAccessTime > 0 && outBundleRecord.accessRecords.size() < Constant::MAX_DETA… in UpdateRecords()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_manager_test.cpp | 767 inBundleRecord.lastAccessTime = 1000; 768 outBundleRecord.lastAccessTime = 900; 791 inBundleRecord.lastAccessTime = 0;
|
/base/security/access_token/interfaces/kits/privacy/napi/src/ |
D | permission_record_manager_napi.cpp | 237 …NAPI_CALL_RETURN_VOID(env, napi_create_int64(env, permissionRecord.lastAccessTime, &nLastAccessTim… in ConvertPermissionUsedRecord()
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/ |
D | privacy_kit_test.cpp | 115 .lastAccessTime = 0L,
|