Home
last modified time | relevance | path

Searched refs:sequence (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestLogging.java29 private static void recordEventSlow(String sequence, String event) { in recordEventSlow() argument
30 Log.d(TestProtocol.TAPL_EVENTS_TAG, sequence + " / " + event); in recordEventSlow()
33 eventConsumer.accept(sequence, event); in recordEventSlow()
37 public static void recordEvent(String sequence, String event) { in recordEvent() argument
39 recordEventSlow(sequence, event); in recordEvent()
43 public static void recordEvent(String sequence, String message, Object parameter) { in recordEvent() argument
45 recordEventSlow(sequence, message + ": " + parameter); in recordEvent()
49 public static void recordMotionEvent(String sequence, String message, MotionEvent event) { in recordMotionEvent() argument
51 recordEventSlow(sequence, message + ": " + event); in recordMotionEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSentenceLevelAdapter.java91 public int getEndOfWord(final CharSequence sequence, final int fromIndex) { in getEndOfWord() argument
92 final int length = sequence.length(); in getEndOfWord()
93 int index = fromIndex < 0 ? 0 : Character.offsetByCodePoints(sequence, fromIndex, 1); in getEndOfWord()
95 final int codePoint = Character.codePointAt(sequence, index); in getEndOfWord()
104 Character.codePointAt(sequence, indexOfNextCodePoint))) { in getEndOfWord()
116 public int getBeginningOfNextWord(final CharSequence sequence, final int fromIndex) {
117 final int length = sequence.length();
121 int index = fromIndex < 0 ? 0 : Character.offsetByCodePoints(sequence, fromIndex, 1);
123 final int codePoint = Character.codePointAt(sequence, index);
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLogEventChecker.java47 void expectPattern(String sequence, Pattern pattern) { in expectPattern() argument
48 mExpectedEvents.add(sequence, pattern); in expectPattern()
90 String sequence = expectedEvents.getKey(); in verify() local
92 List<String> actual = new ArrayList<>(actualEvents.getNonNull(sequence)); in verify()
95 || mismatchPosition != -1 && !ignoreMistatch(successfulGesture, sequence); in verify()
98 sequence, in verify()
121 private static boolean ignoreMistatch(boolean successfulGesture, String sequence) { in ignoreMistatch() argument
DLauncherInstrumentation.java1379 void expectEvent(String sequence, Pattern expected) {
1381 mEventChecker.expectPattern(sequence, expected);
1383 Log.d(TAG, "Expecting: " + sequence + " / " + expected);
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DGpsCoordinatesTextClassifier.java68 CharSequence sequence = text.subSequence(start, end); in classifyText() local
69 if (isGeoSequence(sequence)) { in classifyText()
72 .setData(Uri.parse(String.format("geo:0,0?q=%s", sequence))); in classifyText()
78 .setText(sequence.toString()) in classifyText()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java164 public Builder setComputingString(@StringRes int sequence) { in setComputingString() argument
165 mComputing = sequence; in setComputingString()
169 public Builder setErrorString(@StringRes int sequence) { in setErrorString() argument
170 mError = sequence; in setErrorString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStorageSizesController.java165 public Builder setComputingString(@StringRes int sequence) { in setComputingString() argument
166 mComputing = sequence; in setComputingString()
170 public Builder setErrorString(@StringRes int sequence) { in setErrorString() argument
171 mError = sequence; in setErrorString()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md5 > (in Introduction) JSON text is a sequence of Unicode code points.
34 …r transferred over network, we need to state the byte order of the byte sequence, either little-en…
94 …andle UTF-8. Since any JSON can represent unicode characters in escaped sequence `\uXXXX`, JSON ca…
114 When RapidJSON parses a JSON, it can validate the input JSON, whether it is a valid sequence of a s…
116 …teEncodingFlag` is not necessary, as it must decode the input sequence. And if the sequence was un…
Ddom.md230 …t. During decoding, it will validate the byte sequence in the source string. If it is not a valid
232 …same as encoding of DOM, by default, the parser will *not* validate the sequence. User may use `kP…
Dfeatures.md35 … read a UTF-8 file, and let RapidJSON check whether all JSON strings are valid UTF-8 byte sequence.
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java177 List<InputStream> sequence = new ArrayList<>(); in createDmStream() local
182 sequence.add(new ByteArrayInputStream(dmHeader.getBytes(StandardCharsets.UTF_8))); in createDmStream()
186 sequence.add(body); in createDmStream()
189 sequence.add(new ByteArrayInputStream(dmFooter.getBytes(StandardCharsets.UTF_8))); in createDmStream()
191 return new SequenceInputStream(new EnumerationAdapter<InputStream>(sequence.iterator())); in createDmStream()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DRaceConditionReproducer.java496 ArrayList<String> sequence = new ArrayList<>(); in generateSequenceToFollowLocked() local
497 mRoot.populatePathToGrowthPoint(sequence); in generateSequenceToFollowLocked()
498 return sequence; in generateSequenceToFollowLocked()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPasswordHelper.java153 int sequence = PasswordMetrics.maxLengthSequence(pin); in validatePin() local
154 if (sequence > PasswordMetrics.MAX_ALLOWED_SEQUENCE) { in validatePin()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto402 // a sequence of graphic elements (e.g. text, images) to be displayed
405 // Each sequence will have a plain text representation in `alternate_text`
407 // the sequence of elements in `elements` may be left empty.
411 // One item in the sequence that makes up a Cue,
412 // a sequence of graphic elements that can be displayed one after another.
421 // If rendering fails and the text is empty, then no elements in the sequence
443 // The sequence of graphic elements.
487 // described as a Cue object containing a sequence of texts
489 // Separators, such as spaces, should be provided in the sequence.
/packages/apps/Launcher3/ext_tests/src/com/android/launcher3/testing/
DDebugTestInformationHandler.java149 (sequence, event) -> { in call() argument
153 events.add(sequence + '/' + event); in call()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DNotificationImportExportListener.java71 public Notification onImportProcessed(ImportRequest request, int jobId, int sequence) { in onImportProcessed() argument
85 if (sequence == 0) { in onImportProcessed()
DVCardImportExportListener.java25 Notification onImportProcessed(ImportRequest request, int jobId, int sequence); in onImportProcessed() argument
DNfcImportVCardActivity.java233 public Notification onImportProcessed(ImportRequest request, int jobId, int sequence) { in onImportProcessed() argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java485 int sequence = 1; in generateAvailableFilenameLocked() local
488 name = prefix + Constants.FILENAME_SEQUENCE_SEPARATOR + sequence + suffix; in generateAvailableFilenameLocked()
492 sequence += sRandom.nextInt(magnitude) + 1; in generateAvailableFilenameLocked()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java202 ASN1Sequence sequence = (ASN1Sequence) in isCa() local
204 return BasicConstraints.getInstance(sequence).isCA(); in isCa()
/packages/services/Car/tests/BugReportApp/libs/
Dauto-value-1.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/Test/connectivity/sl4n/rapidjson/
DCHANGELOG.md38 * A bug in trimming long number sequence (4824f12efbf01af72b8cb6fc96fae7b097b73015).
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12