Searched defs:cookie (Results 1 - 25 of 98) sorted by relevance

1234

/frameworks/av/media/libaudiohal/
H A DHalDeathHandlerHidl.cpp39 void HalDeathHandler::registerAtExitHandler(void* cookie, AtExitHandler handler) { argument
41 mHandlers.insert({cookie, handler});
44 void HalDeathHandler::unregisterAtExitHandler(void* cookie) { argument
46 mHandlers.erase(cookie);
49 void HalDeathHandler::serviceDied(uint64_t /*cookie*/, const wp<IBase>& /*who*/) {
/frameworks/base/cmds/statsd/src/
H A Dmain.cpp53 static void* log_reader_thread_func(void* cookie) { argument
54 log_reader_thread_data* data = static_cast<log_reader_thread_data*>(cookie);
/frameworks/base/core/java/android/os/
H A DIHwBinder.java57 * @param cookie cookie this death recipient was registered with.
60 public void serviceDied(long cookie); argument
64 * Notifies the death recipient with the cookie when the process containing
68 * @param cookie value to be given to callback on object death.
71 public boolean linkToDeath(DeathRecipient recipient, long cookie); argument
H A DHwRemoteBinder.java45 public native boolean linkToDeath(DeathRecipient recipient, long cookie); argument
61 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) { argument
62 recipient.serviceDied(cookie);
H A DRemoteCallbackList.java67 Callback(E callback, Object cookie) { argument
69 mCookie = cookie;
82 * that does not take a cookie object.
103 * @param cookie Optional additional data to be associated with this
114 public boolean register(E callback, Object cookie) { argument
123 Callback cb = new Callback(callback, cookie);
182 * does not provide a cookie.
196 * @param cookie The cookie object original provided to
201 public void onCallbackDied(E callback, Object cookie) { argument
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DAppTrace.java26 * Begins a new async trace section with the given {@param key} and {@param cookie}.
28 public static void start(String key, int cookie) { argument
29 android.os.Trace.asyncTraceBegin(TRACE_TAG_APP, key, cookie);
47 * Ends an existing async trace section with the given {@param key} and {@param cookie}.
49 public static void end(String key, int cookie) { argument
50 android.os.Trace.asyncTraceEnd(TRACE_TAG_APP, key, cookie);
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DTestAssetRepository.java59 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { argument
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
H A DRemoteAssetRepositoryAdapter.java47 public RemoteInputStream openNonAsset(int cookie, String path, int mode) argument
49 return RemoteInputStreamAdapter.create(mDelegate.openNonAsset(cookie, path, mode));
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteAssetRepository.java35 RemoteInputStream openNonAsset(int cookie, String path, int mode) throws IOException; argument
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
H A DRemoteAssetRepositoryAdapter.java46 public InputStream openNonAsset(int cookie, String path, int mode) argument
48 return StreamUtil.getInputStream(mDelgate.openNonAsset(cookie, path, mode));
/frameworks/native/libs/binder/
H A DTextOutput.cpp40 static void textOutputPrinter(void* cookie, const char* txt) argument
42 ((TextOutput*)cookie)->print(txt, strlen(txt));
/frameworks/base/libs/androidfw/tests/
H A DBenchmarkHelpers.cpp29 if (!assetmanager.addAssetPath(String8(path.c_str()), nullptr /* cookie */,
80 ApkAssetsCookie cookie = assetmanager.GetResource( local
82 assetmanager.ResolveReference(cookie, &value, &selected_config, &flags, &last_id);
H A DTheme_test.cpp83 ApkAssetsCookie cookie; local
85 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags);
86 ASSERT_NE(kInvalidCookie, cookie);
91 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags);
92 ASSERT_NE(kInvalidCookie, cookie);
107 ApkAssetsCookie cookie; local
109 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags);
110 ASSERT_NE(kInvalidCookie, cookie);
115 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags);
116 ASSERT_NE(kInvalidCookie, cookie);
153 ApkAssetsCookie cookie; local
187 ApkAssetsCookie cookie; local
221 ApkAssetsCookie cookie; local
250 ApkAssetsCookie cookie; local
[all...]
H A DAttributeResolution_bench.cpp114 ApkAssetsCookie cookie = local
117 if (cookie == kInvalidCookie) {
124 assetmanager.GetStringPoolForCookie(cookie)->string8At(value.data, &len);
131 StringPiece(layout_path, len).to_string(), cookie, Asset::ACCESS_BUFFER);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DSysTrace.java96 * 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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DSystemViewInfo.java29 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/av/services/soundtrigger/
H A DSoundTriggerHalHidl.h66 void *cookie,
82 void *cookie);
97 const V2_0_ISoundTriggerHwCallback::RecognitionEvent& event, CallbackCookie cookie);
99 const V2_0_ISoundTriggerHwCallback::PhraseRecognitionEvent& event, int32_t cookie);
101 const V2_0_ISoundTriggerHwCallback::ModelEvent& event, CallbackCookie cookie);
103 const RecognitionEvent& event, CallbackCookie cookie);
105 const PhraseRecognitionEvent& event, int32_t cookie);
107 const ModelEvent& event, CallbackCookie cookie);
112 void *cookie, android::hardware::soundtrigger::V2_0::SoundModelHandle halHandle)
114 mSoundModelCallback(callback), mSoundModelCookie(cookie),
111 SoundModel(sound_model_handle_t handle, sound_model_callback_t callback, void *cookie, android::hardware::soundtrigger::V2_0::SoundModelHandle halHandle) argument
[all...]
H A DSoundTriggerHalLegacy.cpp79 void *cookie,
85 return mHwDevice->load_sound_model(mHwDevice, sound_model, callback, cookie, handle);
99 void *cookie)
104 return mHwDevice->start_recognition(mHwDevice, handle, config, callback, cookie);
77 loadSoundModel(struct sound_trigger_sound_model *sound_model, sound_model_callback_t callback, void *cookie, sound_model_handle_t *handle) argument
96 startRecognition(sound_model_handle_t handle, const struct sound_trigger_recognition_config *config, recognition_callback_t callback, void *cookie) argument
/frameworks/base/core/java/android/view/textservice/
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
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...]
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp74 jlong tag, jstring nameStr, jint cookie) {
79 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie);
80 atrace_async_begin(tag, utf8Chars.string(), cookie);
84 jlong tag, jstring nameStr, jint cookie) {
89 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, utf8Chars.string(), cookie);
90 atrace_async_end(tag, utf8Chars.string(), cookie);
73 android_os_Trace_nativeAsyncTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
83 android_os_Trace_nativeAsyncTraceEnd(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DMockWeaverService.java80 public boolean linkToDeath(DeathRecipient recipient, long cookie) throws RemoteException { argument
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java56 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/graphics/java/android/graphics/
H A DFontFamily.java141 * @param cookie If available, the resource cookie given by Resources.
150 public boolean addFontFromAssetManager(AssetManager mgr, String path, int cookie, argument
161 return nAddFontFromAssetManager(mBuilderPtr, mgr, path, cookie, isAsset, ttcIndex, weight,
187 String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic);
186 nAddFontFromAssetManager(long builderPtr, AssetManager mgr, String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) argument
/frameworks/base/libs/androidfw/
H A DApkAssets.cpp212 void* cookie; local
213 if (::StartIteration(zip_handle_.get(), &cookie, &prefix, nullptr) != 0) {
225 while ((result = ::Next(cookie, &entry, &name)) == 0) {
240 ::EndIteration(cookie);

Completed in 6350 milliseconds

1234