/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | ParcelRecordConverter.java | 59 Class<? extends RecordInternal<?>> recordClass = mDataTypeClassMap.get(type); in getRecord() local 60 Objects.requireNonNull(recordClass); in getRecord() 61 RecordInternal<?> recordInternal = recordClass.getConstructor().newInstance(); in getRecord()
|
D | InternalExternalRecordConverter.java | 65 Class<? extends RecordInternal<?>> recordClass = in newInternalRecord() local 67 Objects.requireNonNull(recordClass); in newInternalRecord() 70 recordInternal = recordClass.getConstructor().newInstance(); in newInternalRecord()
|
D | RecordMapper.java | 324 (id, recordClass) -> mExternalRecordClassToRecordIdMap.put(recordClass, id)); in RecordMapper() 348 public int getRecordType(Class<? extends Record> recordClass) { in getRecordType() argument 349 return mExternalRecordClassToRecordIdMap.get(recordClass); in getRecordType() 353 public boolean hasRecordType(Class<? extends Record> recordClass) { in hasRecordType() argument 354 return mExternalRecordClassToRecordIdMap.containsKey(recordClass); in hasRecordType()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsResponseDecoderTests.java | 584 if (responseData.recordClass == MdnsInet4AddressRecord.class) { in makeMdnsResponse() 586 } else if (responseData.recordClass == MdnsInet6AddressRecord.class) { in makeMdnsResponse() 588 } else if (responseData.recordClass == MdnsPointerRecord.class) { in makeMdnsResponse() 590 } else if (responseData.recordClass == MdnsServiceRecord.class) { in makeMdnsResponse() 592 } else if (responseData.recordClass == MdnsTextRecord.class) { in makeMdnsResponse() 627 public final Class<?> recordClass; field in MdnsResponseDecoderTests.PacketAndRecordClass 631 recordClass = c; in PacketAndRecordClass()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | InsertOrUpdateRecords.kt | 150 recordClass: KClass<out Record>, in createRecordObject() 156 recordClass, mFieldNameToFieldInput, getMetaData(context, recordUuid)) in createRecordObject() 160 recordClass: KClass<out Record>, in createRecordObject() 165 recordClass, mFieldNameToFieldInput, getMetaData(context)) in createRecordObject() 169 recordClass: KClass<out Record>, in createRecordObjectHelper() 174 when (recordClass) { in createRecordObjectHelper()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | DatabaseMerger.java | 148 Class<? extends Record> recordClass = in merge() local 153 stagedDatabase, stagedPackageNamesByAppIds, recordTypeToMigrate, recordClass); in merge() 154 deleteRecordsOfType(stagedDatabase, recordTypeToMigrate, recordClass); in merge()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/changelog/ |
D | ChangeLogTokenRequest.java | 160 for (Class<? extends Record> recordClass : mRecordTypes) { in getRecordTypesAsInteger() 161 recordTypes[index++] = RecordMapper.getInstance().getRecordType(recordClass); in getRecordTypesAsInteger()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/ |
D | HealthConnectManagerNoPermissionsGrantedTest.java | 197 Class<? extends Record> recordClass = permissionAndRecordClass.second; in testGetChangeLogs_noPermissions_expectError() local 201 new ChangeLogTokenRequest.Builder().addRecordType(recordClass).build()); in testGetChangeLogs_noPermissions_expectError() 210 recordClass.getSimpleName(), permission)); in testGetChangeLogs_noPermissions_expectError()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/selectabledeletion/api/ |
D | DeleteEntriesUseCase.kt | 39 RecordIdFilter.fromId(deleteEntries.dataType.recordClass, id) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/api/ |
D | DeleteEntryUseCase.kt | 38 RecordIdFilter.fromId(deleteEntry.dataType.recordClass, deleteEntry.id) in invoke()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 397 public static <T extends Record> List<T> readAllRecords(Class<T> recordClass) in readAllRecords() argument 402 new ReadRecordsRequestUsingFilters.Builder<>(recordClass).build()); in readAllRecords() 411 new ReadRecordsRequestUsingFilters.Builder<>(recordClass) in readAllRecords() 1149 Class<? extends Record> recordClass = records.get(i).getClass(); in getRecordIdFilters() 1151 return RecordIdFilter.fromId(recordClass, id); in getRecordIdFilters() 1326 public RecordAndIdentifier(int id, Record recordClass) { in RecordAndIdentifier() argument 1328 this.mRecordClass = recordClass; in RecordAndIdentifier()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/ |
D | DataTypeListFragment.kt | 65 if (mDataSet[position].recordClass == null) { in <lambda>()
|
D | InsertRecordFragment.kt | 151 mRecordFields = permissionType.recordClass?.java?.declaredFields as Array<Field> in <lambda>() 152 mRecordClass = permissionType.recordClass in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/ |
D | BaseFormatter.kt | 49 return DataType.values().first { it.recordClass == record::class.java } in formatRecord()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | BundleHelper.java | 197 Class<? extends Record> recordClass = recordClassForName(recordClassName); in toReadRecordsRequestUsingFilters() local 200 new ReadRecordsRequestUsingFilters.Builder<>(recordClass); in toReadRecordsRequestUsingFilters() 315 Class<? extends Record> recordClass = in toDeleteRecordsByIdsRequest() 318 return RecordIdFilter.fromId(recordClass, recordId); in toDeleteRecordsByIdsRequest()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/ |
D | DataType.kt | 60 enum class DataType(val recordClass: Class<out Record>) { constant in com.android.healthconnect.controller.shared.DataType
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ |
D | Constants.kt | 261 val recordClass: KClass<out Record>?, constant in com.android.healthconnect.testapps.toolbox.Constants.HealthPermissionType
|