Home
last modified time | relevance | path

Searched defs:cookie (Results 1 – 25 of 122) sorted by relevance

12345

/aosp14/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java56 public Object cookie; field in AsyncQueryHandler.WorkerArgs
164 public void startQuery(int token, Object cookie, Uri uri, in startQuery()
207 public final void startInsert(int token, Object cookie, Uri uri, in startInsert()
233 public final void startUpdate(int token, Object cookie, Uri uri, in startUpdate()
261 public final void startDelete(int token, Object cookie, Uri uri, in startDelete()
286 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete()
299 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete()
312 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete()
325 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete()
/aosp14/system/core/libcutils/include/cutils/
H A Dtrace.h187 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument
190 int32_t cookie) in atrace_async_begin()
202 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument
203 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end()
219 #define ATRACE_ASYNC_FOR_TRACK_BEGIN(track_name, name, cookie) \ argument
222 const char* name, int32_t cookie) { in atrace_async_for_track_begin()
233 #define ATRACE_ASYNC_FOR_TRACK_END(track_name, cookie) \ argument
236 int32_t cookie) { in atrace_async_for_track_end()
/aosp14/system/core/libcutils/include_outside_system/cutils/
H A Dtrace.h187 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument
190 int32_t cookie) in atrace_async_begin()
202 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument
203 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end()
219 #define ATRACE_ASYNC_FOR_TRACK_BEGIN(track_name, name, cookie) \ argument
222 const char* name, int32_t cookie) { in atrace_async_for_track_begin()
233 #define ATRACE_ASYNC_FOR_TRACK_END(track_name, cookie) \ argument
236 int32_t cookie) { in atrace_async_for_track_end()
/aosp14/frameworks/base/core/java/android/os/
H A DTrace.java137 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); in nativeAsyncTraceBegin()
139 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); in nativeAsyncTraceEnd()
142 String trackName, String name, int cookie); in nativeAsyncTraceForTrackBegin()
145 String trackName, int cookie); in nativeAsyncTraceForTrackEnd()
264 public static void asyncTraceBegin(long traceTag, @NonNull String methodName, int cookie) { in asyncTraceBegin()
286 public static void asyncTraceEnd(long traceTag, @NonNull String methodName, int cookie) { in asyncTraceEnd()
368 @NonNull String trackName, @NonNull String methodName, int cookie) { in asyncTraceForTrackBegin()
392 @NonNull String trackName, int cookie) { in asyncTraceForTrackEnd()
481 public static void beginAsyncSection(@NonNull String methodName, int cookie) { in beginAsyncSection()
493 public static void endAsyncSection(@NonNull String methodName, int cookie) { in endAsyncSection()
H A DIHwBinder.java53 public void serviceDied(long cookie); in serviceDied()
63 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath()
H A DHwRemoteBinder.java48 public native boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath()
64 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) { in sendDeathNotice()
H A DRemoteCallbackList.java70 Callback(E callback, Object cookie) { in Callback()
117 public boolean register(E callback, Object cookie) { in register()
205 public void onCallbackDied(E callback, Object cookie) { in onCallbackDied()
/aosp14/system/core/libcutils/
H A Dtrace-dev.cpp82 void atrace_async_begin_body(const char* name, int32_t cookie) in atrace_async_begin_body()
87 void atrace_async_end_body(const char* name, int32_t cookie) in atrace_async_end_body()
92 void atrace_async_for_track_begin_body(const char* track_name, const char* name, int32_t cookie) { in atrace_async_for_track_begin_body()
96 void atrace_async_for_track_end_body(const char* track_name, int32_t cookie) { in atrace_async_for_track_end_body()
H A Dtrace-container.cpp208 void atrace_async_begin_body(const char* name, int32_t cookie) in atrace_async_begin_body()
220 void atrace_async_end_body(const char* name, int32_t cookie) in atrace_async_end_body()
232 void atrace_async_for_track_begin_body(const char* track_name, const char* name, int32_t cookie) { in atrace_async_for_track_begin_body()
243 void atrace_async_for_track_end_body(const char* track_name, int32_t cookie) { in atrace_async_for_track_end_body()
H A Dproperties.cpp101 void* cookie; member
113 int property_list(void (*fn)(const char* name, const char* value, void* cookie), void* cookie) { in property_list()
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DCallerInfoAsyncQuery.java75 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete()
89 public Object cookie; field in CallerInfoAsyncQuery.CookieWrapper
274 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete()
406 OnQueryCompleteListener listener, Object cookie) { in startQuery()
436 OnQueryCompleteListener listener, Object cookie) { in startQuery()
454 OnQueryCompleteListener listener, Object cookie, int subId) { in startQuery()
516 public void addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) { in addQueryListener()
/aosp14/frameworks/base/native/android/
H A Dtrace.cpp32 void ATrace_beginAsyncSection(const char* sectionName, int32_t cookie) { in ATrace_beginAsyncSection()
36 void ATrace_endAsyncSection(const char* sectionName, int32_t cookie) { in ATrace_endAsyncSection()
/aosp14/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp43 void *cookie; member in _ZipEntryRO
145 bool ZipFileRO::startIteration(void** cookie) { in startIteration()
149 bool ZipFileRO::startIteration(void** cookie, const char* prefix, const char* suffix) in startIteration()
165 ZipEntryRO ZipFileRO::nextEntry(void* cookie) in nextEntry()
180 void ZipFileRO::endIteration(void* cookie) in endIteration()
/aosp14/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java222 final int cookie = mRecentOperations.beginOperation("open", null, null); in open() local
286 final int cookie = mRecentOperations.beginOperation("close", null, null); in dispose() local
671 final int cookie = mRecentOperations.beginOperation("prepare", sql, null); in prepare() local
719 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute() local
1540 public void failOperation(int cookie, Exception ex) { in failOperation()
1549 public void endOperation(int cookie) { in endOperation()
1557 public boolean endOperationDeferLog(int cookie) { in endOperationDeferLog()
1563 public void logOperation(int cookie, String detail) { in logOperation()
1577 private boolean endOperationDeferLogLocked(int cookie) { in endOperationDeferLogLocked()
1594 private void logOperationLocked(int cookie, String detail) { in logOperationLocked()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
H A DBiometricSchedulerOperationTest.java103 final int cookie = 200; in testStartWithCookie() local
142 final int cookie = 5; in testSecondStartWithCookieCrashesWhenDebuggable() local
156 final int cookie = 5; in testSecondStartWithCookieFailsNicelyWhenNotDebuggable() local
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DBiometricSensor.java109 long requestId, int cookie, boolean allowBackgroundAuthentication, in goToStateWaitingForCookie()
119 void goToStateCookieReturnedIfCookieMatches(int cookie) { in goToStateCookieReturnedIfCookieMatches()
139 void goToStoppedStateIfCookieMatches(int cookie, int error) { in goToStoppedStateIfCookieMatches()
/aosp14/system/core/toolbox/
H A Dgetprop.cpp41 [](const prop_info* pi, void* cookie) { in PrintAllProperties()
44 [](void* cookie, const char* name, const char* value, unsigned) { in PrintAllProperties()
/aosp14/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp79 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin()
86 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceEnd()
93 jlong tag, jstring trackStr, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceForTrackBegin()
102 jlong tag, jstring trackStr, jint cookie) { in android_os_Trace_nativeAsyncTraceForTrackEnd()
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
H A DSoundTriggerHw2Compat.java575 int cookie) { in recognitionCallback_2_1()
585 int cookie) { in phraseRecognitionCallback_2_1()
595 int cookie) { in soundModelCallback_2_1()
602 int cookie) { in recognitionCallback()
611 int cookie) { in phraseRecognitionCallback()
620 int cookie) { in soundModelCallback()
/aosp14/frameworks/base/core/java/android/view/textservice/
H A DTextInfo.java51 public TextInfo(String text, int cookie, int sequenceNumber) { in TextInfo()
68 public TextInfo(CharSequence charSequence, int start, int end, int cookie, int sequenceNumber) { in TextInfo()
H A DSuggestionsInfo.java108 public SuggestionsInfo(@ResultAttrs int suggestionsAttributes, String[] suggestions, int cookie, in SuggestionsInfo()
151 public void setCookieAndSequence(int cookie, int sequence) { in setCookieAndSequence()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/util/
H A DTraceUtils.kt80 val cookie = lastCookie.incrementAndGet() regex
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DIBiometricAuthenticator.aidl51 long requestId, int cookie, boolean allowBackgroundAuthentication, in prepareForAuthentication()
55 void startPreparedClient(int cookie); in startPreparedClient()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DAssetManager2.h59 ApkAssetsCookie cookie; member
251 ApkAssetsCookie cookie = kInvalidCookie; member
376 ApkAssetsCookie cookie; member
501 ApkAssetsCookie cookie = kInvalidCookie; member
508 ApkAssetsCookie cookie = kInvalidCookie; member
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DHalClientMonitor.java56 @NonNull String owner, int cookie, int sensorId, in HalClientMonitor()

12345