/frameworks/base/tools/aapt/ |
H A D | printapk.cpp | 34 void* cookie; local 80 cookie = NULL; 81 while ((entry = iterate_zipfile(zip, &cookie))) {
|
/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. 96 * @param cookie Optional additional data to be associated with this 107 public boolean register(E callback, Object cookie) { argument 114 Callback cb = new Callback(callback, cookie); 173 * does not provide a cookie. 187 * @param cookie The cookie object original provided to 192 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 | 74 jlong tag, jstring nameStr, jint cookie) { 80 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie); 81 atrace_async_begin(tag, utf8Chars.string(), cookie); 85 jlong tag, jstring nameStr, jint cookie) { 91 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie); 92 atrace_async_end(tag, utf8Chars.string(), cookie); 73 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/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 | 51 void *cookie; member in class:_ZipEntryRO 53 _ZipEntryRO() : cookie(NULL) { 132 bool ZipFileRO::startIteration(void** cookie) argument 135 int32_t error = StartIteration(mHandle, &(ze->cookie), NULL /* prefix */); 142 *cookie = ze; 146 ZipEntryRO ZipFileRO::nextEntry(void* cookie) argument 148 _ZipEntryRO* ze = reinterpret_cast<_ZipEntryRO*>(cookie); 149 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name)); 160 void ZipFileRO::endIteration(void* cookie) argument 162 delete reinterpret_cast<_ZipEntryRO*>(cookie); [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/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 138 void* cookie, 163 p->setNotifyCallback(cookie, notifyFunc); 136 createPlayer( player_type playerType, 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 | 424 void *buffer, size_t size, void *cookie, 426 AudioPlayer *me = (AudioPlayer *)cookie; 422 AudioSinkCallback( MediaPlayerBase::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
|
H A D | MPEG2TSWriter.cpp | 497 void *cookie, 498 ssize_t (*write)(void *cookie, const void *data, size_t size)) 500 mWriteCookie(cookie), 496 MPEG2TSWriter( void *cookie, ssize_t (*write)(void *cookie, const void *data, size_t size)) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | QuickContactBadge.java | 335 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 339 Bundle extras = (cookie != null) ? (Bundle) cookie : new Bundle();
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | LauncherAppsService.java | 468 public void onCallbackDied(T callback, Object cookie) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfoAsyncQuery.java | 70 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 75 * Wrap the cookie from the WorkerArgs with additional information needed by our 80 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper 172 CookieWrapper cw = (CookieWrapper) args.cookie; 242 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 245 //get the cookie and notify the listener. 246 CookieWrapper cw = (CookieWrapper) cookie; 339 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); 359 OnQueryCompleteListener listener, Object cookie) { 369 cw.cookie 358 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument 388 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument 406 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument 459 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/av/include/media/ |
H A D | MediaPlayerInterface.h | 68 typedef void (*notify_callback_f)(void* cookie, 88 AudioSink *audioSink, void *buffer, size_t size, void *cookie, 114 void *cookie = NULL, 204 void* cookie, notify_callback_f notifyFunc) { 206 mCookie = cookie; mNotify = notifyFunc; 212 void* cookie; local 216 cookie = mCookie; 219 if (notifyCB) notifyCB(cookie, msg, ext1, ext2, obj); 203 setNotifyCallback( void* cookie, notify_callback_f notifyFunc) argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 89 DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) { 93 mCookie = cookie; 88 NetworkStatsRecorder(FileRotator rotator, NonMonotonicObserver<String> observer, DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) argument
|