Searched defs:cookie (Results 26 - 50 of 51) sorted by last modified time

123

/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java235 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 DNetworkStats.java558 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 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...]
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...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java1449 public void onCallbackDied(ITextToSpeechCallback callback, Object cookie) { argument
1450 IBinder caller = (IBinder) cookie;
/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/widget/
H A DQuickContactBadge.java336 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 Dandroid_media_AudioRecord.cpp653 audiorecord_callback_cookie *cookie = local
656 if (cookie == NULL) {
660 cb = new JNIDeviceCallback(env, thiz, cookie->audioRecord_ref,
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 Dandroid_util_AssetManager.cpp286 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 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/
H A DMediaPlayerInterface.h69 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 DMediaPlayerFactory.cpp137 void* cookie,
163 p->setNotifyCallback(cookie, notifyFunc);
135 createPlayer( player_type playerType, void* cookie, notify_callback_f notifyFunc, pid_t pid) argument
H A DMediaPlayerService.cpp1238 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 DMediaPlayerService.h59 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 DNuPlayerRenderer.cpp661 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 DAudioPlayer.cpp435 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 DAwesomePlayer.cpp2458 bool AwesomePlayer::ContinuePreparation(void *cookie) { argument
2459 AwesomePlayer *me = static_cast<AwesomePlayer *>(cookie);
H A DMPEG2TSWriter.cpp484 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 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
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp2428 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 DAudioFlinger.h292 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 DThreads.cpp2068 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 DRadioService.cpp196 void RadioService::callback(radio_hal_event_t *halEvent, void *cookie) argument
198 CallbackThread *callbackThread = (CallbackThread *)cookie;

Completed in 896 milliseconds

123