Home
last modified time | relevance | path

Searched refs:mPattern (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/os/
DPatternMatcher.java107 private final String mPattern; field in PatternMatcher
117 mPattern = pattern; in PatternMatcher()
127 return mPattern; in getPath()
135 return matchPattern(str, mPattern, mParsedPattern, mType); in match()
157 return "PatternMatcher{" + type + mPattern + "}"; in toString()
163 proto.write(PatternMatcherProto.PATTERN, mPattern); in dumpDebug()
178 return Arrays.equals(mParsedPattern, parseAndVerifyAdvancedPattern(mPattern)); in check()
192 dest.writeString(mPattern); in writeToParcel()
198 mPattern = src.readString(); in PatternMatcher()
/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java184 private final PatternMatcher mPattern; field in StringFilter.PatternStringFilter
188 mPattern = new PatternMatcher(attrValue, PatternMatcher.PATTERN_SIMPLE_GLOB); in PatternStringFilter()
193 return value != null && mPattern.match(value); in matchesValue()
198 private final Pattern mPattern; field in StringFilter.RegexFilter
202 this.mPattern = Pattern.compile(attrValue); in RegexFilter()
207 return value != null && mPattern.matcher(value).matches(); in matchesValue()
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DSampleDataClass.java185 private @NonNull Pattern mPattern = Pattern.compile(""); field in SampleDataClass
326 return Objects.equals(mPattern.pattern(), other.pattern()); in patternEquals()
329 return Objects.hashCode(mPattern.pattern()); in patternHashCode()
560 this.mPattern = pattern; in SampleDataClass()
562 NonNull.class, null, mPattern); in SampleDataClass()
729 return mPattern; in getPattern()
981 mPattern = value; in setPattern()
983 NonNull.class, null, mPattern); in setPattern()
1197 "pattern = " + mPattern + ", " + in toString()
1236 && patternEquals(that.mPattern) in equals()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java124 private final ArrayList<Cell> mPattern = new ArrayList<Cell>(9); field in LockPatternView
468 mPattern.clear(); in setPattern()
469 mPattern.addAll(pattern); in setPattern()
488 if (mPattern.size() == 0) { in setDisplayMode()
493 final Cell first = mPattern.get(0); in setDisplayMode()
610 mOnPatternListener.onPatternCellAdded(mPattern); in notifyCellAdded()
628 mOnPatternListener.onPatternDetected(mPattern); in notifyPatternDetected()
669 if (mKeepDotActivated && !mPattern.isEmpty()) { in resetPattern()
672 mPattern.clear(); in resetPattern()
680 final ArrayList<Cell> pattern = mPattern; in resetLastActivatedCellProgress()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DSchemePrefixPerfTest.java74 private final Pattern mPattern = Pattern.compile("^([a-zA-Z][a-zA-Z0-9+\\-.]*):"); in REGEX() local
78 Matcher matcher = mPattern.matcher(spec); in REGEX()
/frameworks/base/tests/benchmarks/internal/src/com/android/internal/
DLambdaPerfTest.java328 final Pattern mPattern; field in LambdaPerfTest.ValPattern
336 mPattern = Pattern.compile( in ValPattern()
342 final Matcher matcher = mPattern.matcher(line); in visit()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h80 CryptoPlugin::Pattern mPattern; member
90 mPattern{0, 0} {
/frameworks/av/media/libstagefright/
DCryptoAsync.cpp41 mPattern = info->mPattern; in CryptoAsyncInfo()
/frameworks/base/media/java/android/media/
DMediaCodec.java3178 private Pattern mPattern = ZERO_PATTERN;
3197 mPattern = ZERO_PATTERN;
3204 return new Pattern(mPattern.getEncryptBlocks(), mPattern.getSkipBlocks());
3220 mPattern = new Pattern(blocksToEncrypt, blocksToSkip);
3242 builder.append(mPattern.mEncryptBlocks); in builder.append()
3244 builder.append(mPattern.mSkipBlocks); in builder.append()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1325 private final long[] mPattern; field in InputManagerService.VibrationInfo
1330 return mPattern; in getPattern()
1377 mPattern = new long[0]; in VibrationInfo()
1382 mPattern = new long[amplitudeCount]; in VibrationInfo()
1384 System.arraycopy(pattern, 0, mPattern, 0, amplitudeCount); in VibrationInfo()
1386 if (mRepeat >= mPattern.length) { in VibrationInfo()
1389 + mPattern.length); in VibrationInfo()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2188 mPattern.mEncryptBlocks = 0;
2189 mPattern.mSkipBlocks = 0;
2191 mPattern.mEncryptBlocks = env->GetIntField(
2193 mPattern.mSkipBlocks = env->GetIntField(
2269 mPattern{0, 0} {
2300 CryptoPlugin::Pattern mPattern; member
2310 mPattern = cryptoInfo.mPattern; in MediaCodecCryptoInfo()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp540 info->mPattern, in attachEncryptedBuffers()
585 info->mPattern, in attachEncryptedBuffers()
952 info->mPattern, in queueSecureInputBuffers()
1026 info->mPattern, in queueSecureInputBuffers()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37384 Landroid/os/PatternMatcher;->mPattern:Ljava/lang/String;