Home
last modified time | relevance | path

Searched refs:TEST_APP_PACKAGE_NAME_2 (Results 1 – 19 of 19) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/prioritylist/
DPriorityListAdapterTest.kt7 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2
41 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2), in <lambda>()
46 TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2, TEST_APP_PACKAGE_NAME_3) in <lambda>()
55 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2), in <lambda>()
61 TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_3, TEST_APP_PACKAGE_NAME_2) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadPotentialPriorityListUseCaseTest.kt39 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
102 .isEqualTo(setOf(TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2)) in <lambda>()
114 .isEqualTo(setOf(TEST_APP_PACKAGE_NAME_2)) in <lambda>()
123 listOf(TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2, TEST_APP_PACKAGE_NAME_3)) in <lambda>()
131 whenever(healthPermissionManager.getGrantedHealthPermissions(TEST_APP_PACKAGE_NAME_2)) in <lambda>()
155 listOf(TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2, TEST_APP_PACKAGE_NAME_3)) in <lambda>()
162 whenever(healthPermissionManager.getGrantedHealthPermissions(TEST_APP_PACKAGE_NAME_2)) in <lambda>()
178 .isEqualTo(setOf(TEST_APP_PACKAGE_NAME_2)) in <lambda>()
221 DataOrigin.Builder().setPackageName(TEST_APP_PACKAGE_NAME_2).build() in <lambda>()
DLoadPriorityEntriesUseCaseTest.kt23 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
110 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
168 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
184 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
251 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
265 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
281 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
DLoadLastDateWithPriorityDataUseCaseTest.kt24 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
227 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
267 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
314 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
359 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
406 packageName = TEST_APP_PACKAGE_NAME_2, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DLoadHealthPermissionAppsTest.kt27 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2
86 .thenReturn(listOf(TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2)) in <lambda>()
89 loadGrantedHealthPermissionsUseCase.updateData(TEST_APP_PACKAGE_NAME_2, listOf()) in <lambda>()
102 val testApp2Metadata = appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2) in <lambda>()
120 val testApp2Metadata = appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2) in <lambda>()
123 getContributorAppInfoUseCase.setAppInfo(mapOf(TEST_APP_PACKAGE_NAME_2 to testApp2Metadata)) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DLoadPermissionTypeContributorAppsUseCaseTest.kt19 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
80 getDataOrigin(TEST_APP_PACKAGE_NAME_2))), in <lambda>()
85 listOf((getDataOrigin(TEST_APP_PACKAGE_NAME_2)))), in <lambda>()
98 assertThat(result[1].packageName).isEqualTo(TEST_APP_PACKAGE_NAME_2) in <lambda>()
DLoadAccessUseCaseTest.kt17 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2
87 .isEqualTo(TEST_APP_PACKAGE_NAME_2) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DLoadPriorityListUseCaseTest.kt13 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
52 getDataOrigin(TEST_APP_PACKAGE_NAME), getDataOrigin(TEST_APP_PACKAGE_NAME_2))) in <lambda>()
67 .contains(appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2)) in <lambda>()
DUpdatePriorityListUseCaseTest.kt12 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
59 val updatedPriorityList = listOf(TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2) in <lambda>()
69 getDataOrigin(TEST_APP_PACKAGE_NAME), getDataOrigin(TEST_APP_PACKAGE_NAME_2))) in <lambda>()
DLoadContributingAppsUseCaseTest.kt21 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
69 listOf(getDataOrigin(TEST_APP_PACKAGE_NAME_2)))) in <lambda>()
82 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2))) in <lambda>()
DFilterPermissionTypesUseCaseTest.kt21 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
67 listOf(getDataOrigin(TEST_APP_PACKAGE_NAME_2)))) in <lambda>()
80 usecase.invoke(HealthDataCategory.ACTIVITY, TEST_APP_PACKAGE_NAME_2) in <lambda>()
DLoadPermissionTypesUseCaseTest.kt21 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
67 listOf(getDataOrigin(TEST_APP_PACKAGE_NAME_2)))) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/
DGetContributorAppInfoUseCaseTest.kt33 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
82 AppInfo.Builder(TEST_APP_PACKAGE_NAME_2, TEST_APP_NAME_2, bitmap).build(), in <lambda>()
92 assertThat(result).containsKey(TEST_APP_PACKAGE_NAME_2) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/appdata/
DAppDataViewModelTest.kt36 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
125 getDataOrigin(TEST_APP_PACKAGE_NAME_2))), in <lambda>()
130 listOf((getDataOrigin(TEST_APP_PACKAGE_NAME_2)))), in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/alldata/
DAllDataViewModelTest.kt35 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
121 getDataOrigin(TEST_APP_PACKAGE_NAME_2))), in <lambda>()
126 listOf((getDataOrigin(TEST_APP_PACKAGE_NAME_2)))), in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DHealthPermissionReaderTest.kt16 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2
138 .containsAtLeast(TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2) in <lambda>()
168 .containsNoneOf(TEST_APP_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/recentaccess/
DRecentAccessViewModelTest.kt36 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
92 val packageName = TEST_APP_PACKAGE_NAME_2 in <lambda>()
158 val packageName2 = TEST_APP_PACKAGE_NAME_2 in <lambda>()
329 val packageName = TEST_APP_PACKAGE_NAME_2 in <lambda>()
482 val packageName2 = TEST_APP_PACKAGE_NAME_2 in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/
DRouteRequestActivityTest.kt53 import com.android.healthconnect.controller.tests.utils.TEST_APP_PACKAGE_NAME_2 in <lambda>()
256 .putExtra(Intent.EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2) in <lambda>()
348 .putExtra(Intent.EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2) in <lambda>()
591 .putExtra(Intent.EXTRA_PACKAGE_NAME, TEST_APP_PACKAGE_NAME_2) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt426 const val TEST_APP_PACKAGE_NAME_2 = "android.healthconnect.controller.test.app2" constant
438 AppMetadata(packageName = TEST_APP_PACKAGE_NAME_2, appName = TEST_APP_NAME_2, icon = null)