/frameworks/base/libs/androidfw/tests/ |
H A D | AssetManager2_test.cpp | 102 ApkAssetsCookie cookie = local 105 ASSERT_NE(kInvalidCookie, cookie); 108 EXPECT_EQ(0, cookie); 132 ApkAssetsCookie cookie = local 135 ASSERT_NE(kInvalidCookie, cookie); 138 EXPECT_EQ(1, cookie); 160 ApkAssetsCookie cookie = local 163 ASSERT_NE(kInvalidCookie, cookie); 166 EXPECT_EQ(2, cookie); 170 cookie 205 ApkAssetsCookie cookie = assetmanager.GetResource( local 350 ApkAssetsCookie cookie = local 373 ApkAssetsCookie cookie = local 408 ApkAssetsCookie cookie = assetmanager.GetResource(high_ref, false /*may_be_bag*/, local [all...] |
/frameworks/base/tools/aapt2/io/ |
H A D | ZipArchive.cpp | 108 void* cookie = nullptr; local 109 result = StartIteration(collection->handle_, &cookie, nullptr, nullptr); 116 IterationEnder iteration_ender(cookie, EndIteration); 120 while ((result = Next(cookie, &zip_data, &zip_entry_name)) == 0) {
|
/frameworks/native/include/binder/ |
H A D | BpBinder.h | 50 void* cookie = NULL, 53 void* cookie = NULL, 118 void* cookie; member in struct:android::BpBinder::Obituary
|
/frameworks/native/libs/binder/include/binder/ |
H A D | BpBinder.h | 50 void* cookie = NULL, 53 void* cookie = NULL, 118 void* cookie; member in struct:android::BpBinder::Obituary
|
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/ |
H A D | MediaPlayer2AudioOutput.h | 62 AudioCallback cb, void *cookie, 144 explicit CallbackData(MediaPlayer2AudioOutput *cookie) { argument 145 mData = cookie;
|
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 426 void *buffer, size_t size, void *cookie, 428 AudioPlayer *me = (AudioPlayer *)cookie; 424 AudioSinkCallback( MediaPlayerBase::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
|
H A D | MediaExtractorFactory.cpp | 226 void* cookie; local 227 ret = StartIteration(zipHandle, &cookie, &prefix, &suffix); 231 while (Next(cookie, &entry, &name) == 0) { 252 EndIteration(cookie);
|
/frameworks/base/core/java/android/widget/ |
H A D | QuickContactBadge.java | 344 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 348 Bundle extras = (cookie != null) ? (Bundle) cookie : new Bundle();
|
/frameworks/base/core/jni/android/graphics/ |
H A D | FontFamily.cpp | 219 jobject jassetMgr, jstring jpath, jint cookie, jboolean isAsset, jint ttcIndex, 242 } else if (cookie > 0) { 244 asset = locked_mgr->OpenNonAsset(str.c_str(), static_cast<ApkAssetsCookie>(cookie - 1), 218 FontFamily_addFontFromAssetManager(JNIEnv* env, jobject, jlong builderPtr, jobject jassetMgr, jstring jpath, jint cookie, jboolean isAsset, jint ttcIndex, jint weight, jint isItalic) argument
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | RemoteViewsTest.java | 384 private RemoteViews parcelAndRecreateWithPendingIntentCookie(RemoteViews views, Object cookie) { argument 390 if (cookie != null) { 391 p.setClassCookie(PendingIntent.class, cookie);
|
/frameworks/base/libs/androidfw/ |
H A D | AttributeResolution.cpp | 30 // Java asset cookies have 0 as an invalid cookie, but TypedArray expects < 0. 31 static uint32_t ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { argument 32 return cookie != kInvalidCookie ? static_cast<uint32_t>(cookie + 1) : static_cast<uint32_t>(-1); 109 ApkAssetsCookie cookie = kInvalidCookie; local 130 cookie = entry->cookie; 143 theme->ResolveAttributeReference(cookie, &value, &config, &type_set_flags, &resid); 145 cookie = new_cookie; 160 cookie 283 ApkAssetsCookie cookie = kInvalidCookie; local 415 ApkAssetsCookie cookie = kInvalidCookie; local [all...] |
H A D | ZipFileRO.cpp | 43 void *cookie; member in class:_ZipEntryRO 45 _ZipEntryRO() : cookie(NULL) {} 48 EndIteration(cookie); 145 bool ZipFileRO::startIteration(void** cookie) { argument 146 return startIteration(cookie, NULL, NULL); 149 bool ZipFileRO::startIteration(void** cookie, const char* prefix, const char* suffix) argument 154 int32_t error = StartIteration(mHandle, &(ze->cookie), 164 *cookie = ze; 168 ZipEntryRO ZipFileRO::nextEntry(void* cookie) argument 170 _ZipEntryRO* ze = reinterpret_cast<_ZipEntryRO*>(cookie); 183 endIteration(void* cookie) argument [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | AssetManager2.h | 53 ApkAssetsCookie cookie; member in struct:android::ResolvedBag::Entry 105 // Returns the string pool for the given asset cookie. 107 const ResStringPool* GetStringPoolForCookie(ApkAssetsCookie cookie) const; 110 // This may be nullptr if the APK represented by `cookie` has no resource table. 113 // Returns the DynamicRefTable for the ApkAssets represented by the cookie. 114 // This may be nullptr if the APK represented by `cookie` has no resource table. 115 const DynamicRefTable* GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const; 150 // Opens a file within the assets/ directory of the APK specified by `cookie`. 152 std::unique_ptr<Asset> Open(const std::string& filename, ApkAssetsCookie cookie, 162 // `out_cookie` is populated with the cookie o [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfoAsyncQuery.java | 74 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 79 * Wrap the cookie from the WorkerArgs with additional information needed by our 84 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper 178 CookieWrapper cw = (CookieWrapper) args.cookie; 227 CookieWrapper cw = (CookieWrapper) args.cookie; 228 if (!TextUtils.isEmpty(cw.number) && cw.cookie != null && mContext != null) { 269 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 272 //get the cookie and notify the listener. 273 CookieWrapper cw = (CookieWrapper) cookie; 377 cw.listener.onQueryComplete(token, cw.cookie, mCallerInf 400 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument 430 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument 448 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument 501 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument [all...] |
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 215 int32_t cookie = 0; local 216 return assets_.addAssetPath(android::String8(path.data(), path.size()), &cookie);
|
/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/native/libs/binder/ |
H A D | Debug.cpp | 42 static void defaultPrintFunc(void* /*cookie*/, const char* txt) 150 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) argument 155 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); 161 debugPrintFunc func, void* cookie) 175 if (singleLineBytesCutoff < 0) func(cookie, "\n"); 176 func(cookie, "(NULL)"); 181 if (singleLineBytesCutoff < 0) func(cookie, "\n"); 182 func(cookie, "(empty)"); 187 if (singleLineBytesCutoff < 0) func(cookie, "\ 158 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 | ProcessState.cpp | 202 binder_uintptr_t cookie; member in struct:android::binder_node_debug_info 223 *buf++ = info.cookie;
|
/frameworks/native/libs/binder/tests/ |
H A D | binderDriverInterfaceTest.cpp | 233 binder_uintptr_t cookie = 1234; local 241 .cookie = 0, 286 EXPECT_EQ(0u, br.arg2.cookie); 316 binder_uintptr_t cookie = 1234; local 332 .cookie = cookie, 337 .cookie = cookie, 360 EXPECT_EQ(cookie, br.arg1);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RadioConfig.java | 70 public void serviceDied(long cookie) { argument 73 sendMessage(obtainMessage(EVENT_SERVICE_DEAD, cookie)); 104 logd("handleMessage: EVENT_SERVICE_DEAD cookie = " + message.obj 142 // increment the cookie so that death notification can be ignored
|
/frameworks/base/core/java/android/os/ |
H A D | Trace.java | 116 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); argument 118 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); argument 256 * asynchronous events do not need to be nested. The name and cookie used to 261 * @param cookie Unique identifier for distinguishing simultaneous events 265 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument 267 nativeAsyncTraceBegin(traceTag, methodName, cookie); 274 * using the same tag, name and cookie. 278 * @param cookie Unique identifier for distinguishing simultaneous events 282 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument 284 nativeAsyncTraceEnd(traceTag, methodName, cookie); [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 120 DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) { 124 mCookie = cookie; 119 NetworkStatsRecorder(FileRotator rotator, NonMonotonicObserver<String> observer, DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) argument
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | FontFamily_Delegate.java | 367 int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) { 399 assetRepository.openNonAsset(cookie, path, AssetManager.ACCESS_STREAMING); 366 nAddFontFromAssetManager(long builderPtr, AssetManager mgr, String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) argument
|
/frameworks/av/media/libaudiohal/2.0/ |
H A D | StreamHalLocal.cpp | 170 int StreamOutHalLocal::asyncCallback(stream_callback_event_t event, void*, void *cookie) { argument 175 wp<StreamOutHalLocal> weakSelf(static_cast<StreamOutHalLocal*>(cookie));
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | StreamHalLocal.cpp | 172 int StreamOutHalLocal::asyncCallback(stream_callback_event_t event, void*, void *cookie) { argument 177 wp<StreamOutHalLocal> weakSelf(static_cast<StreamOutHalLocal*>(cookie));
|