/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 235 final int cookie = mRecentOperations.beginOperation("close", null, null); 241 mRecentOperations.endOperation(cookie); 496 final int cookie = mRecentOperations.beginOperation("prepare", sql, null); 520 mRecentOperations.failOperation(cookie, ex); 523 mRecentOperations.endOperation(cookie); 544 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); 561 mRecentOperations.failOperation(cookie, ex); 564 mRecentOperations.endOperation(cookie); 587 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); 604 mRecentOperations.failOperation(cookie, e 1338 failOperation(int cookie, Exception ex) argument 1347 endOperation(int cookie) argument 1355 endOperationDeferLog(int cookie) argument 1361 logOperation(int cookie, String detail) argument 1367 endOperationDeferLogLocked(int cookie) argument 1378 logOperationLocked(int cookie, String detail) argument 1393 getOperationLocked(int cookie) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 558 NonMonotonicObserver<C> observer, C cookie) { 559 return subtract(left, right, observer, cookie, null); 575 NonMonotonicObserver<C> observer, C cookie, NetworkStats recycle) { 579 observer.foundNonMonotonic(left, -1, right, -1, cookie); 620 observer.foundNonMonotonic(left, i, right, j, cookie); 812 NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie); 557 subtract(NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) argument 574 subtract(NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie, NetworkStats recycle) argument 811 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument
|
/frameworks/base/core/java/android/os/ |
H A D | RemoteCallbackList.java | 60 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...] |
H A D | Trace.java | 89 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...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 1449 public void onCallbackDied(ITextToSpeechCallback callback, Object cookie) { argument 1450 IBinder caller = (IBinder) cookie;
|
/frameworks/base/core/java/android/view/textservice/ |
H A D | SuggestionsInfo.java | 67 * @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 D | TextInfo.java | 48 * @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/widget/ |
H A D | QuickContactBadge.java | 336 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 340 Bundle extras = (cookie != null) ? (Bundle) cookie : new Bundle();
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 653 audiorecord_callback_cookie *cookie = local 656 if (cookie == NULL) { 660 cb = new JNIDeviceCallback(env, thiz, cookie->audioRecord_ref,
|
H A D | android_os_Trace.cpp | 75 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 D | android_util_AssetManager.cpp | 286 jint cookie, 308 Asset* a = cookie 309 ? am->openNonAsset(static_cast<int32_t>(cookie), fileName8.c_str(), 324 jint cookie, 340 Asset* a = cookie 341 ? am->openNonAsset(static_cast<int32_t>(cookie), fileName8.c_str(), Asset::ACCESS_RANDOM) 516 int32_t cookie; local 517 bool res = am->addAssetPath(String8(path8.c_str()), &cookie); 519 return (res) ? static_cast<jint>(cookie) : 0; 535 int32_t cookie; local 285 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument 323 android_content_AssetManager_openNonAssetFdNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jlongArray outOffsets) argument 918 android_content_AssetManager_getCookieName(JNIEnv* env, jobject clazz, jint cookie) argument 1769 android_content_AssetManager_openXmlAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName) argument [all...] |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 316 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/ |
H A D | MediaPlayerInterface.h | 69 typedef void (*notify_callback_f)(void* cookie, 89 AudioSink *audioSink, void *buffer, size_t size, void *cookie, 114 void *cookie = NULL, 248 void* cookie, notify_callback_f notifyFunc) { 250 mCookie = cookie; mNotify = notifyFunc; 256 void* cookie; local 260 cookie = mCookie; 263 if (notifyCB) notifyCB(cookie, msg, ext1, ext2, obj); 247 setNotifyCallback( void* cookie, notify_callback_f notifyFunc) argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 137 void* cookie, 163 p->setNotifyCallback(cookie, notifyFunc); 135 createPlayer( player_type playerType, void* cookie, notify_callback_f notifyFunc, pid_t pid) argument
|
H A D | MediaPlayerService.cpp | 1238 void* cookie, int msg, int ext1, int ext2, const Parcel *obj) 1240 Client* client = static_cast<Client*>(cookie); 1271 ALOGV("[%d] notify (%p, %d, %d, %d)", client->mConnId, cookie, msg, ext1, ext2); 1536 AudioCallback cb, void *cookie, 1594 mCallbackCookie = cookie; 1970 int event, void *cookie, void *info) { 1972 CallbackData *data = (CallbackData*)cookie; 2059 void *cookie); 2080 void *cookie) 2083 mCookie(cookie), 1237 notify( void* cookie, int msg, int ext1, int ext2, const Parcel *obj) argument 1533 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo, bool doNotReconnect, uint32_t suggestedFrameCount) argument 1969 CallbackWrapper( int event, void *cookie, void *info) argument 2077 CallbackThread( const wp<MediaPlayerBase::AudioSink> &sink, MediaPlayerBase::AudioSink::AudioCallback cb, void *cookie) argument [all...] |
H A D | MediaPlayerService.h | 59 static int callbackThread(void* cookie); 98 AudioCallback cb, void *cookie, 170 CallbackData(AudioOutput *cookie) { argument 171 mData = cookie; 328 static void notify(void* cookie, int msg,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 661 void *cookie, 663 NuPlayer::Renderer *me = (NuPlayer::Renderer *)cookie; 657 AudioSinkCallback( MediaPlayerBase::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
|
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 435 void *buffer, size_t size, void *cookie, 437 AudioPlayer *me = (AudioPlayer *)cookie; 433 AudioSinkCallback( MediaPlayerBase::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
|
H A D | AwesomePlayer.cpp | 2458 bool AwesomePlayer::ContinuePreparation(void *cookie) { argument 2459 AwesomePlayer *me = static_cast<AwesomePlayer *>(cookie);
|
H A D | MPEG2TSWriter.cpp | 484 void *cookie, 485 ssize_t (*write)(void *cookie, const void *data, size_t size)) 487 mWriteCookie(cookie), 483 MPEG2TSWriter( void *cookie, ssize_t (*write)(void *cookie, const void *data, size_t size)) argument
|
H A D | TimedEventQueue.cpp | 149 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
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 2428 wp<RefBase> cookie) 2432 sp<SyncEvent> event = new SyncEvent(type, triggerSession, listenerSession, callBack, cookie); 2424 createSyncEvent(AudioSystem::sync_event_t type, int triggerSession, int listenerSession, sync_event_callback_t callBack, wp<RefBase> cookie) argument
|
H A D | AudioFlinger.h | 292 wp<RefBase> cookie) 294 mCallback(callBack), mCookie(cookie) 305 wp<RefBase> cookie() const { return mCookie; } function in class:android::AudioFlinger::SyncEvent 320 wp<RefBase> cookie); 288 SyncEvent(AudioSystem::sync_event_t type, int triggerSession, int listenerSession, sync_event_callback_t callBack, wp<RefBase> cookie) argument
|
H A D | Threads.cpp | 2068 void *cookie) 2070 AudioFlinger::PlaybackThread *me = (AudioFlinger::PlaybackThread *)cookie; 6253 sp<RefBase> ptr = strongEvent->cookie().promote(); 2066 asyncCallback(stream_callback_event_t event, void *param __unused, void *cookie) argument
|
/frameworks/av/services/radio/ |
H A D | RadioService.cpp | 196 void RadioService::callback(radio_hal_event_t *halEvent, void *cookie) argument 198 CallbackThread *callbackThread = (CallbackThread *)cookie;
|