Home
last modified time | relevance | path

Searched refs:sequenceNumber (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DVmsRouting.java73 int sequenceNumber; in addSubscription() local
78 sequenceNumber = mSequenceNumber; in addSubscription()
80 VmsOperationRecorder.get().addPromiscuousSubscription(sequenceNumber); in addSubscription()
89 int sequenceNumber; in removeSubscription() local
94 sequenceNumber = mSequenceNumber; in removeSubscription()
96 VmsOperationRecorder.get().removePromiscuousSubscription(sequenceNumber); in removeSubscription()
106 int sequenceNumber; in addSubscription() local
113 sequenceNumber = ++mSequenceNumber; in addSubscription()
115 VmsOperationRecorder.get().addSubscription(sequenceNumber, layer); in addSubscription()
125 int sequenceNumber; in removeSubscription() local
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogicHandler.java53 final int sequenceNumber) {}
58 final int sequenceNumber) {}
60 public void getSuggestedWords(final int sessionId, final int sequenceNumber,
129 final int sequenceNumber, final boolean isTailBatchInput) { in updateBatchInput() argument
143 : SuggestedWords.INPUT_STYLE_UPDATE_BATCH, sequenceNumber, callback); in updateBatchInput()
181 final int sequenceNumber) { in onUpdateBatchInput() argument
182 updateBatchInput(batchPointers, sequenceNumber, false /* isTailBatchInput */); in onUpdateBatchInput()
212 final int sequenceNumber) { in updateTailBatchInput() argument
213 updateBatchInput(batchPointers, sequenceNumber, true /* isTailBatchInput */); in updateTailBatchInput()
216 public void getSuggestedWords(final int inputStyle, final int sequenceNumber, in getSuggestedWords() argument
[all …]
DInputLogic.java2246 final int sequenceNumber, final OnGetSuggestedWordsCallback callback) { in getSuggestedWords() argument
2259 inputStyle, sequenceNumber, callback); in getSuggestedWords()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsOperationRecorder.java80 public void addSubscription(int sequenceNumber, VmsLayer layer) { in addSubscription() argument
81 recordOp("addSubscription", "sequenceNumber", sequenceNumber, layer); in addSubscription()
84 public void removeSubscription(int sequenceNumber, VmsLayer layer) { in removeSubscription() argument
85 recordOp("removeSubscription", "sequenceNumber", sequenceNumber, layer); in removeSubscription()
88 public void addPromiscuousSubscription(int sequenceNumber) { in addPromiscuousSubscription() argument
89 recordOp("addPromiscuousSubscription", "sequenceNumber", sequenceNumber); in addPromiscuousSubscription()
92 public void removePromiscuousSubscription(int sequenceNumber) { in removePromiscuousSubscription() argument
93 recordOp("removePromiscuousSubscription", "sequenceNumber", sequenceNumber); in removePromiscuousSubscription()
96 public void addHalSubscription(int sequenceNumber, VmsLayer layer) { in addHalSubscription() argument
97 recordOp("addHalSubscription", "sequenceNumber", sequenceNumber, layer); in addHalSubscription()
[all …]
DVmsSubscriptionState.java53 public VmsSubscriptionState(int sequenceNumber, in VmsSubscriptionState() argument
56 mSequenceNumber = sequenceNumber; in VmsSubscriptionState()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsHalServiceSubscriptionEventTest.java67 int sequenceNumber = 0; in subscriptionTestLogic() local
69 sequenceNumber++; in subscriptionTestLogic()
70 subscribeViaHal(sequenceNumber, layer); in subscriptionTestLogic()
79 assertEquals(sequenceNumber, in subscriptionTestLogic()
99 private void subscribeViaHal(int sequenceNumber, VmsLayer layer) throws Exception { in subscribeViaHal() argument
111 assertEquals(sequenceNumber, in subscribeViaHal()
113 assertEquals(sequenceNumber, in subscribeViaHal()
DVmsPublisherSubscriberTest.java551 private void assertLayerAvailability(int sequenceNumber, in assertLayerAvailability() argument
556 sequenceNumber); in assertLayerAvailability()
562 private void assertSubscriptionState(int sequenceNumber, VmsLayer... layers) { in assertSubscriptionState() argument
563 assertSubscriptionState(sequenceNumber, new HashSet<>(Arrays.asList(layers)), in assertSubscriptionState()
567 private void assertSubscriptionState(int sequenceNumber, in assertSubscriptionState() argument
569 assertSubscriptionState(sequenceNumber, Collections.emptySet(), in assertSubscriptionState()
573 private void assertSubscriptionState(int sequenceNumber, Set<VmsLayer> layers, in assertSubscriptionState() argument
578 sequenceNumber); in assertSubscriptionState()
584 ToIntFunction<T> sequenceNumberFn, int sequenceNumber) { in receiveWithSequence() argument
586 for (int seq = 1; seq <= sequenceNumber; seq++) { in receiveWithSequence()
DVmsSubscriberManagerTest.java370 int sequenceNumber = values.get(VmsAvailabilityStateIntegerValuesIndex.SEQUENCE_NUMBER); in testComplexAvailableLayers() local
375 assertEquals(1, sequenceNumber); in testComplexAvailableLayers()
415 int sequenceNumber = values.get(VmsAvailabilityStateIntegerValuesIndex.SEQUENCE_NUMBER); in testDoubleOfferingAvailableLayers() local
420 assertEquals(1, sequenceNumber); in testDoubleOfferingAvailableLayers()
436 sequenceNumber = values.get(VmsAvailabilityStateIntegerValuesIndex.SEQUENCE_NUMBER); in testDoubleOfferingAvailableLayers()
441 assertEquals(2, sequenceNumber); in testDoubleOfferingAvailableLayers()
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoRequest.java32 private final long sequenceNumber; field in ContactInfoRequest
63 this.sequenceNumber = NEXT_SEQUENCE_NUMBER.getAndIncrement(); in ContactInfoRequest()
107 return Objects.hash(sequenceNumber, number, countryIso, callLogInfo, type); in hashCode()
120 return sequenceNumber < other.sequenceNumber ? -1 : 1; in compareTo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggest.java101 final boolean isCorrectionEnabled, final int inputStyle, final int sequenceNumber, in getSuggestedWords() argument
105 settingsValuesForSuggestion, inputStyle, sequenceNumber, callback); in getSuggestedWords()
109 sequenceNumber, callback); in getSuggestedWords()
156 final int sequenceNumber, final OnGetSuggestedWordsCallback callback) { in getSuggestedWordsForNonBatchInput() argument
284 false /* isObsoleteSuggestions */, inputStyle, sequenceNumber)); in getSuggestedWordsForNonBatchInput()
292 final int inputStyle, final int sequenceNumber, in getSuggestedWordsForBatchInput() argument
345 inputStyle, sequenceNumber)); in getSuggestedWordsForBatchInput()
DSuggestedWords.java81 final int sequenceNumber) { in SuggestedWords() argument
88 mSequenceNumber = sequenceNumber; in SuggestedWords()
DLatinIME.java1576 public void getSuggestedWords(final int inputStyle, final int sequenceNumber, in getSuggestedWords() argument
1584 mKeyboardSwitcher.getKeyboardShiftMode(), inputStyle, sequenceNumber, callback); in getSuggestedWords() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DTextInfoCompatUtils.java43 int sequenceNumber) { in newInstance() argument
46 charSequence, start, end, cookie, sequenceNumber); in newInstance()
49 sequenceNumber); in newInstance()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java224 int requestId, AtomicInteger sequenceNumber) { in loadEvents() argument
268 if (requestId != sequenceNumber.get()) { in loadEvents()