Searched refs:cookie (Results 1 - 25 of 82) 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,
H A DIBinder.h97 * The @a cookie is optional -- if non-NULL, it should be a
113 void* cookie = NULL,
119 * dies. The @a cookie is optional. If non-NULL, you can
121 * added with that cookie will be unlinked.
124 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/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/libs/androidfw/
H A DZipFileRO.cpp51 void *cookie; member in class:_ZipEntryRO
53 _ZipEntryRO() : cookie(NULL) {
132 bool ZipFileRO::startIteration(void** cookie) argument
135 int32_t error = StartIteration(mHandle, &(ze->cookie), NULL /* prefix */);
142 *cookie = ze;
146 ZipEntryRO ZipFileRO::nextEntry(void* cookie) argument
148 _ZipEntryRO* ze = reinterpret_cast<_ZipEntryRO*>(cookie);
149 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name));
160 void ZipFileRO::endIteration(void* cookie) argument
162 delete reinterpret_cast<_ZipEntryRO*>(cookie);
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java70 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
75 * Wrap the cookie from the WorkerArgs with additional information needed by our
80 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper
172 CookieWrapper cw = (CookieWrapper) args.cookie;
242 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
245 //get the cookie and notify the listener.
246 CookieWrapper cw = (CookieWrapper) cookie;
339 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo);
359 OnQueryCompleteListener listener, Object cookie) {
369 cw.cookie
358 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument
388 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
406 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument
459 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument
[all...]
/frameworks/base/core/java/android/os/
H A DTrace.java89 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); argument
90 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); argument
228 * asynchronous events do not need to be nested. The name and cookie used to
233 * @param cookie Unique identifier for distinguishing simultaneous events
237 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument
239 nativeAsyncTraceBegin(traceTag, methodName, cookie);
246 * using the same tag, name and cookie.
250 * @param cookie Unique identifier for distinguishing simultaneous events
254 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument
256 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.
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...]
/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/include/androidfw/
H A DZipFileRO.h90 * a matching call to endIteration with the same cookie.
92 bool startIteration(void** cookie);
98 ZipEntryRO nextEntry(void* cookie);
100 void endIteration(void* cookie);
H A DAssetManager.h98 * Returns "true" on success, "false" on failure. If 'cookie' is non-NULL,
99 * then on success, *cookie is set to the value corresponding to the
102 bool addAssetPath(const String8& path, int32_t* cookie);
103 bool addOverlayPath(const String8& path, int32_t* cookie);
114 * 'cookie' must be 0, resulting in the first cookie being returned.
115 * Each next cookie will be returned there-after, until -1 indicating
118 int32_t nextAssetPath(const int32_t cookie) const;
124 String8 getAssetPath(const int32_t cookie) const;
167 * Explicit non-asset file. The file explicitly named by the cookie (th
[all...]
/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
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/base/core/jni/
H A Dandroid_os_Trace.cpp74 jlong tag, jstring nameStr, jint cookie) {
80 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie);
81 atrace_async_begin(tag, utf8Chars.string(), cookie);
85 jlong tag, jstring nameStr, jint cookie) {
91 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie);
92 atrace_async_end(tag, utf8Chars.string(), cookie);
73 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.cpp290 NativeLibrariesIterator(ZipFileRO* zipFile, void* cookie) argument
291 : mZipFile(zipFile), mCookie(cookie), mLastSlash(NULL) {
297 void* cookie = NULL; local
298 if (!zipFile->startIteration(&cookie)) {
302 return new NativeLibrariesIterator(zipFile, cookie);
503 void* cookie = NULL; local
504 if (!zipFile->startIteration(&cookie)) {
510 while ((next = zipFile->nextEntry(cookie)) != NULL) {
520 zipFile->endIteration(cookie);
525 zipFile->endIteration(cookie);
[all...]
/frameworks/av/include/media/stagefright/
H A DMPEG2TSWriter.h35 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/java/android/content/res/
H A DAssetManager.java270 /*package*/ final CharSequence getPooledStringForCookie(int cookie, int id) { argument
272 return mStringBlocks[cookie - 1].get(id);
383 * @param cookie Identifier of the package to be opened.
386 public final InputStream openNonAsset(int cookie, String fileName) argument
388 return openNonAsset(cookie, fileName, ACCESS_STREAMING);
395 * @param cookie Identifier of the package to be opened.
399 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) argument
405 long asset = openNonAssetNative(cookie, fileName, accessMode);
420 public final AssetFileDescriptor openNonAssetFd(int cookie, argument
426 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie,
451 openXmlResourceParser(int cookie, String fileName) argument
479 openXmlBlockAsset(int cookie, String fileName) argument
706 openNonAssetNative(int cookie, String fileName, int accessMode) argument
708 openNonAssetFdNative(int cookie, String fileName, long[] outOffsets) argument
748 getCookieName(int cookie) argument
779 openXmlAssetNative(int cookie, String fileName) argument
[all...]
/frameworks/av/include/media/
H A DMediaPlayerInterface.h68 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) {
206 mCookie = cookie; mNotify = notifyFunc;
212 void* cookie; local
216 cookie = mCookie;
219 if (notifyCB) notifyCB(cookie, msg, ext1, ext2, obj);
203 setNotifyCallback( void* cookie, notify_callback_f notifyFunc) argument
/frameworks/base/tools/aapt/
H A Dprintapk.cpp34 void* cookie; local
80 cookie = NULL;
81 while ((entry = iterate_zipfile(zip, &cookie))) {
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
H A DPreference_Delegate.java49 Object cookie = bc.getCookie(pref);
50 if (cookie != null) {
51 bc.addViewKey(convertView, cookie);
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp149 void *cookie, const sp<TimedEventQueue::Event> &event) {
151 static_cast<TimedEventQueue::event_id *>(cookie);
176 bool (*predicate)(void *cookie, const sp<Event> &event),
177 void *cookie,
183 if (!(*predicate)(cookie, (*it).event)) {
148 MatchesEventID( void *cookie, const sp<TimedEventQueue::Event> &event) argument
175 cancelEvents( bool (predicate)void *cookie, const sp<Event> &event), void *cookie, bool stopAfterFirstMatch) argument

Completed in 480 milliseconds

1234