Searched refs:cookie (Results 26 - 50 of 91) sorted by relevance

1234

/frameworks/base/tools/split-select/
H A DMain.cpp126 int32_t cookie = 0; local
127 if (!assetManager.addAssetPath(path, &cookie)) {
131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER);
208 int32_t cookie = 0; local
209 if (!assetManager.addAssetPath(path, &cookie)) {
224 AssetDir* dir = assetManager.openNonAssetDir(cookie, "lib");
/frameworks/native/libs/binder/
H A DBpBinder.cpp175 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags)
179 ob.cookie = cookie;
209 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags,
222 || (recipient == NULL && obit.cookie == cookie))
174 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument
208 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
H A DTextOutput.cpp137 static void textOutputPrinter(void* cookie, const char* txt) argument
139 ((TextOutput*)cookie)->print(txt, strlen(txt));
H A DParcel.cpp135 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie);
136 reinterpret_cast<IBinder*>(obj.cookie)->incStrong(who);
157 if ((obj.cookie != 0) && (outAshmemSize != NULL)) {
187 LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie);
188 reinterpret_cast<IBinder*>(obj.cookie)->decStrong(who);
209 if (obj.cookie != 0) { // owned
259 obj.cookie = 0;
263 obj.cookie = reinterpret_cast<uintptr_t>(local);
268 obj.cookie = 0;
293 obj.cookie
[all...]
/frameworks/native/include/binder/
H A DIBinder.h106 * The @a cookie is optional -- if non-NULL, it should be a
122 void* cookie = NULL,
128 * dies. The @a cookie is optional. If non-NULL, you can
130 * added with that cookie will be unlinked.
133 void* cookie = NULL,
H A DIPCThreadState.h115 void* cookie);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.h68 void* cookie,
H A DMediaPlayerService.h59 static int callbackThread(void* cookie);
100 AudioCallback cb, void *cookie,
172 CallbackData(AudioOutput *cookie) { argument
173 mData = cookie;
338 static void notify(void* cookie, int msg,
H A DMediaPlayerFactory.cpp130 void* cookie,
156 p->setNotifyCallback(cookie, notifyFunc);
128 createPlayer( player_type playerType, void* cookie, notify_callback_f notifyFunc, pid_t pid) argument
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHttpHeaderParser.java22 import org.apache.http.impl.cookie.DateParseException;
23 import org.apache.http.impl.cookie.DateUtils;
/frameworks/av/include/media/
H A DJetPlayer.h30 typedef void (*jetevent_callback)(int eventType, int val1, int val2, void *cookie);
H A Dmediarecorder.h41 typedef void (*media_completion_f)(status_t status, void *cookie);
/frameworks/native/cmds/servicemanager/
H A Dbinder.c49 fprintf(stderr," target %016"PRIx64" cookie %016"PRIx64" code %08x flags %08x\n",
50 (uint64_t)txn->target.ptr, (uint64_t)txn->cookie, txn->code, txn->flags);
56 fprintf(stderr," - type %08x flags %08x ptr %016"PRIx64" cookie %016"PRIx64"\n",
57 obj->type, obj->flags, (uint64_t)obj->binder, (uint64_t)obj->cookie);
198 data.txn.cookie = 0;
330 data.payload.cookie = (uintptr_t) death;
518 obj->cookie = 0;
536 obj->cookie = 0;
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java344 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
348 Bundle extras = (cookie != null) ? (Bundle) cookie : new Bundle();
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp172 const String8& path, int32_t* cookie, bool appAsLib, bool isSystemAsset)
198 if (cookie) {
199 *cookie = static_cast<int32_t>(i+1);
212 if (cookie) {
213 *cookie = static_cast<int32_t>(mAssetPaths.size());
232 bool AssetManager::addOverlayPath(const String8& packagePath, int32_t* cookie) argument
240 *cookie = static_cast<int32_t>(i + 1);
288 *cookie = static_cast<int32_t>(mAssetPaths.size());
331 int32_t AssetManager::nextAssetPath(const int32_t cookie) const
334 const size_t next = static_cast<size_t>(cookie)
171 addAssetPath( const String8& path, int32_t* cookie, bool appAsLib, bool isSystemAsset) argument
550 openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) argument
1263 openNonAssetDir(const int32_t cookie, const char* dirName) argument
[all...]
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h181 static void recognitionCallback(struct sound_trigger_recognition_event *event, void *cookie);
185 static void soundModelCallback(struct sound_trigger_model_event *event, void *cookie);
/frameworks/base/include/androidfw/
H A DResourceTypes.h1570 ResTable(const void* data, size_t size, const int32_t cookie,
1574 status_t add(const void* data, size_t size, const int32_t cookie=-1, bool copyData=false);
1576 const int32_t cookie=-1, bool copyData=false, bool appAsLib=false);
1578 status_t add(Asset* asset, const int32_t cookie=-1, bool copyData=false);
1579 status_t add(Asset* asset, Asset* idmapAsset, const int32_t cookie=-1, bool copyData=false,
1583 status_t addEmpty(const int32_t cookie);
1843 // Return unique cookie identifier for the given resource table.
1846 const DynamicRefTable* getDynamicRefTableForCookie(int32_t cookie) const;
1909 bool appAsLib, const int32_t cookie, bool copyData, bool isSystemAsset=false);
/frameworks/base/core/jni/
H A Dandroid_hardware_location_ContextHubService.cpp258 void *cookie);
876 static bool sanity_check_cookie(void *cookie, uint32_t hub_id) { argument
877 int *ptr = (int *)cookie;
893 void *cookie) {
898 if (!sanity_check_cookie(cookie, hubId)) {
899 ALOGW("Incorrect cookie %" PRId32 " for cookie %p! Bailing",
900 hubId, cookie);
907 uint32_t hubHandle = *(uint32_t*) cookie;
891 context_hub_callback(uint32_t hubId, const struct hub_message_t *msg, void *cookie) argument
H A Dandroid_util_AssetManager.cpp317 jint cookie,
339 Asset* a = cookie
340 ? am->openNonAsset(static_cast<int32_t>(cookie), fileName8.c_str(),
355 jint cookie,
371 Asset* a = cookie
372 ? am->openNonAsset(static_cast<int32_t>(cookie), fileName8.c_str(), Asset::ACCESS_RANDOM)
547 int32_t cookie; local
548 bool res = am->addAssetPath(String8(path8.c_str()), &cookie, appAsLib);
550 return (res) ? static_cast<jint>(cookie) : 0;
566 int32_t cookie; local
316 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument
354 android_content_AssetManager_openNonAssetFdNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jlongArray outOffsets) argument
993 android_content_AssetManager_getCookieName(JNIEnv* env, jobject clazz, jint cookie) argument
1844 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 DEphemeralApplicationRegistry.java108 Slog.w(LOG_TAG, "Error reading cookie file: " + cookieFile);
115 byte[] cookie, int userId) {
126 if (!isValidCookie(mService.mContext, cookie)) {
141 fos.write(cookie, 0, cookie.length);
143 Slog.w(LOG_TAG, "Error writing cookie file: " + cookieFile);
211 // Remove the on-disk state except the cookie
216 // If app signature changed - wipe the cookie
224 + " changed - dropping cookie");
252 // Deleting an app prunes all ephemeral state such as cookie
114 setEphemeralApplicationCookieLPw(String packageName, byte[] cookie, int userId) argument
518 isValidCookie(Context context, byte[] cookie) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h293 wp<RefBase> cookie)
295 mCallback(callBack), mCookie(cookie)
306 wp<RefBase> cookie() const { return mCookie; } function in class:android::AudioFlinger::SyncEvent
321 wp<RefBase> cookie);
289 SyncEvent(AudioSystem::sync_event_t type, audio_session_t triggerSession, audio_session_t listenerSession, sync_event_callback_t callBack, wp<RefBase> cookie) argument
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java372 final int cookie = originalTextInfo.getCookie();
387 final TextInfo ti = new TextInfo(query, 0, query.length(), cookie,
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp139 int32_t cookie = 0; local
140 return mAssets.addAssetPath(android::String8(path.data(), path.size()), &cookie);
/frameworks/base/core/java/android/net/
H A DNetworkStats.java599 NonMonotonicObserver<C> observer, C cookie) {
600 return subtract(left, right, observer, cookie, null);
616 NonMonotonicObserver<C> observer, C cookie, NetworkStats recycle) {
620 observer.foundNonMonotonic(left, -1, right, -1, cookie);
663 observer.foundNonMonotonic(left, i, right, j, cookie);
874 NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie);
598 subtract(NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) argument
615 subtract(NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie, NetworkStats recycle) argument
873 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java239 final int cookie = data[index+AssetManager.STYLE_ASSET_COOKIE];
240 if (cookie < 0) {
1209 final int cookie = data[index+AssetManager.STYLE_ASSET_COOKIE];
1210 if (cookie < 0) {
1217 return mAssets.getPooledStringForCookie(cookie, data[index+AssetManager.STYLE_DATA]);

Completed in 5686 milliseconds

1234