Searched defs:cookie (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/base/tools/aapt/
H A Dprintapk.cpp34 void* cookie; local
80 cookie = NULL;
81 while ((entry = iterate_zipfile(zip, &cookie))) {
/frameworks/native/libs/binder/
H A DTextOutput.cpp137 static void textOutputPrinter(void* cookie, const char* txt) argument
139 ((TextOutput*)cookie)->print(txt, strlen(txt));
H A DBinder.cpp120 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
126 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
119 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
125 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
H A DBpBinder.cpp174 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
178 ob.cookie = cookie;
208 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
221 || (recipient == NULL && obit.cookie == cookie))
173 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
207 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
H A DDebug.cpp41 static void defaultPrintFunc(void* cookie, const char* txt) argument
149 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) argument
154 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer);
160 debugPrintFunc func, void* cookie)
174 if (singleLineBytesCutoff < 0) func(cookie, "\n");
175 func(cookie, "(NULL)");
180 if (singleLineBytesCutoff < 0) func(cookie, "\n");
181 func(cookie, "(empty)");
186 if (singleLineBytesCutoff < 0) func(cookie, "\
157 printHexData(int32_t indent, const void *buf, size_t length, size_t bytesPerLine, int32_t singleLineBytesCutoff, size_t alignment, bool cStyle, debugPrintFunc func, void* cookie) argument
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DTextInfo.java42 * @param cookie the cookie for this TextInfo
45 public TextInfo(String text, int cookie, int sequence) { argument
50 mCookie = cookie;
81 * @return the cookie of TextInfo
H A DSuggestionsInfo.java67 * @param cookie the cookie of the input TextInfo
68 * @param sequence the cookie of the input TextInfo
71 int suggestionsAttributes, String[] suggestions, int cookie, int sequence) {
80 mCookie = cookie;
108 * Set the cookie and the sequence of SuggestionsInfo which are set to TextInfo from a client
110 * @param cookie the cookie of an input TextInfo
111 * @param sequence the cookie of an input TextInfo
113 public void setCookieAndSequence(int cookie, in argument
70 SuggestionsInfo( int suggestionsAttributes, String[] suggestions, int cookie, int sequence) argument
[all...]
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java60 Callback(E callback, Object cookie) { argument
62 mCookie = cookie;
75 * that does not take a cookie object.
96 * @param cookie Optional additional data to be associated with this
107 public boolean register(E callback, Object cookie) { argument
114 Callback cb = new Callback(callback, cookie);
173 * does not provide a cookie.
187 * @param cookie The cookie object original provided to
192 public void onCallbackDied(E callback, Object cookie) { argument
[all...]
H A DTrace.java83 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); argument
84 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); argument
222 * asynchronous events do not need to be nested. The name and cookie used to
227 * @param cookie Unique identifier for distinguishing simultaneous events
231 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument
233 nativeAsyncTraceBegin(traceTag, methodName, cookie);
240 * using the same tag, name and cookie.
244 * @param cookie Unique identifier for distinguishing simultaneous events
248 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument
250 nativeAsyncTraceEnd(traceTag, methodName, cookie);
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp67 jlong tag, jstring nameStr, jint cookie) {
72 atrace_async_begin(tag, utf8Chars.string(), cookie);
76 jlong tag, jstring nameStr, jint cookie) {
81 atrace_async_end(tag, utf8Chars.string(), cookie);
66 android_os_Trace_nativeAsyncTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
75 android_os_Trace_nativeAsyncTraceEnd(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
/frameworks/native/include/binder/
H A DBpBinder.h45 void* cookie = NULL,
48 void* cookie = NULL,
104 void* cookie; member in struct:android::BpBinder::Obituary
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java56 public Object cookie; field in class:AsyncQueryHandler.WorkerArgs
148 * @param cookie An object that gets passed into {@link #onQueryComplete}
164 public void startQuery(int token, Object cookie, Uri uri, argument
178 args.cookie = cookie;
203 * @param cookie An object that gets passed into {@link #onInsertComplete}
207 public final void startInsert(int token, Object cookie, Uri uri, argument
216 args.cookie = cookie;
229 * @param cookie A
233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
261 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs) argument
286 onQueryComplete(int token, Object cookie, Cursor cursor) argument
299 onInsertComplete(int token, Object cookie, Uri uri) argument
312 onUpdateComplete(int token, Object cookie, int result) argument
325 onDeleteComplete(int token, Object cookie, int result) argument
[all...]
/frameworks/native/cmds/servicemanager/
H A Dbinder.h17 void *cookie; member in struct:binder_object
23 void *cookie; member in struct:binder_txn
/frameworks/native/include/media/hardware/
H A DHDCPAPI.h29 typedef void (*ObserverFunc)(void *cookie, int msg, int ext1, int ext2);
76 HDCPModule(void *cookie, ObserverFunc observerNotify) {}; argument
151 void *cookie, android::HDCPModule::ObserverFunc);
155 void *cookie, android::HDCPModule::ObserverFunc);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp129 void* cookie,
154 p->setNotifyCallback(cookie, notifyFunc);
127 createPlayer( player_type playerType, void* cookie, notify_callback_f notifyFunc) argument
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp145 void *cookie, const sp<TimedEventQueue::Event> &event) {
147 static_cast<TimedEventQueue::event_id *>(cookie);
172 bool (*predicate)(void *cookie, const sp<Event> &event),
173 void *cookie,
179 if (!(*predicate)(cookie, (*it).event)) {
144 MatchesEventID( void *cookie, const sp<TimedEventQueue::Event> &event) argument
171 cancelEvents( bool (predicate)void *cookie, const sp<Event> &event), void *cookie, bool stopAfterFirstMatch) argument
H A DAudioPlayer.cpp414 void *buffer, size_t size, void *cookie,
416 AudioPlayer *me = (AudioPlayer *)cookie;
412 AudioSinkCallback( MediaPlayerBase::AudioSink *audioSink, void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
H A DMPEG2TSWriter.cpp497 void *cookie,
498 ssize_t (*write)(void *cookie, const void *data, size_t size))
500 mWriteCookie(cookie),
496 MPEG2TSWriter( void *cookie, ssize_t (*write)(void *cookie, const void *data, size_t size)) argument
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java309 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
313 Bundle extras = (cookie != null) ? (Bundle) cookie : new Bundle();
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java88 DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) {
92 mCookie = cookie;
87 NetworkStatsRecorder(FileRotator rotator, NonMonotonicObserver<String> observer, DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java66 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
71 * Wrap the cookie from the WorkerArgs with additional information needed by our
76 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper
131 CookieWrapper cw = (CookieWrapper) args.cookie;
200 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
203 //get the cookie and notify the listener.
204 CookieWrapper cw = (CookieWrapper) cookie;
291 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo);
307 OnQueryCompleteListener listener, Object cookie) {
317 cw.cookie
306 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument
336 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
424 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument
[all...]
/frameworks/av/include/media/
H A DMediaPlayerInterface.h67 typedef void (*notify_callback_f)(void* cookie,
87 AudioSink *audioSink, void *buffer, size_t size, void *cookie,
110 void *cookie = NULL,
199 void* cookie, notify_callback_f notifyFunc) {
201 mCookie = cookie; mNotify = notifyFunc;
198 setNotifyCallback( void* cookie, notify_callback_f notifyFunc) argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.cpp953 M4OSA_Void VideoEditorPreviewController::setJniCallback(void* cookie, argument
956 mJniCookie = cookie;
1154 void* cookie, int msg, int ext1, int ext2)
1157 (VideoEditorPreviewController *)cookie;
1153 notify( void* cookie, int msg, int ext1, int ext2) argument
H A DVideoEditorAudioPlayer.cpp579 void *buffer, size_t size, void *cookie,
581 VideoEditorAudioPlayer *me = (VideoEditorAudioPlayer *)cookie;
577 AudioSinkCallback( MediaPlayerBase::AudioSink *audioSink, void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
/frameworks/base/core/java/android/net/
H A DNetworkStats.java511 NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) {
515 observer.foundNonMonotonic(left, -1, right, -1, cookie);
549 observer.foundNonMonotonic(left, i, right, j, cookie);
706 NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie);
510 subtract( NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) argument
705 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument

Completed in 543 milliseconds

12