Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/print/
DIPrintSpoolerCallbacks.aidl32 void onGetPrintJobInfosResult(in List<PrintJobInfo> printJob, int sequence); in onGetPrintJobInfosResult() argument
33 void onCancelPrintJobResult(boolean canceled, int sequence); in onCancelPrintJobResult() argument
34 void onSetPrintJobStateResult(boolean success, int sequence); in onSetPrintJobStateResult() argument
35 void onSetPrintJobTagResult(boolean success, int sequence); in onSetPrintJobTagResult() argument
36 void onGetPrintJobInfoResult(in PrintJobInfo printJob, int sequence); in onGetPrintJobInfoResult() argument
45 void onGetCustomPrinterIconResult(in Icon icon, int sequence); in onGetCustomPrinterIconResult() argument
52 void onCustomPrinterIconCached(int sequence); in onCustomPrinterIconCached() argument
59 void customPrinterIconCacheCleared(int sequence); in customPrinterIconCacheCleared() argument
DIPrintSpooler.aidl40 int state, int appId, int sequence); in getPrintJobInfos() argument
42 int appId, int sequence); in getPrintJobInfo() argument
45 IPrintSpoolerCallbacks callback, int sequence); in setPrintJobState() argument
82 in IPrintSpoolerCallbacks callbacks, in int sequence); in onCustomPrinterIconLoaded() argument
94 in IPrintSpoolerCallbacks callbacks, in int sequence); in getCustomPrinterIcon() argument
103 in int sequence); in clearCustomPrinterIconCache() argument
106 int sequence); in setPrintJobTag() argument
DIWriteResultCallback.aidl28 void onWriteStarted(ICancellationSignal cancellation, int sequence); in onWriteStarted() argument
29 void onWriteFinished(in PageRange[] pages, int sequence); in onWriteFinished() argument
30 void onWriteFailed(CharSequence error, int sequence); in onWriteFailed() argument
31 void onWriteCanceled(int sequence); in onWriteCanceled() argument
DILayoutResultCallback.aidl28 void onLayoutStarted(ICancellationSignal cancellation, int sequence); in onLayoutStarted() argument
29 void onLayoutFinished(in PrintDocumentInfo info, boolean changed, int sequence); in onLayoutFinished() argument
30 void onLayoutFailed(CharSequence error, int sequence); in onLayoutFailed() argument
31 void onLayoutCanceled(int sequence); in onLayoutCanceled() argument
/frameworks/base/services/companion/java/com/android/server/companion/transport/
DTransport.java133 protected abstract void sendMessage(int message, int sequence, @NonNull byte[] data) in sendMessage() argument
138 final int sequence = mNextSequence.incrementAndGet(); in requestForResponse() local
141 mPendingRequests.put(sequence, pending); in requestForResponse()
145 sendMessage(message, sequence, data); in requestForResponse()
148 mPendingRequests.remove(sequence); in requestForResponse()
156 protected final void handleMessage(int message, int sequence, @NonNull byte[] data) in handleMessage() argument
160 + " sequence " + sequence + " length " + data.length in handleMessage()
166 processRequest(message, sequence, data); in handleMessage()
171 processResponse(message, sequence, data); in handleMessage()
177 private void processRequest(int message, int sequence, byte[] data) in processRequest() argument
[all …]
DRawTransport.java78 protected void sendMessage(int message, int sequence, @NonNull byte[] data) in sendMessage() argument
82 + " sequence " + sequence + " length " + data.length in sendMessage()
89 .putInt(sequence) in sendMessage()
103 final int sequence = header.getInt(); in receiveMessage() local
108 handleMessage(message, sequence, data); in receiveMessage()
DSecureTransport.java70 protected void sendMessage(int message, int sequence, @NonNull byte[] data) in sendMessage() argument
79 + " sequence " + sequence + " length " + data.length in sendMessage()
87 .putInt(sequence) in sendMessage()
133 final int sequence = payload.getInt(); in onSecureMessageReceived() local
139 handleMessage(message, sequence, content); in onSecureMessageReceived()
/frameworks/base/core/java/android/util/
DTimedRemoteCaller.java118 protected final void onRemoteMethodResult(T result, int sequence) { in onRemoteMethodResult() argument
121 boolean containedSequenceId = mAwaitedCalls.get(sequence) != 0; in onRemoteMethodResult()
123 mAwaitedCalls.delete(sequence); in onRemoteMethodResult()
124 mReceivedCalls.put(sequence, result); in onRemoteMethodResult()
137 protected final T getResultTimed(int sequence) throws TimeoutException { in getResultTimed() argument
142 if (mReceivedCalls.indexOfKey(sequence) >= 0) { in getResultTimed()
143 return mReceivedCalls.removeReturnOld(sequence); in getResultTimed()
148 mAwaitedCalls.delete(sequence); in getResultTimed()
149 throw new TimeoutException("No response for sequence: " + sequence); in getResultTimed()
/frameworks/base/tools/fonts/
Dfontchain_linter.py156 sequence = [first_glyph] + ligature.Component
157 sequence = [reverse_cmap[glyph] for glyph in sequence]
158 sequence = tuple(sequence)
161 for sub_len in range(2, len(sequence)+1):
162 subsequence = sequence[:sub_len]
164 emoji_map[sequence] = ligature.LigGlyph
344 def seq_any(sequence, pred): argument
345 if type(sequence) is tuple:
346 return any([pred(x) for x in sequence])
348 return pred(sequence)
[all …]
/frameworks/native/libs/vr/libbroadcastring/
Dbroadcast_ring_test.cc145 uint32_t sequence = oldest_sequence_at_start; in TYPED_TEST() local
147 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
148 EXPECT_EQ(oldest_sequence_at_start, sequence); in TYPED_TEST()
154 uint32_t sequence = next_sequence_at_start; in TYPED_TEST() local
156 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
157 EXPECT_EQ(next_sequence_at_start, sequence); in TYPED_TEST()
161 uint32_t sequence = next_sequence_at_start + 1; in TYPED_TEST() local
163 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
164 EXPECT_EQ(next_sequence_at_start + 1, sequence); in TYPED_TEST()
181 uint32_t sequence = ring.GetOldestSequence() + i; in TYPED_TEST() local
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java727 public void onGetPrintJobInfosResult(List<PrintJobInfo> printJobs, int sequence) { in GetPrintJobInfosCaller()
728 onRemoteMethodResult(printJobs, sequence); in GetPrintJobInfosCaller()
736 final int sequence = onBeforeRemoteCall(); in getPrintJobInfos() local
737 target.getPrintJobInfos(mCallback, componentName, state, appId, sequence); in getPrintJobInfos()
738 return getResultTimed(sequence); in getPrintJobInfos()
749 public void onGetPrintJobInfoResult(PrintJobInfo printJob, int sequence) { in GetPrintJobInfoCaller()
750 onRemoteMethodResult(printJob, sequence); in GetPrintJobInfoCaller()
757 final int sequence = onBeforeRemoteCall(); in getPrintJobInfo() local
758 target.getPrintJobInfo(printJobId, mCallback, appId, sequence); in getPrintJobInfo()
759 return getResultTimed(sequence); in getPrintJobInfo()
[all …]
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
DSingleStateQueue.h69 int32_t sequence = mSequence; in push() local
70 sequence++; in push()
71 android_atomic_acquire_store(sequence, &shared->mSequence); in push()
73 sequence++; in push()
74 android_atomic_release_store(sequence, &shared->mSequence); in push()
75 mSequence = sequence; in push()
77 return sequence; in push()
96 bool ack(int32_t sequence) const in ack() argument
99 return mShared->mAck - sequence >= 0; in ack()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java767 private void handleOnLayoutStarted(ICancellationSignal cancellation, int sequence) { in handleOnLayoutStarted() argument
768 if (sequence != mSequence) { in handleOnLayoutStarted()
789 boolean changed, int sequence) { in handleOnLayoutFinished() argument
790 if (sequence != mSequence) { in handleOnLayoutFinished()
823 private void handleOnLayoutFailed(CharSequence error, int sequence) { in handleOnLayoutFailed() argument
824 if (sequence != mSequence) { in handleOnLayoutFailed()
843 private void handleOnLayoutCanceled(int sequence) { in handleOnLayoutCanceled() argument
844 if (sequence != mSequence) { in handleOnLayoutCanceled()
901 int sequence; in handleMessage() local
907 sequence = message.arg2; in handleMessage()
[all …]
/frameworks/base/services/core/java/com/android/server/inputmethod/
DIInputMethodClientInvoker.java144 void onUnbindMethod(int sequence, int unbindReason) { in onUnbindMethod() argument
146 onUnbindMethodInternal(sequence, unbindReason); in onUnbindMethod()
148 mHandler.post(() -> onUnbindMethodInternal(sequence, unbindReason)); in onUnbindMethod()
153 private void onUnbindMethodInternal(int sequence, int unbindReason) { in onUnbindMethodInternal() argument
155 mTarget.onUnbindMethod(sequence, unbindReason); in onUnbindMethodInternal()
162 void onUnbindAccessibilityService(int sequence, int id) { in onUnbindAccessibilityService() argument
164 onUnbindAccessibilityServiceInternal(sequence, id); in onUnbindAccessibilityService()
166 mHandler.post(() -> onUnbindAccessibilityServiceInternal(sequence, id)); in onUnbindAccessibilityService()
171 private void onUnbindAccessibilityServiceInternal(int sequence, int id) { in onUnbindAccessibilityServiceInternal() argument
173 mTarget.onUnbindAccessibilityService(sequence, id); in onUnbindAccessibilityServiceInternal()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerCreationArgs.cpp53 sequence = id.value_or(getInternalLayerId(sInternalSequence++)); in LayerCreationArgs()
55 sequence = *id; in LayerCreationArgs()
58 sequence = sSequence++; in LayerCreationArgs()
59 if (sequence >= INTERNAL_LAYER_PREFIX) { in LayerCreationArgs()
62 sequence = sSequence++; in LayerCreationArgs()
78 stream << "LayerCreationArgs{" << name << "[" << sequence << "] flags=" << flags in getDebugString()
/frameworks/base/media/java/android/media/tv/
DTableResponse.java71 public TableResponse(int requestId, int sequence, @ResponseResult int responseResult, in TableResponse() argument
73 super(RESPONSE_TYPE, requestId, sequence, responseResult); in TableResponse()
104 private TableResponse(int requestId, int sequence, @ResponseResult int responseResult, in TableResponse() argument
107 super(RESPONSE_TYPE, requestId, sequence, responseResult); in TableResponse()
140 public Builder(int requestId, int sequence, @ResponseResult int responseResult, int version, in Builder() argument
143 mSequence = sequence; in Builder()
DDsmccResponse.java86 public DsmccResponse(int requestId, int sequence, @ResponseResult int responseResult, in DsmccResponse() argument
88 super(RESPONSE_TYPE, requestId, sequence, responseResult); in DsmccResponse()
99 public DsmccResponse(int requestId, int sequence, @ResponseResult int responseResult, in DsmccResponse() argument
101 super(RESPONSE_TYPE, requestId, sequence, responseResult); in DsmccResponse()
119 public DsmccResponse(int requestId, int sequence, @ResponseResult int responseResult, in DsmccResponse() argument
121 super(RESPONSE_TYPE, requestId, sequence, responseResult); in DsmccResponse()
/frameworks/native/services/surfaceflinger/
DLayerVector.cpp58 if (l->sequence == r->sequence) in do_compare()
61 return (l->sequence > r->sequence) ? 1 : -1; in do_compare()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputBindResult.java206 public final int sequence; field in InputBindResult
248 InputChannel channel, String id, int sequence, in InputBindResult() argument
256 this.sequence = sequence; in InputBindResult()
289 sequence = source.readInt(); in InputBindResult()
300 + " sequence=" + sequence in toString()
332 dest.writeInt(sequence); in writeToParcel()
/frameworks/base/core/java/android/view/textservice/
DSuggestionsInfo.java109 int sequence) { in SuggestionsInfo() argument
119 mSequence = sequence; in SuggestionsInfo()
151 public void setCookieAndSequence(int cookie, int sequence) { in setCookieAndSequence() argument
153 mSequence = sequence; in setCookieAndSequence()
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h314 bool Get(uint32_t* sequence /*inout*/, Record* record /*out*/) const { in Get() argument
324 if (*sequence - head > tail - head) in Get()
325 *sequence = head; // Out of window, skip forward to first available. in Get()
327 if (*sequence == tail) return false; // No new records available. in Get()
330 CalculateGeometry(record_count(), record_size(), *sequence, tail); in Get()
343 if (final_head - head > *sequence - head) in Get()
365 bool GetNewest(uint32_t* sequence, Record* record) const { in GetNewest() argument
367 if (*sequence == newest_sequence + 1) return false; in GetNewest()
368 *sequence = newest_sequence; in GetNewest()
369 return Get(sequence, record); in GetNewest()
[all …]
/frameworks/base/core/java/android/app/
DIEphemeralResolver.aidl24 int sequence); in getEphemeralResolveInfoList() argument
27 int sequence); in getEphemeralIntentFilterList() argument
DInstantAppResolverService.java271 public void getInstantAppResolveInfoList(InstantAppRequestInfo request, int sequence, in onBind()
279 mHandler.obtainMessage(ServiceHandler.MSG_GET_INSTANT_APP_RESOLVE_INFO, sequence, in onBind()
307 public InstantAppResolutionCallback(int sequence, IRemoteCallback callback) {
309 mSequence = sequence;
340 final int sequence = message.arg1;
347 new InstantAppResolutionCallback(sequence, callback));
/frameworks/base/core/java/android/widget/
DSpellChecker.java609 public void setCharSequence(CharSequence sequence, int start, int end) { in setCharSequence() argument
611 mEndOffset = Math.min(end, sequence.length()); in setCharSequence()
612 mSentenceIterator.setText(sequence.subSequence(mStartOffset, mEndOffset).toString()); in setCharSequence()
793 private Range<Integer> detectSentenceBoundary(CharSequence sequence, in detectSentenceBoundary() argument
796 final int iteratorWindowStart = findSeparator(sequence, in detectSentenceBoundary()
799 final int iteratorWindowEnd = findSeparator(sequence, in detectSentenceBoundary()
801 Math.min(textChangeStart + 3 * MAX_SENTENCE_LENGTH, sequence.length())); in detectSentenceBoundary()
806 mSentenceIterator.setCharSequence(sequence, iteratorWindowStart, iteratorWindowEnd); in detectSentenceBoundary()
847 sentenceEnd = findSeparator(sequence, textChangeStart + MAX_SENTENCE_LENGTH, in detectSentenceBoundary()
849 sentenceStart = roundUpToWordStart(sequence, textChangeStart, sentenceStart); in detectSentenceBoundary()
[all …]
/frameworks/base/core/tests/companiontests/src/android/companion/
DSystemDataTransportTest.java191 public static byte[] generatePacket(int message, int sequence) { in generatePacket() argument
192 return generatePacket(message, sequence, EmptyArray.BYTE); in generatePacket()
195 public static byte[] generatePacket(int message, int sequence, String data) { in generatePacket() argument
196 return generatePacket(message, sequence, data.getBytes(StandardCharsets.UTF_8)); in generatePacket()
199 public static byte[] generatePacket(int message, int sequence, byte[] data) { in generatePacket() argument
202 .putInt(sequence) in generatePacket()

123456