/frameworks/av/media/libaudiohal/ |
H A D | HalDeathHandlerHidl.cpp | 39 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 D | Theme_test.cpp | 78 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 D | AssetManager2_test.cpp | 94 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 D | TestAssetRepository.java | 51 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { argument
|
/frameworks/native/libs/binder/ |
H A D | TextOutput.cpp | 40 static void textOutputPrinter(void* cookie, const char* txt) argument 42 ((TextOutput*)cookie)->print(txt, strlen(txt));
|
/frameworks/base/core/java/android/os/ |
H A D | HwRemoteBinder.java | 45 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 D | IHwBinder.java | 36 public void serviceDied(long cookie); argument 39 public boolean linkToDeath(DeathRecipient recipient, long cookie); argument
|
H A D | RemoteCallbackList.java | 66 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 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/av/services/soundtrigger/ |
H A D | SoundTriggerHalHidl.h | 56 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 D | SoundTriggerHalLegacy.cpp | 79 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 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) { 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 D | ApkAssets.cpp | 140 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 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/binder/ |
H A D | BpBinder.h | 45 void* cookie = NULL, 48 void* cookie = NULL, 104 void* cookie; member in struct:android::BpBinder::Obituary
|
/frameworks/native/libs/binder/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 | 129 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 D | RadioHalLegacy.cpp | 198 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 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/graphics/java/android/graphics/ |
H A D | FontFamily.java | 129 * @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 D | ZipArchive.cpp | 100 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 D | AudioPlayer.cpp | 426 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
|