/frameworks/av/media/libmediaplayer2/ |
H A D | MediaPlayer2AudioOutput.cpp | 303 AudioCallback cb, void *cookie, 360 mCallbackCookie = cookie; 629 int event, void *cookie, void *info) { 631 CallbackData *data = (CallbackData*)cookie; 300 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo, bool doNotReconnect, uint32_t suggestedFrameCount) argument 628 CallbackWrapper( int event, void *cookie, void *info) argument
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 460 void *cookie, 461 ssize_t (*write)(void *cookie, const void *data, size_t size)) 463 mWriteCookie(cookie), 459 MPEG2TSWriter( void *cookie, ssize_t (*write)(void *cookie, const void *data, size_t size)) argument
|
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHalHidl.cpp | 141 void *cookie, 227 sp<SoundModel> model = new SoundModel(*handle, callback, cookie, halHandle); 268 void *cookie) 282 model->mRecognitionCookie = cookie; 379 mISoundTrigger->linkToDeath(HalDeathHandler::getInstance(), 0 /*cookie*/); 554 CallbackCookie cookie) 559 model = mSoundModels.valueFor((SoundModelHandle)cookie); 578 CallbackCookie cookie) 583 model = mSoundModels.valueFor((SoundModelHandle)cookie); 604 CallbackCookie cookie) 139 loadSoundModel(struct sound_trigger_sound_model *sound_model, sound_model_callback_t callback, void *cookie, sound_model_handle_t *handle) argument 265 startRecognition(sound_model_handle_t handle, const struct sound_trigger_recognition_config *config, recognition_callback_t callback, void *cookie) argument 552 recognitionCallback( const V2_0_ISoundTriggerHwCallback::RecognitionEvent& halEvent, CallbackCookie cookie) argument 576 phraseRecognitionCallback( const V2_0_ISoundTriggerHwCallback::PhraseRecognitionEvent& halEvent, CallbackCookie cookie) argument 602 soundModelCallback( const V2_0_ISoundTriggerHwCallback::ModelEvent& halEvent, CallbackCookie cookie) argument 628 recognitionCallback_2_1( const ISoundTriggerHwCallback::RecognitionEvent& event, CallbackCookie cookie) argument 636 phraseRecognitionCallback_2_1( const ISoundTriggerHwCallback::PhraseRecognitionEvent& event, int32_t cookie) argument 648 soundModelCallback_2_1( const ISoundTriggerHwCallback::ModelEvent& event, CallbackCookie cookie) argument [all...] |
H A D | SoundTriggerHwService.cpp | 195 void *cookie) 197 Module *module = (Module *)cookie; 272 void *cookie) 274 Module *module = (Module *)cookie; 194 recognitionCallback(struct sound_trigger_recognition_event *event, void *cookie) argument 271 soundModelCallback(struct sound_trigger_model_event *event, void *cookie) argument
|
/frameworks/base/core/java/android/app/ |
H A D | PendingIntent.java | 1244 /*package*/ PendingIntent(IBinder target, Object cookie) { argument 1246 if (cookie != null) { 1247 mWhitelistToken = (IBinder)cookie;
|
/frameworks/base/core/jni/ |
H A D | android_os_HwRemoteBinder.cpp | 73 HwBinderDeathRecipient(JNIEnv* env, jobject object, jlong cookie, const sp<HwBinderDeathRecipientList>& list) argument 75 mObjectWeak(NULL), mCookie(cookie), mList(list) 354 jobject recipient, jlong cookie) 366 sp<HwBinderDeathRecipient> jdr = new HwBinderDeathRecipient(env, recipient, cookie, list); 353 JHwRemoteBinder_linkToDeath(JNIEnv* env, jobject thiz, jobject recipient, jlong cookie) argument
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 311 NativeLibrariesIterator(ZipFileRO* zipFile, bool debuggable, void* cookie) argument 312 : mZipFile(zipFile), mDebuggable(debuggable), mCookie(cookie), mLastSlash(NULL) { 318 void* cookie = NULL; local 320 if (!zipFile->startIteration(&cookie, APK_LIB, NULL /* suffix */)) { 324 return new NativeLibrariesIterator(zipFile, debuggable, cookie); 526 void* cookie = NULL; local 527 if (!zipFile->startIteration(&cookie, NULL /* prefix */, RS_BITCODE_SUFFIX)) { 533 while ((next = zipFile->nextEntry(cookie)) != NULL) { 540 zipFile->endIteration(cookie); 545 zipFile->endIteration(cookie); [all...] |
H A D | android_media_AudioRecord.cpp | 714 audiorecord_callback_cookie *cookie = local 717 if (cookie == NULL) { 721 cb = new JNIDeviceCallback(env, thiz, cookie->audioRecord_ref,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | InstantAppRegistry.java | 139 // Only installed packages can get their own cookie 154 Slog.w(LOG_TAG, "Error reading cookie file: " + cookieFile); 161 @Nullable byte[] cookie, @UserIdInt int userId) { 162 if (cookie != null && cookie.length > 0) { 165 if (cookie.length > maxCookieSize) { 166 Slog.e(LOG_TAG, "Instant app cookie for package " + packageName + " size " 167 + cookie.length + " bytes while max size is " + maxCookieSize); 172 // Only an installed package can set its own cookie 178 mCookiePersistence.schedulePersistLPw(userId, pkg, cookie); 160 setInstantAppCookieLPw(@onNull String packageName, @Nullable byte[] cookie, @UserIdInt int userId) argument 182 persistInstantApplicationCookie(@ullable byte[] cookie, @NonNull String packageName, @NonNull File cookieFile, @UserIdInt int userId) argument 1176 schedulePersistLPw(@serIdInt int userId, @NonNull PackageParser.Package pkg, @NonNull byte[] cookie) argument 1219 addPendingPersistCookieLPw(@serIdInt int userId, @NonNull PackageParser.Package pkg, @NonNull byte[] cookie, @NonNull File cookieFile) argument [all...] |
H A D | LauncherAppsService.java | 672 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); 673 if (!isEnabledProfileOf(cookie.user, user, "onPackageAdded")) continue; 694 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); 695 if (!isEnabledProfileOf(cookie.user, user, "onPackageRemoved")) continue; 716 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); 717 if (!isEnabledProfileOf(cookie.user, user, "onPackageModified")) continue; 738 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); 739 if (!isEnabledProfileOf(cookie.user, user, "onPackagesAvailable")) continue; 760 BroadcastCookie cookie = (BroadcastCookie) mListeners.getBroadcastCookie(i); 761 if (!isEnabledProfileOf(cookie 874 onCallbackDied(T callback, Object cookie) argument [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbPortManager.java | 506 public void serviceDied(long cookie) { argument 507 if (cookie == USB_HAL_DEATH_COOKIE) { 508 logAndPrint(Log.ERROR, pw, "Usb hal service died cookie: " + cookie);
|
/frameworks/native/libs/binder/ |
H A D | BpBinder.cpp | 224 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) 228 ob.cookie = cookie; 258 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, 271 || (recipient == NULL && obit.cookie == cookie)) 223 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument 257 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 61 static int callbackThread(void* cookie); 106 AudioCallback cb, void *cookie, 193 explicit CallbackData(AudioOutput *cookie) { argument 194 mData = cookie; 409 uint64_t cookie,
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.h | 300 wp<RefBase> cookie) 302 mCallback(callBack), mCookie(cookie) 313 wp<RefBase> cookie() const { return mCookie; } function in class:android::AudioFlinger::SyncEvent 328 const wp<RefBase>& cookie); 296 SyncEvent(AudioSystem::sync_event_t type, audio_session_t triggerSession, audio_session_t listenerSession, sync_event_callback_t callBack, wp<RefBase> cookie) argument
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraProviderManager.cpp | 533 hardware::Return<bool> linked = mInterface->linkToDeath(this, /*cookie*/ mId); 787 void CameraProviderManager::ProviderInfo::serviceDied(uint64_t cookie, argument 791 if (cookie != mId) { 792 ALOGW("%s: Unexpected serviceDied cookie %" PRIu64 ", expected %" PRIu32, 793 __FUNCTION__, cookie, mId);
|
/frameworks/base/cmds/incidentd/src/ |
H A D | Section.cpp | 428 static void* worker_thread_func(void* cookie) { argument 429 WorkerThreadData* data = (WorkerThreadData*)cookie;
|
/frameworks/base/cmds/statsd/src/ |
H A D | StatsService.cpp | 189 void StatsService::init_build_type_callback(void* cookie, const char* /*name*/, const char* value, argument 192 reinterpret_cast<StatsService*>(cookie)->mEngBuild = true;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 688 NonMonotonicObserver<C> observer, C cookie) { 689 return subtract(left, right, observer, cookie, null); 705 NonMonotonicObserver<C> observer, C cookie, NetworkStats recycle) { 709 observer.foundNonMonotonic(left, -1, right, -1, cookie); 752 observer.foundNonMonotonic(left, i, right, j, cookie); 1102 NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie); 1104 NetworkStats stats, int statsIndex, C cookie); 687 subtract(NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) argument 704 subtract(NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie, NetworkStats recycle) argument 1101 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument 1103 foundNonMonotonic( NetworkStats stats, int statsIndex, C cookie) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Typeface.java | 195 public static Typeface createFromResources(AssetManager mgr, String path, int cookie) { argument 206 if (fontFamily.addFontFromAssetManager(mgr, path, cookie, false /* isAsset */,
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager2.cpp | 167 const ResStringPool* AssetManager2::GetStringPoolForCookie(ApkAssetsCookie cookie) const { 168 if (cookie < 0 || static_cast<size_t>(cookie) >= apk_assets_.size()) { 171 return apk_assets_[cookie]->GetLoadedArsc()->GetStringPool(); 186 const DynamicRefTable* AssetManager2::GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const { 189 if (package_cookie == cookie) { 243 std::unique_ptr<Asset> AssetManager2::Open(const std::string& filename, ApkAssetsCookie cookie, argument 246 return OpenNonAsset(new_path, cookie, mode); 301 ApkAssetsCookie cookie, 303 if (cookie < 300 OpenNonAsset(const std::string& filename, ApkAssetsCookie cookie, Asset::AccessMode mode) const argument 356 ApkAssetsCookie cookie = package_group.cookies_[pi]; local 460 ApkAssetsCookie cookie = local 497 ApkAssetsCookie cookie = local 511 ApkAssetsCookie cookie = local 543 ResolveReference(ApkAssetsCookie cookie, Res_value* in_out_value, ResTable_config* in_out_selected_config, uint32_t* in_out_flags, uint32_t* out_last_reference) const argument 584 ApkAssetsCookie cookie = local 884 ApkAssetsCookie cookie; member in struct:android::__anon937::ThemeEntry 1031 ResolveAttributeReference(ApkAssetsCookie cookie, Res_value* in_out_value, ResTable_config* in_out_selected_config, uint32_t* in_out_type_spec_flags, uint32_t* out_last_ref) const argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkScoreService.java | 532 public void accept(INetworkScoreCache networkScoreCache, Object cookie) { argument 534 if (cookie instanceof Integer) { 535 filterType = (Integer) cookie; 816 public void accept(INetworkScoreCache networkScoreCache, Object cookie) { 913 public void accept(INetworkScoreCache networkScoreCache, Object cookie) {
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 600 void* cookie, uint32_t flags) { 602 return IInterface::asBinder(sf)->linkToDeath(recipient, cookie, flags); 598 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | NuPlayer2Renderer.cpp | 811 void *cookie, 813 NuPlayer2::Renderer *me = (NuPlayer2::Renderer *)cookie; 807 AudioSinkCallback( MediaPlayer2Interface::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayer2Interface::AudioSink::cb_event_t event) argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 812 void *cookie, 814 NuPlayer::Renderer *me = (NuPlayer::Renderer *)cookie; 808 AudioSinkCallback( MediaPlayerBase::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 701 void *cookie = NULL; local 703 if (!zip->startIteration(&cookie)) { 709 while ((entry = zip->nextEntry(cookie)) != NULL) { 792 zip->endIteration(cookie);
|