Home
last modified time | relevance | path

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

1234

/frameworks/native/libs/utils/
DBasicHashtable.cpp85 bucket.cookie = 0; in clear()
101 if (bucket.cookie & Bucket::PRESENT) { in next()
120 if (bucket.cookie & Bucket::PRESENT) { in find()
125 if (!(bucket.cookie & Bucket::COLLISION)) { in find()
136 if (bucket.cookie & Bucket::PRESENT) { in find()
137 if ((bucket.cookie & Bucket::HASH_MASK) == hash in find()
142 if (!(bucket.cookie & Bucket::COLLISION)) { in find()
159 if (bucket->cookie & Bucket::PRESENT) { in add()
162 bucket->cookie |= Bucket::COLLISION; in add()
165 } while (bucket->cookie & Bucket::PRESENT); in add()
[all …]
DDebug.cpp41 static void defaultPrintFunc(void* cookie, const char* txt) in defaultPrintFunc() argument
163 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) in printTypeCode() argument
168 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); in printTypeCode()
174 debugPrintFunc func, void* cookie) in printHexData() argument
188 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
189 func(cookie, "(NULL)"); in printHexData()
194 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
195 func(cookie, "(empty)"); in printHexData()
200 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
203 func(cookie, buf); in printHexData()
[all …]
/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/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java67 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument
77 public Object cookie; field in CallerInfoAsyncQuery.CookieWrapper
132 CookieWrapper cw = (CookieWrapper) args.cookie; in handleMessage()
201 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
205 CookieWrapper cw = (CookieWrapper) cookie; in onQueryComplete()
294 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete()
310 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument
320 cw.cookie = cookie; in startQuery()
340 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument
344 Log.d(LOG_TAG, "- cookie: " + cookie); in startQuery()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java230 final int cookie = mRecentOperations.beginOperation("close", null, null); in dispose() local
236 mRecentOperations.endOperation(cookie); in dispose()
491 final int cookie = mRecentOperations.beginOperation("prepare", sql, null); in prepare() local
515 mRecentOperations.failOperation(cookie, ex); in prepare()
518 mRecentOperations.endOperation(cookie); in prepare()
539 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute() local
556 mRecentOperations.failOperation(cookie, ex); in execute()
559 mRecentOperations.endOperation(cookie); in execute()
582 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); in executeForLong() local
599 mRecentOperations.failOperation(cookie, ex); in executeForLong()
[all …]
/frameworks/base/core/java/android/content/res/
DAssetManager.java388 public final InputStream openNonAsset(int cookie, String fileName) in openNonAsset() argument
390 return openNonAsset(cookie, fileName, ACCESS_STREAMING); in openNonAsset()
401 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) in openNonAsset() argument
407 int asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset()
422 public final AssetFileDescriptor openNonAssetFd(int cookie, in openNonAssetFd() argument
428 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie, in openNonAssetFd()
453 public final XmlResourceParser openXmlResourceParser(int cookie, in openXmlResourceParser() argument
455 XmlBlock block = openXmlBlockAsset(cookie, fileName); in openXmlResourceParser()
481 /*package*/ final XmlBlock openXmlBlockAsset(int cookie, String fileName) in openXmlBlockAsset() argument
487 int xmlBlock = openXmlAssetNative(cookie, fileName); in openXmlBlockAsset()
[all …]
/frameworks/base/core/java/android/os/
DRemoteCallbackList.java60 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()
191 public void onCallbackDied(E callback, Object cookie) { in onCallbackDied() argument
/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.java45 public TextInfo(String text, int cookie, int sequence) { in TextInfo() argument
50 mCookie = cookie; in TextInfo()
/frameworks/native/include/utils/
DDebug.h53 typedef void (*debugPrintFunc)(void* cookie, const char* txt);
56 debugPrintFunc func = 0, void* cookie = 0);
61 debugPrintFunc func = 0, void* cookie = 0);
/frameworks/av/include/media/stagefright/
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/av/media/libstagefright/
DTimedEventQueue.cpp127 void *cookie, const sp<TimedEventQueue::Event> &event) { in MatchesEventID() argument
129 static_cast<TimedEventQueue::event_id *>(cookie); in MatchesEventID()
154 bool (*predicate)(void *cookie, const sp<Event> &event), in cancelEvents() argument
155 void *cookie, in cancelEvents()
161 if (!(*predicate)(cookie, (*it).event)) { in cancelEvents()
/frameworks/av/include/media/
DMediaPlayerInterface.h70 typedef void (*notify_callback_f)(void* cookie,
82 AudioSink *audioSink, void *buffer, size_t size, void *cookie);
104 void *cookie = NULL,
186 void* cookie, notify_callback_f notifyFunc) { in setNotifyCallback() argument
188 mCookie = cookie; mNotify = notifyFunc; in setNotifyCallback()
/frameworks/base/include/androidfw/
DAssetManager.h95 bool addAssetPath(const String8& path, void** cookie);
110 void* nextAssetPath(void* cookie) const;
116 String8 getAssetPath(void* cookie) const;
162 Asset* openNonAsset(void* cookie, const char* fileName, AccessMode mode);
186 AssetDir* openNonAssetDir(void* cookie, const char* dirName);
/frameworks/native/include/binder/
DBpBinder.h45 void* cookie = NULL,
48 void* cookie = NULL,
104 void* cookie; member
DIBinder.h121 void* cookie = NULL,
132 void* cookie = NULL,
DBinder.h41 void* cookie = NULL,
45 void* cookie = NULL,
/frameworks/native/libs/binder/
DBpBinder.cpp174 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()
DParcel.cpp78 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie); in acquire_object()
79 static_cast<IBinder*>(obj.cookie)->incStrong(who); in acquire_object()
115 LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie); in release_object()
116 static_cast<IBinder*>(obj.cookie)->decStrong(who); in release_object()
137 if (obj.cookie != (void*)0) close(obj.handle); in release_object()
167 obj.cookie = NULL; in flatten_binder()
171 obj.cookie = local; in flatten_binder()
176 obj.cookie = NULL; in flatten_binder()
200 obj.cookie = NULL; in flatten_binder()
204 obj.cookie = binder.unsafe_get(); in flatten_binder()
[all …]
/frameworks/base/tools/aapt/
Dprintapk.cpp34 void* cookie; in main() local
80 cookie = NULL; in main()
81 while ((entry = iterate_zipfile(zip, &cookie))) { in main()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorPreviewController.h26 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/av/media/libmediaplayerservice/
DMediaPlayerService.h57 static int callbackThread(void* cookie);
94 AudioCallback cb, void *cookie,
146 CallbackData(AudioOutput *cookie) { in CallbackData() argument
147 mData = cookie; in CallbackData()
195 AudioCallback cb = NULL, void *cookie = NULL,
214 static void notify(void* cookie, int msg,
349 static void notify(void* cookie, int msg,
/frameworks/av/media/libstagefright/include/
DTimedEventQueue.h93 bool (*predicate)(void *cookie, const sp<Event> &event),
94 void *cookie,
/frameworks/av/services/camera/libcameraservice/
DCameraHardwareStub.cpp248 int CameraHardwareStub::beginAutoFocusThread(void *cookie) in beginAutoFocusThread() argument
250 CameraHardwareStub *c = (CameraHardwareStub *)cookie; in beginAutoFocusThread()
274 /*static*/ int CameraHardwareStub::beginPictureThread(void *cookie) in beginPictureThread() argument
276 CameraHardwareStub *c = (CameraHardwareStub *)cookie; in beginPictureThread()
/frameworks/base/cmds/servicemanager/
Dbinder.h17 void *cookie; member
23 void *cookie; member

1234