/frameworks/native/include/media/hardware/ |
H A D | HDCPAPI.h | 28 typedef void (*ObserverFunc)(void *cookie, int msg, int ext1, int ext2); 62 HDCPModule(void *cookie, ObserverFunc observerNotify) {}; argument 123 void *cookie, android::HDCPModule::ObserverFunc); 127 void *cookie, android::HDCPModule::ObserverFunc);
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 56 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/libs/utils/ |
H A D | BasicHashtable.cpp | 85 bucket.cookie = 0; 101 if (bucket.cookie & Bucket::PRESENT) { 120 if (bucket.cookie & Bucket::PRESENT) { 125 if (!(bucket.cookie & Bucket::COLLISION)) { 136 if (bucket.cookie & Bucket::PRESENT) { 137 if ((bucket.cookie & Bucket::HASH_MASK) == hash 142 if (!(bucket.cookie & Bucket::COLLISION)) { 159 if (bucket->cookie & Bucket::PRESENT) { 162 bucket->cookie |= Bucket::COLLISION; 165 } while (bucket->cookie [all...] |
H A D | Debug.cpp | 41 static void defaultPrintFunc(void* cookie, const char* txt) argument 163 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) argument 168 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); 174 debugPrintFunc func, void* cookie) 188 if (singleLineBytesCutoff < 0) func(cookie, "\n"); 189 func(cookie, "(NULL)"); 194 if (singleLineBytesCutoff < 0) func(cookie, "\n"); 195 func(cookie, "(empty)"); 200 if (singleLineBytesCutoff < 0) func(cookie, "\ 171 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/os/ |
H A D | Trace.java | 81 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); argument 82 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); argument 220 * asynchronous events do not need to be nested. The name and cookie used to 225 * @param cookie Unique identifier for distinguishing simultaneous events 229 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument 231 nativeAsyncTraceBegin(traceTag, methodName, cookie); 238 * using the same tag, name and cookie. 242 * @param cookie Unique identifier for distinguishing simultaneous events 246 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument 248 nativeAsyncTraceEnd(traceTag, methodName, cookie); [all...] |
H A D | RemoteCallbackList.java | 60 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); 172 * does not provide a cookie. 186 * @param cookie The cookie object original provided to 191 public void onCallbackDied(E callback, Object cookie) { argument [all...] |
/frameworks/base/core/java/android/view/textservice/ |
H A D | SuggestionsInfo.java | 67 * @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...] |
H A D | TextInfo.java | 42 * @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
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfoAsyncQuery.java | 67 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 72 * Wrap the cookie from the WorkerArgs with additional information needed by our 77 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper 132 CookieWrapper cw = (CookieWrapper) args.cookie; 201 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 204 //get the cookie and notify the listener. 205 CookieWrapper cw = (CookieWrapper) cookie; 294 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); 310 OnQueryCompleteListener listener, Object cookie) { 320 cw.cookie 309 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument 339 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument 427 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument [all...] |
/frameworks/native/include/utils/ |
H A D | Debug.h | 53 typedef void (*debugPrintFunc)(void* cookie, const char* txt); 56 debugPrintFunc func = 0, void* cookie = 0); 61 debugPrintFunc func = 0, void* cookie = 0);
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 237 final int cookie = mRecentOperations.beginOperation("close", null, null); 243 mRecentOperations.endOperation(cookie); 498 final int cookie = mRecentOperations.beginOperation("prepare", sql, null); 522 mRecentOperations.failOperation(cookie, ex); 525 mRecentOperations.endOperation(cookie); 546 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); 563 mRecentOperations.failOperation(cookie, ex); 566 mRecentOperations.endOperation(cookie); 589 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); 606 mRecentOperations.failOperation(cookie, e 1336 failOperation(int cookie, Exception ex) argument 1345 endOperation(int cookie) argument 1353 endOperationDeferLog(int cookie) argument 1359 logOperation(int cookie, String detail) argument 1365 endOperationDeferLogLocked(int cookie) argument 1376 logOperationLocked(int cookie, String detail) argument 1391 getOperationLocked(int cookie) argument [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MPEG2TSWriter.h | 35 void *cookie, 36 ssize_t (*write)(void *cookie, const void *data, size_t size)); 60 ssize_t (*mWriteFunc)(void *cookie, const void *data, size_t size);
|
/frameworks/base/core/jni/ |
H A D | android_os_Trace.cpp | 67 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/base/core/java/android/content/res/ |
H A D | AssetManager.java | 386 * @param cookie Identifier of the package to be opened. 389 public final InputStream openNonAsset(int cookie, String fileName) argument 391 return openNonAsset(cookie, fileName, ACCESS_STREAMING); 398 * @param cookie Identifier of the package to be opened. 402 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) argument 408 int asset = openNonAssetNative(cookie, fileName, accessMode); 423 public final AssetFileDescriptor openNonAssetFd(int cookie, argument 429 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie, 451 * @param cookie Identifier of the package to be opened. 454 public final XmlResourceParser openXmlResourceParser(int cookie, argument 482 openXmlBlockAsset(int cookie, String fileName) argument 679 openNonAssetNative(int cookie, String fileName, int accessMode) argument 681 openNonAssetFdNative(int cookie, String fileName, long[] outOffsets) argument 718 getCookieName(int cookie) argument 744 openXmlAssetNative(int cookie, String fileName) argument [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPreviewController.h | 26 typedef void (*jni_progress_callback_fct)(void* cookie, M4OSA_UInt32 msgType, void *argc); 60 void* cookie, 135 static void notify(void* cookie, int msg, int ext1, int ext2);
|
/frameworks/base/tools/aapt/ |
H A D | printapk.cpp | 34 void* cookie; local 80 cookie = NULL; 81 while ((entry = iterate_zipfile(zip, &cookie))) {
|
/frameworks/native/include/binder/ |
H A D | BpBinder.h | 45 void* cookie = NULL, 48 void* cookie = NULL, 104 void* cookie; member in struct:android::BpBinder::Obituary
|
H A D | Binder.h | 41 void* cookie = NULL, 45 void* cookie = NULL,
|
H A D | IBinder.h | 105 * The @a cookie is optional -- if non-NULL, it should be a 121 void* cookie = NULL, 127 * dies. The @a cookie is optional. If non-NULL, you can 129 * added with that cookie will be unlinked. 132 void* cookie = NULL,
|
/frameworks/av/media/libstagefright/include/ |
H A D | TimedEventQueue.h | 93 bool (*predicate)(void *cookie, const sp<Event> &event), 94 void *cookie,
|
/frameworks/native/cmds/servicemanager/ |
H A D | binder.h | 17 void *cookie; member in struct:binder_object 23 void *cookie; member in struct:binder_txn
|
/frameworks/av/include/media/ |
H A D | MediaPlayerInterface.h | 67 typedef void (*notify_callback_f)(void* cookie, 79 AudioSink *audioSink, void *buffer, size_t size, void *cookie); 101 void *cookie = NULL, 186 void* cookie, notify_callback_f notifyFunc) { 188 mCookie = cookie; mNotify = notifyFunc; 185 setNotifyCallback( void* cookie, notify_callback_f notifyFunc) argument
|
/frameworks/av/media/libstagefright/ |
H A D | TimedEventQueue.cpp | 128 void *cookie, const sp<TimedEventQueue::Event> &event) { 130 static_cast<TimedEventQueue::event_id *>(cookie); 155 bool (*predicate)(void *cookie, const sp<Event> &event), 156 void *cookie, 162 if (!(*predicate)(cookie, (*it).event)) { 127 MatchesEventID( void *cookie, const sp<TimedEventQueue::Event> &event) argument 154 cancelEvents( bool (predicate)void *cookie, const sp<Event> &event), void *cookie, bool stopAfterFirstMatch) argument
|
/frameworks/base/include/androidfw/ |
H A D | AssetManager.h | 91 * Returns "true" on success, "false" on failure. If 'cookie' is non-NULL, 92 * then on success, *cookie is set to the value corresponding to the 95 bool addAssetPath(const String8& path, void** cookie); 106 * 'cookie' must be NULL, resulting in the first cookie being returned. 107 * Each next cookie will be returned there-after, until NULL indicating 110 void* nextAssetPath(void* cookie) const; 116 String8 getAssetPath(void* cookie) const; 159 * Explicit non-asset file. The file explicitly named by the cookie (the 162 Asset* openNonAsset(void* cookie, cons [all...] |
/frameworks/native/libs/binder/ |
H A D | BpBinder.cpp | 174 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
|