Home
last modified time | relevance | path

Searched refs:accessLog (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthConnectAccessLogsTest.java88 AccessLog accessLog = newAccessLogsResponse.get(size - 1); in testAccessLogs_read_singleRecordType() local
89 assertThat(accessLog.getRecordTypes()).contains(StepsRecord.class); in testAccessLogs_read_singleRecordType()
90 assertThat(accessLog.getOperationType()) in testAccessLogs_read_singleRecordType()
92 assertThat(accessLog.getPackageName()).isEqualTo(SELF_PACKAGE_NAME); in testAccessLogs_read_singleRecordType()
93 assertThat(accessLog.getAccessTime()).isNotNull(); in testAccessLogs_read_singleRecordType()
131 AccessLog accessLog = newAccessLogsResponse.get(newAccessLogsResponse.size() - 1); in testAccessLogs_update_singleRecordType() local
134 assertThat(accessLog.getRecordTypes()).contains(StepsRecord.class); in testAccessLogs_update_singleRecordType()
135 assertThat(accessLog.getOperationType()) in testAccessLogs_update_singleRecordType()
137 assertThat(accessLog.getPackageName()).isEqualTo(SELF_PACKAGE_NAME); in testAccessLogs_update_singleRecordType()
138 assertThat(accessLog.getAccessTime()).isNotNull(); in testAccessLogs_update_singleRecordType()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt166 accessLog: AccessLog in <lambda>()
170 latestTime = accessLog.accessTime, in <lambda>()
175 appInfoReader.getAppMetadata(packageName = accessLog.packageName))) in <lambda>()
177 updateDataAccessEntryCluster(newCluster, accessLog) in <lambda>()
182 accessLog: AccessLog, in <lambda>()
185 Duration.between(accessLog.accessTime, cluster.latestTime) in <lambda>()
187 Duration.between(accessLog.accessTime, cluster.earliestTime) in <lambda>()
192 accessLog: AccessLog in <lambda>()
201 cluster.earliestTime = accessLog.accessTime in <lambda>()
202 cluster.recentDataAccessEntry.instantTime = accessLog.accessTime in <lambda>()
[all …]
DLoadRecentAccessUseCase.kt64 .filter { accessLog -> accessLog.accessTime.isAfter(instant24Hours) } in <lambda>() method