/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/prioritylist/ |
D | PriorityListAdapterTest.kt | 7 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/ |
D | LoadPotentialPriorityListUseCaseTest.kt | 39 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>()
|
D | LoadPriorityEntriesUseCaseTest.kt | 23 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>()
|
D | LoadLastDateWithPriorityDataUseCaseTest.kt | 24 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/ |
D | LoadHealthPermissionAppsTest.kt | 27 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/ |
D | LoadPermissionTypeContributorAppsUseCaseTest.kt | 19 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>()
|
D | LoadAccessUseCaseTest.kt | 17 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/ |
D | LoadPriorityListUseCaseTest.kt | 13 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>()
|
D | UpdatePriorityListUseCaseTest.kt | 12 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>()
|
D | LoadContributingAppsUseCaseTest.kt | 21 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>()
|
D | FilterPermissionTypesUseCaseTest.kt | 21 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>()
|
D | LoadPermissionTypesUseCaseTest.kt | 21 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/ |
D | GetContributorAppInfoUseCaseTest.kt | 33 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/ |
D | AppDataViewModelTest.kt | 36 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/ |
D | AllDataViewModelTest.kt | 35 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/ |
D | HealthPermissionReaderTest.kt | 16 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/ |
D | RecentAccessViewModelTest.kt | 36 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/ |
D | RouteRequestActivityTest.kt | 53 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/ |
D | TestConstants.kt | 426 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)
|