Home
last modified time | relevance | path

Searched refs:cts (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/packages/modules/HealthFitness/tests/cts/
DAndroid.bp32 ":healthfitness-cts-testapp-srcs",
34 "src/android/healthconnect/cts/*.java",
35 "src/android/healthconnect/cts/aggregation/*.java",
36 "src/android/healthconnect/cts/backgroundread/*.java",
37 "src/android/healthconnect/cts/changelogs/*.java",
38 "src/android/healthconnect/cts/datatypes/**/*.java",
39 "src/android/healthconnect/cts/migration/*.java",
40 "src/android/healthconnect/cts/readdata/*.java",
41 "src/android/healthconnect/cts/historicaccess/HistoricAccessLimitTest.java",
43 // Tag this module as a cts test artifact
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/
DTEST_MAPPING7 "include-filter": "android.permission.cts.BackgroundPermissionsTest"
10 "include-filter": "android.permission.cts.LocationAccessCheckTest"
13 "include-filter": "android.permission.cts.NotificationListenerCheckTest"
16 "include-filter": "android.permission.cts.OneTimePermissionTest"
19 "include-filter": "android.permission.cts.PermissionControllerTest"
22 "include-filter": "android.permission.cts.PlatformPermissionGroupMappingTest"
43 "include-filter": "android.permission.cts.BackgroundPermissionsTest"
46 "include-filter": "android.permission.cts.LocationAccessCheckTest"
49 "include-filter": "android.permission.cts.NotificationListenerCheckTest"
52 "include-filter": "android.permission.cts.OneTimePermissionTest"
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecAlgorithmImplTest.java17 package android.net.cts;
23 import static android.net.cts.PacketUtils.AES_CMAC;
24 import static android.net.cts.PacketUtils.AES_CMAC_ICV_LEN;
25 import static android.net.cts.PacketUtils.AES_CMAC_KEY_LEN;
26 import static android.net.cts.PacketUtils.AES_CTR;
27 import static android.net.cts.PacketUtils.AES_CTR_BLK_SIZE;
28 import static android.net.cts.PacketUtils.AES_CTR_IV_LEN;
29 import static android.net.cts.PacketUtils.AES_CTR_KEY_LEN_20;
30 import static android.net.cts.PacketUtils.AES_CTR_KEY_LEN_28;
31 import static android.net.cts.PacketUtils.AES_CTR_KEY_LEN_36;
[all …]
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/
DAndroid.bp26 "cts-healthconnect-lib",
41 static_libs: ["cts-healthconnect-lib", "cts-healthconnect-test-helper"],
50 static_libs: ["cts-healthconnect-lib", "cts-healthconnect-test-helper"],
59 static_libs: ["cts-healthconnect-lib", "cts-healthconnect-test-helper"],
68 static_libs: ["cts-healthconnect-lib", "cts-healthconnect-test-helper"],
77 static_libs: ["cts-healthconnect-lib", "cts-healthconnect-test-helper"],
94 "cts-healthconnect-lib",
100 "cts-wm-util",
102 "cts-healthconnect-utils",
105 "cts",
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java17 package android.healthconnect.cts.nopermission;
25 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;
26 import static android.healthconnect.cts.utils.DataFactory.buildSleepSession;
27 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecordWithNonEmptyId;
28 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;
29 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;
30 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
31 import static android.healthconnect.cts.utils.PermissionHelper.grantPermissions;
32 import static android.healthconnect.cts.utils.PermissionHelper.revokeAllPermissions;
33 import static android.healthconnect.cts.utils.PermissionHelper.revokePermission;
[all …]
DHealthConnectManagerNoPermissionsGrantedTest.java17 package android.healthconnect.cts.nopermission;
31 import static android.healthconnect.cts.utils.DataFactory.NOW;
32 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;
33 import static android.healthconnect.cts.utils.DataFactory.buildSleepSession;
34 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;
35 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecordWithNonEmptyId;
36 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;
37 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;
38 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
39 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecordWithEmptyMeta…
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DTEST_MAPPING10 "include-filter": "android.permission.cts.PermissionControllerTest"
13 "include-filter": "android.permission.cts.OneTimePermissionTest"
24 "include-filter": "android.permissionui.cts.SafetyLabelChangesJobServiceTest"
35 "include-filter": "android.permission.cts.LocationAccessCheckTest"
44 "include-filter": "android.backup.cts.PermissionTest"
65 "include-annotation": "com.android.cts.devicepolicy.annotations.PermissionsTest"
82 "include-filter": "android.permission.cts.PermissionControllerTest"
85 "include-filter": "android.permission.cts.OneTimePermissionTest"
93 "include-filter": "android.permissionui.cts.SafetyLabelChangesJobServiceTest"
101 "include-filter": "android.permission.cts.LocationAccessCheckTest"
[all …]
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteWriteTest.java17 package android.healthconnect.cts.route;
19 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.assertCorrectHealthPermission…
20 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getAnotherRoute;
21 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSession;
22 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSessionWithAnother…
23 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSessionWithRoute;
24 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSessionWithoutRout…
25 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getRoute;
26 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.readAllExerciseSessionRecords…
27 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;
[all …]
DExerciseRouteManageHealthDataTest.java17 package android.healthconnect.cts.route;
19 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.ROUTE_WRITER_APP;
20 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.assertCorrectHealthPermission…
21 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSessionWithRoute;
22 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;
23 import static android.healthconnect.cts.utils.PermissionHelper.MANAGE_HEALTH_DATA;
24 import static android.healthconnect.cts.utils.TestUtils.deleteAllStagedRemoteData;
25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken;
26 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs;
27 import static android.healthconnect.cts.utils.TestUtils.readRecords;
[all …]
DReadExerciseRoutePermissionTest.java17 package android.healthconnect.cts.route;
19 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.ROUTE_WRITER_APP;
20 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.assertCorrectHealthPermission…
21 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSessionWithRoute;
22 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;
23 import static android.healthconnect.cts.utils.PermissionHelper.READ_EXERCISE_ROUTE_PERMISSION;
24 import static android.healthconnect.cts.utils.TestUtils.deleteAllStagedRemoteData;
25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken;
26 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs;
27 import static android.healthconnect.cts.utils.TestUtils.readRecords;
[all …]
DExerciseRouteNoReadWritePermissionTest.java17 package android.healthconnect.cts.route;
20 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.ROUTES_READER_WRITER_APP;
21 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.ROUTE_WRITER_APP;
22 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.assertCorrectHealthPermission…
23 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSessionWithAnother…
24 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSessionWithRoute;
25 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.getExerciseSessionWithoutRout…
26 import static android.healthconnect.cts.route.ExerciseRouteTestHelper.readAllExerciseSessionRecords…
27 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;
28 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientId;
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/
DDataEntriesFragmentTest.kt16 package android.healthconnect.cts.ui
21 import android.healthconnect.cts.lib.ActivityLauncher.launchDataActivity
22 import android.healthconnect.cts.lib.TestAppProxy
23 import android.healthconnect.cts.lib.UiTestUtils
24 import android.healthconnect.cts.lib.UiTestUtils.clickOnContentDescription
25 import android.healthconnect.cts.lib.UiTestUtils.clickOnDescContains
26 import android.healthconnect.cts.lib.UiTestUtils.clickOnText
27 import android.healthconnect.cts.lib.UiTestUtils.scrollDownToAndClick
28 import android.healthconnect.cts.lib.UiTestUtils.waitDisplayed
29 import android.healthconnect.cts.utils.RevokedHealthPermissionRule
[all …]
DDataAccessFragmentTest.kt16 package android.healthconnect.cts.ui
20 import android.healthconnect.cts.lib.ActivityLauncher.launchDataActivity
21 import android.healthconnect.cts.lib.UiTestUtils.clickOnText
22 import android.healthconnect.cts.lib.UiTestUtils.stepsRecordFromTestApp
23 import android.healthconnect.cts.lib.UiTestUtils.waitDisplayed
24 import android.healthconnect.cts.utils.TestUtils
25 import android.healthconnect.cts.utils.TestUtils.insertRecords
26 import android.healthconnect.cts.utils.TestUtils.verifyDeleteRecords
DCategoriesFragmentTest.kt16 package android.healthconnect.cts.ui
22 import android.healthconnect.cts.lib.ActivityLauncher.launchDataActivity
23 import android.healthconnect.cts.lib.UiTestUtils.clickOnText
24 import android.healthconnect.cts.lib.UiTestUtils.stepsRecordFromTestApp
25 import android.healthconnect.cts.lib.UiTestUtils.waitDisplayed
26 import android.healthconnect.cts.utils.TestUtils
27 import android.healthconnect.cts.utils.TestUtils.insertRecords
28 import android.healthconnect.cts.utils.TestUtils.verifyDeleteRecords
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DTestAppHelper.java17 package android.healthconnect.cts.testhelper;
19 import static android.healthconnect.cts.lib.BundleHelper.DELETE_RECORDS_QUERY;
20 import static android.healthconnect.cts.lib.BundleHelper.GET_CHANGE_LOG_TOKEN_QUERY;
21 import static android.healthconnect.cts.lib.BundleHelper.INSERT_RECORDS_QUERY;
22 import static android.healthconnect.cts.lib.BundleHelper.INTENT_EXCEPTION;
23 import static android.healthconnect.cts.lib.BundleHelper.KILL_SELF_REQUEST;
24 import static android.healthconnect.cts.lib.BundleHelper.QUERY_TYPE;
25 import static android.healthconnect.cts.lib.BundleHelper.READ_CHANGE_LOGS_QUERY;
26 import static android.healthconnect.cts.lib.BundleHelper.READ_RECORDS_QUERY;
27 import static android.healthconnect.cts.lib.BundleHelper.READ_RECORDS_USING_IDS_QUERY;
[all …]
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DProperty.java16 package com.android.cts.netpolicy.hostside;
18 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.canChangeActiveNetworkMeter…
19 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isActiveNetworkMetered;
20 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isAppStandbySupported;
21 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isBatterySaverSupported;
22 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isDataSaverSupported;
23 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isDozeModeSupported;
24 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isLowRamDevice;
DConnOnActivityStartTest.java17 package com.android.cts.netpolicy.hostside;
23 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.getUiDevice;
24 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.setRestrictBackground;
25 import static com.android.cts.netpolicy.hostside.Property.APP_STANDBY_MODE;
26 import static com.android.cts.netpolicy.hostside.Property.BATTERY_SAVER_MODE;
27 import static com.android.cts.netpolicy.hostside.Property.DATA_SAVER_MODE;
28 import static com.android.cts.netpolicy.hostside.Property.DOZE_MODE;
29 import static com.android.cts.netpolicy.hostside.Property.METERED_NETWORK;
30 import static com.android.cts.netpolicy.hostside.Property.NON_METERED_NETWORK;
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateOtherAppsDataTest.java16 package android.healthconnect.cts.aggregation;
23 import static android.healthconnect.cts.utils.DataFactory.NOW;
24 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSessionWithEmptyMetadata;
25 import static android.healthconnect.cts.utils.DataFactory.buildSleepSessionWithEmptyMetadata;
26 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecordWithEmptyMetadata;
27 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecordWithEmptyMetadata;
28 import static android.healthconnect.cts.utils.DataFactory.getStepsRecordWithEmptyMetaData;
29 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecordWithEmptyMeta…
30 import static android.healthconnect.cts.utils.TestUtils.deleteAllStagedRemoteData;
31 import static android.healthconnect.cts.utils.TestUtils.setupAggregation;
[all …]
DSleepDurationAggregationTest.java17 package android.healthconnect.cts.aggregation;
20 import static android.healthconnect.cts.utils.DataFactory.SESSION_END_TIME;
21 import static android.healthconnect.cts.utils.DataFactory.SESSION_START_TIME;
22 import static android.healthconnect.cts.utils.DataFactory.generateMetadata;
23 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse;
24 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponseGroupByDuration;
25 import static android.healthconnect.cts.utils.TestUtils.insertRecord;
26 import static android.healthconnect.cts.utils.TestUtils.insertRecords;
27 import static android.healthconnect.cts.utils.TestUtils.setupAggregation;
37 import android.healthconnect.cts.utils.AssumptionCheckerRule;
[all …]
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DAccessibilityPrivacySourceTest.kt17 package android.permission.cts
19 import android.accessibility.cts.common.InstrumentedAccessibilityService
20 import android.accessibility.cts.common.InstrumentedAccessibilityServiceTestRule
27 import android.permission.cts.CtsNotificationListenerServiceUtils.assertEmptyNotification
28 import android.permission.cts.CtsNotificationListenerServiceUtils.assertNotificationExist
29 import android.permission.cts.CtsNotificationListenerServiceUtils.cancelNotification
30 import android.permission.cts.CtsNotificationListenerServiceUtils.cancelNotifications
31 import android.permission.cts.CtsNotificationListenerServiceUtils.getNotification
32 import android.permission.cts.SafetyCenterUtils.assertSafetyCenterIssueDoesNotExist
33 import android.permission.cts.SafetyCenterUtils.assertSafetyCenterIssueExist
[all …]
/packages/modules/AdServices/adservices/tests/cts/
DAndroid.bp30 // Tag this module as a cts test artifact
36 "cts",
51 "cts-wm-util",
79 // Tag this module as a cts test artifact
82 "src/android/adservices/cts/*.java",
99 "cts-wm-util",
127 // Tag this module as a cts test artifact
133 "cts",
148 "cts-wm-util",
177 // Tag this module as a cts test artifact
[all …]
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/
DMyBroadcastReceiver.java17 package com.android.cts.netpolicy.hostside.app2;
21 import static com.android.cts.netpolicy.hostside.app2.Common.ACTION_RECEIVER_READY;
22 import static com.android.cts.netpolicy.hostside.app2.Common.ACTION_SHOW_TOAST;
23 import static com.android.cts.netpolicy.hostside.app2.Common.ACTION_SNOOZE_WARNING;
24 import static com.android.cts.netpolicy.hostside.app2.Common.MANIFEST_RECEIVER;
25 import static com.android.cts.netpolicy.hostside.app2.Common.NOTIFICATION_TYPE_ACTION;
26 import static com.android.cts.netpolicy.hostside.app2.Common.NOTIFICATION_TYPE_ACTION_BUNDLE;
27 import static com.android.cts.netpolicy.hostside.app2.Common.NOTIFICATION_TYPE_ACTION_REMOTE_INPUT;
28 import static com.android.cts.netpolicy.hostside.app2.Common.NOTIFICATION_TYPE_BUNDLE;
29 import static com.android.cts.netpolicy.hostside.app2.Common.NOTIFICATION_TYPE_CONTENT;
[all …]
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/dailyjob/
DDailyDeleteAccessLogTest.java17 package android.healthconnect.cts.dailyjob;
19 import static android.healthconnect.cts.HostSideTestUtil.DAILY_LOG_TESTS_ACTIVITY;
20 import static android.healthconnect.cts.HostSideTestUtil.clearData;
21 import static android.healthconnect.cts.HostSideTestUtil.increaseDeviceTimeByDays;
22 import static android.healthconnect.cts.HostSideTestUtil.isHardwareSupported;
23 import static android.healthconnect.cts.HostSideTestUtil.resetTime;
24 import static android.healthconnect.cts.HostSideTestUtil.triggerDailyJob;
25 import static android.healthconnect.cts.HostSideTestUtil.triggerTestInTestApp;
/packages/modules/Permission/service/java/com/android/role/
DTEST_MAPPING7 … "include-filter": "android.appsecurity.cts.StatsdAppSecurityAtomTest#testRoleHolder"
26 …"exclude-filter": "android.app.role.cts.RoleManagerTest#openDefaultAppListThenIsNotDefaultAppInLis…
29 …"exclude-filter": "android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenPermissionIsRevoked"
43 …"exclude-filter": "android.app.role.cts.RoleManagerTest#openDefaultAppListThenIsNotDefaultAppInLis…
46 …"exclude-filter": "android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenPermissionIsRevoked"
59 … "include-filter": "android.appsecurity.cts.StatsdAppSecurityAtomTest#testRoleHolder"
73 …"exclude-filter": "android.app.role.cts.RoleManagerTest#openDefaultAppListThenIsNotDefaultAppInLis…
76 …"exclude-filter": "android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenPermissionIsRevoked"
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/permissions/
DManageAppHealthPermissionUITest.kt17 package android.healthconnect.cts.ui.permissions
23 import android.healthconnect.cts.lib.ActivityLauncher.launchMainActivity
24 import android.healthconnect.cts.lib.UiTestUtils.TEST_APP_PACKAGE_NAME
25 import android.healthconnect.cts.lib.UiTestUtils.clickOnContentDescription
26 import android.healthconnect.cts.lib.UiTestUtils.clickOnText
27 import android.healthconnect.cts.lib.UiTestUtils.grantPermissionViaPackageManager
28 import android.healthconnect.cts.lib.UiTestUtils.navigateBackToHomeScreen
29 import android.healthconnect.cts.lib.UiTestUtils.revokePermissionViaPackageManager
30 import android.healthconnect.cts.lib.UiTestUtils.waitDisplayed
31 import android.healthconnect.cts.ui.HealthConnectBaseTest

12345678910>>...42