Home
last modified time | relevance | path

Searched defs:asset (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/native/android/
Dasset_manager.cpp108 Asset* asset = mgr->open(filename, amMode); in AAssetManager_open() local
171 int AAsset_read(AAsset* asset, void* buf, size_t count) in AAsset_read()
176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek()
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
186 void AAsset_close(AAsset* asset) in AAsset_close()
192 const void* AAsset_getBuffer(AAsset* asset) in AAsset_getBuffer()
197 off_t AAsset_getLength(AAsset* asset) in AAsset_getLength()
202 off64_t AAsset_getLength64(AAsset* asset) in AAsset_getLength64()
207 off_t AAsset_getRemainingLength(AAsset* asset) in AAsset_getRemainingLength()
212 off64_t AAsset_getRemainingLength64(AAsset* asset) in AAsset_getRemainingLength64()
[all …]
/frameworks/base/libs/androidfw/tests/
DAsset_test.cpp25 Asset* asset = new _FileAsset(); in TEST() local
33 Asset* asset = new _CompressedAsset(); in TEST() local
DApkAssets_test.cpp35 std::unique_ptr<Asset> asset = loaded_apk->Open("res/layout/main.xml"); in TEST() local
78 auto asset = loaded_apk->Open("assets/uncompressed.txt", Asset::ACCESS_UNKNOWN); in TEST() local
/frameworks/base/core/jni/android/graphics/
DUtils.cpp23 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset) in AssetStreamAdaptor()
83 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { in CopyAssetToStream()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java84 StringBuilder asset = new StringBuilder(); in toString() local
120 protected static WebAsset create(JSONObject asset) in create()
DDirectStatementRetriever.java131 private String computeAssociationJsonUrl(WebAsset asset) { in computeAssociationJsonUrl()
178 private Result retrieveFromWeb(WebAsset asset) in retrieveFromWeb()
183 private Result retrieveFromAndroid(AndroidAppAsset asset) throws AssociationServiceException { in retrieveFromAndroid()
DAndroidAppAsset.java77 StringBuilder asset = new StringBuilder(); in toString() local
115 public static AndroidAppAsset create(JSONObject asset) in create()
DAbstractAssetMatcher.java29 public abstract boolean matches(AbstractAsset asset); in matches()
DAssetFactory.java35 public static AbstractAsset create(JSONObject asset) in create()
DWebAssetMatcher.java31 public boolean matches(AbstractAsset asset) { in matches()
DAndroidAppAssetMatcher.java35 public boolean matches(AbstractAsset asset) { in matches()
/frameworks/av/drm/mediacas/plugins/clearkey/
Decm_generator.cpp59 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset, in DecodeECM()
77 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset, in DecodeECMClearFields()
DClearKeyLicenseFetcher.cpp36 uint64_t /* asset_id */, Asset* asset) { in FetchLicense()
Decm.cpp46 Asset asset; in Parse() local
69 Asset asset(asset_from_emm); in Decrypt() local
DJsonAssetLoader.cpp55 const String8& jsonAssetString, Asset *asset) { in extractAssetFromString()
88 bool JsonAssetLoader::findKey(const String8& jsonObject, Asset *asset) { in findKey()
/frameworks/base/libs/androidfw/
DApkAssets.cpp106 std::unique_ptr<Asset> asset = in Open() local
121 std::unique_ptr<Asset> asset = Asset::createFromUncompressedMap(std::move(map), mode); in Open() local
DAsset.cpp56 void Asset::registerAsset(Asset* asset) in registerAsset()
74 void Asset::unregisterAsset(Asset* asset) in unregisterAsset()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java246 public void setIllustration(int asset, int horizontalTile) { in setIllustration()
255 private void setIllustration(Drawable asset, Drawable horizontalTile) { in setIllustration()
326 private Drawable getIllustration(int asset, int horizontalTile) { in getIllustration()
334 private Drawable getIllustration(Drawable asset, Drawable horizontalTile) { in getIllustration()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DTestAssetRepository.java32 File asset = new File(path); in open() local
/frameworks/base/graphics/java/android/graphics/
DMovie.java56 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream() local
63 private static native Movie nativeDecodeAsset(long asset); in nativeDecodeAsset()
DBitmapRegionDecoder.java277 long asset, boolean isShareable); in nativeNewInstance()
/frameworks/base/core/java/android/content/res/
DAssetManager.java374 long asset = openAsset(fileName, accessMode); in open() local
466 long asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset() local
616 private AssetInputStream(long asset) in AssetInputStream()
813 private native final void destroyAsset(long asset); in destroyAsset()
814 private native final int readAssetChar(long asset); in readAssetChar()
815 private native final int readAsset(long asset, byte[] b, int off, int len); in readAsset()
816 private native final long seekAsset(long asset, long offset, int whence); in seekAsset()
817 private native final long getAssetLength(long asset); in getAssetLength()
818 private native final long getAssetRemainingLength(long asset); in getAssetRemainingLength()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java109 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { in nativeDecodeAsset()
/frameworks/rs/
DrsFileA3D.cpp84 bool FileA3D::load(Asset *asset) { in load()
/frameworks/base/rs/java/android/renderscript/
DFileA3D.java299 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in createFromResource() local

12