Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DManageCameraPermissionsPreferenceController.java51 private int mNumTotal = 0; field in ManageCameraPermissionsPreferenceController
92 mNumTotal = 0; in updateState()
103 setAppCounts(mNumTotal, mNumHasAccess); in updateState()
112 mNumTotal += numApps; in updateState()
114 setAppCounts(mNumTotal, mNumHasAccess); in updateState()
123 setAppCounts(mNumTotal, mNumHasAccess); in updateState()
DManageMicPermissionsPreferenceController.java52 private int mNumTotal = 0; field in ManageMicPermissionsPreferenceController
109 mNumTotal = 0; in updateState()
120 setAppCounts(mNumTotal, mNumHasAccess); in updateState()
129 mNumTotal += numApps; in updateState()
131 setAppCounts(mNumTotal, mNumHasAccess); in updateState()
140 setAppCounts(mNumTotal, mNumHasAccess); in updateState()
/packages/apps/Settings/src/com/android/settings/location/
DAppLocationPermissionPreferenceController.java36 int mNumTotal = -1; field in AppLocationPermissionPreferenceController
63 if (mNumTotal == -1 || mNumHasLocation == -1) { in getSummary()
68 arguments.put("total", mNumTotal); in getSummary()
92 mNumTotal = numTotal; in setAppCounts()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DAppLocationPermissionPreferenceControllerTest.java91 mController.mNumTotal = 1; in getSummary_whenLocationAppCountIsOne_shouldShowSingularString()
104 mController.mNumTotal = 10; in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()