/frameworks/native/libs/binder/ |
H A D | TextOutput.cpp | 137 static void textOutputPrinter(void* cookie, const char* txt) argument 139 ((TextOutput*)cookie)->print(txt, strlen(txt));
|
H A D | BpBinder.cpp | 174 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 D | Debug.cpp | 41 static void defaultPrintFunc(void* /*cookie*/, const char* txt) 149 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) argument 154 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); 160 debugPrintFunc func, void* cookie) 174 if (singleLineBytesCutoff < 0) func(cookie, "\n"); 175 func(cookie, "(NULL)"); 180 if (singleLineBytesCutoff < 0) func(cookie, "\n"); 181 func(cookie, "(empty)"); 186 if (singleLineBytesCutoff < 0) func(cookie, "\ 157 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...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | SystemViewInfo.java | 29 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 D | SysTrace.java | 96 * 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/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/view/textservice/ |
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
|
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...] |
/frameworks/base/core/jni/ |
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
|
/frameworks/native/include/binder/ |
H A D | BpBinder.h | 45 void* cookie = NULL, 48 void* cookie = NULL, 104 void* cookie; member in struct:android::BpBinder::Obituary
|
/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.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/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 56 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/libs/androidfw/ |
H A D | ZipFileRO.cpp | 43 void *cookie; member in class:_ZipEntryRO 45 _ZipEntryRO() : cookie(NULL) {} 48 EndIteration(cookie); 129 bool ZipFileRO::startIteration(void** cookie) { argument 130 return startIteration(cookie, NULL, NULL); 133 bool ZipFileRO::startIteration(void** cookie, const char* prefix, const char* suffix) argument 138 int32_t error = StartIteration(mHandle, &(ze->cookie), 147 *cookie = ze; 151 ZipEntryRO ZipFileRO::nextEntry(void* cookie) argument 153 _ZipEntryRO* ze = reinterpret_cast<_ZipEntryRO*>(cookie); 165 endIteration(void* cookie) argument [all...] |
/frameworks/native/include/media/hardware/ |
H A D | HDCPAPI.h | 29 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/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/libstagefright/ |
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
|
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
|
/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/services/core/java/com/android/server/pm/ |
H A D | LauncherAppsService.java | 469 public void onCallbackDied(T callback, Object cookie) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfoAsyncQuery.java | 69 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 74 * Wrap the cookie from the WorkerArgs with additional information needed by our 79 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper 171 CookieWrapper cw = (CookieWrapper) args.cookie; 241 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 244 //get the cookie and notify the listener. 245 CookieWrapper cw = (CookieWrapper) cookie; 338 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); 358 OnQueryCompleteListener listener, Object cookie) { 368 cw.cookie 357 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument 387 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument 405 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument 458 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument [all...] |
/frameworks/base/tools/split-select/ |
H A D | Main.cpp | 126 int32_t cookie = 0; local 127 if (!assetManager.addAssetPath(path, &cookie)) { 131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); 208 int32_t cookie = 0; local 209 if (!assetManager.addAssetPath(path, &cookie)) { 224 AssetDir* dir = assetManager.openNonAssetDir(cookie, "lib");
|
/frameworks/native/libs/binder/tests/ |
H A D | binderDriverInterfaceTest.cpp | 217 binder_uintptr_t cookie = 1234; local 225 .cookie = 0, 268 EXPECT_EQ(0u, br.arg2.cookie); 298 binder_uintptr_t cookie = 1234; local 314 .cookie = cookie, 319 .cookie = cookie, 342 EXPECT_EQ(cookie, br.arg1);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 90 DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) { 94 mCookie = cookie; 89 NetworkStatsRecorder(FileRotator rotator, NonMonotonicObserver<String> observer, DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) argument
|