/frameworks/base/core/java/android/content/ |
D | AsyncQueryHandler.java | 56 public Object cookie; field in AsyncQueryHandler.WorkerArgs 164 public void startQuery(int token, Object cookie, Uri uri, in startQuery() argument 178 args.cookie = cookie; in startQuery() 207 public final void startInsert(int token, Object cookie, Uri uri, in startInsert() argument 216 args.cookie = cookie; in startInsert() 233 public final void startUpdate(int token, Object cookie, Uri uri, in startUpdate() argument 242 args.cookie = cookie; in startUpdate() 261 public final void startDelete(int token, Object cookie, Uri uri, in startDelete() argument 270 args.cookie = cookie; in startDelete() 286 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument [all …]
|
/frameworks/native/libs/binder/ |
D | Debug.cpp | 149 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) in printTypeCode() argument 154 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); in printTypeCode() 160 debugPrintFunc func, void* cookie) in printHexData() argument 174 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 175 func(cookie, "(NULL)"); in printHexData() 180 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 181 func(cookie, "(empty)"); in printHexData() 186 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 189 func(cookie, buf); in printHexData() 202 func(cookie, "{\n"); in printHexData() [all …]
|
D | BpBinder.cpp | 174 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) in linkToDeath() argument 178 ob.cookie = cookie; in linkToDeath() 208 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, in unlinkToDeath() argument 221 || (recipient == NULL && obit.cookie == cookie)) in unlinkToDeath()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfoAsyncQuery.java | 70 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 80 public Object cookie; field in CallerInfoAsyncQuery.CookieWrapper 172 CookieWrapper cw = (CookieWrapper) args.cookie; in handleMessage() 242 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 246 CookieWrapper cw = (CookieWrapper) cookie; in onQueryComplete() 339 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete() 359 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument 369 cw.cookie = cookie; in startQuery() 389 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument 392 return startQuery(token, context, number, listener, cookie, subId); in startQuery() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 237 final int cookie = mRecentOperations.beginOperation("close", null, null); in dispose() local 243 mRecentOperations.endOperation(cookie); in dispose() 498 final int cookie = mRecentOperations.beginOperation("prepare", sql, null); in prepare() local 522 mRecentOperations.failOperation(cookie, ex); in prepare() 525 mRecentOperations.endOperation(cookie); in prepare() 546 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute() local 563 mRecentOperations.failOperation(cookie, ex); in execute() 566 mRecentOperations.endOperation(cookie); in execute() 589 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); in executeForLong() local 606 mRecentOperations.failOperation(cookie, ex); in executeForLong() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ZipFileRO.cpp | 51 void *cookie; member in _ZipEntryRO 53 _ZipEntryRO() : cookie(NULL) { in _ZipEntryRO() 132 bool ZipFileRO::startIteration(void** cookie) in startIteration() argument 135 int32_t error = StartIteration(mHandle, &(ze->cookie), NULL /* prefix */); in startIteration() 142 *cookie = ze; in startIteration() 146 ZipEntryRO ZipFileRO::nextEntry(void* cookie) in nextEntry() argument 148 _ZipEntryRO* ze = reinterpret_cast<_ZipEntryRO*>(cookie); in nextEntry() 149 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name)); in nextEntry() 160 void ZipFileRO::endIteration(void* cookie) in endIteration() argument 162 delete reinterpret_cast<_ZipEntryRO*>(cookie); in endIteration()
|
/frameworks/base/core/java/android/os/ |
D | Trace.java | 89 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); in nativeAsyncTraceBegin() argument 90 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); in nativeAsyncTraceEnd() argument 237 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { in asyncTraceBegin() argument 239 nativeAsyncTraceBegin(traceTag, methodName, cookie); in asyncTraceBegin() 254 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { in asyncTraceEnd() argument 256 nativeAsyncTraceEnd(traceTag, methodName, cookie); in asyncTraceEnd()
|
D | RemoteCallbackList.java | 60 Callback(E callback, Object cookie) { in Callback() argument 62 mCookie = cookie; in Callback() 107 public boolean register(E callback, Object cookie) { in register() argument 114 Callback cb = new Callback(callback, cookie); in register() 192 public void onCallbackDied(E callback, Object cookie) { in onCallbackDied() argument
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
D | SysTrace.java | 102 public static void beginSectionAsync(String methodName, int cookie) { in beginSectionAsync() argument 104 Log.v(TAG, "beginSectionAsync " + methodName + " " + cookie); in beginSectionAsync() 116 public static void endSectionAsync(String methodName, int cookie) { in endSectionAsync() argument 118 Log.v(TAG, "endSectionAsync " + methodName + " " + cookie); in endSectionAsync()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SystemViewInfo.java | 29 public SystemViewInfo(String name, Object cookie, int left, int top, in SystemViewInfo() argument 31 super(name, cookie, left, top, right, bottom); in SystemViewInfo() 34 public SystemViewInfo(String name, Object cookie, int left, int top, in SystemViewInfo() argument 36 super(name, cookie, left, top, right, bottom, viewObject, in SystemViewInfo()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 270 /*package*/ final CharSequence getPooledStringForCookie(int cookie, int id) { in getPooledStringForCookie() argument 272 return mStringBlocks[cookie - 1].get(id); in getPooledStringForCookie() 386 public final InputStream openNonAsset(int cookie, String fileName) in openNonAsset() argument 388 return openNonAsset(cookie, fileName, ACCESS_STREAMING); in openNonAsset() 399 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) in openNonAsset() argument 405 long asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset() 420 public final AssetFileDescriptor openNonAssetFd(int cookie, in openNonAssetFd() argument 426 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie, in openNonAssetFd() 451 public final XmlResourceParser openXmlResourceParser(int cookie, in openXmlResourceParser() argument 453 XmlBlock block = openXmlBlockAsset(cookie, fileName); in openXmlResourceParser() [all …]
|
/frameworks/base/core/jni/ |
D | android_os_Trace.cpp | 74 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument 80 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie); in android_os_Trace_nativeAsyncTraceBegin() 81 atrace_async_begin(tag, utf8Chars.string(), cookie); in android_os_Trace_nativeAsyncTraceBegin() 85 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceEnd() argument 91 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie); in android_os_Trace_nativeAsyncTraceEnd() 92 atrace_async_end(tag, utf8Chars.string(), cookie); in android_os_Trace_nativeAsyncTraceEnd()
|
D | com_android_internal_content_NativeLibraryHelper.cpp | 290 NativeLibrariesIterator(ZipFileRO* zipFile, void* cookie) in NativeLibrariesIterator() argument 291 : mZipFile(zipFile), mCookie(cookie), mLastSlash(NULL) { in NativeLibrariesIterator() 297 void* cookie = NULL; in create() local 298 if (!zipFile->startIteration(&cookie)) { in create() 302 return new NativeLibrariesIterator(zipFile, cookie); in create() 503 void* cookie = NULL; in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode() local 504 if (!zipFile->startIteration(&cookie)) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode() 510 while ((next = zipFile->nextEntry(cookie)) != NULL) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode() 520 zipFile->endIteration(cookie); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode() 525 zipFile->endIteration(cookie); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
|
/frameworks/native/include/media/hardware/ |
D | HDCPAPI.h | 29 typedef void (*ObserverFunc)(void *cookie, int msg, int ext1, int ext2); 76 HDCPModule(void *cookie, ObserverFunc observerNotify) {}; in HDCPModule() 156 void *cookie, android::HDCPModule::ObserverFunc); 160 void *cookie, android::HDCPModule::ObserverFunc);
|
/frameworks/av/include/media/ |
D | MediaPlayerInterface.h | 68 typedef void (*notify_callback_f)(void* cookie, 88 AudioSink *audioSink, void *buffer, size_t size, void *cookie, 114 void *cookie = NULL, 204 void* cookie, notify_callback_f notifyFunc) { in setNotifyCallback() argument 206 mCookie = cookie; mNotify = notifyFunc; in setNotifyCallback() 212 void* cookie; variable 216 cookie = mCookie; 219 if (notifyCB) notifyCB(cookie, msg, ext1, ext2, obj);
|
/frameworks/native/include/binder/ |
D | Debug.h | 32 typedef void (*debugPrintFunc)(void* cookie, const char* txt); 35 debugPrintFunc func = 0, void* cookie = 0); 40 debugPrintFunc func = 0, void* cookie = 0);
|
D | BpBinder.h | 45 void* cookie = NULL, 48 void* cookie = NULL, 104 void* cookie; member
|
/frameworks/base/core/java/android/view/textservice/ |
D | SuggestionsInfo.java | 71 int suggestionsAttributes, String[] suggestions, int cookie, int sequence) { in SuggestionsInfo() argument 80 mCookie = cookie; in SuggestionsInfo() 113 public void setCookieAndSequence(int cookie, int sequence) { in setCookieAndSequence() argument 114 mCookie = cookie; in setCookieAndSequence()
|
D | TextInfo.java | 51 public TextInfo(String text, int cookie, int sequenceNumber) { in TextInfo() argument 52 this(text, 0, getStringLengthOrZero(text), cookie, sequenceNumber); in TextInfo() 68 public TextInfo(CharSequence charSequence, int start, int end, int cookie, int sequenceNumber) { in TextInfo() argument 83 mCookie = cookie; in TextInfo()
|
/frameworks/base/include/androidfw/ |
D | ZipFileRO.h | 92 bool startIteration(void** cookie); 98 ZipEntryRO nextEntry(void* cookie); 100 void endIteration(void* cookie);
|
D | AssetManager.h | 102 bool addAssetPath(const String8& path, int32_t* cookie); 103 bool addOverlayPath(const String8& path, int32_t* cookie); 118 int32_t nextAssetPath(const int32_t cookie) const; 124 String8 getAssetPath(const int32_t cookie) const; 170 Asset* openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode); 194 AssetDir* openNonAssetDir(const int32_t cookie, const char* dirName);
|
/frameworks/av/include/media/stagefright/ |
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/tools/layoutlib/bridge/src/android/preference/ |
D | Preference_Delegate.java | 49 Object cookie = bc.getCookie(pref); in getView() local 50 if (cookie != null) { in getView() 51 bc.addViewKey(convertView, cookie); in getView()
|
/frameworks/base/tools/aapt/ |
D | printapk.cpp | 34 void* cookie; in main() local 80 cookie = NULL; in main() 81 while ((entry = iterate_zipfile(zip, &cookie))) { in main()
|
/frameworks/av/media/libstagefright/ |
D | TimedEventQueue.cpp | 149 void *cookie, const sp<TimedEventQueue::Event> &event) { in MatchesEventID() argument 151 static_cast<TimedEventQueue::event_id *>(cookie); in MatchesEventID() 176 bool (*predicate)(void *cookie, const sp<Event> &event), in cancelEvents() argument 177 void *cookie, in cancelEvents() 183 if (!(*predicate)(cookie, (*it).event)) { in cancelEvents()
|