Home
last modified time | relevance | path

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

1234

/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestLogging.java35 private static void recordEventSlow(String sequence, String event, boolean reportToTapl) { in recordEventSlow() argument
37 sequence + " / " + event); in recordEventSlow()
40 eventConsumer.accept(sequence, event); in recordEventSlow()
44 public static void recordEvent(String sequence, String event) { in recordEvent() argument
46 recordEventSlow(sequence, event, true); in recordEvent()
50 public static void recordEvent(String sequence, String message, Object parameter) { in recordEvent() argument
52 recordEventSlow(sequence, message + ": " + parameter, true); in recordEvent()
63 public static void recordKeyEvent(String sequence, String message, KeyEvent event) { in recordKeyEvent() argument
72 recordEventSlow(sequence, message + ": " + event, reportToTapl); in recordKeyEvent()
77 public static void recordMotionEvent(String sequence, String message, MotionEvent event) { in recordMotionEvent() argument
[all …]
/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/modules/Bluetooth/tools/rootcanal/rust/src/lmp/test/
Dmod.rs16 mod sequence; module
19 pub(crate) use sequence::{sequence, sequence_body};
Dsequence.rs117 macro_rules! sequence { macro
139 pub(crate) use sequence;
/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/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()
97 String sequence = expectedEvents.getKey(); in lowLevelMismatchDiagnostics() local
99 List<String> actual = new ArrayList<>(actualEvents.getNonNull(sequence)); in lowLevelMismatchDiagnostics()
104 sequence, in lowLevelMismatchDiagnostics()
/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/modules/Connectivity/tests/unit/java/android/net/
DKeepalivePacketDataUtilTest.java140 final int sequence = 0x11111111; in testToTcpKeepaliveStableParcelable() local
151 testInfo.seq = sequence; in testToTcpKeepaliveStableParcelable()
165 assertEquals(resultData.seq, sequence); in testToTcpKeepaliveStableParcelable()
177 final int sequence = 0x11111111; in testParseTcpKeepalivePacketData() local
188 testParcel.seq = sequence; in testParseTcpKeepalivePacketData()
/packages/modules/Bluetooth/android/pandora/test/
Dhfpclient_test.py243 DataElement.sequence(
252 DataElement.sequence(
254 DataElement.sequence([DataElement.uuid(BT_L2CAP_PROTOCOL_ID)]),
255 DataElement.sequence(
266 DataElement.sequence(
268 DataElement.sequence(
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DTestUtils.java193 public static void assertCharSequencesEqualToStringWithNull(String str, CharSequence sequence) { in assertCharSequencesEqualToStringWithNull() argument
195 assertThat(sequence).isNull(); in assertCharSequencesEqualToStringWithNull()
197 assertThat(sequence).isNotNull(); in assertCharSequencesEqualToStringWithNull()
198 assertThat(sequence.toString()).isEqualTo(str); in assertCharSequencesEqualToStringWithNull()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DAdDataFixture.java62 public static Uri getValidRenderUriByBuyer(AdTechIdentifier buyer, int sequence) { in getValidRenderUriByBuyer() argument
63 return CommonFixture.getUri(buyer, "/testing/hello" + sequence); in getValidRenderUriByBuyer()
66 public static Uri getValidRenderUriByBuyer(AdTechIdentifier buyer, String sequence) { in getValidRenderUriByBuyer() argument
67 return CommonFixture.getUri(buyer, "/testing/hello" + sequence); in getValidRenderUriByBuyer()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/cantrip/
DCantrip.kt33 operator fun <Data> Cantrip<Data>.invoke(sequence: Sequence<Data>): Sequence<Data> =
34 sequence.mapNotNull(::invoke)
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/logging/
DTestEventLogModule.kt37 fun instanceId(sequence: InstanceIdSequence): InstanceId = sequence.newInstanceId() in fakeEventLog()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/logging/
DEventLogModule.kt38 fun instanceId(sequence: InstanceIdSequence): InstanceId = sequence.newInstanceId() in eventLog()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java184 List<InputStream> sequence = new ArrayList<>(); in createDmStream() local
189 sequence.add(new ByteArrayInputStream(dmHeader.getBytes(StandardCharsets.UTF_8))); in createDmStream()
193 sequence.add(body); in createDmStream()
196 sequence.add(new ByteArrayInputStream(dmFooter.getBytes(StandardCharsets.UTF_8))); in createDmStream()
198 return new SequenceInputStream(new EnumerationAdapter<InputStream>(sequence.iterator())); in createDmStream()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DVideoCapture.cpp322 static uint64_t sequence = 0; // counting frames in collectFrames() local
364 mBufferInfo.sequence = sequence++; in collectFrames()
/packages/modules/Bluetooth/tools/rootcanal/rust/test/SP/
DBV-04-C.in1 sequence! { procedure, context,
DBV-03-C.in1 sequence! { procedure, context,
DBV-30-C.in1 sequence! { procedure, context,
/packages/apps/Contacts/src/com/android/contacts/vcard/
DVCardImportExportListener.java25 Notification onImportProcessed(ImportRequest request, int jobId, int sequence); in onImportProcessed() argument
/packages/modules/NeuralNetworks/tools/api/
DREADME.md95 A *null region* is a sequence of lines that is not part of any other region.
104 A *conditional region* is a sequence of lines immediately preceded by the `%kind
116 A *section region* is a sequence of lines immediately preceded by the `%section
118 line in the sequence that doesn't begin with `%` undergoes macro substitution,
/packages/modules/Bluetooth/tools/rootcanal/rust/test/ENC/
DBV-26-C.in1 sequence! { procedure, context,
DBV-01-C.in1 sequence! { procedure, context,
DBV-05-C.in1 sequence! { procedure, context,
DBV-34-C.in1 sequence! { procedure, context,

1234