/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 341 * Returns a cookie for use with the other APIs of AssetManager. 342 * @return 0 if the path was not found, otherwise a positive integer cookie representing 465 final int cookie = nativeGetResourceValue( 467 if (cookie <= 0) { 476 outValue.string = mApkAssets[cookie - 1].getStringFromPool(outValue.data); 511 final int cookie = nativeGetResourceBagValue(mObject, resId, bagEntryId, outValue); 512 if (cookie <= 0) { 521 return mApkAssets[cookie - 1].getStringFromPool(outValue.data); 541 * with the indices of the data representing the type, value, asset cookie, 596 int cookie 705 getPooledStringForCookie(int cookie, int id) argument 839 openNonAsset(int cookie, @NonNull String fileName) argument 852 openNonAsset(int cookie, @NonNull String fileName, int accessMode) argument 891 openNonAssetFd(int cookie, @NonNull String fileName) argument 921 openXmlResourceParser(int cookie, @NonNull String fileName) argument 953 openXmlBlockAsset(int cookie, @NonNull String fileName) argument 1299 nativeOpenNonAsset(long ptr, int cookie, @NonNull String fileName, int accessMode) argument 1301 nativeOpenNonAssetFd(long ptr, int cookie, @NonNull String fileName, @NonNull long[] outOffsets) argument 1303 nativeOpenXmlAsset(long ptr, int cookie, @NonNull String fileName) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 239 final int cookie = mRecentOperations.beginOperation("close", null, null); 245 mRecentOperations.endOperation(cookie); 512 final int cookie = mRecentOperations.beginOperation("prepare", sql, null); 536 mRecentOperations.failOperation(cookie, ex); 539 mRecentOperations.endOperation(cookie); 560 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); 577 mRecentOperations.failOperation(cookie, ex); 580 mRecentOperations.endOperation(cookie); 603 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); 620 mRecentOperations.failOperation(cookie, e 1364 failOperation(int cookie, Exception ex) argument 1373 endOperation(int cookie) argument 1381 endOperationDeferLog(int cookie) argument 1387 logOperation(int cookie, String detail) argument 1393 endOperationDeferLogLocked(int cookie) argument 1410 logOperationLocked(int cookie, String detail) argument 1425 getOperationLocked(int cookie) argument [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 1608 public void onCallbackDied(ITextToSpeechCallback callback, Object cookie) { argument 1609 IBinder caller = (IBinder) cookie;
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 103 // Java asset cookies have 0 as an invalid cookie, but TypedArray expects < 0. 104 constexpr inline static jint ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { argument 105 return cookie != kInvalidCookie ? static_cast<jint>(cookie + 1) : -1; 108 constexpr inline static ApkAssetsCookie JavaCookieToApkAssetsCookie(jint cookie) { argument 109 return cookie > 0 ? static_cast<ApkAssetsCookie>(cookie - 1) : kInvalidCookie; 199 static jint CopyValue(JNIEnv* env, ApkAssetsCookie cookie, const Res_value& value, uint32_t ref, argument 203 ApkAssetsCookieToJavaCookie(cookie)); 211 return static_cast<jint>(ApkAssetsCookieToJavaCookie(cookie)); 490 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); local 524 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); local 550 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); local 593 ApkAssetsCookie cookie = local 619 ApkAssetsCookie cookie = kInvalidCookie; local 684 ApkAssetsCookie cookie = local 743 ApkAssetsCookie cookie = local 785 ApkAssetsCookie cookie = local 840 ApkAssetsCookie cookie = local 1231 ApkAssetsCookie cookie = theme->GetAttribute(static_cast<uint32_t>(resid), &value, &flags); local [all...] |
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 174 const String8& path, int32_t* cookie, bool appAsLib, bool isSystemAsset) { 199 if (cookie) { 200 *cookie = static_cast<int32_t>(i+1); 213 if (cookie) { 214 *cookie = static_cast<int32_t>(mAssetPaths.size()); 233 bool AssetManager::addOverlayPath(const String8& packagePath, int32_t* cookie) argument 241 *cookie = static_cast<int32_t>(i + 1); 289 *cookie = static_cast<int32_t>(mAssetPaths.size()); 299 int fd, const String8& debugPathName, int32_t* cookie, bool appAsLib, 315 if (cookie) { 173 addAssetPath( const String8& path, int32_t* cookie, bool appAsLib, bool isSystemAsset) argument 298 addAssetFd( int fd, const String8& debugPathName, int32_t* cookie, bool appAsLib, bool assume_ownership) argument 490 openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) argument 1021 openNonAssetDir(const int32_t cookie, const char* dirName) argument [all...] |
H A D | ResourceTypes.cpp | 3448 int32_t cookie; member in struct:ResTable::Header 3963 ResTable::ResTable(const void* data, size_t size, const int32_t cookie, bool copyData) argument 3968 addInternal(data, size, NULL, 0, false, cookie, copyData); 3993 status_t ResTable::add(const void* data, size_t size, const int32_t cookie, bool copyData) { argument 3994 return addInternal(data, size, NULL, 0, false, cookie, copyData); 3998 const int32_t cookie, bool copyData, bool appAsLib) { 3999 return addInternal(data, size, idmapData, idmapDataSize, appAsLib, cookie, copyData); 4002 status_t ResTable::add(Asset* asset, const int32_t cookie, bool copyData) { argument 4009 return addInternal(data, static_cast<size_t>(asset->getLength()), NULL, false, 0, cookie, 4014 Asset* asset, Asset* idmapAsset, const int32_t cookie, boo 3997 add(const void* data, size_t size, const void* idmapData, size_t idmapDataSize, const int32_t cookie, bool copyData, bool appAsLib) argument 4013 add( Asset* asset, Asset* idmapAsset, const int32_t cookie, bool copyData, bool appAsLib, bool isSystemAsset) argument 4071 addEmpty(const int32_t cookie) argument 4088 addInternal(const void* data, size_t dataSize, const void* idmapData, size_t idmapDataSize, bool appAsLib, const int32_t cookie, bool copyData, bool isSystemAsset) argument [all...] |
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
H A D | FingerprintService.java | 267 public void serviceDied(long cookie) { argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 1718 int rightIndex, String cookie) { 1723 builder.append("found non-monotonic " + cookie + " values at left[" + leftIndex 1734 NetworkStats stats, int statsIndex, String cookie) { 1738 builder.append("Found non-monotonic " + cookie + " values at [" + statsIndex + "]\n"); 1717 foundNonMonotonic(NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, String cookie) argument 1733 foundNonMonotonic( NetworkStats stats, int statsIndex, String cookie) argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerSession.java | 478 private void assertPreparedAndNotSealedLocked(String cookie) { argument 479 assertPreparedAndNotCommittedOrDestroyedLocked(cookie); 481 throw new SecurityException(cookie + " not allowed after sealing"); 486 private void assertPreparedAndNotCommittedOrDestroyedLocked(String cookie) { argument 487 assertPreparedAndNotDestroyedLocked(cookie); 489 throw new SecurityException(cookie + " not allowed after commit"); 494 private void assertPreparedAndNotDestroyedLocked(String cookie) { argument 496 throw new IllegalStateException(cookie + " before prepared"); 499 throw new SecurityException(cookie + " not allowed after destruction");
|
H A D | PackageManagerService.java | 4770 private int updateFlagsForPackage(int flags, int userId, Object cookie) { argument 4805 Log.w(TAG, "Caller hasn't been triaged for missing apps; they asked about " + cookie 4814 private int updateFlagsForApplication(int flags, int userId, Object cookie) { argument 4815 return updateFlagsForPackage(flags, userId, cookie); 4821 private int updateFlagsForComponent(int flags, int userId, Object cookie) { argument 4822 if (cookie instanceof Intent) { 4823 if ((((Intent) cookie).getFlags() & Intent.FLAG_DEBUG_TRIAGED_MISSING) != 0) { 4837 Log.w(TAG, "Caller hasn't been triaged for missing apps; they asked about " + cookie 4901 return updateFlagsForComponent(flags, userId, intent /*cookie*/); 8150 public boolean setInstantAppCookie(String packageName, byte[] cookie, in argument [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 1778 public void serviceDied(long cookie) { argument 1779 if (cookie == USB_GADGET_HAL_DEATH_COOKIE) { 1780 Slog.e(TAG, "Usb Gadget hal service died cookie: " + cookie);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 682 uint64_t /* cookie */, 1878 AudioCallback cb, void *cookie, 1936 mCallbackCookie = cookie; 2454 int event, void *cookie, void *info) { 2456 CallbackData *data = (CallbackData*)cookie; 2555 void *cookie); 2576 void *cookie) 2579 mCookie(cookie), 1875 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 2453 CallbackWrapper( int event, void *cookie, void *info) argument 2573 CallbackThread( const wp<MediaPlayerBase::AudioSink> &sink, MediaPlayerBase::AudioSink::AudioCallback cb, void *cookie) argument
|
/frameworks/base/core/java/android/os/ |
H A D | Parcel.java | 560 public final void setClassCookie(Class clz, Object cookie) { argument 564 mClassCookies.put(clz, cookie);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
H A D | PackageManagerStub.java | 343 public void updateInstantAppCookie(byte[] cookie) { argument 348 public boolean setInstantAppCookie(byte[] cookie) { argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockPackageManager.java | 407 public void updateInstantAppCookie(@NonNull byte[] cookie) { argument 413 public boolean setInstantAppCookie(@NonNull byte[] cookie) { argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 287 public void addCookie(Object o, Object cookie) { argument 288 mViewKeyHelpMap.put(o, cookie);
|
H A D | BridgePackageManager.java | 356 public void updateInstantAppCookie(@Nullable byte[] cookie) { argument 361 public boolean setInstantAppCookie(@NonNull byte[] cookie) { argument
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 2884 const wp<RefBase>& cookie) 2888 sp<SyncEvent> event = new SyncEvent(type, triggerSession, listenerSession, callBack, cookie); 2880 createSyncEvent(AudioSystem::sync_event_t type, audio_session_t triggerSession, audio_session_t listenerSession, sync_event_callback_t callBack, const wp<RefBase>& cookie) argument
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationPackageManager.java | 889 final byte[] cookie = mPM.getInstantAppCookie( 891 if (cookie != null) { 892 return cookie; 907 public void updateInstantAppCookie(@NonNull byte[] cookie) { argument 908 if (cookie != null && cookie.length > getInstantAppCookieMaxBytes()) { 909 throw new IllegalArgumentException("instant cookie longer than " 914 cookie, mContext.getUserId()); 921 public boolean setInstantAppCookie(@NonNull byte[] cookie) { argument 924 cookie, mContex [all...] |
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 1132 int32_t cookie = getPlatformAssetCookie(assets); local 1133 if (cookie == 0) { 1138 Asset* asset = assets.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_STREAMING);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageManager.java | 3844 * Gets the maximum size in bytes of the cookie data an instant app 3847 * @return The max cookie size in bytes. 3864 * Gets the instant application cookie for this app. Non 3867 * this cookie is cached for some time after uninstall while for 3868 * normal apps the cookie is deleted after the app is uninstalled. 3869 * The cookie is always present while the app is installed. 3871 * @return The cookie. 3882 * Clears the instant application cookie for the calling app. 3893 * Updates the instant application cookie for the calling app. Non 3896 * this cookie i 3913 updateInstantAppCookie(@ullable byte[] cookie) argument 3918 setInstantAppCookie(@ullable byte[] cookie) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RIL.java | 292 riljLog("handleMessage: EVENT_RADIO_PROXY_DEAD cookie = " + msg.obj + 327 public void serviceDied(long cookie) { argument 330 mRilHandler.sendMessage(mRilHandler.obtainMessage(EVENT_RADIO_PROXY_DEAD, cookie)); 338 // increment the cookie so that death notification can be ignored
|
/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. ... |