Searched defs:pattern (Results 1 - 25 of 71) sorted by path

123

/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp238 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
264 ssize_t result = mPlugin->decrypt(secure, key, iv, mode, pattern, srcPtr, subSamples,
237 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
H A DCryptoHal.cpp282 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
311 hPattern.encryptBlocks = pattern.mEncryptBlocks;
312 hPattern.skipBlocks = pattern.mSkipBlocks;
281 decrypt(const uint8_t keyId[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const ICrypto::SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
H A DICrypto.cpp100 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
107 data.writeInt32(pattern.mEncryptBlocks);
108 data.writeInt32(pattern.mSkipBlocks);
314 CryptoPlugin::Pattern pattern; local
315 pattern.mEncryptBlocks = data.readInt32();
316 pattern.mSkipBlocks = data.readInt32();
393 result = decrypt(key, iv, mode, pattern, source, offset,
99 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const DestinationBuffer &destination, AString *errorDetailMsg) argument
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp796 Mode mode, const Pattern &pattern, const void *srcPtr,
801 "pattern:{encryptBlocks=%d, skipBlocks=%d} src=%p, "
806 (int)mode, pattern.mEncryptBlocks, pattern.mSkipBlocks, srcPtr,
795 decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], Mode mode, const Pattern &pattern, const void *srcPtr, const SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString * ) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.h100 CryptoPlugin::Pattern pattern; member in struct:android::NuPlayerDrm::CryptoInfo
/frameworks/av/media/libstagefright/
H A DACodec.cpp2496 OMX_VIDEO_ANDROID_TEMPORALLAYERINGPATTERNTYPE pattern = local
2500 pattern = OMX_VIDEO_AndroidTemporalLayeringPatternWebRTC;
2506 pattern = OMX_VIDEO_AndroidTemporalLayeringPatternAndroid;
2522 } else if (!(layerParams.eSupportedPatterns & pattern)) {
2533 layerConfig.ePattern = pattern;
2542 layerParams.ePattern = pattern;
2553 if (pattern == OMX_VIDEO_AndroidTemporalLayeringPatternAndroid) {
2555 } else if (pattern == OMX_VIDEO_AndroidTemporalLayeringPatternWebRTC) {
4444 OMX_VIDEO_ANDROID_VPXTEMPORALLAYERPATTERNTYPE pattern = local
4480 pattern
[all...]
H A DMediaCodec.cpp1032 const CryptoPlugin::Pattern &pattern,
1048 msg->setInt32("encryptBlocks", pattern.mEncryptBlocks);
1049 msg->setInt32("skipBlocks", pattern.mSkipBlocks);
2730 CryptoPlugin::Pattern pattern; local
2741 pattern.mEncryptBlocks = 0;
2742 pattern.mSkipBlocks = 0;
2755 CHECK(msg->findInt32("encryptBlocks", (int32_t *)&pattern.mEncryptBlocks));
2756 CHECK(msg->findInt32("skipBlocks", (int32_t *)&pattern.mSkipBlocks));
2806 pattern,
1024 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dbitstream.cpp562 /* Modified : 12/18/2000 : changed the pattern type to uint */
568 uint pattern; local
572 BitstreamShowBits16(stream, n_stuffed, &pattern);
573 if (pattern == msk[n_stuffed-1]) return PV_TRUE;
580 uint pattern; local
588 BitstreamShowBits16(stream, n_stuffed, &pattern);
589 if (pattern == 0) return PV_TRUE;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_EncodeVLCZigzag_intra.c60 * the zigzag scan pattern. This takes one of the
71 * [in] pattern block pattern which is used to decide whether
92 OMX_U8 pattern,
109 if (pattern)
87 armVCM4P2_EncodeVLCZigzag_Intra( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader, OMX_U8 start ) argument
H A DomxVCM4P2_EncodeVLCZigzag_Inter.c58 * pattern - block pattern which is used to decide whether this block is
85 OMX_U8 pattern,
99 if (pattern)
81 omxVCM4P2_EncodeVLCZigzag_Inter( OMX_U8 **ppBitStream, OMX_INT * pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 pattern, OMX_INT shortVideoHeader ) argument
H A DomxVCM4P2_EncodeVLCZigzag_IntraACVLC.c57 * scan pattern; takes one of the following values:
64 * pattern - block pattern which is used to decide whether this block is
96 OMX_U8 pattern,
107 pattern,
91 omxVCM4P2_EncodeVLCZigzag_IntraACVLC( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader ) argument
H A DomxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c62 * scan pattern; takes one of the following values:
69 * pattern - block pattern which is used to decide whether this block is
103 OMX_U8 pattern,
121 if (pattern)
170 pattern,
98 omxVCM4P2_EncodeVLCZigzag_IntraDCVLC( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader, OMXVCM4P2VideoComponent videoComp ) argument
/frameworks/av/media/libstagefright/foundation/
H A DAStringUtils.cpp34 // pattern must match until first '*'
51 const char *pattern = glob + start; local
54 // last pattern must match tail
59 return !Compare(tail, pattern, len, ignoreCase);
61 // progress after first occurrence of pattern
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) {
72 // we only get here if there were no * in the pattern
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp495 cryptoinfo_pattern_t pattern; member in struct:AMediaCodecCryptoInfo
515 CryptoPlugin::Pattern pattern; local
516 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks;
517 pattern.mSkipBlocks = crypto->pattern.skipBlocks;
527 pattern,
541 cryptoinfo_pattern_t *pattern) {
542 info->pattern.encryptBlocks = pattern
540 AMediaCodecCryptoInfo_setPattern(AMediaCodecCryptoInfo *info, cryptoinfo_pattern_t *pattern) argument
[all...]
/frameworks/base/
H A DAndroid.mk850 ## them, appending a '%' to them to form a pattern to
854 define find-no-docs-pattern
866 $(call find-no-docs-pattern, $(dirs_to_document))
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java102 static UiSelector patternBuilder(UiSelector container, UiSelector pattern) { argument
104 new UiSelector().containerSelector(container).patternSelector(pattern));
/frameworks/base/core/java/android/app/
H A DNotification.java403 * The pattern with which to vibrate.
406 * To vibrate the default pattern, see {@link #defaults}.
3330 * Set the vibration pattern to use.
3333 * <code>pattern</code> parameter.
3343 public Builder setVibrate(long[] pattern) { argument
3344 mN.vibrate = pattern;
/frameworks/base/core/java/android/content/pm/
H A DPathPermission.java31 public PathPermission(String pattern, int type, String readPermission, argument
33 super(pattern, type);
/frameworks/base/core/java/android/hardware/
H A DConsumerIrManager.java64 * Transmit an infrared pattern
66 * This method is synchronous; when it returns the pattern has
72 * @param pattern The alternating on/off pattern in microseconds to transmit.
74 public void transmit(int carrierFrequency, int[] pattern) { argument
81 mService.transmit(mPackageName, carrierFrequency, pattern);
/frameworks/base/core/java/android/os/
H A DPatternMatcher.java24 * A simple pattern matcher, which is safe to use on untrusted data: it does
30 * Pattern type: the given pattern must exactly match the string it is
36 * Pattern type: the given pattern must match the
42 * Pattern type: the given pattern is interpreted with a
53 * Pattern type: the given pattern is interpreted with a regular
59 * evaluation implementation in which matching is done against the pattern in
91 // workspace to use for building a parsed advanced pattern;
94 public PatternMatcher(String pattern, int type) { argument
95 mPattern = pattern;
98 mParsedPattern = parseAndVerifyAdvancedPattern(pattern);
162 matchPattern(String match, String pattern, int[] parsedPattern, int type) argument
176 matchGlobPattern(String pattern, String match) argument
261 parseAndVerifyAdvancedPattern(String pattern) argument
[all...]
H A DVibrator.java104 * Vibrate with a given pattern.
113 * To cause the pattern to repeat, pass the index into the pattern array at which
117 * @param pattern an array of longs of times for which to turn the vibrator on or off.
118 * @param repeat the index into pattern at which to repeat, or -1 if
125 public void vibrate(long[] pattern, int repeat) { argument
126 vibrate(pattern, repeat, null);
130 * Vibrate with a given pattern.
139 * To cause the pattern to repeat, pass the index into the pattern arra
155 vibrate(long[] pattern, int repeat, AudioAttributes attributes) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java352 * Splits a string on a pattern. String.split() returns [''] when the string to be
355 * @param pattern the regular expression to match
360 public static String[] split(String text, Pattern pattern) { argument
364 return pattern.split(text, -1);
/frameworks/base/core/java/android/text/format/
H A DTimeFormatter.java89 * Format the specified {@code wallTime} using {@code pattern}. The output is returned.
91 public String format(String pattern, ZoneInfo.WallTime wallTime, ZoneInfo zoneInfo) { argument
100 formatInternal(pattern, wallTime, zoneInfo);
129 * Format the specified {@code wallTime} using {@code pattern}. The output is written to
132 private void formatInternal(String pattern, ZoneInfo.WallTime wallTime, ZoneInfo zoneInfo) { argument
133 CharBuffer formatBuffer = CharBuffer.wrap(pattern);
/frameworks/base/core/java/android/text/util/
H A DLinkify.java56 * Alone with the pattern that is to be matched, a URL scheme prefix is also
57 * required. Any pattern match that does not begin with the supplied scheme
60 * the scheme <code>http://</code>. If the pattern matches example.com, which
169 * support@example.com. So, when matching against a web URL pattern you
175 * Examines the character span matched by the pattern and determines
178 * @param s The body of text against which the pattern
181 * matched by the pattern - inclusive
325 * @param pattern Regex pattern to be used for finding links
329 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, argument
348 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
371 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String defaultScheme, @Nullable String[] schemes, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
393 addLinks(@onNull Spannable text, @NonNull Pattern pattern, @Nullable String scheme) argument
413 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
436 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String defaultScheme, @Nullable String[] schemes, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
509 gatherLinks(ArrayList<LinkSpec> links, Spannable s, Pattern pattern, String[] schemes, MatchFilter matchFilter, TransformFilter transformFilter) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternChecker.java55 * Verify a pattern asynchronously.
58 * @param pattern The pattern to check.
59 * @param challenge The challenge to verify against the pattern.
60 * @param userId The user to check against the pattern.
64 final List<LockPatternView.Cell> pattern,
74 // Make a copy of the pattern to prevent race conditions.
76 patternCopy = new ArrayList(pattern);
99 * Checks a pattern asynchronously.
102 * @param pattern Th
63 verifyPattern(final LockPatternUtils utils, final List<LockPatternView.Cell> pattern, final long challenge, final int userId, final OnVerifyCallback callback) argument
106 checkPattern(final LockPatternUtils utils, final List<LockPatternView.Cell> pattern, final int userId, final OnCheckCallback callback) argument
[all...]

Completed in 9536 milliseconds

123