Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/util/
DTimedRemoteCaller.java94 public final T getResultTimed(int sequence) throws TimeoutException { in getResultTimed() argument
96 final boolean success = waitForResultTimedLocked(sequence); in getResultTimed()
98 throw new TimeoutException("No reponse for sequence: " + sequence); in getResultTimed()
106 public final void onRemoteMethodResult(T result, int sequence) { in onRemoteMethodResult() argument
108 if (sequence == mAwaitedSequence) { in onRemoteMethodResult()
109 mReceivedSequence = sequence; in onRemoteMethodResult()
116 private boolean waitForResultTimedLocked(int sequence) { in waitForResultTimedLocked() argument
120 if (mReceivedSequence == sequence) { in waitForResultTimedLocked()
/frameworks/av/media/libmedia/
DSingleStateQueue.cpp34 int32_t sequence = mSequence; in push() local
35 sequence++; in push()
36 android_atomic_acquire_store(sequence, &shared->mSequence); in push()
38 sequence++; in push()
39 android_atomic_release_store(sequence, &shared->mSequence); in push()
40 mSequence = sequence; in push()
42 return sequence; in push()
50 template<typename T> bool SingleStateQueue<T>::Mutator::ack(int32_t sequence) in ack() argument
53 return mShared->mAck - sequence >= 0; in ack()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java658 private void handleOnLayoutStarted(ICancellationSignal cancellation, int sequence) { in handleOnLayoutStarted() argument
659 if (sequence != mSequence) { in handleOnLayoutStarted()
680 boolean changed, int sequence) { in handleOnLayoutFinished() argument
681 if (sequence != mSequence) { in handleOnLayoutFinished()
714 private void handleOnLayoutFailed(CharSequence error, int sequence) { in handleOnLayoutFailed() argument
715 if (sequence != mSequence) { in handleOnLayoutFailed()
734 private void handleOnLayoutCanceled(int sequence) { in handleOnLayoutCanceled() argument
735 if (sequence != mSequence) { in handleOnLayoutCanceled()
785 final int sequence = message.arg1; in handleMessage() local
786 handleOnLayoutStarted(cancellation, sequence); in handleMessage()
[all …]
/frameworks/base/core/java/android/print/
DIPrintSpoolerCallbacks.aidl30 void onGetPrintJobInfosResult(in List<PrintJobInfo> printJob, int sequence); in onGetPrintJobInfosResult() argument
31 void onCancelPrintJobResult(boolean canceled, int sequence); in onCancelPrintJobResult() argument
32 void onSetPrintJobStateResult(boolean success, int sequence); in onSetPrintJobStateResult() argument
33 void onSetPrintJobTagResult(boolean success, int sequence); in onSetPrintJobTagResult() argument
34 void onGetPrintJobInfoResult(in PrintJobInfo printJob, int sequence); in onGetPrintJobInfoResult() 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
DIPrintSpooler.aidl38 int state, int appId, int sequence); in getPrintJobInfos() argument
40 int appId, int sequence); in getPrintJobInfo() argument
43 IPrintSpoolerCallbacks callback, int sequence); in setPrintJobState() argument
45 int sequence); in setPrintJobTag() argument
DIPrintDocumentAdapter.aidl36 ILayoutResultCallback callback, in Bundle metadata, int sequence); in layout() argument
38 IWriteResultCallback callback, int sequence); in write() argument
DPrintManager.java560 ILayoutResultCallback callback, Bundle metadata, int sequence) { in layout() argument
564 callback.onLayoutStarted(cancellationTransport, sequence); in layout()
585 args.arg5 = new MyLayoutResultCallback(callback, sequence); in layout()
594 IWriteResultCallback callback, int sequence) { in write() argument
598 callback.onWriteStarted(cancellationTransport, sequence); in write()
619 args.arg5 = new MyWriteResultCallback(callback, fd, sequence); in write()
815 int sequence) { in MyLayoutResultCallback() argument
817 mSequence = sequence; in MyLayoutResultCallback()
914 ParcelFileDescriptor fd, int sequence) { in MyWriteResultCallback() argument
916 mSequence = sequence; in MyWriteResultCallback()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java468 public void onGetPrintJobInfosResult(List<PrintJobInfo> printJobs, int sequence) { in GetPrintJobInfosCaller()
469 onRemoteMethodResult(printJobs, sequence); in GetPrintJobInfosCaller()
477 final int sequence = onBeforeRemoteCall(); in getPrintJobInfos() local
478 target.getPrintJobInfos(mCallback, componentName, state, appId, sequence); in getPrintJobInfos()
479 return getResultTimed(sequence); in getPrintJobInfos()
490 public void onGetPrintJobInfoResult(PrintJobInfo printJob, int sequence) { in GetPrintJobInfoCaller()
491 onRemoteMethodResult(printJob, sequence); in GetPrintJobInfoCaller()
498 final int sequence = onBeforeRemoteCall(); in getPrintJobInfo() local
499 target.getPrintJobInfo(printJobId, mCallback, appId, sequence); in getPrintJobInfo()
500 return getResultTimed(sequence); in getPrintJobInfo()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DInputBindResult.java49 public final int sequence; field in InputBindResult
61 sequence = _sequence; in InputBindResult()
73 sequence = source.readInt(); in InputBindResult()
80 + " sequence:" + sequence in toString()
101 dest.writeInt(sequence); in writeToParcel()
DIInputMethodClient.aidl28 void onUnbindMethod(int sequence); in onUnbindMethod() argument
/frameworks/volley/tests/src/com/android/volley/
DRequestTest.java33 int sequence = 0; in testCompareTo() local
35 low.setSequence(sequence++); in testCompareTo()
37 low2.setSequence(sequence++); in testCompareTo()
39 high.setSequence(sequence++); in testCompareTo()
41 immediate.setSequence(sequence++); in testCompareTo()
/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/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/base/core/java/android/accessibilityservice/
DAccessibilityService.java707 public void onKeyEvent(KeyEvent event, int sequence) {
708 Message message = mCaller.obtainMessageIO(DO_ON_KEY_EVENT, sequence, event);
766 final int sequence = message.arg1;
768 connection.setOnKeyEventResult(result, sequence);
DIAccessibilityServiceClient.aidl41 void onKeyEvent(in KeyEvent event, int sequence); in onKeyEvent() argument
DIAccessibilityServiceConnection.aidl69 oneway void setOnKeyEventResult(boolean handled, int sequence); in setOnKeyEventResult() argument
/frameworks/native/services/surfaceflinger/
DLayer.cpp61 sequence(uint32_t(android_atomic_inc(&sSequence))), in Layer()
107 mCurrentState.sequence = 0; in Layer()
894 if (c.sequence != s.sequence) { in doTransaction()
925 mCurrentState.sequence++; in setPosition()
933 mCurrentState.sequence++; in setLayer()
949 mCurrentState.sequence++; in setAlpha()
955 mCurrentState.sequence++; in setMatrix()
970 mCurrentState.sequence++; in setFlags()
978 mCurrentState.sequence++; in setCrop()
987 mCurrentState.sequence++; in setLayerStack()
DLayer.h83 int32_t sequence; variable
110 int32_t sequence; // changes when visible regions can change member
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java420 Log.i(TAG, "handleMessage: MSG_BIND " + res.sequence + "," + res.id); in handleMessage()
423 if (mBindSequence < 0 || mBindSequence != res.sequence) { in handleMessage()
425 + ", given seq=" + res.sequence); in handleMessage()
438 mBindSequence = res.sequence; in handleMessage()
444 final int sequence = msg.arg1; in handleMessage() local
446 Log.i(TAG, "handleMessage: MSG_UNBIND " + sequence); in handleMessage()
450 if (mBindSequence == sequence) { in handleMessage()
588 public void onUnbindMethod(int sequence) {
589 mH.sendMessage(mH.obtainMessage(MSG_UNBIND, sequence, 0));
1241 mBindSequence = res.sequence; in startInputInner()
/frameworks/av/include/media/
DSingleStateQueue.h65 bool ack(int32_t sequence);
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java160 public Watcher(int sequence) { in Watcher() argument
161 mSequence = sequence; in Watcher()
/frameworks/volley/src/com/android/volley/
DRequest.java261 public final Request<?> setSequence(int sequence) { in setSequence() argument
262 mSequence = sequence; in setSequence()
/frameworks/base/docs/html/google/play/billing/v2/
Dapi.jd38 <li><a href="#billing-message-sequence">Messaging sequence</a></li>
255 href="#billing-message-sequence">Messaging sequence</a> later in this document.</p>
307 <h3 id="billing-message-sequence">Messaging sequence</h3>
309 <p>The messaging sequence for a typical purchase request is shown in figure 2. Request types for
314 <p>The basic message sequence for an in-app purchase request is as follows:</p>
347 <strong>Figure 2.</strong> Message sequence for a purchase request.
360 <p>The messaging sequence for a restore transaction request is shown in figure 3. Request types for
368 <strong>Figure 3.</strong> Message sequence for a restore transactions request.
389 <p>The messaging sequence for checking whether in-app billing is supported is shown in figure 4. The
395 <strong>Figure 4.</strong> Message sequence for checking whether in-app billing is supported.
[all …]

1234