Home
last modified time | relevance | path

Searched refs:PermissionState (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java90 public PermissionState getPermissionInfo(String pkg, int uid) { in getPermissionInfo()
91 PermissionState permissionState = new PermissionState(pkg, new UserHandle(UserHandle in getPermissionInfo()
124 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in loadAllExtraInfo()
136 ArrayMap<String, PermissionState> userMap = entries.get(userId); in loadAllExtraInfo()
145 private SparseArray<ArrayMap<String, PermissionState>> getEntries() { in getEntries()
162 SparseArray<ArrayMap<String, PermissionState>> entries = new SparseArray<>(); in getEntries()
164 final ArrayMap<String, PermissionState> entriesForProfile = new ArrayMap<>(); in getEntries()
171 final PermissionState newEntry = new PermissionState(packageName, profile); in getEntries()
189 private void loadPermissionsStates(SparseArray<ArrayMap<String, PermissionState>> entries) { in loadPermissionsStates()
194 final ArrayMap<String, PermissionState> entriesForProfile = entries.get(profileId); in loadPermissionsStates()
[all …]
DAppStateUsageBridge.java51 PermissionState permissionState = super.getPermissionInfo(pkg, uid); in getUsageInfo()
55 public static class UsageState extends AppStateAppOpsBridge.PermissionState {
57 public UsageState(PermissionState permissionState) { in UsageState()
DAppStateWriteSettingsBridge.java52 PermissionState permissionState = super.getPermissionInfo(pkg, uid); in getWriteSettingsInfo()
66 public static class WriteSettingsState extends AppStateAppOpsBridge.PermissionState {
67 public WriteSettingsState(PermissionState permissionState) { in WriteSettingsState()
DAppStateOverlayBridge.java50 PermissionState permissionState = super.getPermissionInfo(pkg, uid); in getOverlayInfo()
64 public static class OverlayState extends AppStateAppOpsBridge.PermissionState {
66 public OverlayState(PermissionState permissionState) { in OverlayState()
DWriteSettingsDetails.java36 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
164 } else if (entry.extraInfo instanceof PermissionState) { in getSummary()
165 state = new WriteSettingsState((PermissionState) entry.extraInfo); in getSummary()
DDrawOverlayDetails.java36 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
162 } else if (entry.extraInfo instanceof PermissionState) { in getSummary()
163 state = new OverlayState((PermissionState) entry.extraInfo); in getSummary()
DManageApplications.java69 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
1190 holder.summary.setText((new UsageState((PermissionState) holder.entry in updateSummary()