Home
last modified time | relevance | path

Searched refs:mOldUsageInfos (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/privacy/
DPermissionBarChartPreferenceController.java63 List<RuntimePermissionUsageInfo> mOldUsageInfos; field in PermissionBarChartPreferenceController
70 mOldUsageInfos = new ArrayList<>(); in PermissionBarChartPreferenceController()
81 mOldUsageInfos = savedInstanceState.getParcelableArrayList(KEY_PERMISSION_USAGE); in onCreate()
87 outState.putParcelableList(KEY_PERMISSION_USAGE, mOldUsageInfos); in onSaveInstanceState()
112 if (!mOldUsageInfos.isEmpty()) { in displayPreference()
113 mBarChartPreference.setBarViewInfos(createBarViews(mOldUsageInfos)); in displayPreference()
124 mBarChartPreference.updateLoadingState(mOldUsageInfos.isEmpty() /* isLoading */); in onStart()
158 mOldUsageInfos = usageInfos; in onPermissionUsageResult()
228 if (newUsageInfos.size() != mOldUsageInfos.size()) { in areSamePermissionGroups()
234 final RuntimePermissionUsageInfo oldInfo = mOldUsageInfos.get(index); in areSamePermissionGroups()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/privacy/
DPermissionBarChartPreferenceController.java63 List<RuntimePermissionUsageInfo> mOldUsageInfos; field in PermissionBarChartPreferenceController
70 mOldUsageInfos = new ArrayList<>(); in PermissionBarChartPreferenceController()
81 mOldUsageInfos = savedInstanceState.getParcelableArrayList(KEY_PERMISSION_USAGE); in onCreate()
87 outState.putParcelableList(KEY_PERMISSION_USAGE, mOldUsageInfos); in onSaveInstanceState()
115 if (!mOldUsageInfos.isEmpty()) { in displayPreference()
116 mBarChartPreference.setBarViewInfos(createBarViews(mOldUsageInfos)); in displayPreference()
127 mBarChartPreference.updateLoadingState(mOldUsageInfos.isEmpty() /* isLoading */); in onStart()
161 mOldUsageInfos = usageInfos; in onPermissionUsageResult()
234 if (newUsageInfos.size() != mOldUsageInfos.size()) { in areSamePermissionGroups()
240 final RuntimePermissionUsageInfo oldInfo = mOldUsageInfos.get(index); in areSamePermissionGroups()