Searched refs:TestReceiver (Results 1 – 5 of 5) sorted by relevance
55 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 …]
921 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> class1400 extends TestReceiver<T, HealthConnectException> {}1402 public static final class MigrationReceiver extends TestReceiver<Void, MigrationException> {}
36 public class TestReceiver extends BroadcastReceiver { class
49 import android.healthconnect.cts.utils.TestReceiver;80 TestReceiver.reset(); in setUp()
46 import android.healthconnect.cts.utils.TestReceiver;82 TestReceiver.reset(); in setUp()