Home
last modified time | relevance | path

Searched refs:sendCommandToTestAppReceiver (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/backgroundread/
DBackgroundReadTest.java31 import static android.healthconnect.cts.utils.TestUtils.sendCommandToTestAppReceiver;
231 sendCommandToTestAppReceiver(mContext, ACTION_GET_CHANGE_LOGS, extras); in testGetChangeLogs_inBackgroundWithoutPermission_securityError()
239 sendCommandToTestAppReceiver(mContext, ACTION_GET_CHANGE_LOG_TOKEN); in testGetChangeLogs_inBackgroundWithPermission_success()
245 sendCommandToTestAppReceiver(mContext, ACTION_GET_CHANGE_LOGS, extras); in testGetChangeLogs_inBackgroundWithPermission_success()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java895 sendCommandToTestAppReceiver(context, ACTION_READ_STEPS_RECORDS_USING_RECORD_IDS, extras); in readStepsRecordsUsingRecordIdsViaTestApp()
903 sendCommandToTestAppReceiver(context, ACTION_READ_STEPS_RECORDS_USING_FILTERS, extras); in readStepsRecordsUsingFiltersViaTestApp()
910 sendCommandToTestAppReceiver(context, ACTION_AGGREGATE_STEPS_COUNT, extras); in aggregateStepsCount()
913 public static void sendCommandToTestAppReceiver(Context context, String action) { in sendCommandToTestAppReceiver() method in TestUtils
914 sendCommandToTestAppReceiver(context, action, /* extras= */ null); in sendCommandToTestAppReceiver()
917 public static void sendCommandToTestAppReceiver(Context context, String action, Bundle extras) { in sendCommandToTestAppReceiver() method in TestUtils
1178 sendCommandToTestAppReceiver(context, ACTION_INSERT_STEPS_RECORDS, bundle); in insertStepsRecordViaTestApp()
1196 sendCommandToTestAppReceiver(context, ACTION_INSERT_WEIGHT_RECORDS, bundle); in insertWeightRecordViaTestApp()
1209 sendCommandToTestAppReceiver(context, ACTION_INSERT_EXERCISE_RECORD, bundle); in insertExerciseRecordViaTestApp()
1221 sendCommandToTestAppReceiver(context, ACTION_INSERT_PLANNED_EXERCISE_RECORD, bundle); in insertPlannedExerciseSessionRecordViaTestApp()