/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacPrfTest.java | 19 import static com.android.internal.net.TestUtils.hexStringToByteArray; 28 import com.android.internal.net.TestUtils; 192 byte[] skpBytes = TestUtils.hexStringToByteArray(PRF_KEY_HEX_STRING); in testSignBytesHmacSha1() 193 byte[] dataBytes = TestUtils.hexStringToByteArray(DATA_TO_SIGN_HEX_STRING); in testSignBytesHmacSha1() 197 byte[] expectedBytes = TestUtils.hexStringToByteArray(CALCULATED_MAC_HEX_STRING); in testSignBytesHmacSha1() 203 byte[] skpBytes = TestUtils.hexStringToByteArray(PRF_HMAC256_KEY_HEX_STRING); in testSignBytesHmacSha256() 204 byte[] dataBytes = TestUtils.hexStringToByteArray(PRF_HMAC256_DATA_TO_SIGN_HEX_STRING); in testSignBytesHmacSha256() 209 TestUtils.hexStringToByteArray(PRF_HMAC256_CALCULATED_MAC_HEX_STRING); in testSignBytesHmacSha256() 215 byte[] nonceInit = TestUtils.hexStringToByteArray(IKE_NONCE_INIT_HEX_STRING); in testGenerateSKeySeedHmacSha1() 216 byte[] nonceResp = TestUtils.hexStringToByteArray(IKE_NONCE_RESP_HEX_STRING); in testGenerateSKeySeedHmacSha1() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | MenstruationFlowRecordTest.java | 38 import android.healthconnect.cts.utils.TestUtils; 66 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 70 TestUtils.verifyDeleteRecords( in tearDown() 76 TestUtils.deleteAllStagedRemoteData(); in tearDown() 83 TestUtils.insertRecords(records); in testInsertMenstruationFlowRecord() 91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationFlowRecord_usingIds() 101 List<MenstruationFlowRecord> result = TestUtils.readRecords(request); in testReadMenstruationFlowRecord_invalidIds() 110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationFlowRecord_usingClientRecordIds() 121 List<MenstruationFlowRecord> result = TestUtils.readRecords(request); in testReadMenstruationFlowRecord_invalidClientRecordIds() 128 TestUtils.readRecords( in testReadMenstruationFlowRecordUsingFilters_default() [all …]
|
D | SexualActivityRecordTest.java | 38 import android.healthconnect.cts.utils.TestUtils; 66 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 70 TestUtils.verifyDeleteRecords( in tearDown() 76 TestUtils.deleteAllStagedRemoteData(); in tearDown() 83 TestUtils.insertRecords(records); in testInsertSexualActivityRecord() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSexualActivityRecord_usingIds() 100 List<SexualActivityRecord> result = TestUtils.readRecords(request); in testReadSexualActivityRecord_invalidIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSexualActivityRecord_usingClientRecordIds() 118 List<SexualActivityRecord> result = TestUtils.readRecords(request); in testReadSexualActivityRecord_invalidClientRecordIds() 125 TestUtils.readRecords( in testReadSexualActivityRecordUsingFilters_default() [all …]
|
D | BasalMetabolicRateRecordTest.java | 45 import android.healthconnect.cts.utils.TestUtils; 76 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 80 TestUtils.deleteAllStagedRemoteData(); in setUp() 85 TestUtils.verifyDeleteRecords( in tearDown() 91 TestUtils.deleteAllStagedRemoteData(); in tearDown() 98 TestUtils.insertRecords(records); in testInsertBasalMetabolicRateRecord() 107 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalMetabolicRateRecord_usingIds() 118 List<BasalMetabolicRateRecord> result = TestUtils.readRecords(request); in testReadBasalMetabolicRateRecord_invalidIds() 129 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalMetabolicRateRecord_usingClientRecordIds() 140 List<BasalMetabolicRateRecord> result = TestUtils.readRecords(request); in testReadBasalMetabolicRateRecord_invalidClientRecordIds() [all …]
|
D | DistanceRecordTest.java | 44 import android.healthconnect.cts.utils.TestUtils; 76 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 80 TestUtils.deleteAllStagedRemoteData(); in setUp() 85 TestUtils.verifyDeleteRecords( in tearDown() 91 TestUtils.deleteAllStagedRemoteData(); in tearDown() 96 if (!TestUtils.isHardwareSupported()) { in setup() 99 TestUtils.verifyDeleteRecords( in setup() 105 TestUtils.deleteAllStagedRemoteData(); in setup() 111 TestUtils.insertRecords(records); in testInsertDistanceRecord() 118 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadDistanceRecord_usingIds() [all …]
|
D | ActiveCaloriesBurnedRecordTest.java | 39 import android.healthconnect.cts.utils.TestUtils; 70 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 74 TestUtils.deleteAllStagedRemoteData(); in setUp() 79 TestUtils.verifyDeleteRecords( in tearDown() 85 TestUtils.deleteAllStagedRemoteData(); in tearDown() 104 TestUtils.insertRecords(records); in testInsertActiveCaloriesBurnedRecord() 113 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadActiveCaloriesBurnedRecord_usingIds() 123 List<ActiveCaloriesBurnedRecord> result = TestUtils.readRecords(request); in testReadActiveCaloriesBurnedRecord_invalidIds() 134 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadActiveCaloriesBurnedRecord_usingClientRecordIds() 145 List<ActiveCaloriesBurnedRecord> result = TestUtils.readRecords(request); in testReadActiveCaloriesBurnedRecord_invalidClientRecordIds() [all …]
|
D | OxygenSaturationRecordTest.java | 39 import android.healthconnect.cts.utils.TestUtils; 67 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 71 TestUtils.verifyDeleteRecords( in tearDown() 77 TestUtils.deleteAllStagedRemoteData(); in tearDown() 84 TestUtils.insertRecords(records); in testInsertOxygenSaturationRecord() 92 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOxygenSaturationRecord_usingIds() 102 List<OxygenSaturationRecord> result = TestUtils.readRecords(request); in testReadOxygenSaturationRecord_invalidIds() 111 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOxygenSaturationRecord_usingClientRecordIds() 122 List<OxygenSaturationRecord> result = TestUtils.readRecords(request); in testReadOxygenSaturationRecord_invalidClientRecordIds() 129 TestUtils.readRecords( in testReadOxygenSaturationRecordUsingFilters_default() [all …]
|
D | IntermenstrualBleedingRecordTest.java | 40 import android.healthconnect.cts.utils.TestUtils; 69 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 73 TestUtils.verifyDeleteRecords( in tearDown() 79 TestUtils.deleteAllStagedRemoteData(); in tearDown() 88 TestUtils.insertRecords(records); in testInsertIntermenstrualBleedingRecord() 94 TestUtils.insertRecords( in testReadIntermenstrualBleedingRecord_usingIds() 107 List<IntermenstrualBleedingRecord> result = TestUtils.readRecords(request); in testReadIntermenstrualBleedingRecord_invalidIds() 118 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadIntermenstrualBleedingRecord_usingClientRecordIds() 129 List<IntermenstrualBleedingRecord> result = TestUtils.readRecords(request); in testReadIntermenstrualBleedingRecord_invalidClientRecordIds() 137 TestUtils.readRecords( in testReadIntermenstrualBleedingRecordUsingFilters_default() [all …]
|
D | OvulationTestRecordTest.java | 38 import android.healthconnect.cts.utils.TestUtils; 66 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 70 TestUtils.verifyDeleteRecords( in tearDown() 76 TestUtils.deleteAllStagedRemoteData(); in tearDown() 83 TestUtils.insertRecords(records); in testInsertOvulationTestRecord() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOvulationTestRecord_usingIds() 100 List<OvulationTestRecord> result = TestUtils.readRecords(request); in testReadOvulationTestRecord_invalidIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOvulationTestRecord_usingClientRecordIds() 118 List<OvulationTestRecord> result = TestUtils.readRecords(request); in testReadOvulationTestRecord_invalidClientRecordIds() 125 TestUtils.readRecords( in testReadOvulationTestRecordUsingFilters_default() [all …]
|
D | BodyTemperatureRecordTest.java | 39 import android.healthconnect.cts.utils.TestUtils; 67 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 71 TestUtils.verifyDeleteRecords( in tearDown() 77 TestUtils.deleteAllStagedRemoteData(); in tearDown() 84 TestUtils.insertRecords(records); in testInsertBodyTemperatureRecord() 102 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyTemperatureRecord_usingIds() 112 List<BodyTemperatureRecord> result = TestUtils.readRecords(request); in testReadBodyTemperatureRecord_invalidIds() 121 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyTemperatureRecord_usingClientRecordIds() 131 List<BodyTemperatureRecord> result = TestUtils.readRecords(request); in testReadBodyTemperatureRecord_invalidClientRecordIds() 138 TestUtils.readRecords( in testReadBodyTemperatureRecordUsingFilters_default() [all …]
|
D | BoneMassRecordTest.java | 39 import android.healthconnect.cts.utils.TestUtils; 67 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 71 TestUtils.verifyDeleteRecords( in tearDown() 77 TestUtils.deleteAllStagedRemoteData(); in tearDown() 83 TestUtils.insertRecords(records); in testInsertBoneMassRecord() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBoneMassRecord_usingIds() 100 List<BoneMassRecord> result = TestUtils.readRecords(request); in testReadBoneMassRecord_invalidIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBoneMassRecord_usingClientRecordIds() 118 List<BoneMassRecord> result = TestUtils.readRecords(request); in testReadBoneMassRecord_invalidClientRecordIds() 125 TestUtils.readRecords( in testReadBoneMassRecordUsingFilters_default() [all …]
|
D | RespiratoryRateRecordTest.java | 38 import android.healthconnect.cts.utils.TestUtils; 66 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 70 TestUtils.verifyDeleteRecords( in tearDown() 76 TestUtils.deleteAllStagedRemoteData(); in tearDown() 83 TestUtils.insertRecords(records); in testInsertRespiratoryRateRecord() 91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRespiratoryRateRecord_usingIds() 101 List<RespiratoryRateRecord> result = TestUtils.readRecords(request); in testReadRespiratoryRateRecord_invalidIds() 110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRespiratoryRateRecord_usingClientRecordIds() 120 List<RespiratoryRateRecord> result = TestUtils.readRecords(request); in testReadRespiratoryRateRecord_invalidClientRecordIds() 127 TestUtils.readRecords( in testReadRespiratoryRateRecordUsingFilters_default() [all …]
|
D | MenstruationPeriodRecordTest.java | 40 import android.healthconnect.cts.utils.TestUtils; 70 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 74 TestUtils.verifyDeleteRecords( in tearDown() 80 TestUtils.deleteAllStagedRemoteData(); in tearDown() 87 TestUtils.insertRecords(records); in testInsertMenstruationPeriodRecord() 93 TestUtils.insertRecords( in testReadMenstruationPeriodRecord_usingIds() 106 List<MenstruationPeriodRecord> result = TestUtils.readRecords(request); in testReadMenstruationPeriodRecord_invalidIds() 117 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationPeriodRecord_usingClientRecordIds() 128 List<MenstruationPeriodRecord> result = TestUtils.readRecords(request); in testReadMenstruationPeriodRecord_invalidClientRecordIds() 135 TestUtils.readRecords( in testReadMenstruationPeriodRecordUsingFilters_default() [all …]
|
D | CervicalMucusRecordTest.java | 38 import android.healthconnect.cts.utils.TestUtils; 66 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 70 TestUtils.verifyDeleteRecords( in tearDown() 76 TestUtils.deleteAllStagedRemoteData(); in tearDown() 83 TestUtils.insertRecords(records); in testInsertCervicalMucusRecord() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadCervicalMucusRecord_usingIds() 100 List<CervicalMucusRecord> result = TestUtils.readRecords(request); in testReadCervicalMucusRecord_invalidIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadCervicalMucusRecord_usingClientRecordIds() 118 List<CervicalMucusRecord> result = TestUtils.readRecords(request); in testReadCervicalMucusRecord_invalidClientRecordIds() 125 TestUtils.readRecords( in testReadCervicalMucusRecordUsingFilters_default() [all …]
|
D | BodyFatRecordTest.java | 39 import android.healthconnect.cts.utils.TestUtils; 67 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 71 TestUtils.verifyDeleteRecords( in tearDown() 77 TestUtils.deleteAllStagedRemoteData(); in tearDown() 83 TestUtils.insertRecords(records); in testInsertBodyFatRecord() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyFatRecord_usingIds() 100 List<BodyFatRecord> result = TestUtils.readRecords(request); in testReadBodyFatRecord_invalidIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyFatRecord_usingClientRecordIds() 118 List<BodyFatRecord> result = TestUtils.readRecords(request); in testReadBodyFatRecord_invalidClientRecordIds() 125 TestUtils.readRecords( in testReadBodyFatRecordUsingFilters_default() [all …]
|
D | BodyWaterMassRecordTest.java | 41 import android.healthconnect.cts.utils.TestUtils; 70 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 74 TestUtils.verifyDeleteRecords( in tearDown() 80 TestUtils.deleteAllStagedRemoteData(); in tearDown() 87 TestUtils.insertRecords(records); in testInsertBodyWaterMassRecord() 93 TestUtils.insertRecords( in testReadBodyWaterMassRecord_usingIds() 106 List<BodyWaterMassRecord> result = TestUtils.readRecords(request); in testReadBodyWaterMassRecord_invalidIds() 114 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyWaterMassRecord_usingClientRecordIds() 124 List<BodyWaterMassRecord> result = TestUtils.readRecords(request); in testReadBodyWaterMassRecord_invalidClientRecordIds() 131 TestUtils.readRecords( in testReadBodyWaterMassRecordUsingFilters_default() [all …]
|
D | HeartRateVariabilityRmssdRecordTest.java | 40 import android.healthconnect.cts.utils.TestUtils; 69 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 73 TestUtils.verifyDeleteRecords( in tearDown() 79 TestUtils.deleteAllStagedRemoteData(); in tearDown() 88 TestUtils.insertRecords(records); in testInsertHeartRateVariabilityRmssdRecord() 94 TestUtils.insertRecords( in testReadHeartRateVariabilityRmssdRecord_usingIds() 107 List<HeartRateVariabilityRmssdRecord> result = TestUtils.readRecords(request); in testReadHeartRateVariabilityRmssdRecord_invalidIds() 118 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadHeartRateVariabilityRmssdRecord_usingClientRecordIds() 129 List<HeartRateVariabilityRmssdRecord> result = TestUtils.readRecords(request); in testReadHeartRateVariabilityRmssdRecord_invalidClientRecordIds() 137 TestUtils.readRecords( in testReadHeartRateVariabilityRmssdRecordUsingFilters_default() [all …]
|
D | LeanBodyMassRecordTest.java | 39 import android.healthconnect.cts.utils.TestUtils; 67 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 71 TestUtils.verifyDeleteRecords( in tearDown() 77 TestUtils.deleteAllStagedRemoteData(); in tearDown() 84 TestUtils.insertRecords(records); in testInsertLeanBodyMassRecord() 91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadLeanBodyMassRecord_usingIds() 101 List<LeanBodyMassRecord> result = TestUtils.readRecords(request); in testReadLeanBodyMassRecord_invalidIds() 109 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadLeanBodyMassRecord_usingClientRecordIds() 119 List<LeanBodyMassRecord> result = TestUtils.readRecords(request); in testReadLeanBodyMassRecord_invalidClientRecordIds() 126 TestUtils.readRecords( in testReadLeanBodyMassRecordUsingFilters_default() [all …]
|
D | Vo2MaxRecordTest.java | 38 import android.healthconnect.cts.utils.TestUtils; 66 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 70 TestUtils.verifyDeleteRecords( in tearDown() 76 TestUtils.deleteAllStagedRemoteData(); in tearDown() 82 TestUtils.insertRecords(records); in testInsertVo2MaxRecord() 89 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadVo2MaxRecord_usingIds() 99 List<Vo2MaxRecord> result = TestUtils.readRecords(request); in testReadVo2MaxRecord_invalidIds() 107 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadVo2MaxRecord_usingClientRecordIds() 117 List<Vo2MaxRecord> result = TestUtils.readRecords(request); in testReadVo2MaxRecord_invalidClientRecordIds() 124 TestUtils.readRecords( in testReadVo2MaxRecordUsingFilters_default() [all …]
|
D | BloodGlucoseRecordTest.java | 39 import android.healthconnect.cts.utils.TestUtils; 67 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 71 TestUtils.verifyDeleteRecords( in tearDown() 77 TestUtils.deleteAllStagedRemoteData(); in tearDown() 84 TestUtils.insertRecords(records); in testInsertBloodGlucoseRecord() 91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBloodGlucoseRecord_usingIds() 101 List<BloodGlucoseRecord> result = TestUtils.readRecords(request); in testReadBloodGlucoseRecord_invalidIds() 109 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBloodGlucoseRecord_usingClientRecordIds() 119 List<BloodGlucoseRecord> result = TestUtils.readRecords(request); in testReadBloodGlucoseRecord_invalidClientRecordIds() 126 TestUtils.readRecords( in testReadBloodGlucoseRecordUsingFilters_default() [all …]
|
D | BasalBodyTemperatureRecordTest.java | 39 import android.healthconnect.cts.utils.TestUtils; 67 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 71 TestUtils.verifyDeleteRecords( in tearDown() 77 TestUtils.deleteAllStagedRemoteData(); in tearDown() 86 TestUtils.insertRecords(records); in testInsertBasalBodyTemperatureRecord() 105 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalBodyTemperatureRecord_usingIds() 115 List<BasalBodyTemperatureRecord> result = TestUtils.readRecords(request); in testReadBasalBodyTemperatureRecord_invalidIds() 126 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalBodyTemperatureRecord_usingClientRecordIds() 137 List<BasalBodyTemperatureRecord> result = TestUtils.readRecords(request); in testReadBasalBodyTemperatureRecord_invalidClientRecordIds() 145 TestUtils.readRecords( in testReadBasalBodyTemperatureRecordUsingFilters_default() [all …]
|
D | HydrationRecordTest.java | 44 import android.healthconnect.cts.utils.TestUtils; 71 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 75 TestUtils.deleteAllStagedRemoteData(); in setUp() 80 TestUtils.verifyDeleteRecords( in tearDown() 86 TestUtils.deleteAllStagedRemoteData(); in tearDown() 92 TestUtils.insertRecords(records); in testInsertHydrationRecord() 99 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadHydrationRecord_usingIds() 109 List<HydrationRecord> result = TestUtils.readRecords(request); in testReadHydrationRecord_invalidIds() 117 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadHydrationRecord_usingClientRecordIds() 127 List<HydrationRecord> result = TestUtils.readRecords(request); in testReadHydrationRecord_invalidClientRecordIds() [all …]
|
D | RestingHeartRateRecordTest.java | 41 import android.healthconnect.cts.utils.TestUtils; 73 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 77 TestUtils.deleteAllStagedRemoteData(); in setUp() 82 TestUtils.verifyDeleteRecords( in tearDown() 88 TestUtils.deleteAllStagedRemoteData(); in tearDown() 95 TestUtils.insertRecords(records); in testInsertRestingHeartRateRecord() 103 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRestingHeartRateRecord_usingIds() 113 List<RestingHeartRateRecord> result = TestUtils.readRecords(request); in testReadRestingHeartRateRecord_invalidIds() 122 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRestingHeartRateRecord_usingClientRecordIds() 133 List<RestingHeartRateRecord> result = TestUtils.readRecords(request); in testReadRestingHeartRateRecord_invalidClientRecordIds() [all …]
|
D | WeightRecordTest.java | 24 import static android.healthconnect.cts.utils.TestUtils.insertWeightRecordViaTestApp; 25 import static android.healthconnect.cts.utils.TestUtils.updateRecords; 57 import android.healthconnect.cts.utils.TestUtils; 94 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 99 TestUtils.deleteAllStagedRemoteData(); in setUp() 104 TestUtils.verifyDeleteRecords( in tearDown() 110 TestUtils.deleteAllStagedRemoteData(); in tearDown() 116 TestUtils.insertRecords(records); in testInsertWeightRecord() 123 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadWeightRecord_usingIds() 134 List<WeightRecord> result = TestUtils.readRecords(request); in testReadWeightRecord_invalidIds() [all …]
|
D | StepsCadenceRecordTest.java | 46 import android.healthconnect.cts.utils.TestUtils; 80 TestUtils::isHardwareSupported, "Tests should run on supported hardware only."); 84 TestUtils.deleteAllStagedRemoteData(); in setUp() 89 TestUtils.verifyDeleteRecords( in tearDown() 95 TestUtils.deleteAllStagedRemoteData(); in tearDown() 100 TestUtils.insertRecords( in testInsertStepsCadenceRecord() 115 List<StepsCadenceRecord> result = TestUtils.readRecords(request); in testReadStepsCadenceRecord_invalidIds() 123 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadStepsCadenceRecord_usingClientRecordIds() 133 List<StepsCadenceRecord> result = TestUtils.readRecords(request); in testReadStepsCadenceRecord_invalidClientRecordIds() 140 TestUtils.readRecords( in testReadStepsCadenceRecordUsingFilters_default() [all …]
|