/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | HeightRecordTest.java | 19 import static android.health.connect.datatypes.HeightRecord.HEIGHT_AVG; 20 import static android.health.connect.datatypes.HeightRecord.HEIGHT_MAX; 21 import static android.health.connect.datatypes.HeightRecord.HEIGHT_MIN; 47 import android.health.connect.datatypes.HeightRecord; 94 HeightRecord.class, in tearDown() 118 ReadRecordsRequestUsingIds<HeightRecord> request = in testReadHeightRecord_invalidIds() 119 new ReadRecordsRequestUsingIds.Builder<>(HeightRecord.class) in testReadHeightRecord_invalidIds() 122 List<HeightRecord> result = TestUtils.readRecords(request); in testReadHeightRecord_invalidIds() 136 ReadRecordsRequestUsingIds<HeightRecord> request = in testReadHeightRecord_invalidClientRecordIds() 137 new ReadRecordsRequestUsingIds.Builder<>(HeightRecord.class) in testReadHeightRecord_invalidClientRecordIds() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | HeightRecord.java | 32 public final class HeightRecord extends InstantRecord { class 76 private HeightRecord( in HeightRecord() method in HeightRecord 111 HeightRecord that = (HeightRecord) o; in equals() 163 public HeightRecord buildWithoutValidation() { in buildWithoutValidation() 164 return new HeightRecord(mMetadata, mTime, mZoneOffset, mHeight, true); in buildWithoutValidation() 171 public HeightRecord build() { in build() 172 return new HeightRecord(mMetadata, mTime, mZoneOffset, mHeight, false); in build()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | HeightRecordInternal.java | 19 import android.health.connect.datatypes.HeightRecord; 30 public final class HeightRecordInternal extends InstantRecordInternal<HeightRecord> { 46 public HeightRecord toExternalRecord() { in toExternalRecord() 47 return new HeightRecord.Builder(buildMetaData(), getTime(), Length.fromMeters(getHeight())) in toExternalRecord()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | MigrationEntityParcelTest.java | 25 import android.health.connect.datatypes.HeightRecord; 50 private static final HeightRecord HEIGHT_RECORD = 51 new HeightRecord.Builder( 180 HeightRecord heightRecord = (HeightRecord) recordMigrationPayload.getRecord(); in assertDeserializedHeightRecord() 184 HeightRecord deserializedHeightRecord = in assertDeserializedHeightRecord() 185 (HeightRecord) deserializedRecordMigrationPayload.getRecord(); in assertDeserializedHeightRecord()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | DataMigrationTest.java | 60 import android.health.connect.datatypes.HeightRecord; 238 new HeightRecord.Builder(getMetadata(entityId), mEndTime, fromMeters(3D)).build(), in migrateHeight_clientRecordId_heightSaved() 242 final HeightRecord record = getRecord(HeightRecord.class, entityId); in migrateHeight_clientRecordId_heightSaved() 258 new HeightRecord.Builder(getMetadata(uuid), mEndTime, fromMeters(3D)).build(), in migrateHeight_uuid_heightSaved() 262 final HeightRecord record = getRecord(HeightRecord.class, uuid); in migrateHeight_uuid_heightSaved() 280 HeightRecord heightRecord = in migrateHeightUsingSharedMemory_heightSaved() 281 new HeightRecord.Builder(getMetadata(recordEntityId), mEndTime, fromMeters(3D)) in migrateHeightUsingSharedMemory_heightSaved() 290 final List<HeightRecord> outputRecords = getRecords(HeightRecord.class); in migrateHeightUsingSharedMemory_heightSaved() 297 HeightRecord inputHeightRecord = (HeightRecord) inputRecordMigrationPayload.getRecord(); in migrateHeightUsingSharedMemory_heightSaved() 299 HeightRecord outputHeightRecord = outputRecords.get(i); in migrateHeightUsingSharedMemory_heightSaved() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | SharedMemoryTest.java | 44 import android.health.connect.datatypes.HeightRecord; 98 List<HeightRecord> records = new ArrayList<>(recordCount); in insertRecordsAndReadRecordsByFilter_viaSharedMemory_recordsEqual() 103 new HeightRecord.Builder( in insertRecordsAndReadRecordsByFilter_viaSharedMemory_recordsEqual() 112 List<HeightRecord> readRecords = in insertRecordsAndReadRecordsByFilter_viaSharedMemory_recordsEqual() 114 new ReadRecordsRequestUsingFilters.Builder<>(HeightRecord.class) in insertRecordsAndReadRecordsByFilter_viaSharedMemory_recordsEqual() 239 .addRecordType(HeightRecord.class) in getChangeLogs_viaSharedMemory_recordsMatch() 244 List<HeightRecord> heightRecords = new ArrayList<>(recordsToDeleteCount); in getChangeLogs_viaSharedMemory_recordsMatch() 247 new HeightRecord.Builder( in getChangeLogs_viaSharedMemory_recordsMatch() 254 heightRecords = readAllRecords(HeightRecord.class); in getChangeLogs_viaSharedMemory_recordsMatch()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | HeightFormatter.kt | 19 import android.health.connect.datatypes.HeightRecord 36 EntryFormatter<HeightRecord>(context) { 43 record: HeightRecord, in formatValue() 56 record: HeightRecord, in formatA11yValue()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | HealthConnectServiceLogsTests.java | 49 import android.health.connect.datatypes.HeightRecord; 124 new HeightRecord.Builder( in testHealthConnectUpdateRecordsError() 150 .addRecordType(HeightRecord.class) in testHealthConnectDeleteRecordsError() 193 new ReadRecordsRequestUsingFilters.Builder<>(HeightRecord.class) in testHealthConnectReadRecordsError() 206 public void onResult(ReadRecordsResponse<HeightRecord> result) { in testHealthConnectReadRecordsError() 225 new ChangeLogTokenRequest.Builder().addRecordType(HeightRecord.class).build(), in testHealthConnectGetChangeLogTokenError()
|
D | TestHelperUtils.java | 32 import android.health.connect.datatypes.HeightRecord; 102 public static HeightRecord getHeightRecord() { in getHeightRecord() 103 return new HeightRecord.Builder(getMetadata(), Instant.now(), Length.fromMeters(1.9)) in getHeightRecord()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | DataFactory.java | 25 import android.health.connect.datatypes.HeightRecord; 112 static HeightRecord getBaseHeightRecord(Instant time, double heightMeter) { in getBaseHeightRecord() 113 return new HeightRecord.Builder(getEmptyMetadata(), time, Length.fromMeters(heightMeter)) in getBaseHeightRecord()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | HeightFormatterTest.kt | 19 import android.health.connect.datatypes.HeightRecord 106 private fun getHeightRecord(heightInMeters: Double): HeightRecord { in getHeightRecord() 107 return HeightRecord.Builder(getMetaData(), NOW, Length.fromMeters(heightInMeters)).build() in getHeightRecord()
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/ |
D | BackupRestoreApiTest.java | 36 import android.health.connect.datatypes.HeightRecord; 103 List<HeightRecord> heightRecordsRead = in testMergeStagedData_withEmptyHealthDb_mergesAllData() 105 new ReadRecordsRequestUsingFilters.Builder<>(HeightRecord.class).build()); in testMergeStagedData_withEmptyHealthDb_mergesAllData() 121 new ReadRecordsRequestUsingFilters.Builder<>(HeightRecord.class).build()); in testMergeStagedData_withEmptyHealthDb_mergesAllData()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/ |
D | DataType.kt | 35 import android.health.connect.datatypes.HeightRecord 70 HEIGHT(HeightRecord::class.java),
|
D | HealthPermissionToDatatypeMapper.kt | 35 import android.health.connect.datatypes.HeightRecord 109 HEIGHT to listOf(HeightRecord::class.java),
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | AggregationTypeIdMapper.java | 38 import static android.health.connect.datatypes.HeightRecord.HEIGHT_AVG; 39 import static android.health.connect.datatypes.HeightRecord.HEIGHT_MAX; 40 import static android.health.connect.datatypes.HeightRecord.HEIGHT_MIN;
|
D | RecordMapper.java | 37 import android.health.connect.datatypes.HeightRecord; 284 RecordTypeIdentifier.RECORD_TYPE_HEIGHT, HeightRecord.class); in RecordMapper()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ |
D | Constants.kt | 35 import android.health.connect.datatypes.HeightRecord 288 HEIGHT(HeightRecord::class, R.string.height_label),
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | InsertOrUpdateRecords.kt | 40 import android.health.connect.datatypes.HeightRecord 326 HeightRecord::class -> { in createRecordObjectHelper() 328 HeightRecord.Builder( in createRecordObjectHelper()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/ |
D | HealthDataEntryFormatter.kt | 38 import android.health.connect.datatypes.HeightRecord 163 is HeightRecord -> heightFormatter.format(record, appName) in format()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 112 import android.health.connect.datatypes.HeightRecord; 783 HeightRecord.class, in populateAndResetExpectedResponseMap()
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 1016 public final class HeightRecord extends android.health.connect.datatypes.InstantRecord { 1023 public static final class HeightRecord.Builder { 1024 …ctor public HeightRecord.Builder(@NonNull android.health.connect.datatypes.Metadata, @NonNull java… 1025 method @NonNull public android.health.connect.datatypes.HeightRecord build(); 1026 method @NonNull public android.health.connect.datatypes.HeightRecord.Builder clearZoneOffset(); 1027 …method @NonNull public android.health.connect.datatypes.HeightRecord.Builder setZoneOffset(@NonNul…
|