Home
last modified time | relevance | path

Searched refs:StorageUtils (Results 1 – 25 of 108) sorted by relevance

12345

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DMedicalResourceHelper.java26 import static com.android.server.healthconnect.storage.utils.StorageUtils.BLOB_UNIQUE_NON_NULL;
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
28 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER_NOT_NULL;
29 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY_AUTOINCREMENT;
30 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NOT_NULL;
31 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NULL;
32 import static com.android.server.healthconnect.storage.utils.StorageUtils.generateMedicalResourceUU…
33 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
34 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
35 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorString;
[all …]
DChangeLogsRequestHelper.java20 import static com.android.server.healthconnect.storage.utils.StorageUtils.DELIMITER;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
22 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY;
23 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NOT_NULL;
24 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NULL;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorIntegerList;
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorString;
28 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorStringList;
42 import com.android.server.healthconnect.storage.utils.StorageUtils;
[all …]
DExerciseSessionRecordHelper.java34 import static com.android.server.healthconnect.storage.utils.StorageUtils.BLOB_NULL;
35 import static com.android.server.healthconnect.storage.utils.StorageUtils.BOOLEAN_FALSE_VALUE;
36 import static com.android.server.healthconnect.storage.utils.StorageUtils.BOOLEAN_TRUE_VALUE;
37 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
38 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NULL;
39 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
40 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorString;
41 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorUUID;
42 import static com.android.server.healthconnect.storage.utils.StorageUtils.getIntegerAndConvertToBoo…
43 import static com.android.server.healthconnect.storage.utils.StorageUtils.isNullValue;
[all …]
DDeriveBasalCaloriesBurnedHelper.java39 import com.android.server.healthconnect.storage.utils.StorageUtils;
97 long time = StorageUtils.getCursorLong(mCursor, mTimeColumnName); in getBasalCaloriesBurned()
112 mRateOfEnergyBurntInWatts = StorageUtils.getCursorDouble(mCursor, mColumnName); in getBasalCaloriesBurned()
123 mRateOfEnergyBurntInWatts = StorageUtils.getCursorDouble(mCursor, mColumnName); in getBasalCaloriesBurned()
166 StorageUtils.getCursorDouble(cursor, BASAL_METABOLIC_RATE_COLUMN_NAME); in derivedBasalCaloriesViaReadBack()
184 double mass = StorageUtils.getCursorDouble(lbmCursor, MASS_COLUMN_NAME); in derivedBasalCaloriesBurnedFromLeanBodyMass()
185 long time = StorageUtils.getCursorLong(lbmCursor, mTimeColumnName); in derivedBasalCaloriesBurnedFromLeanBodyMass()
242 heightTime = StorageUtils.getCursorLong(heightCursor, mTimeColumnName); in derivedBasalCaloriesBurnedFromProfile()
246 weightTime = StorageUtils.getCursorLong(weightCursor, mTimeColumnName); in derivedBasalCaloriesBurnedFromProfile()
265 height = StorageUtils.getCursorDouble(heightCursor, HEIGHT_COLUMN_NAME); in derivedBasalCaloriesBurnedFromProfile()
[all …]
DPlannedExerciseSessionRecordHelper.java23 import static com.android.server.healthconnect.storage.utils.StorageUtils.BLOB;
24 import static com.android.server.healthconnect.storage.utils.StorageUtils.BLOB_NULL;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.BOOLEAN_FALSE_VALUE;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.BOOLEAN_TRUE_VALUE;
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
28 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER_NOT_NULL;
29 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY_AUTOINCREMENT;
30 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NULL;
31 import static com.android.server.healthconnect.storage.utils.StorageUtils.convertBytesToDouble;
32 import static com.android.server.healthconnect.storage.utils.StorageUtils.convertBytesToInt;
[all …]
DRecordHelper.java28 import static com.android.server.healthconnect.storage.utils.StorageUtils.BLOB_UNIQUE_NON_NULL;
29 import static com.android.server.healthconnect.storage.utils.StorageUtils.BLOB_UNIQUE_NULL;
30 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
31 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY_AUTOINCREMENT;
32 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NULL;
33 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
34 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
35 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorString;
36 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorUUID;
37 import static com.android.server.healthconnect.storage.utils.StorageUtils.getDedupeByteBuffer;
[all …]
DSkinTemperatureRecordHelper.java25 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER_NOT_NULL;
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
28 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL_NOT_NULL;
29 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
30 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
31 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
32 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorUUID;
DAccessLogsHelper.java20 import static com.android.server.healthconnect.storage.utils.StorageUtils.DELIMITER;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER_NOT_NULL;
22 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY_AUTOINCREMENT;
23 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NOT_NULL;
24 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorIntegerList;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
DMergeDataHelper.java33 import com.android.server.healthconnect.storage.utils.StorageUtils;
194 long cursorStartTime = StorageUtils.getCursorLong(mCursor, getStartTimeColumnName()); in cursorOutOfRange()
195 long cursorEndTime = StorageUtils.getCursorLong(mCursor, getEndTimeColumnName()); in cursorOutOfRange()
331 StorageUtils.getCursorLong(cursor, getStartTimeColumnName())); in getRecordData()
334 StorageUtils.getCursorLong(cursor, getEndTimeColumnName())); in getRecordData()
354 StorageUtils.getCursorLong(cursor, APP_INFO_ID_COLUMN_NAME), in getRecordData()
355 StorageUtils.getCursorLong(cursor, LAST_MODIFIED_TIME_COLUMN_NAME), in getRecordData()
401 return StorageUtils.getCursorDouble(cursor, mColumnNameToMerge); in getDataToAggregate()
403 return StorageUtils.getCursorLong(cursor, mColumnNameToMerge); in getDataToAggregate()
DBasalBodyTemperatureRecordHelper.java18 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
19 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
20 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
DBodyTemperatureRecordHelper.java18 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
19 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
20 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
DExerciseLapRecordHelper.java21 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER_NOT_NULL;
22 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL_NOT_NULL;
23 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
24 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.isNullValue;
DVo2MaxRecordHelper.java18 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
19 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
20 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
DCyclingPedalingCadenceRecordHelper.java23 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
24 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorUUID;
DPowerRecordHelper.java23 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
24 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorUUID;
DStepsCadenceRecordHelper.java23 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
24 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorUUID;
DBloodGlucoseRecordHelper.java18 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
19 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NOT_NULL;
20 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
DPreferenceHelper.java20 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NOT_NULL_UNIQUE;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NULL;
34 import com.android.server.healthconnect.storage.utils.StorageUtils;
145 String key = StorageUtils.getCursorString(cursor, KEY_COLUMN_NAME); in populatePreferences()
146 String value = StorageUtils.getCursorString(cursor, VALUE_COLUMN_NAME); in populatePreferences()
DSpeedRecordHelper.java23 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
24 import static com.android.server.healthconnect.storage.utils.StorageUtils.REAL;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorDouble;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorUUID;
DInstantRecordHelper.java19 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER;
20 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorInt;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.getCursorLong;
34 import com.android.server.healthconnect.storage.utils.StorageUtils;
157 StorageUtils.getCursorInt(cursor, ZONE_OFFSET_COLUMN_NAME)); in getZoneOffset()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DAggregationRecordData.java31 import com.android.server.healthconnect.storage.utils.StorageUtils;
72 return StorageUtils.getCursorUUID(cursor, UUID_COLUMN_NAME); in readUuid()
78 StorageUtils.getCursorLong( in populateAggregationData()
84 StorageUtils.getCursorLong( in populateAggregationData()
87 mLastModifiedTime = StorageUtils.getCursorLong(cursor, LAST_MODIFIED_TIME_COLUMN_NAME); in populateAggregationData()
88 mStartTimeZoneOffset = StorageUtils.getZoneOffset(cursor, START_ZONE_OFFSET_COLUMN_NAME); in populateAggregationData()
91 StorageUtils.getCursorLong(cursor, APP_INFO_ID_COLUMN_NAME), in populateAggregationData()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageUtilsTest.java55 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_mounted_shouldReturnVolumeInfo()
66 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_notMounted_shouldNotReturnVolumeInfo()
77 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_differentType_shouldNotReturnVolumeInfo()
88 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_defaultId_notMounted_returnsNull()
100 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getDefaultIdFromBundle_mounted_shouldReturnVolumeInfo()
114 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getIdFromBundle_shouldReturnVolumeInfo()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DPriorityMigrationHelper.java20 import static com.android.server.healthconnect.storage.utils.StorageUtils.DELIMITER;
21 import static com.android.server.healthconnect.storage.utils.StorageUtils.INTEGER_UNIQUE;
22 import static com.android.server.healthconnect.storage.utils.StorageUtils.TEXT_NOT_NULL;
38 import com.android.server.healthconnect.storage.utils.StorageUtils;
114 StorageUtils.getCursorLongList( in cachePreMigrationTable()
198 contentValues.put(PRIORITY_ORDER_COLUMN_NAME, StorageUtils.flattenLongList(priorityList)); in getContentValuesFor()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectStorageFragment.java44 import com.android.settings.deviceinfo.storage.StorageUtils;
82 if (!StorageUtils.isStorageSettingsInterestedVolume(volumeInfo)) {
123 if (StorageUtils.isVolumeRecordMissed(mStorageManager, volumeRecord)) {
167 if (!StorageUtils.isDiskUnsupported(disk)) {
249 StorageUtils.getAllStorageEntries(getContext(), mStorageManager)); in onCreate()
269 StorageUtils.launchForgetMissingVolumeRecordFragment(getContext(), storageEntry); in onAttach()
293 StorageUtils.getAllStorageEntries(getContext(), mStorageManager)); in onResume()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/utils/
DStorageUtilsTest.java24 import static com.android.server.healthconnect.storage.utils.StorageUtils.UUID_BYTE_SIZE;
25 import static com.android.server.healthconnect.storage.utils.StorageUtils.bytesToUuids;
26 import static com.android.server.healthconnect.storage.utils.StorageUtils.generateMedicalResourceUU…
27 import static com.android.server.healthconnect.storage.utils.StorageUtils.getSingleByteArray;

12345