Home
last modified time | relevance | path

Searched refs:transfer (Results 1 – 25 of 246) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/
DREADME.md4 This package (and child packages) include code for the media tap-to-transfer feature, which
5 allows users to easily transfer playing media between devices.
7 In media transfer, there are two devices: the **sender** and the **receiver**. The sender device
11 **Important**: System UI is **not responsible** for performing the media transfer. System UI
13 transfer and informing System UI about the transfer status.
16 External clients notify System UI about the transfer status by calling `@SystemApi`s in
21 implements the receiver callback. These controllers will then show or hide the tap-to-transfer chip
29 transfer states (transfer started, transfer succeeded, etc.) and include relevant parameters for
32 information needed to display a chip. They include the transfer state, information about the media
42 If you want to test out the tap-to-transfer chip without using the `@SystemApi`s, you can use adb
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp195 ColorAspects::Transfer transfer) { in wrapColorAspectsIntoColorTransfer() argument
197 if (sTransfers.map(transfer, &res)) { in wrapColorAspectsIntoColorTransfer()
199 } else if (!isValid(transfer)) { in wrapColorAspectsIntoColorTransfer()
201 } else if (isDefined(transfer)) { in wrapColorAspectsIntoColorTransfer()
202 return kColorTransferExtendedStart + transfer; in wrapColorAspectsIntoColorTransfer()
205 return kColorTransferVendorStart + transfer; in wrapColorAspectsIntoColorTransfer()
211 int32_t transfer, ColorAspects::Transfer *aspect) { in unwrapColorAspectsFromColorTransfer() argument
212 if (sTransfers.map((ColorTransfer)transfer, aspect)) { in unwrapColorAspectsFromColorTransfer()
218 if (transfer >= (int32_t)kColorTransferVendorStart) { in unwrapColorAspectsFromColorTransfer()
222 if (transfer >= start && transfer < start + numTransfers) { in unwrapColorAspectsFromColorTransfer()
[all …]
/frameworks/base/core/java/android/hardware/
DDataSpace.java600 @DataSpaceTransfer int transfer, in pack() argument
605 if ((transfer & TRANSFER_MASK) != transfer) { in pack()
606 throw new IllegalArgumentException("Invalid transfer " + transfer); in pack()
611 return standard | transfer | range; in pack()
634 @DataSpaceTransfer int transfer = dataSpace & TRANSFER_MASK; in getTransfer() local
635 return transfer; in getTransfer()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DColorUtils.h116 static int32_t wrapColorAspectsIntoColorTransfer(ColorAspects::Transfer transfer);
122 int32_t transfer, ColorAspects::Transfer *aspect);
128 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects);
130 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer);
135 int32_t *primaries, int32_t *transfer, int32_t *coeffs, bool *fullRange);
138 int32_t primaries, int32_t transfer, int32_t coeffs, bool fullRange,
142 int32_t *range, int32_t *standard, int32_t *transfer);
161 const android_dataspace &dataspace, int *range, int *standard, int *transfer);
173 const sp<AMessage> &format, int *range, int *standard, int *transfer);
/frameworks/native/libs/ui/include_types/ui/
DDataspaceUtils.h24 const auto transfer = dataspace & HAL_DATASPACE_TRANSFER_MASK; in isHdrDataspace() local
26 return transfer == HAL_DATASPACE_TRANSFER_ST2084 || transfer == HAL_DATASPACE_TRANSFER_HLG; in isHdrDataspace()
/frameworks/av/media/libmediatranscoding/transcoder/
DNdkCommon.cpp105 int32_t transfer; in VideoIsHdr() local
108 !AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_COLOR_TRANSFER, &transfer)) { in VideoIsHdr()
113 if (AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_COLOR_TRANSFER, &transfer)) { in VideoIsHdr()
114 return transfer == COLOR_TRANSFER_ST2084 || transfer == COLOR_TRANSFER_HLG; in VideoIsHdr()
/frameworks/av/media/libnbaio/
DREADME.txt5 Note: as used here, "short transfer count" means the return value for
17 never return a short transfer count
22 return a short transfer count if not enough data
33 if configured to not block, then will return a short transfer count
38 return a short transfer count if not enough data
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.h68 uint8_t transfer; member
75 transfer(C2Color::TRANSFER_UNSPECIFIED), in VuiColorAspects()
80 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftGav1Dec.cpp149 C2F(mDefaultColorAspects, transfer) in IntfImpl()
168 C2F(mCodedColorAspects, transfer).inRange( in IntfImpl()
186 C2F(mColorAspects, transfer).inRange( in IntfImpl()
259 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
260 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
276 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
277 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
293 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
294 ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
564 vuiColorAspects.transfer = buffer->transfer_characteristics; in getVuiParams()
[all …]
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.h127 uint8_t transfer; member
133 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
136 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftHevcDec.cpp145 C2F(mDefaultColorAspects, transfer).inRange( in IntfImpl()
163 C2F(mCodedColorAspects, transfer).inRange( in IntfImpl()
181 C2F(mColorAspects, transfer).inRange( in IntfImpl()
246 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
247 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
263 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
264 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
280 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
281 ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
593 vuiColorAspects.transfer = s_get_vui_params_op.u1_transfer_characteristics; in getVuiParams()
[all …]
/frameworks/av/media/libstagefright/foundation/tests/colorutils/
DColorUtilsTest.cpp164 int32_t transfer = ColorUtils::wrapColorAspectsIntoColorTransfer(mTransfer); in TEST_P() local
166 status_t status = ColorUtils::unwrapColorAspectsFromColorTransfer(transfer, &unwrappedTransfer); in TEST_P()
192 int32_t transfer = -1; in TEST_P() local
194 &standard, &transfer); in TEST_P()
198 status = ColorUtils::convertPlatformColorAspectsToCodecAspects(range, standard, transfer, in TEST_P()
253 int32_t transfer = -1; in TEST_P() local
255 fullrange, &range, &standard, &transfer); in TEST_P()
261 EXPECT_EQ(transfer, mPlatformTransfer) << "transfer incorrect converting to PlatformAspects"; in TEST_P()
359 int transfer = -1; in TEST() local
362 ColorUtils::getColorConfigFromFormat(format, &range, &standard, &transfer); in TEST()
[all …]
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.h168 uint8_t transfer; member
174 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
177 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftAvcDec.cpp155 C2F(mDefaultColorAspects, transfer).inRange( in IntfImpl()
173 C2F(mCodedColorAspects, transfer).inRange( in IntfImpl()
191 C2F(mColorAspects, transfer).inRange( in IntfImpl()
255 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
256 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
272 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
273 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
289 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
290 ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
599 vuiColorAspects.transfer = s_get_vui_params_op.u1_tfr_chars; in getVuiParams()
[all …]
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.h167 uint8_t transfer; member
173 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
176 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftMpeg2Dec.cpp137 C2F(mDefaultColorAspects, transfer).inRange( in IntfImpl()
155 C2F(mCodedColorAspects, transfer).inRange( in IntfImpl()
173 C2F(mColorAspects, transfer).inRange( in IntfImpl()
238 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
239 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
255 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
256 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
272 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
273 ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
661 vuiColorAspects.transfer = s_ctl_get_seq_info_op.u1_transfer_characteristics; in getSeqInfo()
[all …]
/frameworks/av/media/libstagefright/renderfright/
DDescription.cpp27 ui::Dataspace transfer = static_cast<ui::Dataspace>(dataSpace & ui::Dataspace::TRANSFER_MASK); in dataSpaceToTransferFunction() local
28 switch (transfer) { in dataSpaceToTransferFunction()
/frameworks/native/libs/renderengine/
DDescription.cpp27 ui::Dataspace transfer = static_cast<ui::Dataspace>(dataSpace & ui::Dataspace::TRANSFER_MASK); in dataSpaceToTransferFunction() local
28 switch (transfer) { in dataSpaceToTransferFunction()
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp277 uint32_t standard, transfer; in isHDR() local
281 if (!format->findInt32("color-transfer", (int32_t*)&transfer)) { in isHDR()
282 transfer = 0; in isHDR()
285 (transfer == ColorUtils::kColorTransferST2084 || in isHDR()
286 transfer == ColorUtils::kColorTransferHLG); in isHDR()
687 uint32_t standard, range, transfer; in onOutputReceived() local
694 if (!outputFormat->findInt32("color-transfer", (int32_t*)&transfer)) { in onOutputReceived()
695 transfer = 0; in onOutputReceived()
697 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived()
957 uint32_t standard, range, transfer; in onOutputReceived() local
[all …]
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsCallSessionImplBase.java215 public void transfer(@NonNull String number, boolean isConfirmationRequired) {
216 executeMethodAsync(() -> ImsCallSessionImplBase.this.transfer(number,
225 ImsCallSessionImplBase.this.transfer(otherSession);
517 public void transfer(@NonNull String number, boolean isConfirmationRequired) { in transfer() method in ImsCallSessionImplBase
526 public void transfer(@NonNull ImsCallSessionImplBase otherSession) { in transfer() method in ImsCallSessionImplBase
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp105 const auto transfer = dataspace & HAL_DATASPACE_TRANSFER_MASK; in isHdrDataspace() local
107 return transfer == HAL_DATASPACE_TRANSFER_ST2084 || transfer == HAL_DATASPACE_TRANSFER_HLG; in isHdrDataspace()
/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp93 mHelper.mInputColorAspectInfo->transfer, in getDataSpace()
115 return info && info.transfer == C2Color::TRANSFER_170M; in IsFilteringEnabled()
245 C2F(mInputColorAspectInfo, transfer).any(), in Helper()
259 C2F(mColorAspectRequestInfo, transfer).oneOf({ in Helper()
274 C2F(mOutputColorAspectInfo, transfer).any(), in Helper()
312 me.set().transfer = inputColor.v.transfer; in OutputColorAspectsSetter()
313 if (request.v.transfer == C2Color::TRANSFER_170M) { in OutputColorAspectsSetter()
314 me.set().transfer = C2Color::TRANSFER_170M; in OutputColorAspectsSetter()
330 if (me.v.transfer != C2Color::TRANSFER_170M) { in ColorAspectsRequestSetter()
331 me.set().transfer = C2Color::TRANSFER_UNSPECIFIED; in ColorAspectsRequestSetter()
/frameworks/av/media/libeffects/downmix/tests/
Ddownmix_tests.cpp313 const size_t transfer = std::min(frames - pos, FRAME_LENGTH); in process() local
314 audio_buffer_t inbuffer{.frameCount = transfer, in process()
316 audio_buffer_t outbuffer{.frameCount = transfer, in process()
320 pos += transfer; in process()
/frameworks/av/media/mtp/
DMtpDataPacket.cpp477 int length = transfer(request); in read()
485 int ret = transfer(request); in read()
504 int ret = transfer(request); in readData()
531 int length = transfer(request); in readDataHeader()
553 const int result = transfer(request); in write()
623 const int result = transfer(request); in write()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFinalPort.java39 super.transfer(null); in setFieldFrame()

12345678910