Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/core/java/android/content/
DAsyncQueryHandler.java56 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/
DDebug.cpp149 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 …]
/frameworks/base/libs/androidfw/
DZipFileRO.cpp43 void *cookie; member in _ZipEntryRO
45 _ZipEntryRO() : cookie(NULL) {} in _ZipEntryRO()
48 EndIteration(cookie); in ~_ZipEntryRO()
129 bool ZipFileRO::startIteration(void** cookie) { in startIteration() argument
130 return startIteration(cookie, NULL, NULL); in startIteration()
133 bool ZipFileRO::startIteration(void** cookie, const char* prefix, const char* suffix) in startIteration() argument
138 int32_t error = StartIteration(mHandle, &(ze->cookie), in startIteration()
147 *cookie = ze; in startIteration()
151 ZipEntryRO ZipFileRO::nextEntry(void* cookie) in nextEntry() argument
153 _ZipEntryRO* ze = reinterpret_cast<_ZipEntryRO*>(cookie); in nextEntry()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java69 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument
79 public Object cookie; field in CallerInfoAsyncQuery.CookieWrapper
171 CookieWrapper cw = (CookieWrapper) args.cookie; in handleMessage()
241 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
245 CookieWrapper cw = (CookieWrapper) cookie; in onQueryComplete()
338 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete()
360 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument
370 cw.cookie = cookie; in startQuery()
390 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument
393 return startQuery(token, context, number, listener, cookie, subId); in startQuery()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java237 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/core/java/android/os/
DTrace.java97 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); in nativeAsyncTraceBegin() argument
98 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); in nativeAsyncTraceEnd() argument
245 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { in asyncTraceBegin() argument
247 nativeAsyncTraceBegin(traceTag, methodName, cookie); in asyncTraceBegin()
262 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { in asyncTraceEnd() argument
264 nativeAsyncTraceEnd(traceTag, methodName, cookie); in asyncTraceEnd()
DRemoteCallbackList.java60 Callback(E callback, Object cookie) { in Callback() argument
62 mCookie = cookie; in Callback()
106 public boolean register(E callback, Object cookie) { in register() argument
113 Callback cb = new Callback(callback, cookie); in register()
191 public void onCallbackDied(E callback, Object cookie) { in onCallbackDied() argument
/frameworks/base/core/java/android/content/res/
DAssetManager.java304 /*package*/ final CharSequence getPooledStringForCookie(int cookie, int id) { in getPooledStringForCookie() argument
306 return mStringBlocks[cookie - 1].get(id); in getPooledStringForCookie()
420 public final InputStream openNonAsset(int cookie, String fileName) in openNonAsset() argument
422 return openNonAsset(cookie, fileName, ACCESS_STREAMING); in openNonAsset()
433 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) in openNonAsset() argument
439 long asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset()
454 public final AssetFileDescriptor openNonAssetFd(int cookie, in openNonAssetFd() argument
460 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie, in openNonAssetFd()
485 public final XmlResourceParser openXmlResourceParser(int cookie, in openXmlResourceParser() argument
487 XmlBlock block = openXmlBlockAsset(cookie, fileName); in openXmlResourceParser()
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DSysTrace.java102 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/
DSystemViewInfo.java29 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/jni/
Dandroid_os_Trace.cpp75 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument
80 ALOGV("%s: %" PRId64 " %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
90 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie); in android_os_Trace_nativeAsyncTraceEnd()
91 atrace_async_end(tag, utf8Chars.string(), cookie); in android_os_Trace_nativeAsyncTraceEnd()
Dcom_android_internal_content_NativeLibraryHelper.cpp316 NativeLibrariesIterator(ZipFileRO* zipFile, void* cookie) in NativeLibrariesIterator() argument
317 : mZipFile(zipFile), mCookie(cookie), mLastSlash(NULL) { in NativeLibrariesIterator()
323 void* cookie = NULL; in create() local
325 if (!zipFile->startIteration(&cookie, APK_LIB, NULL /* suffix */)) { in create()
329 return new NativeLibrariesIterator(zipFile, cookie); in create()
526 void* cookie = NULL; in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode() local
527 if (!zipFile->startIteration(&cookie, NULL /* prefix */, RS_BITCODE_SUFFIX)) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
533 while ((next = zipFile->nextEntry(cookie)) != NULL) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
540 zipFile->endIteration(cookie); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
545 zipFile->endIteration(cookie); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
/frameworks/base/include/androidfw/
DZipFileRO.h93 bool startIteration(void** cookie);
94 bool startIteration(void** cookie, const char* prefix, const char* suffix);
100 ZipEntryRO nextEntry(void* cookie);
102 void endIteration(void* cookie);
DAssetManager.h109 bool addAssetPath(const String8& path, int32_t* cookie,
111 bool addOverlayPath(const String8& path, int32_t* cookie);
126 int32_t nextAssetPath(const int32_t cookie) const;
132 String8 getAssetPath(const int32_t cookie) const;
178 Asset* openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode);
202 AssetDir* openNonAssetDir(const int32_t cookie, const char* dirName);
/frameworks/native/include/media/hardware/
DHDCPAPI.h29 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/native/include/binder/
DDebug.h32 typedef void (*debugPrintFunc)(void* cookie, const char* txt);
35 debugPrintFunc func = 0, void* cookie = 0);
40 debugPrintFunc func = 0, void* cookie = 0);
DBpBinder.h45 void* cookie = NULL,
48 void* cookie = NULL,
104 void* cookie; member
/frameworks/av/include/media/
DMediaPlayerInterface.h69 typedef void (*notify_callback_f)(void* cookie,
89 AudioSink *audioSink, void *buffer, size_t size, void *cookie,
116 void *cookie = NULL,
250 void* cookie, notify_callback_f notifyFunc) { in setNotifyCallback() argument
252 mCookie = cookie; mNotify = notifyFunc; in setNotifyCallback()
258 void* cookie; variable
262 cookie = mCookie;
265 if (notifyCB) notifyCB(cookie, msg, ext1, ext2, obj);
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java637 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); in onPackageAdded() local
638 if (!isEnabledProfileOf(user, cookie.user, "onPackageAdded")) continue; in onPackageAdded()
659 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); in onPackageRemoved() local
660 if (!isEnabledProfileOf(user, cookie.user, "onPackageRemoved")) continue; in onPackageRemoved()
681 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); in onPackageModified() local
682 if (!isEnabledProfileOf(user, cookie.user, "onPackageModified")) continue; in onPackageModified()
703 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); in onPackagesAvailable() local
704 if (!isEnabledProfileOf(user, cookie.user, "onPackagesAvailable")) continue; in onPackagesAvailable()
725 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); in onPackagesUnavailable() local
726 … if (!isEnabledProfileOf(user, cookie.user, "onPackagesUnavailable")) continue; in onPackagesUnavailable()
[all …]
/frameworks/base/core/java/android/view/textservice/
DSuggestionsInfo.java71 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()
DTextInfo.java51 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/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp217 binder_uintptr_t cookie = 1234; in TEST_F() local
225 .cookie = 0, in TEST_F()
268 EXPECT_EQ(0u, br.arg2.cookie); in TEST_F()
298 binder_uintptr_t cookie = 1234; in TEST_F() local
314 .cookie = cookie, in TEST_F()
319 .cookie = cookie, in TEST_F()
342 EXPECT_EQ(cookie, br.arg1); in TEST_F()
/frameworks/av/include/media/stagefright/
DMPEG2TSWriter.h34 void *cookie,
35 ssize_t (*write)(void *cookie, const void *data, size_t size));
59 ssize_t (*mWriteFunc)(void *cookie, const void *data, size_t size);
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp95 void* cookie = nullptr; in create() local
96 result = StartIteration(collection->mHandle, &cookie, nullptr, nullptr); in create()
103 IterationEnder iterationEnder(cookie, EndIteration); in create()
107 while ((result = Next(cookie, &zipData, &zipEntryName)) == 0) { in create()
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
DPreference_Delegate.java46 Object cookie = bc.getCookie(pref); in getView() local
47 if (cookie != null) { in getView()
48 bc.addViewKey(convertView, cookie); in getView()

1234