/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | CreateTableRequest.java | 39 public final class CreateTableRequest { class 50 private List<CreateTableRequest> mChildTableRequests = Collections.emptyList(); 53 public CreateTableRequest(String tableName, List<Pair<String, String>> columnInfo) { in CreateTableRequest() method in CreateTableRequest 63 public CreateTableRequest addForeignKey( in addForeignKey() 72 public CreateTableRequest createIndexOn(@NonNull String columnName) { in createIndexOn() 80 public List<CreateTableRequest> getChildTableRequests() { in getChildTableRequests() 85 public CreateTableRequest setChildTableRequests( in setChildTableRequests() 86 @NonNull List<CreateTableRequest> childCreateTableRequests) { in setChildTableRequests() 141 public CreateTableRequest addUniqueConstraints(List<String> columnNames) { in addUniqueConstraints() 165 public CreateTableRequest setGeneratedColumnInfo( in setGeneratedColumnInfo() [all …]
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/request/ |
D | CreateTableRequestTest.java | 33 private CreateTableRequest mCreateTableRequest; 44 mCreateTableRequest = new CreateTableRequest(TABLE_NAME, mColumnInfo); in setUp() 63 List<CreateTableRequest> childTables = new ArrayList<>(); in testCreateTable_getChildTableRequests() 66 childTables.add(new CreateTableRequest(tableName, mColumnInfo)); in testCreateTable_getChildTableRequests()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | MedicalDataSourceHelperTest.java | 32 import com.android.server.healthconnect.storage.request.CreateTableRequest; 50 CreateTableRequest expected = in getCreateTableRequest_correctResult() 51 new CreateTableRequest(MEDICAL_DATA_SOURCE_TABLE_NAME, columnInfo) in getCreateTableRequest_correctResult() 57 CreateTableRequest result = mMedicalDataSourceHelper.getCreateTableRequest(); in getCreateTableRequest_correctResult()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | IntervalRecordHelper.java | 33 import com.android.server.healthconnect.storage.request.CreateTableRequest; 95 new CreateTableRequest.GeneratedColumnInfo( in applyGeneratedLocalTimeUpgrade() 102 new CreateTableRequest.GeneratedColumnInfo( in applyGeneratedLocalTimeUpgrade() 115 protected List<CreateTableRequest.GeneratedColumnInfo> getGeneratedColumnInfo() { in getGeneratedColumnInfo() 117 new CreateTableRequest.GeneratedColumnInfo( in getGeneratedColumnInfo() 121 new CreateTableRequest.GeneratedColumnInfo( in getGeneratedColumnInfo()
|
D | MedicalDataSourceHelper.java | 29 import com.android.server.healthconnect.storage.request.CreateTableRequest; 61 public CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 62 return new CreateTableRequest(MEDICAL_DATA_SOURCE_TABLE_NAME, getColumnInfo()) in getCreateTableRequest()
|
D | MigrationEntityHelper.java | 30 import com.android.server.healthconnect.storage.request.CreateTableRequest; 56 public static CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 57 return new CreateTableRequest(TABLE_NAME, getColumnInfo()); in getCreateTableRequest()
|
D | InstantRecordHelper.java | 33 import com.android.server.healthconnect.storage.request.CreateTableRequest; 89 new CreateTableRequest.GeneratedColumnInfo( in applyGeneratedLocalTimeUpgrade() 101 protected List<CreateTableRequest.GeneratedColumnInfo> getGeneratedColumnInfo() { in getGeneratedColumnInfo() 103 new CreateTableRequest.GeneratedColumnInfo( in getGeneratedColumnInfo()
|
D | SeriesRecordHelper.java | 30 import com.android.server.healthconnect.storage.request.CreateTableRequest; 49 final List<CreateTableRequest> getChildTableCreateRequests() { in getChildTableCreateRequests() 51 new CreateTableRequest(getSeriesDataTableName(), getSeriesTableColumnInfo()) in getChildTableCreateRequests()
|
D | ExerciseLapRecordHelper.java | 34 import com.android.server.healthconnect.storage.request.CreateTableRequest; 54 static CreateTableRequest getCreateLapsTableRequest(String parentTableName) { in getCreateLapsTableRequest() 55 return new CreateTableRequest(EXERCISE_LAPS_RECORD_TABLE_NAME, getLapsTableColumnInfo()) in getCreateLapsTableRequest()
|
D | ExerciseRouteRecordHelper.java | 31 import com.android.server.healthconnect.storage.request.CreateTableRequest; 61 static CreateTableRequest getCreateRouteTableRequest(String parentTableName) { in getCreateRouteTableRequest() 62 return new CreateTableRequest( in getCreateRouteTableRequest()
|
D | PreferenceHelper.java | 30 import com.android.server.healthconnect.storage.request.CreateTableRequest; 96 public static CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 97 return new CreateTableRequest(TABLE_NAME, getColumnInfo()); in getCreateTableRequest()
|
D | SleepStageRecordHelper.java | 37 import com.android.server.healthconnect.storage.request.CreateTableRequest; 74 static CreateTableRequest getCreateStagesTableRequest(String parentTableName) { in getCreateStagesTableRequest() 75 return new CreateTableRequest(SLEEP_STAGES_RECORD_TABLE_NAME, getStagesTableColumnInfo()) in getCreateStagesTableRequest()
|
D | ExerciseSegmentRecordHelper.java | 36 import com.android.server.healthconnect.storage.request.CreateTableRequest; 57 static CreateTableRequest getCreateSegmentsTableRequest(String parentTableName) { in getCreateSegmentsTableRequest() 58 return new CreateTableRequest( in getCreateSegmentsTableRequest()
|
D | AccessLogsHelper.java | 37 import com.android.server.healthconnect.storage.request.CreateTableRequest; 64 public static CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 65 return new CreateTableRequest(TABLE_NAME, getColumnInfo()); in getCreateTableRequest()
|
D | RecordHelper.java | 62 import com.android.server.healthconnect.storage.request.CreateTableRequest; 222 public final CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 223 return new CreateTableRequest(getMainTableName(), getColumnInfo()) in getCreateTableRequest() 311 for (CreateTableRequest childTableCreateRequest : getChildTableCreateRequests()) { in getAllChildTables() 319 protected List<CreateTableRequest.GeneratedColumnInfo> getGeneratedColumnInfo() { in getGeneratedColumnInfo() 324 CreateTableRequest childTableCreateRequest, List<String> childTables) { in populateWithTablesNames() 326 for (CreateTableRequest childTableRequest : in populateWithTablesNames() 638 List<CreateTableRequest> getChildTableCreateRequests() { in getChildTableCreateRequests()
|
D | ChangeLogsRequestHelper.java | 38 import com.android.server.healthconnect.storage.request.CreateTableRequest; 74 public static CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 75 return new CreateTableRequest(TABLE_NAME, getColumnInfo()); in getCreateTableRequest()
|
D | SkinTemperatureRecordHelper.java | 47 import com.android.server.healthconnect.storage.request.CreateTableRequest; 90 List<CreateTableRequest> getChildTableCreateRequests() { in getChildTableCreateRequests() 92 new CreateTableRequest(getSeriesDataTableName(), getSeriesTableColumnInfo()) in getChildTableCreateRequests()
|
D | ActivityDateHelper.java | 33 import com.android.server.healthconnect.storage.request.CreateTableRequest; 65 public static CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 66 return new CreateTableRequest(TABLE_NAME, getColumnInfo()) in getCreateTableRequest()
|
D | DeviceInfoHelper.java | 36 import com.android.server.healthconnect.storage.request.CreateTableRequest; 75 public static CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 76 return new CreateTableRequest(TABLE_NAME, getColumnInfo()); in getCreateTableRequest()
|
D | MedicalResourceHelper.java | 49 import com.android.server.healthconnect.storage.request.CreateTableRequest; 112 public static CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 113 return new CreateTableRequest(MEDICAL_RESOURCE_TABLE_NAME, getColumnInfo()); in getCreateTableRequest()
|
D | SleepSessionRecordHelper.java | 37 import com.android.server.healthconnect.storage.request.CreateTableRequest; 118 List<CreateTableRequest> getChildTableCreateRequests() { in getChildTableCreateRequests()
|
D | PlannedExerciseSessionRecordHelper.java | 76 import com.android.server.healthconnect.storage.request.CreateTableRequest; 170 List<CreateTableRequest> getChildTableCreateRequests() { in getChildTableCreateRequests() 172 new CreateTableRequest( in getChildTableCreateRequests() 184 new CreateTableRequest( in getChildTableCreateRequests() 197 new CreateTableRequest( in getChildTableCreateRequests()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | DatabaseUpgradeHelper.java | 46 import com.android.server.healthconnect.storage.request.CreateTableRequest; 127 for (CreateTableRequest createTableRequest : getInitialCreateTableRequests()) { in createInitialSetOfTables() 135 .map(CreateTableRequest::getTableName) in dropInitialSetOfTables() 142 private static List<CreateTableRequest> getInitialCreateTableRequests() { in getInitialCreateTableRequests() 143 List<CreateTableRequest> requests = new ArrayList<>(); in getInitialCreateTableRequests()
|
D | HealthConnectDatabase.java | 25 import com.android.server.healthconnect.storage.request.CreateTableRequest; 78 public static void createTable(SQLiteDatabase db, CreateTableRequest createTableRequest) { in createTable() 81 for (CreateTableRequest childRequest : createTableRequest.getChildTableRequests()) { in createTable()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | PriorityMigrationHelper.java | 34 import com.android.server.healthconnect.storage.request.CreateTableRequest; 133 public static CreateTableRequest getCreateTableRequest() { in getCreateTableRequest() 134 return new CreateTableRequest(PRE_MIGRATION_TABLE_NAME, getColumnInfo()); in getCreateTableRequest()
|