Searched defs:cookie (Results 1 - 25 of 42) sorted by last modified time

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallerInfoTest.java201 public void onQueryComplete(int token, Object cookie, CallerInfo info) { argument
/frameworks/native/include/binder/
H A DBpBinder.h45 void* cookie = NULL,
48 void* cookie = NULL,
104 void* cookie; member in struct:android::BpBinder::Obituary
/frameworks/native/include/media/hardware/
H A DHDCPAPI.h26 typedef void (*ObserverFunc)(void *cookie, int msg, int ext1, int ext2);
54 HDCPModule(void *cookie, ObserverFunc observerNotify) {}; argument
90 void *cookie, android::HDCPModule::ObserverFunc);
/frameworks/native/include/utils/
H A DBasicHashtable.h46 uint32_t cookie; member in struct:android::BasicHashtableImpl::Bucket
108 // Copies the content of buckets (copies the cookie and invokes copyBucketEntry
118 // Trim a hash code to 30 bits to match what we store in the bucket's cookie.
348 return bucketAt(mBuckets, index).cookie;
/frameworks/native/libs/binder/
H A DBinder.cpp120 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
126 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
119 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
125 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
H A DBpBinder.cpp174 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
178 ob.cookie = cookie;
208 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
221 || (recipient == NULL && obit.cookie == cookie))
173 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
207 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
H A DIPCThreadState.cpp147 out << " (cookie " << btd->cookie << ")" << endl
190 out << ": target=" << (void*)b << " (cookie " << (void*)c << ")";
197 out << ": target=" << (void*)b << " (cookie " << (void*)c
204 out << ": death cookie " << (void*)c;
260 out << ": target=" << (void*)b << " (cookie " << (void*)c << ")";
273 out << ": handle=" << h << " (death cookie " << (void*)c << ")";
278 out << ": death cookie " << (void*)c;
862 tr.cookie = 0;
914 "BR_ACQUIRE: object %p does not match cookie
1115 freeBuffer(Parcel* parcel, const uint8_t* data, size_t dataSize, const size_t* objects, size_t objectsSize, void* cookie) argument
[all...]
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp428 void* cookie, uint32_t flags) {
430 return sm->asBinder()->linkToDeath(recipient, cookie, flags);
426 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
/frameworks/native/libs/utils/
H A DDebug.cpp41 static void defaultPrintFunc(void* cookie, const char* txt) argument
163 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) argument
168 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer);
174 debugPrintFunc func, void* cookie)
188 if (singleLineBytesCutoff < 0) func(cookie, "\n");
189 func(cookie, "(NULL)");
194 if (singleLineBytesCutoff < 0) func(cookie, "\n");
195 func(cookie, "(empty)");
200 if (singleLineBytesCutoff < 0) func(cookie, "\
171 printHexData(int32_t indent, const void *buf, size_t length, size_t bytesPerLine, int32_t singleLineBytesCutoff, size_t alignment, bool cStyle, debugPrintFunc func, void* cookie) argument
[all...]
H A DTextOutput.cpp122 static void textOutputPrinter(void* cookie, const char* txt) argument
124 ((TextOutput*)cookie)->print(txt, strlen(txt));
/frameworks/native/libs/utils/tests/
H A DBasicHashtable_test.cpp109 uint32_t cookie = h.cookieAt(index); local
110 *collision = cookie & BasicHashtable<TKey, TEntry>::Bucket::COLLISION;
111 *present = cookie & BasicHashtable<TKey, TEntry>::Bucket::PRESENT;
112 *hash = cookie & BasicHashtable<TKey, TEntry>::Bucket::HASH_MASK;
/frameworks/base/tools/aapt/
H A Dprintapk.cpp34 void* cookie; local
80 cookie = NULL;
81 while ((entry = iterate_zipfile(zip, &cookie))) {
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java88 DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) {
92 mCookie = cookie;
87 NetworkStatsRecorder(FileRotator rotator, NonMonotonicObserver<String> observer, DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) argument
H A DNetworkStatsService.java1248 int rightIndex, String cookie) {
1253 builder.append("found non-monotonic " + cookie + " values at left[" + leftIndex
1247 foundNonMonotonic(NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, String cookie) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java67 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
72 * Wrap the cookie from the WorkerArgs with additional information needed by our
77 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper
132 CookieWrapper cw = (CookieWrapper) args.cookie;
201 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
204 //get the cookie and notify the listener.
205 CookieWrapper cw = (CookieWrapper) cookie;
294 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo);
310 OnQueryCompleteListener listener, Object cookie) {
320 cw.cookie
309 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument
339 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
427 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp155 bool AssetManager::addAssetPath(const String8& path, void** cookie) argument
181 if (cookie) {
182 *cookie = (void*)(i+1);
194 if (cookie) {
195 *cookie = (void*)mAssetPaths.size();
384 void* AssetManager::nextAssetPath(void* cookie) const
387 size_t next = ((size_t)cookie)+1;
391 String8 AssetManager::getAssetPath(void* cookie) const
394 const size_t which = ((size_t)cookie)-1;
564 Asset* AssetManager::openNonAsset(void* cookie, cons argument
1197 openNonAssetDir(void* cookie, const char* dirName) argument
[all...]
H A DResourceTypes.cpp70 static void printToLogFunc(void* cookie, const char* txt) argument
2323 void* cookie; member in struct:android::ResTable::Header
2722 ResTable::ResTable(const void* data, size_t size, void* cookie, bool copyData) argument
2727 add(data, size, cookie, copyData);
2743 status_t ResTable::add(const void* data, size_t size, void* cookie, bool copyData, argument
2746 return add(data, size, cookie, NULL, copyData, reinterpret_cast<const Asset*>(idmap));
2749 status_t ResTable::add(Asset* asset, void* cookie, bool copyData, const void* idmap) argument
2757 return add(data, size, cookie, asset, copyData, reinterpret_cast<const Asset*>(idmap));
2784 status_t ResTable::add(const void* data, size_t size, void* cookie, argument
2790 header->cookie
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp229 static void jniPreviewProgressCallback(void* cookie, M4OSA_UInt32 msgType,
388 static void jniPreviewProgressCallback (void* cookie, M4OSA_UInt32 msgType, argument
391 ManualEditContext *pContext = (ManualEditContext *)cookie;
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp6381 RecordThread *me = (RecordThread *)strongEvent->cookie();
7415 void *cookie)
7419 sp<SyncEvent> event = new SyncEvent(type, triggerSession, listenerSession, callBack, cookie);
8426 mConfig.inputCfg.bufferProvider.cookie = NULL;
8429 mConfig.outputCfg.bufferProvider.cookie = NULL;
7411 createSyncEvent(AudioSystem::sync_event_t type, int triggerSession, int listenerSession, sync_event_callback_t callBack, void *cookie) argument
H A DAudioFlinger.h231 void *cookie)
233 mCallback(callBack), mCookie(cookie)
244 void *cookie() const { return mCookie; } function in class:android::AudioFlinger::SyncEvent
259 void *cookie);
227 SyncEvent(AudioSystem::sync_event_t type, int triggerSession, int listenerSession, sync_event_callback_t callBack, void *cookie) argument
/frameworks/base/cmds/servicemanager/
H A Dbinder.h17 void *cookie; member in struct:binder_object
23 void *cookie; member in struct:binder_txn
/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/core/java/android/content/res/
H A DAssetManager.java385 * @param cookie Identifier of the package to be opened.
388 public final InputStream openNonAsset(int cookie, String fileName) argument
390 return openNonAsset(cookie, fileName, ACCESS_STREAMING);
397 * @param cookie Identifier of the package to be opened.
401 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) argument
407 int asset = openNonAssetNative(cookie, fileName, accessMode);
422 public final AssetFileDescriptor openNonAssetFd(int cookie, argument
428 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie,
450 * @param cookie Identifier of the package to be opened.
453 public final XmlResourceParser openXmlResourceParser(int cookie, argument
481 openXmlBlockAsset(int cookie, String fileName) argument
673 openNonAssetNative(int cookie, String fileName, int accessMode) argument
675 openNonAssetFdNative(int cookie, String fileName, long[] outOffsets) argument
712 getCookieName(int cookie) argument
738 openXmlAssetNative(int cookie, String fileName) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java230 final int cookie = mRecentOperations.beginOperation("close", null, null);
236 mRecentOperations.endOperation(cookie);
491 final int cookie = mRecentOperations.beginOperation("prepare", sql, null);
515 mRecentOperations.failOperation(cookie, ex);
518 mRecentOperations.endOperation(cookie);
539 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs);
556 mRecentOperations.failOperation(cookie, ex);
559 mRecentOperations.endOperation(cookie);
582 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs);
599 mRecentOperations.failOperation(cookie, e
1329 failOperation(int cookie, Exception ex) argument
1338 endOperation(int cookie) argument
1346 endOperationDeferLog(int cookie) argument
1352 logOperation(int cookie, String detail) argument
1358 endOperationDeferLogLocked(int cookie) argument
1369 logOperationLocked(int cookie, String detail) argument
1384 getOperationLocked(int cookie) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStats.java498 NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) {
502 observer.foundNonMonotonic(left, -1, right, -1, cookie);
536 observer.foundNonMonotonic(left, i, right, j, cookie);
693 NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie);
497 subtract( NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) argument
692 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument

Completed in 336 milliseconds

12