Home
last modified time | relevance | path

Searched refs:converted (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp76 bool converted = b2h( in setMaxDequeuedBufferCount() local
80 return {converted ? hStatus : HStatus::UNKNOWN_ERROR}; in setMaxDequeuedBufferCount()
90 bool converted = in requestBuffer() local
95 _hidl_cb(converted ? hStatus : HStatus::UNKNOWN_ERROR, in requestBuffer()
102 bool converted = b2h(mBase->setAsyncMode(async), &hStatus); in setAsyncMode() local
103 return {converted ? hStatus : HStatus::UNKNOWN_ERROR}; in setAsyncMode()
114 bool converted = in dequeueBuffer() local
129 _hidl_cb(converted ? hStatus : HStatus::UNKNOWN_ERROR, in dequeueBuffer()
137 bool converted = b2h( in detachBuffer() local
139 return {converted ? hStatus : HStatus::UNKNOWN_ERROR}; in detachBuffer()
[all …]
DH2BGraphicBufferProducer.cpp85 bool converted{}; in requestBuffer() local
88 [&converted, &bStatus, bBuffer]( in requestBuffer()
92 converted = in requestBuffer()
103 if (!converted) { in requestBuffer()
150 bool converted{}; in dequeueBuffer() local
153 [&converted, &bStatus, slot, fence, outBufferAge] ( in dequeueBuffer()
155 converted = h2b(hStatus, &bStatus); in dequeueBuffer()
156 if (!converted || bStatus != OK) { in dequeueBuffer()
166 converted = h2b(hOutput.fence, fence); in dequeueBuffer()
172 if (!converted) { in dequeueBuffer()
[all …]
/frameworks/ml/nn/tools/test_generator/test_harness/
DTestHarness.cpp310 TestModel converted(testModel.copy()); in convertQuant8AsymmOperandsToSigned() local
311 processSubgraph(&converted.main); in convertQuant8AsymmOperandsToSigned()
312 for (TestSubgraph& subgraph : converted.referenced) { in convertQuant8AsymmOperandsToSigned()
315 return converted; in convertQuant8AsymmOperandsToSigned()
701 TestOperand converted = op; in convertOperandToFloat32() local
702 converted.type = in convertOperandToFloat32()
704 converted.scale = 0.0f; in convertOperandToFloat32()
705 converted.zeroPoint = 0; in convertOperandToFloat32()
707 const uint32_t numberOfElements = getNumberOfElements(converted); in convertOperandToFloat32()
708 converted.data = TestBuffer(numberOfElements * sizeof(float)); in convertOperandToFloat32()
[all …]
/frameworks/base/core/java/android/service/autofill/
DDateValueSanitizer.java76 final String converted = mDateFormat.format(date); in sanitize() local
77 if (sDebug) Log.d(TAG, "Transformed " + date + " to " + converted); in sanitize()
79 final Date sanitized = mDateFormat.parse(converted); in sanitize()
DCharSequenceTransformation.java79 final StringBuilder converted = new StringBuilder(); in apply() local
98 converted.append(convertedValue); in apply()
107 Log.d(TAG, "Converting text on child " + childViewId + " to " + converted.length() in apply()
109 parentTemplate.setCharSequence(childViewId, "setText", converted); in apply()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.cpp106 bool converted = false; in copyPhysicalCameraSettings() local
129 converted = false; in copyPhysicalCameraSettings()
131 converted = convertFromHidl(settingsFmq, &physicalCameraSetting.settings); in copyPhysicalCameraSettings()
137 converted = in copyPhysicalCameraSettings()
141 if (!converted) { in copyPhysicalCameraSettings()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DJsonWebKeyUnittest.cpp42 String8* converted) { in stringFromVector() argument
43 converted->clear(); in stringFromVector()
49 converted->appendFormat("%c", input.itemAt(i)); in stringFromVector()
/frameworks/base/tools/aapt2/jni/
Daapt2_jni.cpp38 std::vector<ScopedUtfChars> converted; in list_to_utfchars() local
56 converted.push_back(ScopedUtfChars(env, string_obj)); in list_to_utfchars()
59 return converted; in list_to_utfchars()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java738 Uri converted = PhoneNumberUtils.convertSipUriToTelUri(source); in testConvertSipUriToTelUri1() local
739 assertEquals(expected, converted); in testConvertSipUriToTelUri1()
743 converted = PhoneNumberUtils.convertSipUriToTelUri(source); in testConvertSipUriToTelUri1()
744 assertEquals(expected, converted); in testConvertSipUriToTelUri1()
747 converted = PhoneNumberUtils.convertSipUriToTelUri(source); in testConvertSipUriToTelUri1()
748 assertEquals(expected, converted); in testConvertSipUriToTelUri1()
751 converted = PhoneNumberUtils.convertSipUriToTelUri(source); in testConvertSipUriToTelUri1()
752 assertEquals(expected, converted); in testConvertSipUriToTelUri1()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp738 bool converted{}; in migrate() local
744 [&converted, &bStatus, outSlot]( in migrate()
746 converted = h2b(hStatus, &bStatus); in migrate()
748 if (converted && releaseAll && bStatus == android::OK) { in migrate()
752 if (!transResult.isOk() || !converted || bStatus != android::OK) { in migrate()
/frameworks/rs/script_api/
Drs_convert.spec108 clamping may be done after the input is multiplied by 255.f and converted to an integer,
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java916 WifiLinkLayerStats converted = WifiVendorHal.frameworkFromHalLinkLayerStats(stats); in testLinkLayerStatsAssignment() local
918 verifyIFaceStats(stats.iface, converted); in testLinkLayerStatsAssignment()
919 verifyRadioStats(stats.radios, converted); in testLinkLayerStatsAssignment()
920 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment()
921 assertEquals(WifiLinkLayerStats.V1_0, converted.version); in testLinkLayerStatsAssignment()
943 WifiLinkLayerStats converted = WifiVendorHal.frameworkFromHalLinkLayerStats_1_3(stats); in testLinkLayerStatsAssignment_1_3() local
945 verifyIFaceStats(stats.iface, converted); in testLinkLayerStatsAssignment_1_3()
946 verifyRadioStats_1_3(stats.radios, converted); in testLinkLayerStatsAssignment_1_3()
947 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment_1_3()
948 assertEquals(WifiLinkLayerStats.V1_3, converted.version); in testLinkLayerStatsAssignment_1_3()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp1692 bool converted; in readOneResultMetadata() local
1704 converted = utils::convertFromHidlCloned(hCameraMetadata, metadata); in readOneResultMetadata()
1706 converted = utils::convertFromHidlCloned(fmqSizeOrMetadata.metadata(), metadata); in readOneResultMetadata()
1709 return converted ? ACAMERA_OK : ACAMERA_ERROR_UNKNOWN; in readOneResultMetadata()
/frameworks/layoutlib/create/
DREADME.txt21 generated by the Android build, right before the classes are converted to a DEX format.
/frameworks/ml/nn/tools/test_generator/
DREADME.md245 # "hash" will be converted to a model input when applying AllTensorsAsInputsConverter,
/frameworks/rs/script_api/include/
Drs_convert.rsh1571 * clamping may be done after the input is multiplied by 255.f and converted to an integer,
/frameworks/opt/telephony/proto/src/
Dtelephony.proto2275 // is converted to a CS call, which doesn't report call quality information,