Home
last modified time | relevance | path

Searched refs:getMetadataForClientId (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteWriteTest.java28 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientId;
85 getExerciseSessionWithRoute(getMetadataForClientId("client id")); in insertRecords_withClientId_withoutRoute_routeGetsDeleted()
88 getExerciseSessionWithoutRoute(getMetadataForClientId("client id")); in insertRecords_withClientId_withoutRoute_routeGetsDeleted()
101 getExerciseSessionWithRoute(getMetadataForClientId("client id")); in insertRecords_withClientId_withUpdatedRoute_routeGetsUpdated()
104 getExerciseSessionWithAnotherRoute(getMetadataForClientId("client id")); in insertRecords_withClientId_withUpdatedRoute_routeGetsUpdated()
117 getExerciseSessionWithoutRoute(getMetadataForClientId("client id")); in insertRecords_withClientId_withAddedRoute_routeGetsInserted()
120 getExerciseSessionWithRoute(getMetadataForClientId("client id")); in insertRecords_withClientId_withAddedRoute_routeGetsInserted()
DExerciseRouteNoReadWritePermissionTest.java28 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientId;
94 getExerciseSessionWithRoute(getMetadataForClientId("client id")); in insertRecords_withSameClientId_withoutRoute_routeDoesNotGetDeleted()
97 getExerciseSessionWithoutRoute(getMetadataForClientId("client id")); in insertRecords_withSameClientId_withoutRoute_routeDoesNotGetDeleted()
114 getExerciseSessionWithRoute(getMetadataForClientId("client id")); in insertRecords_withSameClientId_updatedRoute_throws_routeDoesNotGetUpdated()
117 getExerciseSessionWithAnotherRoute(getMetadataForClientId("client id")); in insertRecords_withSameClientId_updatedRoute_throws_routeDoesNotGetUpdated()
141 getExerciseSessionWithoutRoute(getMetadataForClientId("client id")); in insertRecords_withSameClientId_addedRoute_throws_routeDoesNotGetAdded()
144 getExerciseSessionWithRoute(getMetadataForClientId("client id")); in insertRecords_withSameClientId_addedRoute_throws_routeDoesNotGetAdded()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java126 public static Metadata getMetadataForClientId(String clientId) { in getMetadataForClientId() method in DataFactory
131 public static Metadata getMetadataForClientId(String clientId, DataOrigin dataOrigin) { in getMetadataForClientId() method in DataFactory
375 return getStepsRecord(steps, getMetadataForClientId(clientId)); in getStepsRecord()
391 return new StepsRecord.Builder(getMetadataForClientId(clientId), start, end, steps).build(); in getStepsRecord()
559 getMetadataForClientId(clientId)); in getDistanceRecord()
583 return getTotalCaloriesBurnedRecord(getMetadataForClientId(clientId)); in getTotalCaloriesBurnedRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DSharedMemoryTest.java20 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientId;
141 getMetadataForClientId(clientId), in insertRecordsAndReadRecordsByIds_viaSharedMemory_recordsEqual()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java31 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientId;
594 StepsRecord record = getStepsRecord(getMetadataForClientId("common.client.id")); in testTwoAppsCanUseSameClientRecordIdsToInsert()
1183 getMetadataForClientId( in getStepsRecord()