/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/include/media/hardware/ |
H A D | HDCPAPI.h | 29 typedef void (*ObserverFunc)(void *cookie, int msg, int ext1, int ext2); 76 HDCPModule(void *cookie, ObserverFunc observerNotify) {}; argument 156 void *cookie, android::HDCPModule::ObserverFunc); 160 void *cookie, android::HDCPModule::ObserverFunc);
|
/frameworks/native/libs/binder/ |
H A D | BpBinder.cpp | 174 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) 178 ob.cookie = cookie; 208 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, 221 || (recipient == NULL && obit.cookie == cookie)) 173 linkToDeath( const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) argument 207 unlinkToDeath( const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, wp<DeathRecipient>* outRecipient) argument
|
H A D | Debug.cpp | 41 static void defaultPrintFunc(void* /*cookie*/, const char* txt) 149 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) argument 154 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); 160 debugPrintFunc func, void* cookie) 174 if (singleLineBytesCutoff < 0) func(cookie, "\n"); 175 func(cookie, "(NULL)"); 180 if (singleLineBytesCutoff < 0) func(cookie, "\n"); 181 func(cookie, "(empty)"); 186 if (singleLineBytesCutoff < 0) func(cookie, "\ 157 printHexData(int32_t indent, const void *buf, size_t length, size_t bytesPerLine, int32_t singleLineBytesCutoff, size_t alignment, bool cStyle, debugPrintFunc func, void* cookie) argument [all...] |
H A D | TextOutput.cpp | 137 static void textOutputPrinter(void* cookie, const char* txt) argument 139 ((TextOutput*)cookie)->print(txt, strlen(txt));
|
/frameworks/native/libs/binder/tests/ |
H A D | binderDriverInterfaceTest.cpp | 217 binder_uintptr_t cookie = 1234; local 225 .cookie = 0, 268 EXPECT_EQ(0u, br.arg2.cookie); 298 binder_uintptr_t cookie = 1234; local 314 .cookie = cookie, 319 .cookie = cookie, 342 EXPECT_EQ(cookie, br.arg1);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 469 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/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/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/base/tools/aapt/ |
H A D | Resource.cpp | 1025 int32_t cookie = getPlatformAssetCookie(assets); local 1026 if (cookie == 0) { 1032 Asset* asset = assets.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_STREAMING);
|
/frameworks/base/tools/aapt2/ |
H A D | Main.cpp | 1246 int32_t cookie; local 1247 if (!assetManager->addAssetPath(android::String8(source.path.data()), &cookie)) { 1252 if (cookie == 0) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 248 public void addCookie(Object o, Object cookie) { argument 249 mViewKeyHelpMap.put(o, cookie);
|
/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/base/tools/split-select/ |
H A D | Main.cpp | 126 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/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 90 DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) { 94 mCookie = cookie; 89 NetworkStatsRecorder(FileRotator rotator, NonMonotonicObserver<String> observer, DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) argument
|
H A D | NetworkStatsService.java | 1323 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/services/core/java/com/android/server/pm/ |
H A D | LauncherAppsService.java | 469 public void onCallbackDied(T callback, Object cookie) { argument
|
H A D | PackageInstallerSession.java | 268 private void assertPreparedAndNotSealed(String cookie) { argument 271 throw new IllegalStateException(cookie + " before prepared"); 274 throw new SecurityException(cookie + " not allowed after commit");
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfoAsyncQuery.java | 69 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 74 * Wrap the cookie from the WorkerArgs with additional information needed by our 79 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper 171 CookieWrapper cw = (CookieWrapper) args.cookie; 241 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 244 //get the cookie and notify the listener. 245 CookieWrapper cw = (CookieWrapper) cookie; 338 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); 358 OnQueryCompleteListener listener, Object cookie) { 368 cw.cookie 357 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument 387 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument 405 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument 458 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 179 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 D | ResourceTypes.cpp | 3025 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...] |
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/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 513 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/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/core/java/android/content/res/ |
H A D | AssetManager.java | 270 /*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...] |