/packages/modules/HealthFitness/framework/java/android/health/connect/changelog/ |
D | ChangeLogTokenRequest.java | 41 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 …]
|
D | ChangeLogTokenRequest.aidl | 4 parcelable ChangeLogTokenRequest;
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectChangeLogsDeviceTests.java | 29 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()
|
D | HealthConnectDeviceTest.java | 76 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/ |
D | HealthConnectManagerNotAllPermissionsAreGrantedTest.java | 42 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()
|
D | HealthConnectManagerNoPermissionsGrantedTest.java | 62 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/ |
D | PlannedExerciseSessionRecordTest.java | 38 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/ |
D | ExerciseRouteReadTest.java | 34 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()
|
D | ExerciseRouteBackgroundReadTest.java | 31 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()
|
D | ReadExerciseRoutesPermissionTest.java | 31 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()
|
D | ExerciseRouteReadAllFeatureOffTest.java | 31 import android.health.connect.changelog.ChangeLogTokenRequest; 135 new ChangeLogTokenRequest.Builder() in getChangelogs_canNotAccessOtherAppRoute() 158 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOwnRoute()
|
D | ExerciseRouteManageHealthDataTest.java | 35 import android.health.connect.changelog.ChangeLogTokenRequest; 109 new ChangeLogTokenRequest.Builder() in getChangelogs_canNotAccessOtherAppRoute()
|
D | ReadExerciseRoutePermissionTest.java | 35 import android.health.connect.changelog.ChangeLogTokenRequest; 109 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOtherAppRoute()
|
D | ExerciseRouteNoReadWritePermissionTest.java | 42 import android.health.connect.changelog.ChangeLogTokenRequest; 278 new ChangeLogTokenRequest.Builder() in getChangelogs_canAccessOwnRoute()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/ |
D | HealthConnectChangeLogsTests.java | 54 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/ |
D | HistoricAccessLimitTest.java | 40 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()
|
D | HistoricAccessLimitWithPermissionTest.java | 43 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/ |
D | TestAppHelper.java | 36 import android.health.connect.changelog.ChangeLogTokenRequest; 117 ChangeLogTokenRequest request = BundleHelper.toChangeLogTokenRequest(bundle); in handleGetChangeLogToken()
|
D | HealthConnectServiceLogsTests.java | 42 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/ |
D | ChangeLogsRequestHelper.java | 34 import android.health.connect.changelog.ChangeLogTokenRequest; 80 @NonNull String packageName, @NonNull ChangeLogTokenRequest request) { in getToken()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | IHealthConnectService.aidl | 7 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/ |
D | TestAppProxy.java | 33 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/ |
D | RateLimiterTest.java | 34 import android.health.connect.changelog.ChangeLogTokenRequest; 283 new ChangeLogTokenRequest.Builder() in getChangeLog()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | DataFactory.java | 27 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/ |
D | SharedMemoryTest.java | 38 import android.health.connect.changelog.ChangeLogTokenRequest; 238 new ChangeLogTokenRequest.Builder() in getChangeLogs_viaSharedMemory_recordsMatch()
|