Home
last modified time | relevance | path

Searched refs:standard (Results 1 – 25 of 90) sorted by relevance

1234

/frameworks/base/core/jni/
Dandroid_media_AudioDescriptor.h31 static inline status_t audioStandardFromNative(audio_standard_t nStandard, int* standard) { in audioStandardFromNative() argument
35 *standard = STANDARD_NONE; in audioStandardFromNative()
38 *standard = STANDARD_EDID; in audioStandardFromNative()
41 *standard = STANDARD_SADB; in audioStandardFromNative()
44 *standard = STANDARD_VSADB; in audioStandardFromNative()
/frameworks/av/media/module/foundation/
DColorUtils.cpp121 int32_t standard, in unwrapColorAspectsFromColorStandard() argument
124 if (sStandards.map((ColorStandard)standard, &res)) { in unwrapColorAspectsFromColorStandard()
133 if (standard >= (int32_t)kColorStandardVendorStart) { in unwrapColorAspectsFromColorStandard()
138 if (standard >= start && standard < start + numPrimaries * numCoeffs) { in unwrapColorAspectsFromColorStandard()
139 int32_t product = standard - start; in unwrapColorAspectsFromColorStandard()
236 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects) { in convertPlatformColorAspectsToCodecAspects() argument
239 standard, &aspects.mPrimaries, &aspects.mMatrixCoeffs); in convertPlatformColorAspectsToCodecAspects()
246 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer) { in convertCodecColorAspectsToPlatformAspects() argument
248 *standard = wrapColorAspectsIntoColorStandard(aspects.mPrimaries, aspects.mMatrixCoeffs); in convertCodecColorAspectsToPlatformAspects()
354 int32_t *range, int32_t *standard, int32_t *outtransfer) { in convertIsoColorAspectsToPlatformAspects() argument
[all …]
/frameworks/base/core/java/android/hardware/
DDataSpace.java679 public static @ColorDataSpace int pack(@DataSpaceStandard int standard, in pack() argument
682 if ((standard & STANDARD_MASK) != standard) { in pack()
683 throw new IllegalArgumentException("Invalid standard " + standard); in pack()
691 return standard | transfer | range; in pack()
702 @DataSpaceStandard int standard = dataSpace & STANDARD_MASK; in getStandard() local
703 return standard; in getStandard()
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DColorUtils.h125 int32_t standard,
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);
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/tools/hoststubgen/hoststubgen/
DAndroid.bp40 // This library contains the standard hoststubgen annotations.
131 // File that contains the standard command line argumetns to hoststubgen.
132 // This is only for the prototype. The productionized version is "ravenwood-standard-options".
134 name: "hoststubgen-standard-options",
137 "hoststubgen-standard-options.txt",
144 "@$(location :hoststubgen-standard-options) " +
160 ":hoststubgen-standard-options",
Dhoststubgen-standard-options.txt1 # File containing standard options to HostStubGen
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
DDeviceWiphyCapabilities.java77 public boolean isWifiStandardSupported(@WifiStandard int standard) { in isWifiStandardSupported() argument
78 switch (standard) { in isWifiStandardSupported()
90 Log.e(TAG, "isWifiStandardSupported called with invalid standard: " + standard); in isWifiStandardSupported()
102 public void setWifiStandardSupport(@WifiStandard int standard, boolean support) { in setWifiStandardSupport() argument
103 switch (standard) { in setWifiStandardSupport()
117 Log.e(TAG, "setWifiStandardSupport called with invalid standard: " + standard); in setWifiStandardSupport()
/frameworks/base/media/java/android/media/tv/tuner/frontend/
DDvbsFrontendCapabilities.java32 private DvbsFrontendCapabilities(int modulationCap, long innerFecCap, int standard) { in DvbsFrontendCapabilities() argument
35 mStandard = standard; in DvbsFrontendCapabilities()
DDvbsFrontendSettings.java264 int symbolRate, int rolloff, int pilot, int inputStreamId, int standard, int vcm, in DvbsFrontendSettings() argument
273 mStandard = standard; in DvbsFrontendSettings()
504 public Builder setStandard(@Standard int standard) { in setStandard() argument
505 mStandard = standard; in setStandard()
DDvbtFrontendSettings.java397 boolean isHighPriority, int standard, boolean isMiso, int plpMode, int plpId, in DvbtFrontendSettings() argument
408 mStandard = standard; in DvbtFrontendSettings()
676 public Builder setStandard(@Standard int standard) { in setStandard() argument
677 mStandard = standard; in setStandard()
/frameworks/av/media/module/foundation/tests/colorutils/
DColorUtilsTest.cpp173 int32_t standard = ColorUtils::wrapColorAspectsIntoColorStandard(mPrimaries, mMatrixCoeffs); in TEST_P() local
176 status_t status = ColorUtils::unwrapColorAspectsFromColorStandard(standard, &unwrappedPrimaries, in TEST_P()
191 int32_t standard = -1; in TEST_P() local
194 &standard, &transfer); in TEST_P()
198 status = ColorUtils::convertPlatformColorAspectsToCodecAspects(range, standard, transfer, in TEST_P()
252 int32_t standard = -1; in TEST_P() local
255 fullrange, &range, &standard, &transfer); in TEST_P()
260 EXPECT_EQ(standard, mPlatformStandard) << "standard incorrect converting to PlatformAspects"; in TEST_P()
358 int standard = -1; in TEST() local
362 ColorUtils::getColorConfigFromFormat(format, &range, &standard, &transfer); in TEST()
[all …]
/frameworks/native/libs/ftl/
DREADME.md7 libc++ branch. The design takes some liberties with standard compliance, notably
22 - Types and aliases, except standard interfaces.
27 - Type traits, with standard `_t` and `_v` suffixes.
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DMediaSizeUtils.java80 Integer standard = sMediaSizeToStandardMap.get(mediaSize); in getStandardForMediaSize() local
81 return (standard != null) ? standard : sMediaSizeStandardIso; in getStandardForMediaSize()
/frameworks/base/core/java/android/content/pm/permission/
DRuntimePermissionPresentationInfo.java53 boolean granted, boolean standard) { in RuntimePermissionPresentationInfo() argument
59 if (standard) { in RuntimePermissionPresentationInfo()
/frameworks/base/core/java/android/permission/
DRuntimePermissionPresentationInfo.java51 boolean granted, boolean standard) { in RuntimePermissionPresentationInfo() argument
59 if (standard) { in RuntimePermissionPresentationInfo()
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp300 uint32_t standard, transfer; in isHDR() local
301 if (!format->findInt32("color-standard", (int32_t*)&standard)) { in isHDR()
302 standard = 0; in isHDR()
307 return standard == ColorUtils::kColorStandardBT2020 && in isHDR()
717 uint32_t standard, range, transfer; in onOutputReceived() local
718 if (!outputFormat->findInt32("color-standard", (int32_t*)&standard)) { in onOutputReceived()
719 standard = 0; in onOutputReceived()
738 converter.setSrcColorSpace(standard, range, transfer); in onOutputReceived()
1001 uint32_t standard, range, transfer; in onOutputReceived() local
1002 if (!outputFormat->findInt32("color-standard", (int32_t*)&standard)) { in onOutputReceived()
[all …]
/frameworks/base/media/java/android/media/
DAudioDescriptor.java75 public AudioDescriptor(int standard, int encapsulationType, @NonNull byte[] descriptor) { in AudioDescriptor() argument
76 mStandard = standard; in AudioDescriptor()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagAttribute.inc46 "conflicting procedure call standard config in input %0.",
47 "conflicting procedure call standard config in input %0.")
/frameworks/layoutlib/bridge/resources/bars/
DREADME3 The resources are not arranged as per the standard resources configuration.
/frameworks/base/tools/hoststubgen/scripts/
Dbuild-framework-hostside-jars-without-genrules.sh36 @../hoststubgen/hoststubgen-standard-options.txt
/frameworks/base/
DRavenwood.bp33 "@$(location :ravenwood-standard-options) " +
50 ":ravenwood-standard-options",
133 "@$(location :ravenwood-standard-options) " +
150 ":ravenwood-standard-options",
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp552 int32_t standard{0}; in TEST_F() local
553 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_STANDARD, &standard)) in TEST_F()
555 EXPECT_EQ(COLOR_STANDARD_BT709, standard) in TEST_F()
574 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_STANDARD, &standard)) in TEST_F()
576 EXPECT_EQ(COLOR_STANDARD_BT2020, standard) in TEST_F()
600 ASSERT_TRUE(mConfig.mOutputFormat->findInt32(KEY_COLOR_STANDARD, &standard)) in TEST_F()
602 EXPECT_EQ(COLOR_STANDARD_BT2020, standard) in TEST_F()
/frameworks/base/media/java/android/media/audio/common/
DAidlConversion.java557 extraDescriptor.standard = in api2aidl_AudioDescriptor_ExtraAudioDescriptor()
572 aidl2api_AudioStandard_AudioDescriptorStandard(extraDescriptor.standard), in aidl2api_ExtraAudioDescriptor_AudioDescriptor()
584 @AudioDescriptor.AudioDescriptorStandard int standard) { in api2aidl_AudioDescriptorStandard_AudioStandard()
585 switch (standard) { in api2aidl_AudioDescriptorStandard_AudioStandard()
602 public static int aidl2api_AudioStandard_AudioDescriptorStandard(@AudioStandard int standard) { in aidl2api_AudioStandard_AudioDescriptorStandard() argument
603 switch (standard) { in aidl2api_AudioStandard_AudioDescriptorStandard()
/frameworks/base/media/tests/aidltests/src/com/android/media/
DAidlConversionUnitTests.java491 assertEquals(AudioStandard.EDID, port.extraAudioDescriptors[0].standard); in testAudioDeviceAttributesConversion()
496 assertEquals(AudioStandard.NONE, port.extraAudioDescriptors[1].standard); in testAudioDeviceAttributesConversion()
516 extraDescriptor.standard = AudioStandard.NONE; in createDefaultDescriptor()
524 extraDescriptor.standard = AudioStandard.EDID; in createEncapsulationDescriptor()
/frameworks/base/ravenwood/texts/
Dravenwood-standard-options.txt1 # File containing standard options to HostStubGen for Ravenwood

1234