Home
last modified time | relevance | path

Searched refs:groupBy (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java201 final String groupBy, in explainQueryPlan() argument
208 groupBy, in explainQueryPlan()
245 final String selection, final String[] selectionArgs, final String groupBy, in query() argument
251 groupBy, having, orderBy, limit); in query()
260 groupBy, having, orderBy, limit); in query()
271 final String selection, final String[] selectionArgs, final String groupBy, in query() argument
275 groupBy, having, orderBy, null); in query()
280 final String groupBy, final String having, final String sortOrder, final String limit) { in query() argument
283 groupBy, having, sortOrder, limit); in query()
290 final Cursor cursor = qb.query(mDatabase, projection, selection, queryArgs, groupBy, in query()
DMessagingContentProvider.java276 String groupBy = null; in query() local
373 queryArgs, groupBy, null, sortOrder, limit); in query()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java432 String groupBy, String having, String orderBy, String limit) { in buildQueryString() argument
433 if (TextUtils.isEmpty(groupBy) && !TextUtils.isEmpty(having)) { in buildQueryString()
452 appendClause(query, " GROUP BY ", groupBy); in buildQueryString()
491 final String groupBy = queryArgs.getString(QUERY_ARG_SQL_GROUP_BY); in query() local
495 return query(helper, projectionIn, selection, selectionArgs, groupBy, having, sortOrder, in query()
500 String selection, String[] selectionArgs, String groupBy, in query() argument
503 return query(db, projectionIn, selection, selectionArgs, groupBy, in query()
544 String selection, String[] selectionArgs, String groupBy, in query() argument
552 projectionIn, selection, groupBy, having, in query()
559 enforceStrictGrammar(selection, groupBy, having, sortOrder, limit); in query()
[all …]
DDatabaseUtils.java293 String groupBy = TextUtils.join(", ", columns); in resolveGroupBy() local
296 queryArgs.putString(QUERY_ARG_SQL_GROUP_BY, groupBy); in resolveGroupBy()
402 String groupBy = origSelection.substring(index + " GROUP BY ".length()); in recoverAbusiveSelection() local
406 groupBy = maybeBalance(groupBy); in recoverAbusiveSelection()
411 "Abusive '" + groupBy + "' conflicts with requested '" + origGroupBy + "'"); in recoverAbusiveSelection()
414 Log.w(TAG, "Recovered abusive '" + selection + "' and '" + groupBy + "' from '" in recoverAbusiveSelection()
418 queryArgs.putString(QUERY_ARG_SQL_GROUP_BY, groupBy); in recoverAbusiveSelection()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupProvider.java173 String groupBy = null; in query() local
192 groupBy = MccLookup.COUNTRY_NAME; in query()
305 Cursor c = qb.query(db, projectionIn, selection, selectionArgs, groupBy, null, orderBy); in query()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherPrefs.kt129 .groupBy { it.first.encryptedPrefs } in <lambda>()
204 .groupBy { chooseSharedPreferences(it) } in <lambda>()
231 .groupBy { it.encryptedPrefs } in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java61 String columnName, String selection, String groupBy, String orderBy) { in queryIntArray() argument
64 groupBy, null, orderBy, null)) { in queryIntArray() argument
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/
DDefaultPolicySet.kt31 .groupBy { it.schemaName } in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/operation/
DDefaultOperationLibrary.kt27 private val operationsByName: Map<String, List<Operation<*, *>>> = operations.groupBy { it.name } in <lambda>()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSQLiteQueryBuilderTest.java931 String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) { in assertStrictQueryValid() argument
933 groupBy, having, sortOrder, limit, null)) { in assertStrictQueryValid() argument
938 String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) { in assertStrictQueryInvalid() argument
940 groupBy, having, sortOrder, limit, null)) { in assertStrictQueryInvalid() argument
942 groupBy, having, sortOrder, limit).toString()); in assertStrictQueryInvalid()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/
DQueryDocumentProvidersUseCase.kt47 .groupBy({ in <lambda>()
/packages/modules/NetworkStack/tests/hostlib/src/com/android/testutils/host/
DDeflakeHostTestBase.kt122 val failuresByTest = failures.groupBy(TestFailure::description) in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DSubscriptionRepository.kt113 .groupBy { it.groupUuid } in Context()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java365 String groupBy = uri.getQueryParameter(PartnerBookmarksContract.PARAM_GROUP_BY); in query() local
426 return qb.query(db, projection, selection, selectionArgs, groupBy, null, sortOrder, limit); in query()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/v31/
DLightHistoricalPackageOps.kt210 ops.groupBy { getPlatformPermissionGroupForOp(it) ?: NO_PERM_GROUP } in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt79 .groupBy { it.status }[ConnectedAppStatus.INACTIVE] in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DSettingsManagePermissionFragment.kt100 val connectedAppsGroup = connectedApps.groupBy { it.status } in <lambda>()
DConnectedAppsFragment.kt215 val connectedAppsGroup = connectedApps.groupBy { it.status } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/domain/usecase/v31/
DGetPermissionGroupUsageUseCase.kt102 .groupBy { it.first } // group by permission group name in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/searchapps/
DSearchAppsFragment.kt144 val connectedAppsGroup = connectedApps.groupBy { it.status } in <lambda>()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/view/
DCameraPickerDialog.kt74 mDialogItems = availableCameras.groupBy({ it.lensFacing }, { it }) in <lambda>()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java6228 String groupBy = null; in queryLocal() local
6273 projection, selection, selectionArgs, sortOrder, groupBy, limit, in queryLocal()
6308 projection, selection, selectionArgs, sortOrder, groupBy, limit, in queryLocal()
6351 projection, selection, selectionArgs, sortOrder, groupBy, limit, in queryLocal()
6518 groupBy = Contacts._ID; in queryLocal()
6593 projection, selection, selectionArgs, sortOrder, groupBy, limit, in queryLocal()
6676 groupBy = RawContacts.CONTACT_ID + ", " + Data.DATA1; in queryLocal()
6805 groupBy = "(CASE WHEN " + isPhoneAndHasNormalized in queryLocal()
6809 groupBy = "(CASE WHEN " + Phone.NORMALIZED_NUMBER in queryLocal()
6856 groupBy = RawContacts.CONTACT_ID + ", " + Data.DATA1; in queryLocal()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt320 val connectedAppsGroup = connectedApps.groupBy { it.status } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DAppsSafetyLabelHistoryPersistence.kt167 .groupBy { it.appInfo } in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DDevOptionsUiHelper.kt280 .groupBy { "${it.serviceInfo.packageName}-${it.serviceInfo.processName}" } in <lambda>()

12