/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/ |
D | WhereClauses.java | 27 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 …]
|
D | SqlJoin.java | 59 private WhereClauses mTableToJoinWhereClause = null; 119 public void setSecondTableWhereClause(WhereClauses whereClause) { in setSecondTableWhereClause()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | UpsertTableRequest.java | 19 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()
|
D | DeleteTableRequest.java | 22 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()
|
D | ReadTableRequest.java | 21 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()
|
D | UpsertTransactionRequest.java | 22 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()
|
D | AggregateTableRequest.java | 46 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/ |
D | ExerciseSessionRecordHelper.java | 44 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()
|
D | RecordHelper.java | 39 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 …]
|
D | DeriveTotalCaloriesBurnedHelper.java | 27 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()
|
D | SleepStageRecordHelper.java | 27 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()
|
D | ExerciseSegmentRecordHelper.java | 27 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()
|
D | DeriveBasalCaloriesBurnedHelper.java | 27 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()
|
D | MedicalResourceHelper.java | 37 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()
|
D | ChangeLogsRequestHelper.java | 29 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()
|
D | ActivityDateHelper.java | 22 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()
|
D | ChangeLogsHelper.java | 31 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()
|
D | AppInfoHelper.java | 30 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()
|
D | PlannedExerciseSessionRecordHelper.java | 82 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/ |
D | TransactionTestUtils.java | 28 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()
|
D | RecordHelperTest.java | 24 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()
|