Home
last modified time | relevance | path

Searched refs:ChangeLogTokenRequest (Results 1 – 25 of 71) sorted by relevance

123

/packages/modules/HealthFitness/framework/java/android/health/connect/changelog/
DChangeLogTokenRequest.java41 public final class ChangeLogTokenRequest implements Parcelable { class
49 private ChangeLogTokenRequest( in ChangeLogTokenRequest() method in ChangeLogTokenRequest
75 private ChangeLogTokenRequest(@NonNull Parcel in) { in ChangeLogTokenRequest() method in ChangeLogTokenRequest
90 public static final Creator<ChangeLogTokenRequest> CREATOR =
91 new Creator<ChangeLogTokenRequest>() {
93 public ChangeLogTokenRequest createFromParcel(@NonNull Parcel in) {
94 return new ChangeLogTokenRequest(in);
98 public ChangeLogTokenRequest[] newArray(int size) {
99 return new ChangeLogTokenRequest[size];
209 public ChangeLogTokenRequest build() { in build()
[all …]
DChangeLogTokenRequest.aidl4 parcelable ChangeLogTokenRequest;
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectChangeLogsDeviceTests.java29 import android.health.connect.changelog.ChangeLogTokenRequest;
84 new ChangeLogTokenRequest.Builder() in testChangeLogs_insert_multipleApps_noFilter_returnsUpsertLogsForAllApps()
117 new ChangeLogTokenRequest.Builder() in testChangeLogs_insert_multipleApps_filterDataOrigin_returnsUpsertLogs()
148 new ChangeLogTokenRequest.Builder() in testChangeLogs_insertAndDelete_multipleApps_noFilter_returnsDeletedLogsForAllApps()
172 new ChangeLogTokenRequest.Builder() in testChangeLogs_insertAndDelete_multipleApps_filterDataOrigin_returnsDeletedLogs()
DHealthConnectDeviceTest.java76 import android.health.connect.changelog.ChangeLogTokenRequest;
631 new ChangeLogTokenRequest.Builder() in testAppWithReadPerms_getChangeTokensAndLogsOfOtherApps_expectSuccess()
647 new ChangeLogTokenRequest.Builder() in testAppWithReadPerms_getChangeTokensAndLogsOfOtherApps_expectSuccess()
1132 new ChangeLogTokenRequest.Builder() in testToVerifyNoPermissionChangeLog()
1160 new ChangeLogTokenRequest.Builder() in testToVerifyNoPermissionChangeLog()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java42 import android.health.connect.changelog.ChangeLogTokenRequest;
119 ChangeLogTokenRequest.Builder request = new ChangeLogTokenRequest.Builder(); in testGetChangeLogToken_somePermissionsAreNotGranted_expectError()
149 new ChangeLogTokenRequest.Builder() in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
DHealthConnectManagerNoPermissionsGrantedTest.java62 import android.health.connect.changelog.ChangeLogTokenRequest;
169 new ChangeLogTokenRequest.Builder() in testChangeLogsToken_noPermissions_expectError()
201 new ChangeLogTokenRequest.Builder().addRecordType(recordClass).build()); in testGetChangeLogs_noPermissions_expectError()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DPlannedExerciseSessionRecordTest.java38 import android.health.connect.changelog.ChangeLogTokenRequest;
595 ChangeLogTokenRequest tokenRequest = in insertTrainingPlan_changelogCreated()
596 new ChangeLogTokenRequest.Builder() in insertTrainingPlan_changelogCreated()
615 ChangeLogTokenRequest tokenRequest = in insertExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan()
616 new ChangeLogTokenRequest.Builder() in insertExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan()
658 ChangeLogTokenRequest tokenRequest = in updateExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan()
659 new ChangeLogTokenRequest.Builder() in updateExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan()
708 ChangeLogTokenRequest tokenRequest = in updateExerciseSession_removesReferenceToTrainingPlan_changelogGeneratedForTrainingPlan()
709 new ChangeLogTokenRequest.Builder() in updateExerciseSession_removesReferenceToTrainingPlan_changelogGeneratedForTrainingPlan()
755 ChangeLogTokenRequest tokenRequest = in updateExerciseSession_changesTrainingPlan_changelogGeneratedForPreviousAndCurrentPlan()
[all …]
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteReadTest.java34 import android.health.connect.changelog.ChangeLogTokenRequest;
187 new ChangeLogTokenRequest.Builder() in getChangelogs_cannotAccessOtherAppRoute()
209 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOwnRoute()
231 new ChangeLogTokenRequest.Builder() in getChangelogs_mixedOwnAndOtherAppSession()
DExerciseRouteBackgroundReadTest.java31 import android.health.connect.changelog.ChangeLogTokenRequest;
196 new ChangeLogTokenRequest.Builder() in getChangelogs_cannotAccessOtherAppRoute()
219 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOwnRoute()
242 new ChangeLogTokenRequest.Builder() in getChangelogs_mixedOwnAndOtherAppSession()
DReadExerciseRoutesPermissionTest.java31 import android.health.connect.changelog.ChangeLogTokenRequest;
186 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOtherAppRoute()
209 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOwnRoute()
232 new ChangeLogTokenRequest.Builder() in getChangelogs_mixedOwnAndOtherAppSession()
DExerciseRouteReadAllFeatureOffTest.java31 import android.health.connect.changelog.ChangeLogTokenRequest;
135 new ChangeLogTokenRequest.Builder() in getChangelogs_canNotAccessOtherAppRoute()
158 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOwnRoute()
DExerciseRouteManageHealthDataTest.java35 import android.health.connect.changelog.ChangeLogTokenRequest;
109 new ChangeLogTokenRequest.Builder() in getChangelogs_canNotAccessOtherAppRoute()
DReadExerciseRoutePermissionTest.java35 import android.health.connect.changelog.ChangeLogTokenRequest;
109 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOtherAppRoute()
DExerciseRouteNoReadWritePermissionTest.java42 import android.health.connect.changelog.ChangeLogTokenRequest;
278 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOwnRoute()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java54 import android.health.connect.changelog.ChangeLogTokenRequest;
137 ChangeLogTokenRequest changeLogTokenRequest = in testGetChangeLogToken_hasFieldsSet()
138 new ChangeLogTokenRequest.Builder().addRecordType(StepsRecord.class).build(); in testGetChangeLogToken_hasFieldsSet()
149 () -> getChangeLogToken(new ChangeLogTokenRequest.Builder().build())); in testGetChangeLogToken_emptyRecordTypes_throwsException()
161 new ChangeLogTokenRequest.Builder() in testGetChangeLogToken_superRecordTypes_throwsException()
173 new ChangeLogTokenRequest.Builder() in testGetChangeLogToken_superRecordTypes_throwsException()
348 new ChangeLogTokenRequest.Builder() in testChangeLogs_insert_filterRecordType_returnsUpsertedLogs()
477 new ChangeLogTokenRequest.Builder() in testChangeLogs_insertAndDelete_recordFilter_onlyReturnsDeletedLogsForRecordType()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/
DHistoricAccessLimitTest.java40 import android.health.connect.changelog.ChangeLogTokenRequest;
269 new ChangeLogTokenRequest.Builder() in testGetChangeLogs_expectCorrectResponse()
406 new ChangeLogTokenRequest.Builder() in testGetAnotherAppsChangeLogs_recordsAreAfterCutOff_expectAllRecordsReturned()
427 new ChangeLogTokenRequest.Builder() in testGetAnotherAppsChangeLogs_recordsAreBeforeCutOff_expectNoRecordsReturned()
DHistoricAccessLimitWithPermissionTest.java43 import android.health.connect.changelog.ChangeLogTokenRequest;
251 new ChangeLogTokenRequest.Builder() in testGetChangeLogs_expectCorrectResponse()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DTestAppHelper.java36 import android.health.connect.changelog.ChangeLogTokenRequest;
117 ChangeLogTokenRequest request = BundleHelper.toChangeLogTokenRequest(bundle); in handleGetChangeLogToken()
DHealthConnectServiceLogsTests.java42 import android.health.connect.changelog.ChangeLogTokenRequest;
225 new ChangeLogTokenRequest.Builder().addRecordType(HeightRecord.class).build(), in testHealthConnectGetChangeLogTokenError()
364 new ChangeLogTokenRequest.Builder() in getChangeLogToken()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DChangeLogsRequestHelper.java34 import android.health.connect.changelog.ChangeLogTokenRequest;
80 @NonNull String packageName, @NonNull ChangeLogTokenRequest request) { in getToken()
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/
DIHealthConnectService.aidl7 import android.health.connect.changelog.ChangeLogTokenRequest;
126 in ChangeLogTokenRequest request, in getChangeLogToken()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DTestAppProxy.java33 import android.health.connect.changelog.ChangeLogTokenRequest;
153 public String getChangeLogToken(ChangeLogTokenRequest request) throws Exception { in getChangeLogToken()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/
DRateLimiterTest.java34 import android.health.connect.changelog.ChangeLogTokenRequest;
283 new ChangeLogTokenRequest.Builder() in getChangeLog()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java27 import android.health.connect.changelog.ChangeLogTokenRequest;
605 public static ChangeLogTokenRequest.Builder getChangeLogTokenRequestForTestRecordTypes() { in getChangeLogTokenRequestForTestRecordTypes()
606 return new ChangeLogTokenRequest.Builder() in getChangeLogTokenRequestForTestRecordTypes()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DSharedMemoryTest.java38 import android.health.connect.changelog.ChangeLogTokenRequest;
238 new ChangeLogTokenRequest.Builder() in getChangeLogs_viaSharedMemory_recordsMatch()

123