Home
last modified time | relevance | path

Searched refs:newResponse (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceCacheTest.kt70 abstract val newResponse: MdnsResponse? in <lambda>() constant in com.android.server.connectivity.mdns.MdnsServiceCacheTest.ExpiredRecord.ExpiredEvent
73 override val newResponse: MdnsResponse? in <lambda>() constant in com.android.server.connectivity.mdns.MdnsServiceCacheTest.ExpiredRecord.ExpiredEvent.ServiceRecordExpired
79 newResponse: MdnsResponse? in <lambda>()
81 history.add(ServiceRecordExpired(previousResponse, newResponse)) in <lambda>()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DBasalCaloriesAggregationTest.java449 AggregateRecordsResponse<Energy> newResponse = in testAggregation_BasalCaloriesBurntTotal() local
458 assertThat(newResponse.get(BASAL_CALORIES_TOTAL)).isNotNull(); in testAggregation_BasalCaloriesBurntTotal()
459 Energy newEnergy = newResponse.get(BASAL_CALORIES_TOTAL); in testAggregation_BasalCaloriesBurntTotal()
466 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(BASAL_CALORIES_TOTAL); in testAggregation_BasalCaloriesBurntTotal()
620 AggregateRecordsResponse<Energy> newResponse = in testAggregate_withDifferentTimeZone() local
630 assertThat(newResponse.get(BASAL_CALORIES_TOTAL)).isNotNull(); in testAggregate_withDifferentTimeZone()
631 assertThat(newResponse.getZoneOffset(BASAL_CALORIES_TOTAL)) in testAggregate_withDifferentTimeZone()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsServiceCache.java261 @NonNull MdnsResponse previousResponse, @Nullable MdnsResponse newResponse) { in notifyServiceExpired() argument
267 mHandler.post(()-> callback.onServiceRecordExpired(previousResponse, newResponse)); in notifyServiceExpired()
345 @Nullable MdnsResponse newResponse); in onServiceRecordExpired() argument
DMdnsServiceTypeClient.java86 @Nullable MdnsResponse newResponse) {
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DWheelchairPushesRecordTest.java250 AggregateRecordsResponse<Long> newResponse = in testAggregation_countTotal() local
260 assertThat(newResponse.get(WHEEL_CHAIR_PUSHES_COUNT_TOTAL)).isNotNull(); in testAggregation_countTotal()
261 assertThat(newResponse.get(WHEEL_CHAIR_PUSHES_COUNT_TOTAL)) in testAggregation_countTotal()
263 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(WHEEL_CHAIR_PUSHES_COUNT_TOTAL); in testAggregation_countTotal()
DNutritionRecordTest.java490 AggregateRecordsResponse<Mass> newResponse = in testAggregation_NutritionValuesTotal() local
540 Mass newTotal = newResponse.get(type); in testAggregation_NutritionValuesTotal()
545 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(type); in testAggregation_NutritionValuesTotal()
572 AggregateRecordsResponse<Energy> newResponse = in testAggregation_NutritionEnergyValuesTotal() local
583 Energy newEnergy = newResponse.get(ENERGY_TOTAL); in testAggregation_NutritionEnergyValuesTotal()
585 Energy newFatEnergy = newResponse.get(ENERGY_FROM_FAT_TOTAL); in testAggregation_NutritionEnergyValuesTotal()
DFloorsClimbedRecordTest.java261 AggregateRecordsResponse<Double> newResponse = in testAggregation_FloorsClimbedTotal() local
271 double newFloorsTotal = newResponse.get(FLOORS_CLIMBED_TOTAL); in testAggregation_FloorsClimbedTotal()
276 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(FLOORS_CLIMBED_TOTAL); in testAggregation_FloorsClimbedTotal()
DHydrationRecordTest.java319 AggregateRecordsResponse<Volume> newResponse = in testAggregation_VolumeTotal() local
329 Volume newVolume = newResponse.get(VOLUME_TOTAL); in testAggregation_VolumeTotal()
334 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(VOLUME_TOTAL); in testAggregation_VolumeTotal()
DElevationGainedRecordTest.java369 AggregateRecordsResponse<Length> newResponse = in testAggregation_ElevationTotal() local
379 Length newElevation = newResponse.get(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
384 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
DStepsRecordTest.java973 AggregateRecordsResponse<Long> newResponse = in testAggregation_StepsCountTotal_withDuplicateEntry() local
983 assertThat(newResponse.get(STEPS_COUNT_TOTAL)).isNotNull(); in testAggregation_StepsCountTotal_withDuplicateEntry()
984 assertThat(newResponse.get(STEPS_COUNT_TOTAL)) in testAggregation_StepsCountTotal_withDuplicateEntry()
986 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(STEPS_COUNT_TOTAL); in testAggregation_StepsCountTotal_withDuplicateEntry()
1381 AggregateRecordsResponse<Long> newResponse = in testAggregate_withDifferentTimeZone() local
1391 assertThat(newResponse.get(STEPS_COUNT_TOTAL)).isNotNull(); in testAggregate_withDifferentTimeZone()
1392 assertThat(newResponse.getZoneOffset(STEPS_COUNT_TOTAL)).isEqualTo(ZoneOffset.UTC); in testAggregate_withDifferentTimeZone()
DHeartRateRecordTest.java835 AggregateRecordsResponse<Long> newResponse = in testHeartAggregation_measurement_count() local
845 assertThat(newResponse.get(HEART_MEASUREMENTS_COUNT)).isNotNull(); in testHeartAggregation_measurement_count()
848 newResponse.get(HEART_MEASUREMENTS_COUNT) in testHeartAggregation_measurement_count()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java1015 AggregateRecordsResponse<Long> newResponse = getAggregateResponse(aggregateRecordsRequest); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() local
1016 assertThat(newResponse.get(STEPS_COUNT_TOTAL)).isNotNull(); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()
1017 assertThat(newResponse.get(STEPS_COUNT_TOTAL)).isEqualTo(2500); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()
1118 AggregateRecordsResponse<Long> newResponse = getAggregateResponse(aggregateRecordsRequest); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority() local
1119 assertThat(newResponse.get(EXERCISE_DURATION_TOTAL)).isNotNull(); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
1120 assertThat(newResponse.get(EXERCISE_DURATION_TOTAL)) in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java677 ChangeLogsResponse newResponse = getChangeLogs(newChangeLogsRequest); in testChangeLogs_checkToken_hasMorePages_False() local
679 assertThat(newResponse.getUpsertedRecords()).isEmpty(); in testChangeLogs_checkToken_hasMorePages_False()
680 assertThat(newResponse.hasMorePages()).isFalse(); in testChangeLogs_checkToken_hasMorePages_False()
681 assertThat(newResponse.getNextChangesToken()).isEqualTo(newChangeLogsRequest.getToken()); in testChangeLogs_checkToken_hasMorePages_False()