/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | Converter.cpp | 34 TestOperandType convert(OperandType type) { in convert() function 38 TestOperationType convert(OperationType type) { in convert() function 42 TestOperandLifeTime convert(OperandLifeTime lifetime) { in convert() function 46 std::vector<float> convert(const Scales& scales) { in convert() function 51 TestSymmPerChannelQuantParams convert(const SymmPerChannelQuantParams& params) { in convert() function 52 std::vector<float> scales = convert(params.scales()); in convert() 57 std::vector<uint32_t> convert(const Dimensions& dimensions) { in convert() function 62 TestBuffer convert(size_t size, bool initialize, const Buffer& buffer) { in convert() function 83 TestOperand convert(const Operand& operand) { in convert() function 84 const TestOperandType type = convert(operand.type()); in convert() [all …]
|
D | GenerateCorpus.cpp | 35 OperandType convert(TestOperandType type) { in convert() function 39 OperationType convert(TestOperationType type) { in convert() function 43 OperandLifeTime convert(TestOperandLifeTime lifetime) { in convert() function 47 Scales convert(const std::vector<float>& scales) { in convert() function 55 SymmPerChannelQuantParams convert(const TestSymmPerChannelQuantParams& params) { in convert() function 57 *protoParams.mutable_scales() = convert(params.scales); in convert() 78 Buffer convert(bool noValue, const TestBuffer& buffer) { in convert() function 93 Operand convert(const TestOperand& operand) { in convert() function 95 protoOperand.set_type(convert(operand.type)); in convert() 99 protoOperand.set_lifetime(convert(operand.lifetime)); in convert() [all …]
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | pdf_document_jni.cc | 97 return convert::ToJavaLoadPdfResult(env, status, std::move(doc), pdfSizeInBytes); in Java_android_graphics_pdf_PdfDocumentProxy_createFromFd() 103 Document* doc = convert::GetPdfDocPtr(env, jPdfDocument); in Java_android_graphics_pdf_PdfDocumentProxy_destroy() 114 Document* doc = convert::GetPdfDocPtr(env, jPdfDocument); in Java_android_graphics_pdf_PdfDocumentProxy_saveToFd() 123 Document* doc = convert::GetPdfDocPtr(env, jPdfDocument); in Java_android_graphics_pdf_PdfDocumentProxy_getPageDimensions() 130 return convert::ToJavaDimensions(env, dimensions); in Java_android_graphics_pdf_PdfDocumentProxy_getPageDimensions() 137 Document* doc = convert::GetPdfDocPtr(env, jPdfDocument); in Java_android_graphics_pdf_PdfDocumentProxy_getPageWidth() 146 Document* doc = convert::GetPdfDocPtr(env, jPdfDocument); in Java_android_graphics_pdf_PdfDocumentProxy_getPageHeight() 156 Document* doc = convert::GetPdfDocPtr(env, jPdfDocument); in Java_android_graphics_pdf_PdfDocumentProxy_render() 196 Document* doc = convert::GetPdfDocPtr(env, jPdfDocument); in Java_android_graphics_pdf_PdfDocumentProxy_cloneWithoutSecurity() 203 Document* doc = convert::GetPdfDocPtr(env, jPdfDocument); in Java_android_graphics_pdf_PdfDocumentProxy_getPageText() [all …]
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CbGeoUtilsTest.java | 106 CbGeoUtils.Point ptCenter = convert(origin, circle.getCenter()); in testExistingLatLngConversionToPoint() 107 CbGeoUtils.Point pt622 = convert(origin, ll622); in testExistingLatLngConversionToPoint() 115 convert(alaska, llSouth100).distance(convert(alaska, alaska))); in testExistingLatLngConversionToPoint() 119 convert(alaska, llEast100).distance(convert(alaska, alaska))); in testExistingLatLngConversionToPoint() 123 convert(alaska, llSouthEast100).distance(convert(alaska, alaska))); in testExistingLatLngConversionToPoint() 160 CbGeoUtils.Point ptWestNorth = convert(origin, llWestNorth); in testDistanceFromSegmentToAngledPoint() 161 CbGeoUtils.Point ptWestSouth = convert(origin, llWestSouth); in testDistanceFromSegmentToAngledPoint() 251 private CbGeoUtils.Point convert(LatLng origin, LatLng latLng) { in convert() method in CbGeoUtilsTest
|
/packages/modules/NeuralNetworks/runtime/ |
D | SupportLibraryDiagnostic.cpp | 53 ANeuralNetworksDiagnosticDataClass convert(DataClass dataClass) { in convert() function 72 ANeuralNetworksDiagnosticExecutionMode convert(ExecutionMode executionMode) { in convert() function 116 return convert(castTo(diagnosticCompilationInfo)->inputDataClass); in SL_ANeuralNetworksDiagnosticCompilationInfo_getInputDataClass() 121 return convert(castTo(diagnosticCompilationInfo)->outputDataClass); in SL_ANeuralNetworksDiagnosticCompilationInfo_getOutputDataClass() 166 return convert(castTo(diagnosticExecutionInfo)->executionMode); in SL_ANeuralNetworksDiagnosticExecutionInfo_getExecutionMode() 171 return convert(castTo(diagnosticExecutionInfo)->inputDataClass); in SL_ANeuralNetworksDiagnosticExecutionInfo_getInputDataClass() 176 return convert(castTo(diagnosticExecutionInfo)->outputDataClass); in SL_ANeuralNetworksDiagnosticExecutionInfo_getOutputDataClass()
|
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/jni/ |
D | PageSelection.java | 82 public android.graphics.pdf.models.selection.PageSelection convert() { in convert() method in PageSelection 85 return new android.graphics.pdf.models.selection.PageSelection(mPage, mLeft.convert(), in convert() 86 mRight.convert(), in convert()
|
D | SelectionBoundary.java | 50 public static SelectionBoundary convert( in convert() method in SelectionBoundary 79 public android.graphics.pdf.models.selection.SelectionBoundary convert() { in convert() method in SelectionBoundary
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/ |
D | AtomListConverter.java | 64 static PersistableBundle convert( in convert() method in AtomListConverter 74 return sPushedCaseConverters.get(atoms.get(0).getPushedCase()).convert( in convert() 77 return sPulledCaseConverters.get(atoms.get(0).getPulledCase()).convert( in convert()
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareAgentNetworkSpecifier.java | 55 mNetworkSpecifiers.add(convert(ns)); in WifiAwareAgentNetworkSpecifier() 61 mNetworkSpecifiers.add(convert(ns)); in WifiAwareAgentNetworkSpecifier() 141 ByteArrayWrapper nsBytes = convert(ns); in satisfiesAwareNetworkSpecifier() 159 private ByteArrayWrapper convert(WifiAwareNetworkSpecifier ns) { in convert() method in WifiAwareAgentNetworkSpecifier
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidl.cpp | 65 const auto errorStatus = aidl_hal::utils::convert(convertResultCodeToErrorStatus(resultCode)); in convertResultCodeToAidlErrorStatus() 198 uint32_t size = nonExtensionOperandSizeOfData(convert(operand.type).value(), in allocate() 243 const auto canonicalMemory = convert(dst); in copyTo() 254 aidl_hal::utils::convert(kBuffer->validateCopyTo(dstPool->getSize())).value(); in copyTo() 268 const auto canonicalMemory = convert(src); in copyFromInternal() 277 const auto validationStatus = aidl_hal::utils::convert(bufferWrapper->validateCopyFrom( in copyFromInternal() 307 const auto canonicalPools = convert(mModel.pools); in initialize() 338 aidl_hal::utils::convert( in createRunTimePoolInfos() 406 const auto model = convert(mModel).value(); in executeSynchronously() 408 auto maybeRequest = convert(halRequest); in executeSynchronously() [all …]
|
D | SampleDriverAidlPartial.cpp | 41 const auto canonicalModel = convert(model); in getSupportedOperations() 55 const auto canonicalModel = convert(model); in prepareModel()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | StorageManagerCompat.java | 50 return VolumeInfoCompat.convert(mManager.getVolumes()); in getVolumes() 55 return DiskInfoCompat.convert(mManager.getDisks()); in getDisks() 60 return VolumeRecordCompat.convert(mManager.getVolumeRecords()); in getVolumeRecords()
|
D | UserManagerCompat.java | 52 return UserInfoCompat.convert(mUserManager.getUsers()); in getUsers() 74 return UserInfoCompat.convert(mUserManager.getAliveUsers()); in getAliveUsers() 78 return UserInfoCompat.convert(mUserManager.getProfiles(userId)); in getProfiles()
|
/packages/providers/MediaProvider/tests/utils/src/com/android/providers/media/tests/utils/ |
D | Timer.java | 67 return TimeUnit.MILLISECONDS.convert(duration / count, TimeUnit.NANOSECONDS); in getAverageDurationMillis() 71 return TimeUnit.MILLISECONDS.convert(maxRunDuration, TimeUnit.NANOSECONDS); in getMaxDurationMillis()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/statsconverters/ |
D | ProcessCpuTimeConverterTest.java | 102 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle() 130 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException() 145 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
|
D | ActivityForegroundStateChangedConverterTest.java | 105 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle() 131 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException() 146 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
|
D | AppStartMemoryStateCapturedConverterTest.java | 119 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle() 163 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException() 178 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
|
D | ProcessMemoryStateConverterTest.java | 117 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle() 160 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException() 175 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
|
D | ProcessMemorySnapshotConverterTest.java | 120 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle() 171 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException() 186 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
|
D | AtomListConverterTest.java | 61 PersistableBundle bundle = AtomListConverter.convert(pushedAtomsList, null, null, null); in testConvertPushedAtomsListWithUnsetFields_putsCorrectDataToPersistableBundle() 99 PersistableBundle bundle = AtomListConverter.convert(pulledAtomsList, null, null, null); in testConvertPulledAtomsListWithUnsetFields_putsCorrectDataToPersistableBundle()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ObjectCounter.java | 104 O convert(I key, int count); in convert() method 119 output[i] = converter.convert(entry.getKey(), entry.getValue()); in toProto()
|
D | IntCounter.java | 120 T convert(int key, int count); in convert() method 135 output[i] = converter.convert(kc.key, kc.count); in toProto()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsManager.java | 482 set(scope, key, convert(value)); 493 set(scope, key, convert(value)); 574 static String convert(int value) { 608 static String convert(boolean value) {
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/ |
D | AggregateCryptoConverter.java | 77 final List<AggregateHistogramContribution> contributions = convert(payload); in encrypt() 119 final List<AggregateHistogramContribution> contributions = convert(payload); in encode() 136 static List<AggregateHistogramContribution> convert(String payload) { in convert() method in AggregateCryptoConverter
|
/packages/modules/NeuralNetworks/common/ |
D | LegacyHalUtils.cpp | 1504 return handleError(convert(status)); in uncheckedConvert() 1508 return handleError(convert(status)); in uncheckedConvert() 1524 return handleError(convert(measure)); in uncheckedConvert() 1561 return handleError(convert(model)); in uncheckedConvert() 1573 return handleError(convert(request)); in uncheckedConvert() 1594 return handleError(convert(capabilities)); in uncheckedConvert() 1620 return handleError(convert(timeoutDuration)); in uncheckedConvert() 1624 return handleError(convert(timing)); in uncheckedConvert() 1632 return handleError(V1_3::utils::convert(status)); in convertToV1_3() 1648 return handleError(V1_1::utils::convert(preference)); in convertToV1_1() [all …]
|