Home
last modified time | relevance | path

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

12

/frameworks/base/native/android/
Dasset_manager.cpp87 std::unique_ptr<Asset> asset = locked_mgr->Open(filename, amMode); in AAssetManager_open() local
149 int AAsset_read(AAsset* asset, void* buf, size_t count) in AAsset_read()
154 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek()
159 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
164 void AAsset_close(AAsset* asset) in AAsset_close()
170 const void* AAsset_getBuffer(AAsset* asset) in AAsset_getBuffer()
175 off_t AAsset_getLength(AAsset* asset) in AAsset_getLength()
180 off64_t AAsset_getLength64(AAsset* asset) in AAsset_getLength64()
185 off_t AAsset_getRemainingLength(AAsset* asset) in AAsset_getRemainingLength()
190 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
DAttributeResolution_bench.cpp49 std::unique_ptr<Asset> asset = in BM_ApplyStyle() local
130 std::unique_ptr<Asset> asset = assetmanager.OpenNonAsset( in BM_ApplyStyleFramework() local
DApkAssets_test.cpp130 auto asset = loaded_apk->Open("assets/uncompressed.txt", Asset::ACCESS_UNKNOWN); in TEST() local
DAttributeResolution_test.cpp52 std::unique_ptr<Asset> asset = in SetUp() local
/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()
DAssetFactory.java35 public static AbstractAsset create(JSONObject asset) in create()
DAbstractAssetMatcher.java29 public abstract boolean matches(AbstractAsset asset); in matches()
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.cpp57 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset, in DecodeECM()
75 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset, in DecodeECMClearFields()
DClearKeyLicenseFetcher.cpp36 uint64_t /* asset_id */, Asset* asset) { in FetchLicense()
Decm.cpp48 Asset asset; in Parse() local
71 Asset asset(asset_from_emm); in Decrypt() local
DJsonAssetLoader.cpp53 const String8& jsonAssetString, Asset *asset) { in extractAssetFromString()
86 bool JsonAssetLoader::findKey(const String8& jsonObject, Asset *asset) { in findKey()
/frameworks/base/core/jni/android/graphics/
DUtils.cpp23 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset) in AssetStreamAdaptor()
115 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { in CopyAssetToStream()
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp55 static void releaseAsset(jlong asset) { in releaseAsset()
97 std::unique_ptr<Asset> asset; in Font_Builder_getNativeAsset() local
116 Asset* asset = toAsset(nativeAsset); in Font_Builder_getAssetBuffer() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java243 public void setIllustration(int asset, int horizontalTile) { in setIllustration()
252 private void setIllustration(Drawable asset, Drawable horizontalTile) { in setIllustration()
322 private Drawable getIllustration(int asset, int horizontalTile) { in getIllustration()
330 private Drawable getIllustration(Drawable asset, Drawable horizontalTile) { in getIllustration()
/frameworks/base/graphics/java/android/graphics/
DMovie.java65 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream() local
72 private static native Movie nativeDecodeAsset(long asset); in nativeDecodeAsset()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DTestAssetRepository.java40 File asset = new File(path); in open() local
/frameworks/base/libs/androidfw/
DApkAssets.cpp184 std::unique_ptr<Asset> asset = in Open() local
199 std::unique_ptr<Asset> asset = Asset::createFromUncompressedMap(std::move(map), mode); in Open() local
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp402 static jobject ReturnParcelFileDescriptor(JNIEnv* env, std::unique_ptr<Asset> asset, in ReturnParcelFileDescriptor()
617 std::unique_ptr<Asset> asset = in NativeOpenAsset() local
637 std::unique_ptr<Asset> asset = assetmanager->Open(asset_path_utf8.c_str(), Asset::ACCESS_RANDOM); in NativeOpenAssetFd() local
663 std::unique_ptr<Asset> asset; in NativeOpenNonAsset() local
691 std::unique_ptr<Asset> asset; in NativeOpenNonAssetFd() local
717 std::unique_ptr<Asset> asset; in NativeOpenXmlAsset() local
1472 Asset* asset = reinterpret_cast<Asset*>(asset_ptr); in NativeAssetReadChar() local
1496 Asset* asset = reinterpret_cast<Asset*>(asset_ptr); in NativeAssetRead() local
1507 Asset* asset = reinterpret_cast<Asset*>(asset_ptr); in NativeAssetSeek() local
1513 Asset* asset = reinterpret_cast<Asset*>(asset_ptr); in NativeAssetGetLength() local
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java112 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts, in nativeDecodeAsset()
/frameworks/rs/
DrsFileA3D.cpp84 bool FileA3D::load(Asset *asset) { in load()

12