Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DSafetyNetLogger.java52 List<AppPermissionGroup> groups) { in logPermissionsRequested() argument
55 packageInfo.packageName, groups)); in logPermissionsRequested()
65 public static void logPermissionsToggled(ArraySet<AppPermissionGroup> groups) { in logPermissionsToggled() argument
68 int numGroups = groups.size(); in logPermissionsToggled()
70 AppPermissionGroup group = groups.valueAt(i); in logPermissionsToggled()
99 ArraySet groups = new ArraySet<AppPermissionGroup>(1); in logPermissionToggled() local
100 groups.add(group); in logPermissionToggled()
101 logPermissionsToggled(groups); in logPermissionToggled()
121 List<AppPermissionGroup> groups) { in buildChangedPermissionForPackageMessage() argument
126 int groupCount = groups.size(); in buildChangedPermissionForPackageMessage()
[all …]
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql38 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_i… table
133 CREATE INDEX groups_source_id_account_id_index ON groups (sourceid, account_id);
139groups.sourceid AS group_sourceid FROM data JOIN mimetypes ON (data.mimetype_id=mimetypes._id) JOI…
142groups.sourceid AS group_sourceid FROM raw_contacts JOIN accounts ON (raw_contacts.account_id=acco…
143groups.sourceid AS group_sourceid FROM raw_contacts JOIN accounts ON (raw_contacts.account_id=acco…
148groups._id AS _id,groups.account_id AS account_id,accounts.account_name AS account_name,accounts.a…
153 CREATE TRIGGER groups_updated1 AFTER UPDATE ON groups BEGIN UPDATE groups SET version=OLD…
154groups BEGIN DELETE FROM default_directory; INSERT OR IGNORE INTO default_directory SELECT …
160groups._id AS _id, accounts.account_name, accounts.account_type, title AS name, notes AS notes , s…
161groups.sourceid AS group_sync_id, accounts.account_name AS group_sync_account, accounts.account_ty…
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionGroups.java84 List<PermissionGroup> groups) { in onLoadFinished() argument
85 if (mGroups.equals(groups)) { in onLoadFinished()
89 mGroups.addAll(groups); in onLoadFinished()
173 List<PermissionGroup> groups = new ArrayList<>(); in getPermissionGroups() local
226 groups.add(group); in getPermissionGroups()
286 groups.add(group); in getPermissionGroups()
291 int numGroups = groups.size(); in getPermissionGroups()
293 PermissionGroup group = groups.get(i); in getPermissionGroups()
296 groups.remove(i); in getPermissionGroups()
301 Collections.sort(groups); in getPermissionGroups()
[all …]
DAppPermissionUsage.java43 @NonNull List<AppPermissionGroup> groups, @Nullable PackageOps lastUsage, in AppPermissionUsage() argument
46 final int groupCount = groups.size(); in AppPermissionUsage()
48 final AppPermissionGroup group = groups.get(i); in AppPermissionUsage()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DMimeTypes.java41 final String[] groups = mimeType.split("/"); in splitMimeType() local
43 if (groups.length != 2 || groups[0].isEmpty() || groups[1].isEmpty()) { in splitMimeType()
47 return groups; in splitMimeType()
/packages/providers/ContactsProvider/tests/assets/test1/
Dlegacy_contacts.sql40 …RY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_ac…
47 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t… table
48 INSERT INTO groups VALUES(1,'android.contacts.test.eclair@gmail.com',6,NULL,NULL,NULL,0,1,'System G…
49 INSERT INTO groups VALUES(2,'android.contacts.test.eclair@gmail.com','20a186238cf27aaa',12491729927…
50 INSERT INTO groups VALUES(3,'android.contacts.test.eclair@gmail.com','2fcbf74c8be345dc',12491766935…
111 CREATE INDEX groupsSyncDirtyIndex ON groups (_sync_dirty);
134 CREATE TRIGGER groups_cleanup DELETE ON groups BEGIN UPDATE groupmembership SET group_id = null WHE…
135 CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old._sync_id is not null BEGIN INSERT INTO _…
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java43 final List<GroupMetaData> groups = contactData.getGroupMetaData(); in isInvisibleAndAddable()
46 if (groups == null) return false; in isInvisibleAndAddable()
49 final long defaultGroupId = getDefaultGroupId(groups); in isInvisibleAndAddable()
109 private static long getDefaultGroupId(List<GroupMetaData> groups) { in getDefaultGroupId() argument
111 for (GroupMetaData group : groups) { in getDefaultGroupId()
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dlegacy_contacts.sql24 …RY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_ac…
30 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t… table
31 INSERT INTO groups VALUES(1,NULL,NULL,NULL,NULL,NULL,0,NULL,'Contacts',NULL,0,'Contacts');
79 CREATE INDEX groupsSyncDirtyIndex ON groups (_sync_dirty);
102 CREATE TRIGGER groups_cleanup DELETE ON groups BEGIN UPDATE groupmembership SET group_id = null WHE…
103 CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old._sync_id is not null BEGIN INSERT INTO _…
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dlegacy_contacts.sql28 …RY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_ac…
40 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t… table
41 INSERT INTO groups VALUES(1,'lemmytest@gmail.com',6,NULL,NULL,NULL,0,1,'System Group: My Contacts',…
135 CREATE INDEX groupsSyncDirtyIndex ON groups (_sync_dirty);
158 CREATE TRIGGER groups_cleanup DELETE ON groups BEGIN UPDATE groupmembership SET group_id = null WHE…
159 CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old._sync_id is not null BEGIN INSERT INTO _…
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoManagePermissionsFragment.java115 ArrayList<PermissionGroup> groups = new ArrayList<>(mPermissions.getGroups()); in updatePermissionsUi() local
116 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePermissionsUi()
122 for (int i = 0; i < groups.size(); i++) { in updatePermissionsUi()
123 PermissionGroup group = groups.get(i); in updatePermissionsUi()
DAutoAppPermissionsFragment.java169 ArrayList<AppPermissionGroup> groups = new ArrayList<>( in updatePreferences() local
171 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePreferences()
175 for (int i = 0; i < groups.size(); i++) { in updatePreferences()
176 AppPermissionGroup group = groups.get(i); in updatePreferences()
DAutoManageStandardPermissionsFragment.java48 List<PermissionGroup> groups = getPermissions().getGroups(); in updatePermissionsUi() local
50 for (PermissionGroup group : groups) { in updatePermissionsUi()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DManagePermissionsFragment.java123 ArrayList<PermissionGroup> groups = new ArrayList<>(mPermissions.getGroups()); in updatePermissionsUi() local
124 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePermissionsUi()
136 for (int i = 0; i < groups.size(); i++) { in updatePermissionsUi()
137 PermissionGroup group = groups.get(i); in updatePermissionsUi()
DAppPermissionsFragment.java227 ArrayList<AppPermissionGroup> groups = new ArrayList<>( in updatePreferences() local
229 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePreferences()
235 for (int i = 0; i < groups.size(); i++) { in updatePreferences()
236 AppPermissionGroup group = groups.get(i); in updatePreferences()
DManageStandardPermissionsFragment.java80 List<PermissionGroup> groups = getPermissions().getGroups(); in updatePermissionsUi() local
82 for (PermissionGroup group : groups) { in updatePermissionsUi()
DReviewPermissionsFragment.java382 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in isPackageUpdated() local
383 final int groupCount = groups.size(); in isPackageUpdated()
385 AppPermissionGroup group = groups.get(i); in isPackageUpdated()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountLoader.java64 LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> groups = in parsePackages() local
110 groups.put(app, accounts); in parsePackages()
126 return groups; in parsePackages()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DReviewPermissionsWearFragment.java197 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in isPackageUpdated() local
198 final int groupCount = groups.size(); in isPackageUpdated()
200 AppPermissionGroup group = groups.get(i); in isPackageUpdated()
DAppPermissionsFragmentWear.java163 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in initializePermissionGroupList() local
166 if (!groups.isEmpty()) { in initializePermissionGroupList()
170 for (final AppPermissionGroup group : groups) { in initializePermissionGroupList()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DManagePermissionsFragment.java123 List<PermissionGroup> groups = mPermissions.getGroups(); in updatePermissionsUi() local
129 for (PermissionGroup group : groups) { in updatePermissionsUi()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java355 /* package */ void setGroupMetaData(ImmutableList<GroupMetaData> groups) { in setGroupMetaData() argument
356 mGroups = groups; in setGroupMetaData()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DBackupHelper.java676 List<AppPermissionGroup> groups = appPerms.getPermissionGroups(); in fromAppPermissions() local
678 int numGroups = groups.size(); in fromAppPermissions()
680 AppPermissionGroup group = groups.get(groupNum); in fromAppPermissions()
/packages/apps/Contacts/src/com/android/contacts/model/
DContact.java493 /* package */ void setGroupMetaData(ImmutableList<GroupMetaData> groups) { in setGroupMetaData() argument
494 mGroups = groups; in setGroupMetaData()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java725 CarVolumeGroup[] groups = mCarAudioZones[zoneId].getVolumeGroups(); in getVolumeGroupIdForUsage() local
726 for (int i = 0; i < groups.length; i++) { in getVolumeGroupIdForUsage()
727 int[] contexts = groups[i].getContexts(); in getVolumeGroupIdForUsage()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java894 List<AppPermissionGroup> groups = new ArrayList<>(groupCount); in logRequestedPermissionGroups() local
896 groups.add(groupState.mGroup); in logRequestedPermissionGroups()
899 SafetyNetLogger.logPermissionsRequested(mAppPermissions.getPackageInfo(), groups); in logRequestedPermissionGroups() local

12