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

123

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
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 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_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/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 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...]
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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDateView.java120 public void setDatePattern(String pattern) { argument
121 if (TextUtils.equals(pattern, mDatePattern)) {
124 mDatePattern = pattern;
/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp44 jintArray pattern) {
45 ScopedIntArrayRO cPattern(env, pattern);
43 halTransmit(JNIEnv *env, jobject , jint carrierFrequency, jintArray pattern) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.h100 CryptoPlugin::Pattern pattern; member in struct:android::NuPlayerDrm::CryptoInfo
/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...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DPatternScanner.java44 public String tryEat(Pattern pattern) { argument
45 // Skip ignore pattern
51 Matcher matcher = pattern.matcher(mInput);
62 // Skip ignore pattern
70 public String eat(Pattern pattern, String tokenName) { argument
71 String result = tryEat(pattern);
78 public boolean peek(Pattern pattern) { argument
79 // Skip ignore pattern
85 Matcher matcher = pattern.matcher(mInput);
92 public void skip(Pattern pattern) { argument
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPResponse.java173 private static boolean equals(byte[] b1, int offset, byte[] pattern) { argument
174 for (int n = 0; n < pattern.length; n++) {
175 if (b1[n + offset] != pattern[n]) {
/frameworks/base/services/core/java/com/android/server/
H A DConsumerIrService.java33 private static native int halTransmit(int carrierFrequency, int[] pattern); argument
71 public void transmit(String packageName, int carrierFrequency, int[] pattern) { argument
79 for (int slice : pattern) {
87 throw new IllegalArgumentException("IR pattern too long");
94 int err = halTransmit(carrierFrequency, pattern);
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/
H A DDataBindingExcludeGeneratedTask.java101 private void exclude(String pattern) { argument
102 L.d("exclude %s", pattern);
103 packageTask.exclude(pattern);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DEncodedStringValue.java206 * Split this encoded string around matches of the given pattern.
208 * @param pattern the delimiting pattern
210 * string around matches of the given pattern
212 public EncodedStringValue[] split(String pattern) { argument
213 String[] temp = getString().split(pattern);
/frameworks/support/compat/java/android/support/v4/text/util/
H A DLinkifyCompat.java194 * @param pattern Regex pattern to be used for finding links
198 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, argument
200 addLinks(text, pattern, scheme, null, null, null);
210 * @param pattern Regex pattern to be used for finding links
214 * additional control over which pattern matches are
217 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, argument
220 addLinks(text, pattern, scheme, null, matchFilter, transformFilter);
230 * @param pattern Rege
240 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String defaultScheme, @Nullable String[] schemes, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
262 addLinks(@onNull Spannable text, @NonNull Pattern pattern, @Nullable String scheme) argument
282 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
305 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String defaultScheme, @Nullable String[] schemes, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
382 gatherLinks(ArrayList<LinkSpec> links, Spannable s, Pattern pattern, String[] schemes, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter) argument
[all...]
/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 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/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/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/services/tests/servicestests/src/com/android/server/
H A DLockSettingsStorageTests.java310 assertEquals("/data/system/gatekeeper.pattern.key", storage.getLockPatternFilename(0));
317 assertEquals("/data/system/users/1/gatekeeper.pattern.key", storage.getLockPatternFilename(1));
324 assertEquals("/data/system/users/2/gatekeeper.pattern.key", storage.getLockPatternFilename(2));
331 assertEquals("/data/system/users/3/gatekeeper.pattern.key", storage.getLockPatternFilename(3));
357 private void writePatternBytes(byte[] pattern, int userId) { argument
359 pattern, LockPatternUtils.CREDENTIAL_TYPE_PATTERN), userId);
368 private void assertPatternBytes(byte[] pattern, int userId) { argument
371 assertArrayEquals(pattern, cred.hash);

Completed in 2052 milliseconds

123