Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage Stats Manager #220

Merged
merged 14 commits into from
Nov 10, 2024
Merged

Usage Stats Manager #220

merged 14 commits into from
Nov 10, 2024

Conversation

JackEblan
Copy link
Owner

@JackEblan JackEblan commented Nov 8, 2024

Added foreground service for usage stats monitor and remove hilt entry point from broad cast receiver as it is supported by AndroidEntryPoint

What I have done and why

Include a summary of what your pull request contains, and why you have made these changes.

Fixes #218

How I'm testing it

Choose at least one:

  • Unit tests
  • UI tests
  • Screenshot tests
  • N/A (provide justification)

Do tests pass?

  • Run local tests on DemoDebug variant: ./gradlew testDemoDebug
  • Check formatting: ./gradlew --init-script gradle/init.gradle.kts spotlessApply

…y point from broad cast receiver as it is supported by AndroidEntryPoint
@JackEblan
Copy link
Owner Author

TODO: Tomorrow, implement the logic inside UsageStatsService

Copy link

github-actions bot commented Nov 8, 2024

Combined test coverage report

Overall Project 74.58% -0.05% 🍏
Files changed 53.13%

Module Coverage
app-settings 84.16% -0.03%
design-system 69.93% -0.23%
app 30.09% -0.16% 🍏
Files
Module File Coverage
app-settings AppSettingsViewModel.kt 72.38% -0.4%
design-system GetoIcons.kt 0% -12.07%
app TopLevelDestination.kt 100% 🍏
GetoNavHost.kt 52.27% -1.3%

Copy link

github-actions bot commented Nov 8, 2024

Combined test coverage report

Overall Project 74.44% -0.14% 🍏
Files changed 29.31%

Module Coverage
app-settings 84.16% -0.03%
domain 71.72% -4.74%
design-system 69.93% -0.23%
app 30.09% -0.16% 🍏
Files
Module File Coverage
app-settings AppSettingsViewModel.kt 72.38% -0.4%
domain ForegroundServiceAppSettingsUseCase.kt 0% -74.29%
design-system GetoIcons.kt 0% -12.07%
app TopLevelDestination.kt 100% 🍏
GetoNavHost.kt 52.27% -1.3%

Copy link

Combined test coverage report

Overall Project 73.6% -2.67% 🍏
Files changed 41.02%

Module Coverage
app-settings 83.64% -1.52%
domain 82.66% 🍏
settings 77.29% -0.28% 🍏
design-system 66.16% -8.76%
apps 60.44% -1.9%
service 37.15% -53.72%
app 30.09% -0.16% 🍏
Files
Module File Coverage
app-settings AppSettingsScreen.kt 80.46% -3.83%
AppSettingsViewModel.kt 71.81% -1.38%
domain ForegroundServiceAppSettingsUseCase.kt 100% 🍏
settings SettingsScreen.kt 80.75% -0.59% 🍏
SettingsViewModel.kt 15.61% 🍏
design-system WavyCircle.kt 47.4% -51.14%
GetoIcons.kt 0% -12.07%
apps AppsScreen.kt 62.57% -2.71%
service ServiceViewModel.kt 100% 🍏
ServiceScreen.kt 34.11% -64.88%
ServiceRouteData.kt 0% -66.67%
ServiceNavigation.kt 0% -56%
ServiceUiState.kt 0% -75%
app TopLevelDestination.kt 100% 🍏
GetoNavHost.kt 52.27% -1.3%

Copy link

Combined test coverage report

Overall Project 73.59% -2.69% 🍏
Files changed 40.74%

Module Coverage
app-settings 83.64% -1.52%
domain 82.66% 🍏
settings 77.29% -0.28% 🍏
design-system 66.05% -8.87%
apps 60.44% -1.9%
service 37.15% -53.72%
app 30.09% -0.16% 🍏
Files
Module File Coverage
app-settings AppSettingsScreen.kt 80.46% -3.83%
AppSettingsViewModel.kt 71.81% -1.38%
domain ForegroundServiceAppSettingsUseCase.kt 100% 🍏
settings SettingsScreen.kt 80.75% -0.59% 🍏
SettingsViewModel.kt 15.61% 🍏
design-system WavyCircle.kt 46.75% -51.79%
GetoIcons.kt 0% -12.07%
apps AppsScreen.kt 62.57% -2.71%
service ServiceViewModel.kt 100% 🍏
ServiceScreen.kt 34.11% -64.88%
ServiceRouteData.kt 0% -66.67%
ServiceNavigation.kt 0% -56%
ServiceUiState.kt 0% -75%
app TopLevelDestination.kt 100% 🍏
GetoNavHost.kt 52.27% -1.3%

@JackEblan JackEblan self-assigned this Nov 10, 2024
Copy link

Combined test coverage report

Overall Project 73.59% -2.69% 🍏
Files changed 40.74%

Module Coverage
app-settings 83.64% -1.52%
domain 82.66% 🍏
settings 77.29% -0.28% 🍏
design-system 66.05% -8.87%
apps 60.44% -1.9%
service 37.15% -53.72%
app 30.09% -0.16% 🍏
Files
Module File Coverage
app-settings AppSettingsScreen.kt 80.46% -3.83%
AppSettingsViewModel.kt 71.81% -1.38%
domain ForegroundServiceAppSettingsUseCase.kt 100% 🍏
settings SettingsScreen.kt 80.75% -0.59% 🍏
SettingsViewModel.kt 15.61% 🍏
design-system WavyCircle.kt 46.75% -51.79%
GetoIcons.kt 0% -12.07%
apps AppsScreen.kt 62.57% -2.71%
service ServiceViewModel.kt 100% 🍏
ServiceScreen.kt 34.11% -64.88%
ServiceRouteData.kt 0% -66.67%
ServiceNavigation.kt 0% -56%
ServiceUiState.kt 0% -75%
app TopLevelDestination.kt 100% 🍏
GetoNavHost.kt 52.27% -1.3%

Copy link

Combined test coverage report

Overall Project 73.61% -2.69% 🍏
Files changed 40.74%

Module Coverage
app-settings 83.64% -1.52%
domain 82.66% 🍏
settings 77.29% -0.28% 🍏
design-system 66.05% -8.87%
apps 60.44% -1.9%
service 37.15% -53.72%
app 30.09% -0.16% 🍏
Files
Module File Coverage
app-settings AppSettingsScreen.kt 80.46% -3.83%
AppSettingsViewModel.kt 71.81% -1.38%
domain ForegroundServiceAppSettingsUseCase.kt 100% 🍏
settings SettingsScreen.kt 80.75% -0.59% 🍏
SettingsViewModel.kt 15.61% 🍏
design-system WavyCircle.kt 46.75% -51.79%
GetoIcons.kt 0% -12.07%
apps AppsScreen.kt 62.57% -2.71%
service ServiceViewModel.kt 100% 🍏
ServiceScreen.kt 34.11% -64.88%
ServiceRouteData.kt 0% -66.67%
ServiceNavigation.kt 0% -56%
ServiceUiState.kt 0% -75%
app TopLevelDestination.kt 100% 🍏
GetoNavHost.kt 52.27% -1.3%

Copy link

Combined test coverage report

Overall Project 73.61% -2.69% 🍏
Files changed 40.74%

Module Coverage
app-settings 83.64% -1.52%
domain 82.66% 🍏
settings 77.29% -0.28% 🍏
design-system 66.05% -8.87%
apps 60.44% -1.9%
service 37.15% -53.72%
app 30.09% -0.16% 🍏
Files
Module File Coverage
app-settings AppSettingsScreen.kt 80.46% -3.83%
AppSettingsViewModel.kt 71.81% -1.38%
domain ForegroundServiceAppSettingsUseCase.kt 100% 🍏
settings SettingsScreen.kt 80.75% -0.59% 🍏
SettingsViewModel.kt 15.61% 🍏
design-system WavyCircle.kt 46.75% -51.79%
GetoIcons.kt 0% -12.07%
apps AppsScreen.kt 62.57% -2.71%
service ServiceViewModel.kt 100% 🍏
ServiceScreen.kt 34.11% -64.88%
ServiceRouteData.kt 0% -66.67%
ServiceNavigation.kt 0% -56%
ServiceUiState.kt 0% -75%
app TopLevelDestination.kt 100% 🍏
GetoNavHost.kt 52.27% -1.3%

Copy link

Combined test coverage report

Overall Project 73.59% -2.69% 🍏
Files changed 40.74%

Module Coverage
app-settings 83.64% -1.52%
domain 82.66% 🍏
settings 77.29% -0.28% 🍏
design-system 66.05% -8.87%
apps 60.44% -1.9%
service 37.15% -53.72%
app 30.09% -0.16% 🍏
Files
Module File Coverage
app-settings AppSettingsScreen.kt 80.46% -3.83%
AppSettingsViewModel.kt 71.81% -1.38%
domain ForegroundServiceAppSettingsUseCase.kt 100% 🍏
settings SettingsScreen.kt 80.75% -0.59% 🍏
SettingsViewModel.kt 15.61% 🍏
design-system WavyCircle.kt 46.75% -51.79%
GetoIcons.kt 0% -12.07%
apps AppsScreen.kt 62.57% -2.71%
service ServiceViewModel.kt 100% 🍏
ServiceScreen.kt 34.11% -64.88%
ServiceRouteData.kt 0% -66.67%
ServiceNavigation.kt 0% -56%
ServiceUiState.kt 0% -75%
app TopLevelDestination.kt 100% 🍏
GetoNavHost.kt 52.27% -1.3%

@JackEblan JackEblan merged commit 250114f into master Nov 10, 2024
3 checks passed
@JackEblan JackEblan deleted the usage-stats-manager branch November 10, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detect Opening and Closing of any applications
1 participant