Home
last modified time | relevance | path

Searched defs:asset (Results 1 – 25 of 49) 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.cpp48 std::unique_ptr<Asset> asset = in BM_ApplyStyle() local
121 std::unique_ptr<Asset> asset = in BM_ApplyStyleFramework() local
DIdmap_test.cpp153 auto asset = asset_manager.OpenNonAsset("res/layout/hello_view.xml", value->cookie, in TEST_F() local
193 auto asset = AssetsProvider::CreateAssetFromFile(GetTestDataPath() + "/loader/resources.arsc"); in TEST_F() local
DApkAssets_test.cpp94 auto asset = loaded_apk->GetAssetsProvider()->Open("assets/uncompressed.txt", in TEST() local
DAttributeResolution_test.cpp52 std::unique_ptr<Asset> asset = in SetUp() local
/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/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java86 StringBuilder asset = new StringBuilder(); in toString() local
122 protected static WebAsset create(JSONObject asset) in create()
DAndroidAppAsset.java81 StringBuilder asset = new StringBuilder(); in toString() local
119 public static AndroidAppAsset create(JSONObject asset) in create()
DAssetFactory.java37 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/base/libs/hwui/jni/
DUtils.cpp27 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset) in AssetStreamAdaptor()
119 sk_sp<SkData> android::CopyAssetToData(Asset* asset) { in CopyAssetToData()
/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/bridge_client/src/com/android/layoutlib/bridge/intensive/util/
DTestAssetRepository.java40 File asset = new File(path); in open() local
/frameworks/base/core/java/android/content/res/
DApkAssets.java451 @PropertyFlags int flags, @Nullable AssetsProvider asset) throws IOException; in nativeLoad()
453 @Nullable AssetsProvider asset); in nativeLoadEmpty()
456 @Nullable AssetsProvider asset) throws IOException; in nativeLoadFd()
459 @PropertyFlags int flags, @Nullable AssetsProvider asset) throws IOException; in nativeLoadFdOffsets()
/frameworks/base/native/graphics/jni/
Daassetstreamadaptor.cpp21 AAssetStreamAdaptor::AAssetStreamAdaptor(AAsset* asset) in AAssetStreamAdaptor()
/frameworks/base/libs/androidfw/
DAssetsProvider.cpp184 std::unique_ptr<Asset> asset = in OpenInternal() local
212 auto asset = Asset::createFromUncompressedMap(std::move(asset_map), mode, std::move(ufd)); in OpenInternal() local
382 auto asset = primary_->Open(path, mode, file_exists); in OpenInternal() local
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp248 static jobject ReturnParcelFileDescriptor(JNIEnv* env, std::unique_ptr<Asset> asset, in ReturnParcelFileDescriptor()
280 static jobject ReturnParcelFileDescriptor(JNIEnv* env, std::unique_ptr<Asset> asset, in ReturnParcelFileDescriptor()
492 std::unique_ptr<Asset> asset = in NativeOpenAsset() local
512 std::unique_ptr<Asset> asset = assetmanager->Open(asset_path_utf8.c_str(), Asset::ACCESS_RANDOM); in NativeOpenAssetFd() local
538 std::unique_ptr<Asset> asset; in NativeOpenNonAsset() local
566 std::unique_ptr<Asset> asset; in NativeOpenNonAssetFd() local
592 std::unique_ptr<Asset> asset; in NativeOpenXmlAsset() local
637 asset(Asset::createFromFd(dup_fd.release(), nullptr, Asset::AccessMode::ACCESS_BUFFER)); in NativeOpenXmlAssetFd() local
1440 Asset* asset = reinterpret_cast<Asset*>(asset_ptr); in NativeAssetReadChar() local
1464 Asset* asset = reinterpret_cast<Asset*>(asset_ptr); in NativeAssetRead() local
[all …]
/frameworks/rs/
DrsFileA3D.cpp84 bool FileA3D::load(Asset *asset) { in load()

12