Home
last modified time | relevance | path

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

1234567891011

/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/module/foundation/
DColorUtils.cpp199 ColorAspects::Transfer transfer) { in wrapColorAspectsIntoColorTransfer() argument
201 if (sTransfers.map(transfer, &res)) { in wrapColorAspectsIntoColorTransfer()
203 } else if (!isValid(transfer)) { in wrapColorAspectsIntoColorTransfer()
205 } else if (isDefined(transfer)) { in wrapColorAspectsIntoColorTransfer()
206 return kColorTransferExtendedStart + transfer; in wrapColorAspectsIntoColorTransfer()
209 return kColorTransferVendorStart + transfer; in wrapColorAspectsIntoColorTransfer()
215 int32_t transfer, ColorAspects::Transfer *aspect) { in unwrapColorAspectsFromColorTransfer() argument
216 if (sTransfers.map((ColorTransfer)transfer, aspect)) { in unwrapColorAspectsFromColorTransfer()
222 if (transfer >= (int32_t)kColorTransferVendorStart) { in unwrapColorAspectsFromColorTransfer()
226 if (transfer >= start && transfer < start + numTransfers) { in unwrapColorAspectsFromColorTransfer()
[all …]
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DColorUtils.h117 static int32_t wrapColorAspectsIntoColorTransfer(ColorAspects::Transfer transfer);
123 int32_t transfer, ColorAspects::Transfer *aspect);
129 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects);
131 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer);
136 int32_t *primaries, int32_t *transfer, int32_t *coeffs, bool *fullRange);
139 int32_t primaries, int32_t transfer, int32_t coeffs, bool fullRange,
143 int32_t *range, int32_t *standard, int32_t *transfer);
162 const android_dataspace &dataspace, int *range, int *standard, int *transfer);
174 const sp<AMessage> &format, int *range, int *standard, int *transfer);
/frameworks/base/core/java/android/hardware/
DDataSpace.java680 @DataSpaceTransfer int transfer, in pack() argument
685 if ((transfer & TRANSFER_MASK) != transfer) { in pack()
686 throw new IllegalArgumentException("Invalid transfer " + transfer); in pack()
691 return standard | transfer | range; in pack()
714 @DataSpaceTransfer int transfer = dataSpace & TRANSFER_MASK; in getTransfer() local
715 return transfer; in getTransfer()
/frameworks/av/media/module/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/native/libs/ui/include_types/ui/
DHdrRenderTypeUtils.h40 const auto transfer = dataspace & HAL_DATASPACE_TRANSFER_MASK; variable
43 if (transfer == HAL_DATASPACE_TRANSFER_ST2084 || transfer == HAL_DATASPACE_TRANSFER_HLG) {
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.h76 uint8_t transfer; member
83 transfer(C2Color::TRANSFER_UNSPECIFIED), in VuiColorAspects()
88 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftGav1Dec.cpp185 C2F(mDefaultColorAspects, transfer) in IntfImpl()
204 C2F(mCodedColorAspects, transfer).inRange( in IntfImpl()
222 C2F(mColorAspects, transfer).inRange( in IntfImpl()
295 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
296 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
312 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
313 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
329 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
330 ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
716 vuiColorAspects.transfer = buffer->transfer_characteristics; in getVuiParams()
[all …]
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.h83 uint8_t transfer; member
90 transfer(C2Color::TRANSFER_UNSPECIFIED), in VuiColorAspects()
95 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs &&
DC2SoftDav1dDec.cpp180 C2F(mDefaultColorAspects, transfer) in IntfImpl()
199 C2F(mCodedColorAspects, transfer) in IntfImpl()
219 C2F(mColorAspects, transfer) in IntfImpl()
304 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
305 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
321 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
322 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
338 me.set().transfer = in ColorAspectsSetter()
339 coded.v.transfer == TRANSFER_UNSPECIFIED ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
887 vuiColorAspects.transfer = picture->seq_hdr->trc; 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.cpp148 C2F(mDefaultColorAspects, transfer).inRange( in IntfImpl()
166 C2F(mCodedColorAspects, transfer).inRange( in IntfImpl()
184 C2F(mColorAspects, transfer).inRange( in IntfImpl()
249 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
250 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
266 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
267 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
283 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
284 ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
597 vuiColorAspects.transfer = s_get_vui_params_op.u1_transfer_characteristics; in getVuiParams()
[all …]
/frameworks/av/media/codec2/hal/common/
DBufferTypes.cpp153 bool transfer) { in EndTransferBufferQueueBlock() argument
157 _C2BlockFactory::EndTransferBlockToClient(data, transfer); in EndTransferBufferQueueBlock()
165 bool transfer, in EndTransferBufferQueueBlocks() argument
169 std::placeholders::_1, transfer), in EndTransferBufferQueueBlocks()
/frameworks/av/media/module/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/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.cpp140 C2F(mDefaultColorAspects, transfer).inRange( in IntfImpl()
158 C2F(mCodedColorAspects, transfer).inRange( in IntfImpl()
176 C2F(mColorAspects, transfer).inRange( in IntfImpl()
241 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
242 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
258 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
259 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
275 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
276 ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
666 vuiColorAspects.transfer = s_ctl_get_seq_info_op.u1_transfer_characteristics; in getSeqInfo()
[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.cpp158 C2F(mDefaultColorAspects, transfer).inRange( in IntfImpl()
176 C2F(mCodedColorAspects, transfer).inRange( in IntfImpl()
194 C2F(mColorAspects, transfer).inRange( in IntfImpl()
258 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in DefaultColorAspectsSetter()
259 me.set().transfer = C2Color::TRANSFER_OTHER; in DefaultColorAspectsSetter()
275 if (me.v.transfer > C2Color::TRANSFER_OTHER) { in CodedColorAspectsSetter()
276 me.set().transfer = C2Color::TRANSFER_OTHER; in CodedColorAspectsSetter()
292 me.set().transfer = coded.v.transfer == TRANSFER_UNSPECIFIED in ColorAspectsSetter()
293 ? def.v.transfer : coded.v.transfer; in ColorAspectsSetter()
603 vuiColorAspects.transfer = s_get_vui_params_op.u1_tfr_chars; in getVuiParams()
[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/base/libs/hwui/
DTonemapper.cpp82 const auto transfer = extractTransfer(dataspace); in isHdrDataspace() local
84 return transfer == ui::Dataspace::TRANSFER_ST2084 || transfer == ui::Dataspace::TRANSFER_HLG; in isHdrDataspace()
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp300 uint32_t standard, transfer; in isHDR() local
304 if (!format->findInt32("color-transfer", (int32_t*)&transfer)) { in isHDR()
305 transfer = 0; in isHDR()
308 (transfer == ColorUtils::kColorTransferST2084 || in isHDR()
309 transfer == ColorUtils::kColorTransferHLG); in isHDR()
717 uint32_t standard, range, transfer; in onOutputReceived() local
724 if (!outputFormat->findInt32("color-transfer", (int32_t*)&transfer)) { in onOutputReceived()
725 transfer = 0; in onOutputReceived()
738 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived()
1001 uint32_t standard, range, transfer; in onOutputReceived() local
[all …]
/frameworks/native/services/surfaceflinger/
DScreenCaptureOutput.cpp118 auto transfer = layer.sourceDataspace & ui::Dataspace::TRANSFER_MASK; in generateClientCompositionRequests() local
119 if (transfer != static_cast<int32_t>(ui::Dataspace::TRANSFER_HLG) && in generateClientCompositionRequests()
120 transfer != static_cast<int32_t>(ui::Dataspace::TRANSFER_ST2084)) { in generateClientCompositionRequests()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsCallSessionImplBase.java263 public void transfer(@NonNull String number, boolean isConfirmationRequired) {
264 executeMethodAsync(() -> ImsCallSessionImplBase.this.transfer(number,
273 ImsCallSessionImplBase.this.transfer(otherSession);
575 public void transfer(@NonNull String number, boolean isConfirmationRequired) { in transfer() method in ImsCallSessionImplBase
584 public void transfer(@NonNull ImsCallSessionImplBase otherSession) { in transfer() method in ImsCallSessionImplBase
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java389 mManager.transfer( in testRouterOnSessionCreated()
417 mManager.transfer( in testGetRoutingSessions()
458 mManager.transfer( in testTransfer_unknownRoute_fail()
496 mManager.transfer( in testRouterRelease_managerGetRoutingSessions()
534 mManager.transfer( in testSelectAndTransferAndRelease()
549 mManager.transfer( in testSelectAndTransferAndRelease()
610 mManager.transfer( in testTransferTwice()
613 mManager.transfer( in testTransferTwice()
661 mManager.transfer( in testTransfer_ignored_fails()
736 mManager.transfer( in testSetSessionVolume()
[all …]

1234567891011