Home
last modified time | relevance | path

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

1234

/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/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
DIPrintDocumentAdapter.aidl36 ILayoutResultCallback callback, in Bundle metadata, int sequence); in layout() argument
38 IWriteResultCallback callback, int sequence); in write() argument
/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/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.py138 sequence = [first_glyph] + ligature.Component
139 sequence = [reverse_cmap[glyph] for glyph in sequence]
140 sequence = tuple(sequence)
143 for sub_len in range(2, len(sequence)+1):
144 subsequence = sequence[:sub_len]
146 emoji_map[sequence] = ligature.LigGlyph
319 for sequence in all_emoji:
320 assert sequence in coverage, (
321 '%s is not supported in the emoji font.' % printable(sequence))
323 for sequence in coverage:
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java761 private void handleOnLayoutStarted(ICancellationSignal cancellation, int sequence) { in handleOnLayoutStarted() argument
762 if (sequence != mSequence) { in handleOnLayoutStarted()
783 boolean changed, int sequence) { in handleOnLayoutFinished() argument
784 if (sequence != mSequence) { in handleOnLayoutFinished()
817 private void handleOnLayoutFailed(CharSequence error, int sequence) { in handleOnLayoutFailed() argument
818 if (sequence != mSequence) { in handleOnLayoutFailed()
837 private void handleOnLayoutCanceled(int sequence) { in handleOnLayoutCanceled() argument
838 if (sequence != mSequence) { in handleOnLayoutCanceled()
895 int sequence; in handleMessage() local
901 sequence = message.arg2; in handleMessage()
[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/av/include/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/native/services/surfaceflinger/
DLayerVector.cpp56 if (l->sequence == r->sequence) in do_compare()
59 return (l->sequence > r->sequence) ? 1 : -1; in do_compare()
/frameworks/base/core/java/android/view/textservice/
DSuggestionsInfo.java71 int suggestionsAttributes, String[] suggestions, int cookie, int sequence) { in SuggestionsInfo() argument
81 mSequence = sequence; in SuggestionsInfo()
113 public void setCookieAndSequence(int cookie, int sequence) { in setCookieAndSequence() argument
115 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/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java104 IAccessibilityServiceClient serviceInterface, int sequence) { in injectEvents() argument
108 args.argi1 = sequence; in injectEvents()
168 IAccessibilityServiceClient serviceInterface, int sequence) { in injectEventsMainThread() argument
171 serviceInterface.onPerformGestureResult(sequence, false); in injectEventsMainThread()
180 notifyService(serviceInterface, sequence, false); in injectEventsMainThread()
190 notifyService(serviceInterface, sequence, false); in injectEventsMainThread()
205 notifyService(serviceInterface, sequence, false); in injectEventsMainThread()
208 mSequencesInProgress.add(sequence); in injectEventsMainThread()
331 private void notifyService(IAccessibilityServiceClient service, int sequence, boolean success) { in notifyService() argument
333 service.onPerformGestureResult(sequence, success); in notifyService()
DKeyEventDispatcher.java164 public void setOnKeyEventResult(KeyEventFilter keyEventFilter, boolean handled, int sequence) { in setOnKeyEventResult() argument
167 removeEventFromListLocked(mPendingEventsMap.get(keyEventFilter), sequence); in setOnKeyEventResult()
234 List<PendingKeyEvent> listOfEvents, int sequence) { in removeEventFromListLocked() argument
238 if (pendingKeyEvent.event.getSequenceNumber() == sequence) { in removeEventFromListLocked()
/frameworks/base/core/java/android/app/
DInstantAppResolverService.java222 int userId, String token, int sequence, IRemoteCallback callback) { in onBind()
233 sequence, 0, args).sendToTarget(); in onBind()
260 InstantAppResolutionCallback(int sequence, IRemoteCallback callback) {
262 mSequence = sequence;
295 final int sequence = message.arg1;
302 new InstantAppResolutionCallback(sequence, callback));
DIEphemeralResolver.aidl24 int sequence); in getEphemeralResolveInfoList() argument
27 int sequence); in getEphemeralIntentFilterList() argument
/frameworks/base/core/java/com/android/internal/view/
DInputBindResult.java195 public final int sequence; field in InputBindResult
221 sequence = _sequence; in InputBindResult()
239 sequence = source.readInt(); in InputBindResult()
246 + " sequence=" + sequence in toString()
268 dest.writeInt(sequence); in writeToParcel()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceClient.aidl42 void onKeyEvent(in KeyEvent event, int sequence); in onKeyEvent() argument
48 void onPerformGestureResult(int sequence, boolean completedSuccessfully); in onPerformGestureResult() argument
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java348 int sequence = in GetInstantAppResolveInfoCaller()
350 onRemoteMethodResult(resolveList, sequence); in GetInstantAppResolveInfoCaller()
358 final int sequence = onBeforeRemoteCall(); in getInstantAppResolveInfoList() local
360 sequence, mCallback); in getInstantAppResolveInfoList()
361 return getResultTimed(sequence); in getInstantAppResolveInfoList()
/frameworks/base/core/java/android/accounts/
DChooseAccountTypeActivity.java133 final CharSequence sequence = authContext.getResources().getText(desc.labelId); in buildTypeToAuthDescriptionMap() local
134 if (sequence != null) { in buildTypeToAuthDescriptionMap()
135 name = sequence.toString(); in buildTypeToAuthDescriptionMap()
137 name = sequence.toString(); in buildTypeToAuthDescriptionMap()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dbitfield.rscript22 // common initial sequence, and if the union object currently contains
26 // common initial sequence if corresponding members have compatible
27 // types (and, for bit-fields, the same widths) for a sequence of one
44 // A non-exported type that shares a common initial sequence with NoBitfield
/frameworks/compile/slang/lit-tests/padding/
Dbitfield.rscript28 // common initial sequence, and if the union object currently contains
32 // common initial sequence if corresponding members have compatible
33 // types (and, for bit-fields, the same widths) for a sequence of one
50 // A non-exported type that shares a common initial sequence with NoBitfield

1234