Home
last modified time | relevance | path

Searched refs:AppPermissionUsage (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DPermissionUsages.java60 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage.Builder;
75 public final class PermissionUsages implements LoaderCallbacks<List<AppPermissionUsage>> {
79 private final ArrayList<AppPermissionUsage> mUsages = new ArrayList<>();
150 final List<AppPermissionUsage> usages = loader.loadInBackground(); in load()
158 public Loader<List<AppPermissionUsage>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
163 public void onLoadFinished(@NonNull Loader<List<AppPermissionUsage>> loader, in onLoadFinished()
164 List<AppPermissionUsage> usages) { in onLoadFinished()
173 public void onLoaderReset(@NonNull Loader<List<AppPermissionUsage>> loader) { in onLoaderReset()
181 public @NonNull List<AppPermissionUsage> getUsages() { in getUsages()
192 private static final class UsageLoader extends AsyncTaskLoader<List<AppPermissionUsage>> {
[all …]
DAppPermissionUsage.java64 public final class AppPermissionUsage { class
71 private AppPermissionUsage(@NonNull PermissionApp permissionApp, in AppPermissionUsage() method in AppPermissionUsage
488 public @NonNull AppPermissionUsage build() { in build()
492 return new AppPermissionUsage(mPermissionApp, mGroups, mLastUsage, mHistoricalUsage, in build()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DPermissionUsageViewModelLegacy.kt30 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage in <lambda>()
92 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
136 private fun List<AppPermissionUsage>.buildOrderedPermissionGroupsWithUsageCount( in <lambda>()
167 private fun List<AppPermissionUsage>.getRecentPermissionApps( in <lambda>()
184 private fun List<AppPermissionUsage>.displayShowSystemToggle( in <lambda>()
197 private fun List<AppPermissionUsage>.extractPlatformAppPermissionGroupsToDisplay(): in <lambda>()
DPermissionUsageDetailsViewModelLegacy.kt38 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage in <lambda>()
39 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage.TimelineUsage in <lambda>()
108 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
178 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
184 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
450 groupUsage: AppPermissionUsage.GroupUsage? in <lambda>()
468 private fun List<AppPermissionUsage>.extractAllPlatformAppPermissionGroups(): in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/model/
DWearAppPermissionUsagesViewModel.kt22 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage
25 val appPermissionUsages = MutableLiveData<List<AppPermissionUsage>>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearPermissionAppsFragment.kt33 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage in <lambda>()
172 ArrayList<AppPermissionUsage>(permissionUsages.usages) in <lambda>()
DWearAppPermissionGroupsFragment.kt40 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage
166 ArrayList<AppPermissionUsage>(permissionUsages.usages) in onPermissionUsagesChanged()
DWearPermissionAppsHelper.kt24 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage in <lambda>()
54 appPermissionUsages: List<AppPermissionUsage> in <lambda>()
DWearAppPermissionGroupsHelper.kt36 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage in <lambda>()
65 appPermissionUsages: List<AppPermissionUsage> in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/dashboard/
DAutoPermissionUsageFragment.kt38 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage
61 private var appPermissionUsages: List<AppPermissionUsage> = listOf()
DAutoPermissionUsageDetailsFragment.kt40 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage
100 private var appPermissionUsages: List<AppPermissionUsage> = listOf()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DPermissionAppsViewModel.kt52 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage in <lambda>()
353 appPermissionUsages: List<AppPermissionUsage> in <lambda>()
371 val appUsage: AppPermissionUsage = appPermissionUsages.get(appIndex) in <lambda>()
DAppPermissionGroupsViewModel.kt51 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage in <lambda>()
391 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
411 val appUsage: AppPermissionUsage = appPermissionUsages[appIndex] in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoPermissionAppsFragment.java46 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage;
90 private List<AppPermissionUsage> mAppPermissionUsages = new ArrayList<>();
DAutoAppPermissionsFragment.java52 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage;
83 private List<AppPermissionUsage> mAppPermissionUsages = new ArrayList<>();
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DDashboardUtils.kt28 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage.GroupUsage
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java55 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage;
117 private List<AppPermissionUsage> mAppPermissionUsages = new ArrayList<>();
DAppPermissionGroupsFragment.java71 import com.android.permissioncontroller.permission.model.v31.AppPermissionUsage;
118 private List<AppPermissionUsage> mAppPermissionUsages = new ArrayList<>();