/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/ |
D | README.md | 4 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/ |
D | ColorUtils.cpp | 195 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/ |
D | DataSpace.java | 600 @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/ |
D | ColorUtils.h | 116 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/ |
D | DataspaceUtils.h | 24 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/ |
D | NdkCommon.cpp | 105 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/ |
D | README.txt | 5 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/ |
D | C2SoftGav1Dec.h | 68 uint8_t transfer; member 75 transfer(C2Color::TRANSFER_UNSPECIFIED), in VuiColorAspects() 80 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
|
D | C2SoftGav1Dec.cpp | 149 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/ |
D | C2SoftHevcDec.h | 127 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
|
D | C2SoftHevcDec.cpp | 145 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/ |
D | ColorUtilsTest.cpp | 164 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/ |
D | C2SoftAvcDec.h | 168 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
|
D | C2SoftAvcDec.cpp | 155 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/ |
D | C2SoftMpeg2Dec.h | 167 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
|
D | C2SoftMpeg2Dec.cpp | 137 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/ |
D | Description.cpp | 27 ui::Dataspace transfer = static_cast<ui::Dataspace>(dataSpace & ui::Dataspace::TRANSFER_MASK); in dataSpaceToTransferFunction() local 28 switch (transfer) { in dataSpaceToTransferFunction()
|
/frameworks/native/libs/renderengine/ |
D | Description.cpp | 27 ui::Dataspace transfer = static_cast<ui::Dataspace>(dataSpace & ui::Dataspace::TRANSFER_MASK); in dataSpaceToTransferFunction() local 28 switch (transfer) { in dataSpaceToTransferFunction()
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 277 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/ |
D | ImsCallSessionImplBase.java | 215 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/ |
D | LayerDrawable.cpp | 105 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/ |
D | SampleFilterPlugin.cpp | 93 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/ |
D | downmix_tests.cpp | 313 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/ |
D | MtpDataPacket.cpp | 477 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/ |
D | FinalPort.java | 39 super.transfer(null); in setFieldFrame()
|