/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | SafetyNetLogger.java | 46 List<AppPermissionGroup> groups) { in logPermissionsRequested() argument 49 packageInfo.packageName, groups)); in logPermissionsRequested() 59 public static void logPermissionsToggled(ArraySet<AppPermissionGroup> groups) { in logPermissionsToggled() argument 62 int numGroups = groups.size(); in logPermissionsToggled() 64 AppPermissionGroup group = groups.valueAt(i); in logPermissionsToggled() 93 ArraySet groups = new ArraySet<AppPermissionGroup>(1); in logPermissionToggled() local 94 groups.add(group); in logPermissionToggled() 95 logPermissionsToggled(groups); in logPermissionToggled() 115 List<AppPermissionGroup> groups) { in buildChangedPermissionForPackageMessage() argument 120 int groupCount = groups.size(); in buildChangedPermissionForPackageMessage() [all …]
|
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
D | contacts2_1108.sql | 38 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); 139 …groups.sourceid AS group_sourceid FROM data JOIN mimetypes ON (data.mimetype_id=mimetypes._id) JOI… 142 …groups.sourceid AS group_sourceid FROM raw_contacts JOIN accounts ON (raw_contacts.account_id=acco… 143 …groups.sourceid AS group_sourceid FROM raw_contacts JOIN accounts ON (raw_contacts.account_id=acco… 148 …groups._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… 154 …groups BEGIN DELETE FROM default_directory; INSERT OR IGNORE INTO default_directory SELECT … 160 …groups._id AS _id, accounts.account_name, accounts.account_type, title AS name, notes AS notes , s… 161 …groups.sourceid AS group_sync_id, accounts.account_name AS group_sync_account, accounts.account_ty…
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | PermissionGroups.java | 84 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 …]
|
D | AppPermissionUsage.java | 43 @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/ |
D | MimeTypes.java | 41 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/ |
D | legacy_contacts.sql | 40 …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/ |
D | InvisibleContactUtil.java | 43 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/ |
D | legacy_contacts.sql | 24 …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/ |
D | legacy_contacts.sql | 28 …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/ |
D | AutoManagePermissionsFragment.java | 115 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()
|
D | AutoAppPermissionsFragment.java | 169 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()
|
D | AutoManageStandardPermissionsFragment.java | 48 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/ |
D | ManagePermissionsFragment.java | 123 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()
|
D | AppPermissionsFragment.java | 227 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()
|
D | ManageStandardPermissionsFragment.java | 80 List<PermissionGroup> groups = getPermissions().getGroups(); in updatePermissionsUi() local 82 for (PermissionGroup group : groups) { in updatePermissionsUi()
|
D | ReviewPermissionsFragment.java | 386 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in isPackageUpdated() local 387 final int groupCount = groups.size(); in isPackageUpdated() 389 AppPermissionGroup group = groups.get(i); in isPackageUpdated()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAccountLoader.java | 64 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/ |
D | ReviewPermissionsWearFragment.java | 197 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in isPackageUpdated() local 198 final int groupCount = groups.size(); in isPackageUpdated() 200 AppPermissionGroup group = groups.get(i); in isPackageUpdated()
|
D | AppPermissionsFragmentWear.java | 163 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/ |
D | ManagePermissionsFragment.java | 123 List<PermissionGroup> groups = mPermissions.getGroups(); in updatePermissionsUi() local 129 for (PermissionGroup group : groups) { in updatePermissionsUi()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | Contact.java | 355 /* package */ void setGroupMetaData(ImmutableList<GroupMetaData> groups) { in setGroupMetaData() argument 356 mGroups = groups; in setGroupMetaData()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | BackupHelper.java | 676 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/ |
D | Contact.java | 493 /* package */ void setGroupMetaData(ImmutableList<GroupMetaData> groups) { in setGroupMetaData() argument 494 mGroups = groups; in setGroupMetaData()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 725 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/ |
D | GrantPermissionsActivity.java | 892 List<AppPermissionGroup> groups = new ArrayList<>(groupCount); in logRequestedPermissionGroups() local 894 groups.add(groupState.mGroup); in logRequestedPermissionGroups() 897 SafetyNetLogger.logPermissionsRequested(mAppPermissions.getPackageInfo(), groups); in logRequestedPermissionGroups() local
|