Searched refs:cookie (Results 1 - 25 of 91) sorted by relevance

1234

/frameworks/native/include/binder/
H A DDebug.h32 typedef void (*debugPrintFunc)(void* cookie, const char* txt);
35 debugPrintFunc func = 0, void* cookie = 0);
40 debugPrintFunc func = 0, void* cookie = 0);
H A DBpBinder.h45 void* cookie = NULL,
48 void* cookie = NULL,
104 void* cookie; member in struct:android::BpBinder::Obituary
H A DBinder.h43 void* cookie = NULL,
47 void* cookie = NULL,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DSystemViewInfo.java29 public SystemViewInfo(String name, Object cookie, int left, int top, argument
31 super(name, cookie, left, top, right, bottom);
34 public SystemViewInfo(String name, Object cookie, int left, int top, argument
36 super(name, cookie, left, top, right, bottom, viewObject,
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DSysTrace.java96 * asynchronous events do not need to be nested. The name and cookie used to
100 * @param cookie Unique identifier for distinguishing simultaneous events
102 public static void beginSectionAsync(String methodName, int cookie) { argument
104 Log.v(TAG, "beginSectionAsync " + methodName + " " + cookie);
111 * using the same tag, name and cookie.
114 * @param cookie Unique identifier for distinguishing simultaneous events
116 public static void endSectionAsync(String methodName, int cookie) { argument
118 Log.v(TAG, "endSectionAsync " + methodName + " " + cookie);
/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/base/include/androidfw/
H A DZipFileRO.h91 * a matching call to endIteration with the same cookie.
93 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);
H A DAssetManager.h99 * Returns "true" on success, "false" on failure. If 'cookie' is non-NULL,
100 * then on success, *cookie is set to the value corresponding to the
103 bool addAssetPath(const String8& path, int32_t* cookie,
105 bool addOverlayPath(const String8& path, int32_t* cookie);
116 * 'cookie' must be 0, resulting in the first cookie being returned.
117 * Each next cookie will be returned there-after, until -1 indicating
120 int32_t nextAssetPath(const int32_t cookie) const;
126 String8 getAssetPath(const int32_t cookie) const;
169 * Explicit non-asset file. The file explicitly named by the cookie (th
[all...]
/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
156 void *cookie, android::HDCPModule::ObserverFunc);
160 void *cookie, android::HDCPModule::ObserverFunc);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java69 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
74 * Wrap the cookie from the WorkerArgs with additional information needed by our
79 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper
171 CookieWrapper cw = (CookieWrapper) args.cookie;
241 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
244 //get the cookie and notify the listener.
245 CookieWrapper cw = (CookieWrapper) cookie;
338 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo);
360 OnQueryCompleteListener listener, Object cookie) {
370 cw.cookie
359 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument
389 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
407 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument
460 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument
[all...]
/frameworks/base/core/java/android/os/
H A DTrace.java97 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); argument
98 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); argument
236 * asynchronous events do not need to be nested. The name and cookie used to
241 * @param cookie Unique identifier for distinguishing simultaneous events
245 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument
247 nativeAsyncTraceBegin(traceTag, methodName, cookie);
254 * using the same tag, name and cookie.
258 * @param cookie Unique identifier for distinguishing simultaneous events
262 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument
264 nativeAsyncTraceEnd(traceTag, methodName, cookie);
[all...]
H A DRemoteCallbackList.java60 Callback(E callback, Object cookie) { argument
62 mCookie = cookie;
75 * that does not take a cookie object.
95 * @param cookie Optional additional data to be associated with this
106 public boolean register(E callback, Object cookie) { argument
113 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/libs/androidfw/
H A DZipFileRO.cpp43 void *cookie; member in class:_ZipEntryRO
45 _ZipEntryRO() : cookie(NULL) {}
48 EndIteration(cookie);
129 bool ZipFileRO::startIteration(void** cookie) { argument
130 return startIteration(cookie, NULL, NULL);
133 bool ZipFileRO::startIteration(void** cookie, const char* prefix, const char* suffix) argument
138 int32_t error = StartIteration(mHandle, &(ze->cookie),
147 *cookie = ze;
151 ZipEntryRO ZipFileRO::nextEntry(void* cookie) argument
153 _ZipEntryRO* ze = reinterpret_cast<_ZipEntryRO*>(cookie);
165 endIteration(void* cookie) argument
[all...]
/frameworks/base/core/java/android/view/textservice/
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...]
H A DTextInfo.java48 * @param cookie the cookie for this TextInfo
51 public TextInfo(String text, int cookie, int sequenceNumber) { argument
52 this(text, 0, getStringLengthOrZero(text), cookie, sequenceNumber);
65 * @param cookie the cookie for this TextInfo
68 public TextInfo(CharSequence charSequence, int start, int end, int cookie, int sequenceNumber) { argument
83 mCookie = cookie;
125 * @return the cookie of TextInfo
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java237 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
1345 failOperation(int cookie, Exception ex) argument
1354 endOperation(int cookie) argument
1362 endOperationDeferLog(int cookie) argument
1368 logOperation(int cookie, String detail) argument
1374 endOperationDeferLogLocked(int cookie) argument
1389 logOperationLocked(int cookie, String detail) argument
1404 getOperationLocked(int cookie) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp75 jlong tag, jstring nameStr, jint cookie) {
80 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie);
81 atrace_async_begin(tag, utf8Chars.string(), cookie);
85 jlong tag, jstring nameStr, jint cookie) {
90 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie);
91 atrace_async_end(tag, utf8Chars.string(), cookie);
74 android_os_Trace_nativeAsyncTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
84 android_os_Trace_nativeAsyncTraceEnd(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
H A Dcom_android_internal_content_NativeLibraryHelper.cpp316 NativeLibrariesIterator(ZipFileRO* zipFile, void* cookie) argument
317 : mZipFile(zipFile), mCookie(cookie), mLastSlash(NULL) {
323 void* cookie = NULL; local
325 if (!zipFile->startIteration(&cookie, APK_LIB, NULL /* suffix */)) {
329 return new NativeLibrariesIterator(zipFile, cookie);
526 void* cookie = NULL; local
527 if (!zipFile->startIteration(&cookie, NULL /* prefix */, RS_BITCODE_SUFFIX)) {
533 while ((next = zipFile->nextEntry(cookie)) != NULL) {
540 zipFile->endIteration(cookie);
545 zipFile->endIteration(cookie);
[all...]
/frameworks/av/include/media/stagefright/
H A 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/layoutlib/bridge/src/android/preference/
H A DPreference_Delegate.java46 Object cookie = bc.getCookie(pref);
47 if (cookie != null) {
48 bc.addViewKey(convertView, cookie);
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java304 /*package*/ final CharSequence getPooledStringForCookie(int cookie, int id) { argument
306 return mStringBlocks[cookie - 1].get(id);
417 * @param cookie Identifier of the package to be opened.
420 public final InputStream openNonAsset(int cookie, String fileName) argument
422 return openNonAsset(cookie, fileName, ACCESS_STREAMING);
429 * @param cookie Identifier of the package to be opened.
433 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) argument
439 long asset = openNonAssetNative(cookie, fileName, accessMode);
454 public final AssetFileDescriptor openNonAssetFd(int cookie, argument
460 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie,
485 openXmlResourceParser(int cookie, String fileName) argument
513 openXmlBlockAsset(int cookie, String fileName) argument
776 openNonAssetNative(int cookie, String fileName, int accessMode) argument
778 openNonAssetFdNative(int cookie, String fileName, long[] outOffsets) argument
821 getCookieName(int cookie) argument
854 openXmlAssetNative(int cookie, String fileName) argument
[all...]
/frameworks/av/include/media/
H A 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) {
252 mCookie = cookie; mNotify = notifyFunc;
258 void* cookie; local
262 cookie = mCookie;
265 if (notifyCB) notifyCB(cookie, msg, ext1, ext2, obj);
249 setNotifyCallback( void* cookie, notify_callback_f notifyFunc) argument
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp217 binder_uintptr_t cookie = 1234; local
225 .cookie = 0,
268 EXPECT_EQ(0u, br.arg2.cookie);
298 binder_uintptr_t cookie = 1234; local
314 .cookie = cookie,
319 .cookie = cookie,
342 EXPECT_EQ(cookie, br.arg1);
/frameworks/base/tools/aapt2/io/
H A DZipArchive.cpp95 void* cookie = nullptr; local
96 result = StartIteration(collection->mHandle, &cookie, nullptr, nullptr);
103 IterationEnder iterationEnder(cookie, EndIteration);
107 while ((result = Next(cookie, &zipData, &zipEntryName)) == 0) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java637 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i);
638 if (!isEnabledProfileOf(user, cookie.user, "onPackageAdded")) continue;
659 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i);
660 if (!isEnabledProfileOf(user, cookie.user, "onPackageRemoved")) continue;
681 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i);
682 if (!isEnabledProfileOf(user, cookie.user, "onPackageModified")) continue;
703 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i);
704 if (!isEnabledProfileOf(user, cookie.user, "onPackagesAvailable")) continue;
725 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i);
726 if (!isEnabledProfileOf(user, cookie
838 onCallbackDied(T callback, Object cookie) argument
[all...]

Completed in 1651 milliseconds

1234