Home
last modified time | relevance | path

Searched refs:lastAccessTime (Results 1 – 11 of 11) sorted by relevance

/base/security/access_token/services/privacymanager/src/database/
Ddata_translator.cpp67 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/
Dpermission_used_record_parcel.cpp29 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/
Dprivacy_manager_service.cpp203 …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/
Dto_string.cpp56 … infos.append(R"( "lastAccessTime": )" + std::to_string(perm.lastAccessTime) + ",\n"); in PermissionUsedRecordToString()
/base/security/access_token/interfaces/innerkits/privacy/include/
Dpermission_used_result.h72 int64_t lastAccessTime = 0L; member
/base/security/access_token/frameworks/test/unittest/
Dprivacy_parcel_test.cpp63 .lastAccessTime = 0L,
72 .lastAccessTime = 1L,
186 .lastAccessTime = 0L,
204 …EQ(permissionUsedRecordParcel.permissionRecord.lastAccessTime, readedData->permissionRecord.lastAc…
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlogger.cpp570 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/
Dpermission_record_manager.cpp282 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/
Dpermission_record_manager_test.cpp767 inBundleRecord.lastAccessTime = 1000;
768 outBundleRecord.lastAccessTime = 900;
791 inBundleRecord.lastAccessTime = 0;
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dpermission_record_manager_napi.cpp237 …NAPI_CALL_RETURN_VOID(env, napi_create_int64(env, permissionRecord.lastAccessTime, &nLastAccessTim… in ConvertPermissionUsedRecord()
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
Dprivacy_kit_test.cpp115 .lastAccessTime = 0L,