Home
last modified time | relevance | path

Searched refs:getDurationUsedStr (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/handheld/v31/
DDashboardUtilsTest.kt21 import com.android.permissioncontroller.permission.ui.handheld.v31.getDurationUsedStr
91 assertThat(getDurationUsedStr(ApplicationProvider.getApplicationContext(), duration)) in getDurationUsedStr_durationSecondsOne()
98 assertThat(getDurationUsedStr(ApplicationProvider.getApplicationContext(), duration)) in getDurationUsedStr_durationSecondsOther()
105 assertThat(getDurationUsedStr(ApplicationProvider.getApplicationContext(), duration)) in getDurationUsedStr_durationMinutesOne()
112 assertThat(getDurationUsedStr(ApplicationProvider.getApplicationContext(), duration)) in getDurationUsedStr_durationMinutesOther()
119 assertThat(getDurationUsedStr(ApplicationProvider.getApplicationContext(), duration)) in getDurationUsedStr_durationHoursOne()
126 assertThat(getDurationUsedStr(ApplicationProvider.getApplicationContext(), duration)) in getDurationUsedStr_durationHoursOther()
133 assertThat(getDurationUsedStr(ApplicationProvider.getApplicationContext(), duration)) in getDurationUsedStr_durationDaysOne()
140 assertThat(getDurationUsedStr(ApplicationProvider.getApplicationContext(), duration)) in getDurationUsedStr_durationDaysOther()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DPermissionUsageDetailsViewModelLegacy.kt41 import com.android.permissioncontroller.permission.ui.handheld.v31.getDurationUsedStr in <lambda>()
387 return getDurationUsedStr(context, durationMs) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DDashboardUtils.kt128 fun getDurationUsedStr(context: Context, duration: Long): String { in getDurationUsedStr() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DPermissionUsageDetailsViewModel.kt57 import com.android.permissioncontroller.permission.ui.handheld.v31.getDurationUsedStr in <lambda>()
482 return getDurationUsedStr(context, durationMs) in <lambda>()