Searched defs:cookie (Results 1 - 25 of 82) 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/libs/androidfw/tests/
H A DTheme_test.cpp78 ApkAssetsCookie cookie; local
80 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags);
81 ASSERT_NE(kInvalidCookie, cookie);
86 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags);
87 ASSERT_NE(kInvalidCookie, cookie);
102 ApkAssetsCookie cookie; local
104 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags);
105 ASSERT_NE(kInvalidCookie, cookie);
110 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags);
111 ASSERT_NE(kInvalidCookie, cookie);
136 ApkAssetsCookie cookie; local
170 ApkAssetsCookie cookie; local
204 ApkAssetsCookie cookie; local
233 ApkAssetsCookie cookie; local
[all...]
H A DAssetManager2_test.cpp94 ApkAssetsCookie cookie = local
97 ASSERT_NE(kInvalidCookie, cookie);
100 EXPECT_EQ(0, cookie);
124 ApkAssetsCookie cookie = local
127 ASSERT_NE(kInvalidCookie, cookie);
130 EXPECT_EQ(1, cookie);
152 ApkAssetsCookie cookie = local
155 ASSERT_NE(kInvalidCookie, cookie);
158 EXPECT_EQ(2, cookie);
162 cookie
197 ApkAssetsCookie cookie = assetmanager.GetResource( local
312 ApkAssetsCookie cookie = local
335 ApkAssetsCookie cookie = local
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DTestAssetRepository.java51 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { argument
/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/core/java/android/os/
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 DIHwBinder.java36 public void serviceDied(long cookie); argument
39 public boolean linkToDeath(DeathRecipient recipient, long cookie); argument
H A DRemoteCallbackList.java66 Callback(E callback, Object cookie) { argument
68 mCookie = cookie;
81 * that does not take a cookie object.
102 * @param cookie Optional additional data to be associated with this
113 public boolean register(E callback, Object cookie) { argument
122 Callback cb = new Callback(callback, cookie);
181 * does not provide a cookie.
195 * @param cookie The cookie object original provided to
200 public void onCallbackDied(E callback, Object cookie) { argument
[all...]
/frameworks/base/tools/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/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/av/services/soundtrigger/
H A DSoundTriggerHalHidl.h56 void *cookie,
72 void *cookie);
87 const ISoundTriggerHwCallback::RecognitionEvent& event, CallbackCookie cookie);
89 const ISoundTriggerHwCallback::PhraseRecognitionEvent& event, int32_t cookie);
91 const ISoundTriggerHwCallback::ModelEvent& event, CallbackCookie cookie);
96 void *cookie, android::hardware::soundtrigger::V2_0::SoundModelHandle halHandle)
98 mSoundModelCallback(callback), mSoundModelCookie(cookie),
95 SoundModel(sound_model_handle_t handle, sound_model_callback_t callback, void *cookie, android::hardware::soundtrigger::V2_0::SoundModelHandle halHandle) argument
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/libs/androidfw/
H A DApkAssets.cpp140 void* cookie; local
141 if (::StartIteration(zip_handle_.get(), &cookie, &prefix, nullptr) != 0) {
153 while ((result = ::Next(cookie, &entry, &name)) == 0) {
164 ::EndIteration(cookie);
H A DZipFileRO.cpp43 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/binder/
H A DBpBinder.h45 void* cookie = NULL,
48 void* cookie = NULL,
104 void* cookie; member in struct:android::BpBinder::Obituary
/frameworks/native/libs/binder/include/binder/
H A DBpBinder.h45 void* cookie = NULL,
48 void* cookie = NULL,
104 void* cookie; member in struct:android::BpBinder::Obituary
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp129 void* cookie,
155 p->setNotifyCallback(cookie, notifyFunc);
127 createPlayer( player_type playerType, void* cookie, notify_callback_f notifyFunc, pid_t pid) argument
/frameworks/av/services/radio/
H A DRadioHalLegacy.cpp198 void RadioHalLegacy::Tuner::callback(radio_hal_event_t *halEvent, void *cookie) argument
200 wp<RadioHalLegacy::Tuner> weak = wp<RadioHalLegacy::Tuner>((RadioHalLegacy::Tuner *)cookie);
/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.java129 * @param cookie If available, the resource cookie given by Resources.
138 public boolean addFontFromAssetManager(AssetManager mgr, String path, int cookie, argument
149 return nAddFontFromAssetManager(mBuilderPtr, mgr, path, cookie, isAsset, ttcIndex, weight,
197 String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic);
196 nAddFontFromAssetManager(long builderPtr, AssetManager mgr, String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) argument
/frameworks/base/tools/aapt2/io/
H A DZipArchive.cpp100 void* cookie = nullptr; local
101 result = StartIteration(collection->handle_, &cookie, nullptr, nullptr);
108 IterationEnder iteration_ender(cookie, EndIteration);
112 while ((result = Next(cookie, &zip_data, &zip_entry_name)) == 0) {
/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp426 void *buffer, size_t size, void *cookie,
428 AudioPlayer *me = (AudioPlayer *)cookie;
424 AudioSinkCallback( MediaPlayerBase::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument

Completed in 511 milliseconds

1234