Searched refs:testComponent (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/ |
D | NotificationListenerCheckInternalTest.kt | 174 val testComponent = ComponentName("com.test.package", "TestClass") in removeDisabledComponentsFromNotifiedComponents() constant 176 val initialEnabledComponents = listOf(testComponent, testComponent2) in removeDisabledComponentsFromNotifiedComponents() 211 val testComponent = ComponentName("com.test.package", "TestClass") in markAsNotified() constant 217 notificationListenerCheck.markComponentAsNotified(testComponent) in markAsNotified() 220 .filter { it == testComponent } in markAsNotified() 226 val testComponent = ComponentName("com.test.package", "TestClass") in markAsNotified_notifySecondComponent() constant 231 notificationListenerCheck.markComponentAsNotified(testComponent) in markAsNotified_notifySecondComponent() 239 nlsComponents.filter { it == testComponent }.also { assertThat(it.size).isEqualTo(1) } in markAsNotified_notifySecondComponent() 256 val testComponent = ComponentName("com.test.package", "TestClass") in markAsNotified_notifySecondComponent_ensureFirstComponentNotModified() constant 261 notificationListenerCheck.markComponentAsNotified(testComponent) in markAsNotified_notifySecondComponent_ensureFirstComponentNotModified() [all …]
|
D | AccessibilitySourceServiceTest.kt | 115 val testComponent = ComponentName("com.test.package", "TestClass") in markAsNotifiedWithSecondComponent() constant 119 accessibilitySourceService.markServiceAsNotified(testComponent) in markAsNotifiedWithSecondComponent() 124 .isEqualTo(testComponent.flattenToShortString()) in markAsNotifiedWithSecondComponent() 131 val expectedServices = listOf(testComponent, testComponent2) in markAsNotifiedWithSecondComponent() 157 val testComponent = ComponentName("com.test.package", "TestClass") in removePackageState() constant 160 val testComponents = listOf(testComponent, testComponent2, testComponent3) in removePackageState() 164 accessibilitySourceService.removePackageState(testComponent.packageName) in removePackageState() 174 val testComponent = ComponentName("com.test.package", "TestClass") in removePackageStateWithMultipleServicePerPackage() constant 176 val testComponents = listOf(testComponent, testComponent2) in removePackageStateWithMultipleServicePerPackage() 180 accessibilitySourceService.removePackageState(testComponent.packageName) in removePackageStateWithMultipleServicePerPackage() [all …]
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/ |
D | UtilsTest.kt | 140 val testComponent = ComponentName("com.test.package", "TestClass") in getPackageInfoForComponentName_NonExistComponent_throwsNameNotFoundException() constant 142 Utils.getPackageInfoForComponentName(context, testComponent) in getPackageInfoForComponentName_NonExistComponent_throwsNameNotFoundException()
|