Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/backgroundread/
DBackgroundReadTest.java55 import android.healthconnect.cts.utils.TestReceiver;
93 TestReceiver.reset(); in setUp()
110 assertThat(TestReceiver.getResult()).isNull(); in testReadRecordsByFilters_inBackgroundWithoutPermission_cannotReadOtherAppsData()
111 assertThat(TestReceiver.getErrorCode()).isEqualTo(ERROR_SECURITY); in testReadRecordsByFilters_inBackgroundWithoutPermission_cannotReadOtherAppsData()
123 Bundle result = TestReceiver.getResult(); in testReadRecordsByFilters_inBackgroundWithoutPermission_canReadOwnData()
142 Bundle result = TestReceiver.getResult(); in testReadRecordsByFilters_inBackgroundWithPermission_canReadBothOwnAndOtherAppsData()
162 Bundle result = TestReceiver.getResult(); in testReadRecordsByIds_inBackgroundWithoutPermission_canReadOnlyOwnData()
181 Bundle result = TestReceiver.getResult(); in testReadRecordsByIds_inBackgroundWithPermission_canReadBothOwnAndOtherAppsData()
220 Bundle result = TestReceiver.getResult(); in testAggregate_inBackgroundWithPermission_canAggregateBothOwnAndOtherAppsData()
240 final String token = requireNonNull(TestReceiver.getResult()).getString(EXTRA_TOKEN); in testGetChangeLogs_inBackgroundWithPermission_success()
[all …]
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java921 android.healthconnect.cts.utils.TestReceiver.reset(); in sendCommandToTestAppReceiver()
1179 return android.healthconnect.cts.utils.TestReceiver.getResult() in insertStepsRecordViaTestApp()
1197 return android.healthconnect.cts.utils.TestReceiver.getResult() in insertWeightRecordViaTestApp()
1210 return android.healthconnect.cts.utils.TestReceiver.getResult() in insertExerciseRecordViaTestApp()
1222 return android.healthconnect.cts.utils.TestReceiver.getResult() in insertPlannedExerciseSessionRecordViaTestApp()
1367 private static class TestReceiver<T, E extends RuntimeException> class
1400 extends TestReceiver<T, HealthConnectException> {}
1402 public static final class MigrationReceiver extends TestReceiver<Void, MigrationException> {}
DTestReceiver.java36 public class TestReceiver extends BroadcastReceiver { class
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/
DHistoricAccessLimitWithPermissionTest.java49 import android.healthconnect.cts.utils.TestReceiver;
80 TestReceiver.reset(); in setUp()
DHistoricAccessLimitTest.java46 import android.healthconnect.cts.utils.TestReceiver;
82 TestReceiver.reset(); in setUp()