Home
last modified time | relevance | path

Searched refs:WhereClauses (Results 1 – 21 of 21) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DWhereClauses.java27 public final class WhereClauses { class
42 public WhereClauses(LogicalOperator logicalOperator) { in WhereClauses() method in WhereClauses
46 public WhereClauses addWhereBetweenClause(String columnName, long start, long end) { in addWhereBetweenClause()
52 public WhereClauses addWhereBetweenTimeClause(String columnName, long startTime, long endTime) { in addWhereBetweenTimeClause()
65 public WhereClauses addWhereLaterThanTimeClause(String columnName, long startTime) { in addWhereLaterThanTimeClause()
75 public WhereClauses addWhereInClause(String columnName, List<String> values) { in addWhereInClause()
83 public WhereClauses addWhereInClauseWithoutQuotes(String columnName, List<String> values) { in addWhereInClauseWithoutQuotes()
91 public WhereClauses addWhereEqualsClause(String columnName, String value) { in addWhereEqualsClause()
100 public WhereClauses addWhereGreaterThanClause(String columnName, String value) { in addWhereGreaterThanClause()
107 public WhereClauses addWhereGreaterThanClause(String columnName, long value) { in addWhereGreaterThanClause()
[all …]
DSqlJoin.java59 private WhereClauses mTableToJoinWhereClause = null;
119 public void setSecondTableWhereClause(WhereClauses whereClause) { in setSecondTableWhereClause()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DUpsertTableRequest.java19 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.OR;
33 import com.android.server.healthconnect.storage.utils.WhereClauses;
55 private WhereClauses mWhereClausesForUpdate;
141 public WhereClauses getUpdateWhereClauses() { in getUpdateWhereClauses()
149 public UpsertTableRequest setUpdateWhereClauses(WhereClauses whereClauses) { in setUpdateWhereClauses()
165 private WhereClauses getReadWhereClauses() { in getReadWhereClauses()
166 WhereClauses readWhereClause = new WhereClauses(OR); in getReadWhereClauses()
DDeleteTableRequest.java22 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
31 import com.android.server.healthconnect.storage.utils.WhereClauses;
60 private WhereClauses mCustomWhereClauses;
171 WhereClauses whereClauses = in getWhereCommand()
172 Objects.isNull(mCustomWhereClauses) ? new WhereClauses(AND) : mCustomWhereClauses; in getWhereCommand()
DReadTableRequest.java21 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
32 import com.android.server.healthconnect.storage.utils.WhereClauses;
51 private WhereClauses mWhereClauses = new WhereClauses(AND);
81 public ReadTableRequest setWhereClause(WhereClauses whereClauses) { in setWhereClause()
DUpsertTransactionRequest.java22 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
40 import com.android.server.healthconnect.storage.utils.WhereClauses;
179 private WhereClauses generateWhereClausesForUpdate(@NonNull RecordInternal<?> recordInternal) { in generateWhereClausesForUpdate()
180 WhereClauses whereClauseForUpdateRequest = new WhereClauses(AND); in generateWhereClausesForUpdate()
DAggregateTableRequest.java46 import com.android.server.healthconnect.storage.utils.WhereClauses;
81 private final WhereClauses mWhereClauses;
95 WhereClauses whereClauses, in AggregateTableRequest()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DExerciseSessionRecordHelper.java44 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
74 import com.android.server.healthconnect.storage.utils.WhereClauses;
324 WhereClauses sessionsWithAccessibleRouteClause = in getExtraDataReadRequests()
394 WhereClauses sessionsWithAccessibleRouteClause = in getExtraDataReadRequests()
395 new WhereClauses(AND) in getExtraDataReadRequests()
523 WhereClauses whereStatement = new WhereClauses(WhereClauses.LogicalOperator.AND); in getReadRequestsForRecordsModifiedByUpsertion()
543 WhereClauses whereStatement = new WhereClauses(WhereClauses.LogicalOperator.AND); in getReadRequestsForRecordsModifiedByDeletion()
574 private ReadTableRequest getRouteReadRequest(WhereClauses clauseToFilterSessionIds) { in getRouteReadRequest()
581 WhereClauses inClause = new WhereClauses(AND); in getRouteReadRequest()
DRecordHelper.java39 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
40 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.OR;
69 import com.android.server.healthconnect.storage.utils.WhereClauses;
163 WhereClauses whereClauses = new WhereClauses(AND); in getAggregateTableRequest()
392 new WhereClauses(AND) in getReadTableRequest()
700 final WhereClauses getReadTableWhereClause( in getReadTableWhereClause()
720 WhereClauses clauses = new WhereClauses(AND); in getReadTableWhereClause()
766 WhereClauses filterByIdsWhereClauses = in getReadTableWhereClause()
767 new WhereClauses(AND) in getReadTableWhereClause()
789 private WhereClauses getFilterByStartAccessDateWhereClauses( in getFilterByStartAccessDateWhereClauses()
[all …]
DDeriveTotalCaloriesBurnedHelper.java27 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
36 import com.android.server.healthconnect.storage.utils.WhereClauses;
87 new WhereClauses(AND) in inititalizeCursors()
100 new WhereClauses(AND) in inititalizeCursors()
DSleepStageRecordHelper.java27 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
40 import com.android.server.healthconnect.storage.utils.WhereClauses;
68 WhereClauses filterAwakes = new WhereClauses(AND); in getJoinForDurationAggregation()
DExerciseSegmentRecordHelper.java27 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
39 import com.android.server.healthconnect.storage.utils.WhereClauses;
133 WhereClauses filterPauses = new WhereClauses(AND); in getJoinForDurationAggregation()
DDeriveBasalCaloriesBurnedHelper.java27 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
40 import com.android.server.healthconnect.storage.utils.WhereClauses;
152 new WhereClauses(AND) in derivedBasalCaloriesViaReadBack()
323 new WhereClauses(AND) in getReadCursorForDerivingBMR()
334 new WhereClauses(AND) in getReadCursorForDerivingBMR()
DMedicalResourceHelper.java37 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
53 import com.android.server.healthconnect.storage.utils.WhereClauses;
131 private static WhereClauses getReadTableWhereClause( in getReadTableWhereClause()
142 return new WhereClauses(AND) in getReadTableWhereClause()
DChangeLogsRequestHelper.java29 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
43 import com.android.server.healthconnect.storage.utils.WhereClauses;
131 new WhereClauses(AND) in getRequest()
DActivityDateHelper.java22 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
38 import com.android.server.healthconnect.storage.utils.WhereClauses;
100 new WhereClauses(AND) in getActivityDates()
DChangeLogsHelper.java31 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
52 import com.android.server.healthconnect.storage.utils.WhereClauses;
105 WhereClauses whereClause = in getChangeLogs()
106 new WhereClauses(AND) in getChangeLogs()
DAppInfoHelper.java30 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
61 import com.android.server.healthconnect.storage.utils.WhereClauses;
538 WhereClauses whereClauseForAppInfoTableUpdate = new WhereClauses(AND); in updateAppInfoRecordTypesUsedSync()
DPlannedExerciseSessionRecordHelper.java82 import com.android.server.healthconnect.storage.utils.WhereClauses;
600 WhereClauses whereStatement = new WhereClauses(WhereClauses.LogicalOperator.AND); in getReadRequestsForRecordsModifiedByDeletion()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DTransactionTestUtils.java28 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
51 import com.android.server.healthconnect.storage.utils.WhereClauses;
180 WhereClauses whereClauses = in getAllDeletedUuids()
181 new WhereClauses(AND).addWhereEqualsClause(OPERATION_TYPE_COLUMN_NAME, DELETE + ""); in getAllDeletedUuids()
DRecordHelperTest.java24 import static com.android.server.healthconnect.storage.utils.WhereClauses.LogicalOperator.AND;
46 import com.android.server.healthconnect.storage.utils.WhereClauses;
171 WhereClauses whereClause = in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()
172 new WhereClauses(AND) in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()