/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | PowerRecordTest.java | 19 import static android.health.connect.datatypes.PowerRecord.POWER_AVG; 20 import static android.health.connect.datatypes.PowerRecord.POWER_MAX; 21 import static android.health.connect.datatypes.PowerRecord.POWER_MIN; 42 import android.health.connect.datatypes.PowerRecord; 88 PowerRecord.class, in tearDown() 108 ReadRecordsRequestUsingIds<PowerRecord> request = in testReadPowerRecord_invalidIds() 109 new ReadRecordsRequestUsingIds.Builder<>(PowerRecord.class) in testReadPowerRecord_invalidIds() 112 List<PowerRecord> result = TestUtils.readRecords(request); in testReadPowerRecord_invalidIds() 125 ReadRecordsRequestUsingIds<PowerRecord> request = in testReadPowerRecord_invalidClientRecordIds() 126 new ReadRecordsRequestUsingIds.Builder<>(PowerRecord.class) in testReadPowerRecord_invalidClientRecordIds() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | PowerRecordInternal.java | 22 import android.health.connect.datatypes.PowerRecord; 40 extends SeriesRecordInternal<PowerRecord, PowerRecord.PowerRecordSample> { 69 public PowerRecord toExternalRecord() { in toExternalRecord() 70 return new PowerRecord.Builder( in toExternalRecord() 86 private List<PowerRecord.PowerRecordSample> getExternalSamples() { in getExternalSamples() 87 List<PowerRecord.PowerRecordSample> powerRecords = in getExternalSamples() 91 new PowerRecord.PowerRecordSample( in getExternalSamples()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | PowerRecord.java | 36 public final class PowerRecord extends IntervalRecord { class 48 private PowerRecord( in PowerRecord() method in PowerRecord 70 .map(PowerRecord.PowerRecordSample::getTime) in PowerRecord() 230 public PowerRecord buildWithoutValidation() { in buildWithoutValidation() 231 return new PowerRecord( in buildWithoutValidation() 245 public PowerRecord build() { in build() 246 return new PowerRecord( in build() 292 if (super.equals(object) && object instanceof PowerRecord) { in equals() 293 PowerRecord other = (PowerRecord) object; in equals() 333 for (PowerRecord.PowerRecordSample powerRecordSample : getSamples()) { in toRecordInternal()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | PowerFormatter.kt | 19 import android.health.connect.datatypes.PowerRecord in <lambda>() 20 import android.health.connect.datatypes.PowerRecord.PowerRecordSample in <lambda>() 37 EntryFormatter<PowerRecord>(context), RecordDetailsFormatter<PowerRecord> { in <lambda>() 42 record: PowerRecord, in <lambda>() 57 record: PowerRecord, in <lambda>() 64 record: PowerRecord, in <lambda>() 70 override suspend fun formatRecordDetails(record: PowerRecord): List<FormattedEntry> { in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | PowerFormatterTest.kt | 19 import android.health.connect.datatypes.PowerRecord 110 private fun getPowerRecord(samples: List<Double>): PowerRecord { in getPowerRecord() 111 return PowerRecord.Builder( in getPowerRecord() 115 samples.map { PowerRecord.PowerRecordSample(Power.fromWatts(it), NOW) }) in getPowerRecord()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/ |
D | HealthDataEntryDetailsFormatter.kt | 25 import android.health.connect.datatypes.PowerRecord 65 is PowerRecord -> powerFormatter.formatRecordDetails(record) in formatDetails()
|
D | HealthDataEntryFormatter.kt | 47 import android.health.connect.datatypes.PowerRecord 160 is PowerRecord -> powerFormatter.format(record, appName) in format()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/ |
D | DeleteCategoryUseCaseTest.kt | 29 import android.health.connect.datatypes.PowerRecord in <lambda>() 103 PowerRecord::class.java, in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/ |
D | DataType.kt | 45 import android.health.connect.datatypes.PowerRecord 65 POWER(PowerRecord::class.java),
|
D | HealthPermissionToDatatypeMapper.kt | 45 import android.health.connect.datatypes.PowerRecord 106 POWER to listOf(PowerRecord::class.java),
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | InsertOrUpdateRecords.kt | 52 import android.health.connect.datatypes.PowerRecord 53 import android.health.connect.datatypes.PowerRecord.PowerRecordSample 243 PowerRecord::class -> { in createRecordObjectHelper() 245 PowerRecord.Builder( in createRecordObjectHelper()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | AggregationTypeIdMapper.java | 84 import static android.health.connect.datatypes.PowerRecord.POWER_AVG; 85 import static android.health.connect.datatypes.PowerRecord.POWER_MAX; 86 import static android.health.connect.datatypes.PowerRecord.POWER_MIN;
|
D | RecordMapper.java | 47 import android.health.connect.datatypes.PowerRecord; 258 RecordTypeIdentifier.RECORD_TYPE_POWER, PowerRecord.class); in RecordMapper()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ |
D | Constants.kt | 45 import android.health.connect.datatypes.PowerRecord 276 POWER(PowerRecord::class, R.string.power_label),
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthPermissionCategory.java | 30 import android.health.connect.datatypes.PowerRecord;
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | DataMigrationTest.java | 64 import android.health.connect.datatypes.PowerRecord; 65 import android.health.connect.datatypes.PowerRecord.PowerRecordSample; 357 new PowerRecord.Builder( in migratePower_powerSaved() 369 final PowerRecord record = getRecord(PowerRecord.class, entityId); in migratePower_powerSaved()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/ |
D | ListInputField.kt | 26 import android.health.connect.datatypes.PowerRecord.PowerRecordSample
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 1453 public final class PowerRecord extends android.health.connect.datatypes.IntervalRecord { 1454 …method @NonNull public java.util.List<android.health.connect.datatypes.PowerRecord.PowerRecordSamp… 1460 public static final class PowerRecord.Builder { 1461 …PowerRecord.Builder(@NonNull android.health.connect.datatypes.Metadata, @NonNull java.time.Instant… 1462 method @NonNull public android.health.connect.datatypes.PowerRecord build(); 1463 … method @NonNull public android.health.connect.datatypes.PowerRecord.Builder clearEndZoneOffset(); 1464 …method @NonNull public android.health.connect.datatypes.PowerRecord.Builder clearStartZoneOffset(); 1465 …method @NonNull public android.health.connect.datatypes.PowerRecord.Builder setEndZoneOffset(@NonN… 1466 …method @NonNull public android.health.connect.datatypes.PowerRecord.Builder setStartZoneOffset(@No… 1469 public static final class PowerRecord.PowerRecordSample { [all …]
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 125 import android.health.connect.datatypes.PowerRecord; 699 PowerRecord.class, in populateAndResetExpectedResponseMap()
|