Searched refs:removeFavorites (Results 1 – 5 of 5) sorted by relevance
468 whenever(controlsController.removeFavorites(eq(componentName))).thenReturn(true) in testRemovingAppsRemovesFavorite()478 verify(controlsController).removeFavorites(eq(componentName)) in testRemovingAppsRemovesFavorite()489 whenever(controlsController.removeFavorites(eq(componentName))).thenReturn(true) in testKeyguardRemovingAppsNotShowingDialog()498 verify(controlsController, never()).removeFavorites(eq(componentName)) in testKeyguardRemovingAppsNotShowingDialog()508 whenever(controlsController.removeFavorites(eq(componentName))).thenReturn(true) in testCancelRemovingAppsDoesntRemoveFavorite()518 verify(controlsController, never()).removeFavorites(eq(componentName)) in testCancelRemovingAppsDoesntRemoveFavorite()
173 fun removeFavorites(componentName: ComponentName): Boolean in loadForComponent() method
502 override fun removeFavorites(componentName: ComponentName): Boolean { in <lambda>() method
340 if (!shouldRemove || !controlsController.get().removeFavorites(componentName)) { in <lambda>()
971 controller.removeFavorites(componentName) in <lambda>()