/frameworks/base/tests/CoreTests/android/webkit/ |
D | CookieTest.java | 51 String cookie = mCookieManager.getCookie(url); in testParse() local 52 assertTrue(cookie.equals("a=b")); in testParse() 56 cookie = mCookieManager.getCookie(url); in testParse() 57 assertTrue(cookie.equals("a=b; c=\"d;\"")); in testParse() 61 cookie = mCookieManager.getCookie(url); in testParse() 62 assertTrue(cookie.equals("a=b; c=\"d;\"")); in testParse() 71 String cookie = mCookieManager.getCookie(url); in testDomain() local 72 assertTrue(cookie.equals("a=b")); in testDomain() 75 cookie = mCookieManager.getCookie("http://bar.com"); in testDomain() 76 assertTrue(cookie == null); in testDomain() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | CookieManager.java | 334 Cookie cookie = cookies.get(i); in setCookie() local 340 if (cookie.exactMatch(cookieEntry)) { in setCookie() 343 if (cookie.expires < 0 || cookie.expires > now) { in setCookie() 346 cookieEntry.value = cookie.value; in setCookie() 347 cookieEntry.expires = cookie.expires; in setCookie() 348 cookieEntry.secure = cookie.secure; in setCookie() 364 if (!done && (cookie.expires < 0 || cookie.expires > now)) { in setCookie() 365 cookie.lastAcessTime = now; in setCookie() 366 cookie.lastUpdateTime = now; in setCookie() 367 cookie.mode = Cookie.MODE_NEW; in setCookie() [all …]
|
D | CookieSyncManager.java | 198 Cookie cookie = iter.next(); in syncFromRamToFlash() local 199 if (cookie.mode != Cookie.MODE_NORMAL) { in syncFromRamToFlash() 200 if (cookie.mode != Cookie.MODE_NEW) { in syncFromRamToFlash() 201 mDataBase.deleteCookies(cookie.domain, cookie.path, in syncFromRamToFlash() 202 cookie.name); in syncFromRamToFlash() 204 if (cookie.mode != Cookie.MODE_DELETED) { in syncFromRamToFlash() 205 mDataBase.addCookie(cookie); in syncFromRamToFlash() 206 CookieManager.getInstance().syncedACookie(cookie); in syncFromRamToFlash() 208 CookieManager.getInstance().deleteACookie(cookie); in syncFromRamToFlash()
|
D | WebViewDatabase.java | 408 Cookie cookie = new Cookie(); in getCookiesForDomain() local 409 cookie.domain = cursor.getString(domainCol); in getCookiesForDomain() 410 cookie.path = cursor.getString(pathCol); in getCookiesForDomain() 411 cookie.name = cursor.getString(nameCol); in getCookiesForDomain() 412 cookie.value = cursor.getString(valueCol); in getCookiesForDomain() 414 cookie.expires = -1; in getCookiesForDomain() 416 cookie.expires = cursor.getLong(expiresCol); in getCookiesForDomain() 418 cookie.secure = cursor.getShort(secureCol) != 0; in getCookiesForDomain() 419 cookie.mode = Cookie.MODE_NORMAL; in getCookiesForDomain() 420 list.add(cookie); in getCookiesForDomain() [all …]
|
D | FrameLoader.java | 342 String cookie = CookieManager.getInstance().getCookie( in populateHeaders() local 344 if (cookie != null && cookie.length() > 0) { in populateHeaders() 345 mHeaders.put("Cookie", cookie); in populateHeaders()
|
/frameworks/base/core/java/android/content/ |
D | AsyncQueryHandler.java | 57 public Object cookie; field in AsyncQueryHandler.WorkerArgs 177 public void startQuery(int token, Object cookie, Uri uri, in startQuery() argument 191 args.cookie = cookie; in startQuery() 218 public void startQueryEntities(int token, Object cookie, Uri uri, String selection, in startQueryEntities() argument 230 args.cookie = cookie; in startQueryEntities() 259 public final void startInsert(int token, Object cookie, Uri uri, in startInsert() argument 268 args.cookie = cookie; in startInsert() 285 public final void startUpdate(int token, Object cookie, Uri uri, in startUpdate() argument 294 args.cookie = cookie; in startUpdate() 313 public final void startDelete(int token, Object cookie, Uri uri, in startDelete() argument [all …]
|
/frameworks/base/libs/utils/ |
D | Debug.cpp | 41 static void defaultPrintFunc(void* cookie, const char* txt) in defaultPrintFunc() argument 163 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) in printTypeCode() argument 168 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); in printTypeCode() 174 debugPrintFunc func, void* cookie) in printHexData() argument 188 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 189 func(cookie, "(NULL)"); in printHexData() 194 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 195 func(cookie, "(empty)"); in printHexData() 200 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 203 func(cookie, buf); in printHexData() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfoAsyncQuery.java | 57 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 67 public Object cookie; field in CallerInfoAsyncQuery.CookieWrapper 122 CookieWrapper cw = (CookieWrapper) args.cookie; in handleMessage() 191 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 195 CookieWrapper cw = (CookieWrapper) cookie; in onQueryComplete() 248 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete() 264 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument 274 cw.cookie = cookie; in startQuery() 286 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument 298 cw.cookie = cookie; in startQuery() [all …]
|
/frameworks/base/include/media/ |
D | PVPlayer.h | 65 static void do_nothing(status_t s, void *cookie, bool cancelled) { } in do_nothing() argument 66 static void run_init(status_t s, void *cookie, bool cancelled); 67 static void run_set_video_surface(status_t s, void *cookie, bool cancelled); 68 static void run_set_audio_output(status_t s, void *cookie, bool cancelled); 69 static void run_prepare(status_t s, void *cookie, bool cancelled); 70 static void check_for_live_streaming(status_t s, void *cookie, bool cancelled);
|
D | MediaPlayerInterface.h | 54 typedef void (*notify_callback_f)(void* cookie, int msg, int ext1, int ext2); 64 AudioSink *audioSink, void *buffer, size_t size, void *cookie); 84 void *cookie = NULL) = 0; 113 virtual void setNotifyCallback(void* cookie, notify_callback_f notifyFunc) { in setNotifyCallback() argument 114 mCookie = cookie; mNotify = notifyFunc; } in setNotifyCallback()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 371 public final InputStream openNonAsset(int cookie, String fileName) in openNonAsset() argument 373 return openNonAsset(cookie, fileName, ACCESS_STREAMING); in openNonAsset() 384 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) in openNonAsset() argument 390 int asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset() 404 public final AssetFileDescriptor openNonAssetFd(int cookie, in openNonAssetFd() argument 410 ParcelFileDescriptor pfd = openNonAssetFdNative(cookie, in openNonAssetFd() 435 public final XmlResourceParser openXmlResourceParser(int cookie, in openXmlResourceParser() argument 437 XmlBlock block = openXmlBlockAsset(cookie, fileName); in openXmlResourceParser() 463 /*package*/ final XmlBlock openXmlBlockAsset(int cookie, String fileName) in openXmlBlockAsset() argument 469 int xmlBlock = openXmlAssetNative(cookie, fileName); in openXmlBlockAsset() [all …]
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 60 Callback(E callback, Object cookie) { in Callback() argument 62 mCookie = cookie; in Callback() 107 public boolean register(E callback, Object cookie) { in register() argument 114 Callback cb = new Callback(callback, cookie); in register() 191 public void onCallbackDied(E callback, Object cookie) { in onCallbackDied() argument
|
/frameworks/base/include/utils/ |
D | Debug.h | 53 typedef void (*debugPrintFunc)(void* cookie, const char* txt); 56 debugPrintFunc func = 0, void* cookie = 0); 61 debugPrintFunc func = 0, void* cookie = 0);
|
D | AssetManager.h | 76 bool addAssetPath(const String8& path, void** cookie); 91 void* nextAssetPath(void* cookie) const; 97 String8 getAssetPath(void* cookie) const; 141 Asset* openNonAsset(void* cookie, const char* fileName, AccessMode mode); 165 AssetDir* openNonAssetDir(void* cookie, const char* dirName);
|
/frameworks/base/core/java/android/pim/ |
D | ContactsAsyncHelper.java | 54 public void onImageLoadComplete(int token, Object cookie, ImageView iView, in onImageLoadComplete() argument 76 public Object cookie; field in ContactsAsyncHelper.WorkerArgs 255 OnImageLoadCompleteListener listener, Object cookie, Context context, in updateImageViewWithContactPhotoAsync() argument 272 args.cookie = cookie; in updateImageViewWithContactPhotoAsync() 335 args.listener.onImageLoadComplete(msg.what, args.cookie, args.view, in handleMessage()
|
/frameworks/base/include/binder/ |
D | BpBinder.h | 45 void* cookie = NULL, 48 void* cookie = NULL, 104 void* cookie; member
|
D | IBinder.h | 120 void* cookie = NULL, 131 void* cookie = NULL,
|
D | Binder.h | 41 void* cookie = NULL, 45 void* cookie = NULL,
|
/frameworks/base/libs/binder/ |
D | Parcel.cpp | 65 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie); in acquire_object() 66 static_cast<IBinder*>(obj.cookie)->incStrong(who); in acquire_object() 102 LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie); in release_object() 103 static_cast<IBinder*>(obj.cookie)->decStrong(who); in release_object() 124 if (obj.cookie != (void*)0) close(obj.handle); in release_object() 154 obj.cookie = NULL; in flatten_binder() 158 obj.cookie = local; in flatten_binder() 163 obj.cookie = NULL; in flatten_binder() 187 obj.cookie = NULL; in flatten_binder() 191 obj.cookie = binder.unsafe_get(); in flatten_binder() [all …]
|
D | BpBinder.cpp | 174 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) in linkToDeath() argument 178 ob.cookie = cookie; in linkToDeath() 208 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, in unlinkToDeath() argument 221 || (recipient == NULL && obit.cookie == cookie)) in unlinkToDeath()
|
/frameworks/base/tools/aapt/ |
D | printapk.cpp | 34 void* cookie; in main() local 80 cookie = NULL; in main() 81 while ((entry = iterate_zipfile(zip, &cookie))) { in main()
|
/frameworks/base/include/private/binder/ |
D | binder_module.h | 53 void *cookie; 70 void *cookie;
|
/frameworks/base/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 51 static int callbackThread(void* cookie); 83 AudioCallback cb, void *cookie); 138 AudioCallback cb = NULL, void *cookie = NULL); 155 static void notify(void* cookie, int msg, int ext1, int ext2); 223 static void notify(void* cookie, int msg, int ext1, int ext2);
|
/frameworks/base/cmds/servicemanager/ |
D | binder.h | 17 void *cookie; member 23 void *cookie; member
|
/frameworks/base/camera/libcameraservice/ |
D | CameraHardwareStub.cpp | 247 int CameraHardwareStub::beginAutoFocusThread(void *cookie) in beginAutoFocusThread() argument 249 CameraHardwareStub *c = (CameraHardwareStub *)cookie; in beginAutoFocusThread() 273 /*static*/ int CameraHardwareStub::beginPictureThread(void *cookie) in beginPictureThread() argument 275 CameraHardwareStub *c = (CameraHardwareStub *)cookie; in beginPictureThread()
|