Home
last modified time | relevance | path

Searched refs:isPackageSupported (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt145 if (isPackageSupported(packageName)) { in <lambda>()
315 if (isPackageSupported(packageName)) { in <lambda>()
341 return isPackageSupported(packageName) || hasGrantedPermissions(packageName) in <lambda>()
364 fun isPackageSupported(packageName: String): Boolean { in <lambda>() method in com.android.healthconnect.controller.permissions.app.AppPermissionViewModel
DSettingsManageAppPermissionsFragment.kt227 if (viewModel.isPackageSupported(packageName)) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManageAppPermissionsFragmentTest.kt236 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { false } in <lambda>()
274 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { false } in <lambda>()
304 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { true } in <lambda>()
333 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { true } in <lambda>()
442 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { true } in <lambda>()
492 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { true } in <lambda>()
542 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { true } in <lambda>()
DSettingsActivityTest.kt122 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { false } in <lambda>()
140 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { true } in <lambda>()
157 whenever(viewModel.isPackageSupported(TEST_APP_PACKAGE_NAME)).then { false } in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DAppPermissionViewModelTest.kt620 appPermissionViewModel.isPackageSupported(TEST_APP_PACKAGE_NAME) in isPackageSupported_callsCorrectMethod()