Searched defs:cookie (Results 26 - 50 of 51) sorted by relevance

123

/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp484 void *cookie,
485 ssize_t (*write)(void *cookie, const void *data, size_t size))
487 mWriteCookie(cookie),
483 MPEG2TSWriter( void *cookie, ssize_t (*write)(void *cookie, const void *data, size_t size)) argument
H A DAwesomePlayer.cpp2458 bool AwesomePlayer::ContinuePreparation(void *cookie) { argument
2459 AwesomePlayer *me = static_cast<AwesomePlayer *>(cookie);
/frameworks/av/services/radio/
H A DRadioService.cpp196 void RadioService::callback(radio_hal_event_t *halEvent, void *cookie) argument
198 CallbackThread *callbackThread = (CallbackThread *)cookie;
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp216 void *cookie)
218 Module *module = (Module *)cookie;
294 void *cookie)
296 Module *module = (Module *)cookie;
215 recognitionCallback(struct sound_trigger_recognition_event *event, void *cookie) argument
293 soundModelCallback(struct sound_trigger_model_event *event, void *cookie) argument
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp513 void *cookie = NULL; local
514 if (!mZip->startIteration(&cookie)) {
520 while ((entry = mZip->nextEntry(cookie)) != NULL) {
557 mZip->endIteration(cookie);
/frameworks/base/core/java/android/net/
H A DNetworkStats.java558 NonMonotonicObserver<C> observer, C cookie) {
559 return subtract(left, right, observer, cookie, null);
575 NonMonotonicObserver<C> observer, C cookie, NetworkStats recycle) {
579 observer.foundNonMonotonic(left, -1, right, -1, cookie);
620 observer.foundNonMonotonic(left, i, right, j, cookie);
812 NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie);
557 subtract(NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) argument
574 subtract(NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie, NetworkStats recycle) argument
811 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp316 NativeLibrariesIterator(ZipFileRO* zipFile, void* cookie) argument
317 : mZipFile(zipFile), mCookie(cookie), mLastSlash(NULL) {
323 void* cookie = NULL; local
325 if (!zipFile->startIteration(&cookie, APK_LIB, NULL /* suffix */)) {
329 return new NativeLibrariesIterator(zipFile, 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 Dandroid_media_AudioRecord.cpp653 audiorecord_callback_cookie *cookie = local
656 if (cookie == NULL) {
660 cb = new JNIDeviceCallback(env, thiz, cookie->audioRecord_ref,
H A Dandroid_util_AssetManager.cpp286 jint cookie,
308 Asset* a = cookie
309 ? am->openNonAsset(static_cast<int32_t>(cookie), fileName8.c_str(),
324 jint cookie,
340 Asset* a = cookie
341 ? am->openNonAsset(static_cast<int32_t>(cookie), fileName8.c_str(), Asset::ACCESS_RANDOM)
516 int32_t cookie; local
517 bool res = am->addAssetPath(String8(path8.c_str()), &cookie);
519 return (res) ? static_cast<jint>(cookie) : 0;
535 int32_t cookie; local
285 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument
323 android_content_AssetManager_openNonAssetFdNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jlongArray outOffsets) argument
918 android_content_AssetManager_getCookieName(JNIEnv* env, jobject clazz, jint cookie) argument
1769 android_content_AssetManager_openXmlAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java268 private void assertPreparedAndNotSealed(String cookie) { argument
271 throw new IllegalStateException(cookie + " before prepared");
274 throw new SecurityException(cookie + " not allowed after commit");
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp661 void *cookie,
663 NuPlayer::Renderer *me = (NuPlayer::Renderer *)cookie;
657 AudioSinkCallback( MediaPlayerBase::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h292 wp<RefBase> cookie)
294 mCallback(callBack), mCookie(cookie)
305 wp<RefBase> cookie() const { return mCookie; } function in class:android::AudioFlinger::SyncEvent
320 wp<RefBase> cookie);
288 SyncEvent(AudioSystem::sync_event_t type, int triggerSession, int listenerSession, sync_event_callback_t callBack, wp<RefBase> cookie) argument
H A DAudioFlinger.cpp2428 wp<RefBase> cookie)
2432 sp<SyncEvent> event = new SyncEvent(type, triggerSession, listenerSession, callBack, cookie);
2424 createSyncEvent(AudioSystem::sync_event_t type, int triggerSession, int listenerSession, sync_event_callback_t callBack, wp<RefBase> cookie) argument
H A DThreads.cpp2068 void *cookie)
2070 AudioFlinger::PlaybackThread *me = (AudioFlinger::PlaybackThread *)cookie;
6253 sp<RefBase> ptr = strongEvent->cookie().promote();
2066 asyncCallback(stream_callback_event_t event, void *param __unused, void *cookie) argument
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java1449 public void onCallbackDied(ITextToSpeechCallback callback, Object cookie) { argument
1450 IBinder caller = (IBinder) cookie;
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java1323 int rightIndex, String cookie) {
1328 builder.append("found non-monotonic " + cookie + " values at left[" + leftIndex
1322 foundNonMonotonic(NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, String cookie) argument
/frameworks/base/tools/aapt2/
H A DMain.cpp1246 int32_t cookie; local
1247 if (!assetManager->addAssetPath(android::String8(source.path.data()), &cookie)) {
1252 if (cookie == 0) {
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp469 void* cookie, uint32_t flags) {
471 return IInterface::asBinder(sm)->linkToDeath(recipient, cookie, flags);
467 linkToComposerDeath( const sp<IBinder::DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1238 void* cookie, int msg, int ext1, int ext2, const Parcel *obj)
1240 Client* client = static_cast<Client*>(cookie);
1271 ALOGV("[%d] notify (%p, %d, %d, %d)", client->mConnId, cookie, msg, ext1, ext2);
1536 AudioCallback cb, void *cookie,
1594 mCallbackCookie = cookie;
1970 int event, void *cookie, void *info) {
1972 CallbackData *data = (CallbackData*)cookie;
2059 void *cookie);
2080 void *cookie)
2083 mCookie(cookie),
1237 notify( void* cookie, int msg, int ext1, int ext2, const Parcel *obj) argument
1533 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
1969 CallbackWrapper( int event, void *cookie, void *info) argument
2077 CallbackThread( const wp<MediaPlayerBase::AudioSink> &sink, MediaPlayerBase::AudioSink::AudioCallback cb, void *cookie) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java270 /*package*/ final CharSequence getPooledStringForCookie(int cookie, int id) { argument
272 return mStringBlocks[cookie - 1].get(id);
383 * @param cookie Identifier of the package to be opened.
386 public final InputStream openNonAsset(int cookie, String fileName) argument
388 return openNonAsset(cookie, fileName, ACCESS_STREAMING);
395 * @param cookie Identifier of the package to be opened.
399 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) argument
405 long asset = openNonAssetNative(cookie, fileName, accessMode);
420 public final AssetFileDescriptor openNonAssetFd(int cookie, argument
426 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie,
451 openXmlResourceParser(int cookie, String fileName) argument
479 openXmlBlockAsset(int cookie, String fileName) argument
720 openNonAssetNative(int cookie, String fileName, int accessMode) argument
722 openNonAssetFdNative(int cookie, String fileName, long[] outOffsets) argument
762 getCookieName(int cookie) argument
795 openXmlAssetNative(int cookie, String fileName) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java235 final int cookie = mRecentOperations.beginOperation("close", null, null);
241 mRecentOperations.endOperation(cookie);
496 final int cookie = mRecentOperations.beginOperation("prepare", sql, null);
520 mRecentOperations.failOperation(cookie, ex);
523 mRecentOperations.endOperation(cookie);
544 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs);
561 mRecentOperations.failOperation(cookie, ex);
564 mRecentOperations.endOperation(cookie);
587 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs);
604 mRecentOperations.failOperation(cookie, e
1338 failOperation(int cookie, Exception ex) argument
1347 endOperation(int cookie) argument
1355 endOperationDeferLog(int cookie) argument
1361 logOperation(int cookie, String detail) argument
1367 endOperationDeferLogLocked(int cookie) argument
1378 logOperationLocked(int cookie, String detail) argument
1393 getOperationLocked(int cookie) argument
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp179 bool AssetManager::addAssetPath(const String8& path, int32_t* cookie) argument
205 if (cookie) {
206 *cookie = static_cast<int32_t>(i+1);
228 if (cookie) {
229 *cookie = static_cast<int32_t>(mAssetPaths.size());
247 bool AssetManager::addOverlayPath(const String8& packagePath, int32_t* cookie) argument
255 *cookie = static_cast<int32_t>(i + 1);
303 *cookie = static_cast<int32_t>(mAssetPaths.size());
346 int32_t AssetManager::nextAssetPath(const int32_t cookie) const
349 const size_t next = static_cast<size_t>(cookie)
565 openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) argument
1269 openNonAssetDir(const int32_t cookie, const char* dirName) argument
[all...]
H A DResourceTypes.cpp3025 int32_t cookie; member in struct:android::ResTable::Header
3530 ResTable::ResTable(const void* data, size_t size, const int32_t cookie, bool copyData) argument
3535 addInternal(data, size, NULL, 0, cookie, copyData);
3555 status_t ResTable::add(const void* data, size_t size, const int32_t cookie, bool copyData) { argument
3556 return addInternal(data, size, NULL, 0, cookie, copyData);
3560 const int32_t cookie, bool copyData) {
3561 return addInternal(data, size, idmapData, idmapDataSize, cookie, copyData);
3564 status_t ResTable::add(Asset* asset, const int32_t cookie, bool copyData) { argument
3571 return addInternal(data, static_cast<size_t>(asset->getLength()), NULL, 0, cookie, copyData);
3574 status_t ResTable::add(Asset* asset, Asset* idmapAsset, const int32_t cookie, boo argument
3559 add(const void* data, size_t size, const void* idmapData, size_t idmapDataSize, const int32_t cookie, bool copyData) argument
3629 addEmpty(const int32_t cookie) argument
3646 addInternal(const void* data, size_t dataSize, const void* idmapData, size_t idmapDataSize, const int32_t cookie, bool copyData) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java248 public void addCookie(Object o, Object cookie) { argument
249 mViewKeyHelpMap.put(o, cookie);
/frameworks/base/tools/aapt/
H A DResource.cpp1025 int32_t cookie = getPlatformAssetCookie(assets); local
1026 if (cookie == 0) {
1032 Asset* asset = assets.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_STREAMING);

Completed in 736 milliseconds

123