Searched refs:PKG_TEST_APP (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/backgroundread/ |
D | BackgroundReadTest.java | 75 private static final String PKG_TEST_APP = "android.healthconnect.test.app"; field in BackgroundReadTest 121 readStepsRecordsUsingFiltersViaTestApp(mContext, List.of(PKG_TEST_APP)); in testReadRecordsByFilters_inBackgroundWithoutPermission_canReadOwnData() 140 mContext, List.of(mContext.getPackageName(), PKG_TEST_APP)); in testReadRecordsByFilters_inBackgroundWithPermission_canReadBothOwnAndOtherAppsData() 197 aggregateStepsCount(mContext, List.of(mContext.getPackageName(), PKG_TEST_APP)); in testAggregate_inBackgroundWithoutPermission_expectSecurityError() 215 setupAggregation(List.of(mContext.getPackageName(), PKG_TEST_APP), ACTIVITY); in testAggregate_inBackgroundWithPermission_canAggregateBothOwnAndOtherAppsData() local 217 aggregateStepsCount(mContext, List.of(mContext.getPackageName(), PKG_TEST_APP)); in testAggregate_inBackgroundWithPermission_canAggregateBothOwnAndOtherAppsData() 267 PKG_TEST_APP, READ_HEALTH_DATA_IN_BACKGROUND, mContext.getUser())); in grantBackgroundReadPermissionForTestApp() 274 PKG_TEST_APP, READ_HEALTH_DATA_IN_BACKGROUND, mContext.getUser())); in revokeBackgroundReadPermissionForTestApp()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | AggregateWithFiltersTest.java | 36 import static android.healthconnect.cts.utils.TestUtils.PKG_TEST_APP; 112 ACTIVITY, ImmutableList.of(PKG_TEST_APP, mPackageName)); in dataOriginFilter_noFilter_everythingIncluded() 123 .containsExactly(getDataOrigin(mPackageName), getDataOrigin(PKG_TEST_APP)); in dataOriginFilter_noFilter_everythingIncluded() 135 ACTIVITY, ImmutableList.of(PKG_TEST_APP, mPackageName)); in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 141 .addDataOriginsFilter(getDataOrigin(PKG_TEST_APP)) in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 147 .containsExactly(getDataOrigin(PKG_TEST_APP)); in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 163 ACTIVITY, ImmutableList.of(PKG_TEST_APP, mPackageName)); in dataOriginFilter_invalidApp_noDataReturned() 208 updatePriorityWithManageHealthDataPermission(ACTIVITY, ImmutableList.of(PKG_TEST_APP)); in dataOriginFilter_appNotInPriorityList_noDataReturned() 249 ACTIVITY, ImmutableList.of(PKG_TEST_APP, mPackageName)); in dataOriginFilter_noDataFromFilteredApps_noDataReturned() 334 ACTIVITY, ImmutableList.of(PKG_TEST_APP, mPackageName)); in timeRangeFilter_priorityType_outOfRangePriorityDataTrimmed() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/readdata/ |
D | ReadByFilterTests.java | 24 import static android.healthconnect.cts.utils.TestUtils.PKG_TEST_APP; 141 .addDataOrigins(getDataOrigin(PKG_TEST_APP)) in filterByDataOrigin_dataOfOtherOriginsExcluded()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 187 public static final String PKG_TEST_APP = "android.healthconnect.test.app"; field in TestUtils 189 PKG_TEST_APP + "." + TestAppReceiver.class.getSimpleName(); 923 final Intent intent = new Intent(action).setClassName(PKG_TEST_APP, TEST_APP_RECEIVER); in sendCommandToTestAppReceiver()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | PlannedExerciseSessionRecordTest.java | 832 .setPackageName(TestUtils.PKG_TEST_APP) in referenceToTrainingPlanNullified_changelogsBelongToOwnersOfRespectiveRecords() 920 .setPackageName(TestUtils.PKG_TEST_APP) in trainingPlanDeleted_changelogsBelongToOwnersOfRespectiveRecords()
|