Home
last modified time | relevance | path

Searched refs:Asset (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/include/androidfw/
DAsset.h45 class Asset {
47 virtual ~Asset(void);
122 Asset(void); // constructor; only invoked indirectly
134 Asset(const Asset& src);
135 Asset& operator=(const Asset& src);
143 static Asset* createFromFile(const char* fileName, AccessMode mode);
148 static Asset* createFromCompressedFile(const char* fileName,
158 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length,
171 static Asset* createFromCompressedData(int fd, off64_t offset,
181 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
[all …]
DAssetManager.h53 class Asset; // fwd decl for things that include Asset.h first variable
145 typedef Asset::AccessMode AccessMode; // typing shortcut
156 Asset* open(const char* fileName, AccessMode mode);
166 Asset* openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie = NULL);
172 Asset* openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode);
250 Asset* openInPathLocked(const char* fileName, AccessMode mode,
252 Asset* openNonAssetInPathLocked(const char* fileName, AccessMode mode,
254 Asset* openInLocaleVendorLocked(const char* fileName, AccessMode mode,
263 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode);
264 Asset* openAssetFromZipLocked(const ZipFileRO* pZipFile,
[all …]
/frameworks/base/docs/html/training/wearables/data-layer/
Dassets.jd10 <li><a href="#TransferAsset">Transfer an Asset</a></li>
11 <li><a href="#ReceiveAsset">Receive an Asset</a></li>
19 <a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a> to a
35 <h2 id="TransferAsset">Transfer an Asset</h2>
37 <a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a> cla…
39 <a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html#createFromBytes(byte[])"><c…
44 private static Asset createAssetFromBitmap(Bitmap bitmap) {
47 return Asset.createFromBytes(byteStream.toByteArray());
62 Asset asset = createAssetFromBitmap(bitmap);
71 Asset asset = createAssetFromBitmap(bitmap);
[all …]
Dindex.jd40 <dt><b>Asset</b></dt>
41 …<dd><a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a…
71 <a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a>
/frameworks/base/libs/androidfw/
DAsset.cpp52 static Asset* gHead = NULL;
53 static Asset* gTail = NULL;
55 int32_t Asset::getGlobalCount() in getGlobalCount()
61 String8 Asset::getAssetAllocations() in getAssetAllocations()
65 Asset* cur = gHead; in getAssetAllocations()
81 Asset::Asset(void) in Asset() function in Asset
99 Asset::~Asset(void) in ~Asset()
127 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) in createFromFile()
183 /*static*/ Asset* Asset::createFromCompressedFile(const char* fileName, in createFromCompressedFile()
241 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset,
[all …]
DAssetManager.cpp72 static Asset* const kExcludedAsset = (Asset*) 0xd000000d;
242 Asset* idmap = NULL; in addOverlayPath()
243 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { in addOverlayPath()
305 Asset* ass = openNonAssetInPathLocked("resources.arsc", Asset::ACCESS_BUFFER, ap); in createIdmap()
481 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open()
503 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i)); in open()
518 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset()
536 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset()
547 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset()
561 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset()
[all …]
DAndroid.mk21 Asset.cpp \
/frameworks/base/native/android/
Dasset_manager.cpp49 Asset* mAsset;
51 AAsset(Asset* asset) : mAsset(asset) { } in AAsset()
89 Asset::AccessMode amMode; in AAssetManager_open()
92 amMode = Asset::ACCESS_UNKNOWN; in AAssetManager_open()
95 amMode = Asset::ACCESS_RANDOM; in AAssetManager_open()
98 amMode = Asset::ACCESS_STREAMING; in AAssetManager_open()
101 amMode = Asset::ACCESS_BUFFER; in AAssetManager_open()
108 Asset* asset = mgr->open(filename, amMode); in AAssetManager_open()
/frameworks/base/core/jni/android/graphics/
DUtils.h31 AssetStreamAdaptor(Asset*);
41 Asset* fAsset;
50 SkMemoryStream* CopyAssetToStream(Asset*);
DUtils.cpp23 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset) in AssetStreamAdaptor()
86 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { in CopyAssetToStream()
DFontFamily.cpp188 delete static_cast<Asset*>(context); in releaseAsset()
202 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in FontFamily_addFontFromAsset()
DMovie.cpp84 android::Asset* asset = reinterpret_cast<android::Asset*>(native_asset); in movie_decodeAsset()
DBitmapRegionDecoder.cpp109 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeNewInstanceFromAsset()
/frameworks/rs/
DrsFileA3D.h29 class Asset; variable
63 bool load(Asset *asset);
88 Asset *mAsset;
DrsApiFileA3D.cpp85 Asset *asset = static_cast<Asset *>(_asset); in rsaFileA3DCreateFromAsset()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp239 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM in android_content_AssetManager_openAsset()
240 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) { in android_content_AssetManager_openAsset()
245 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode); in android_content_AssetManager_openAsset()
257 static jobject returnParcelFileDescriptor(JNIEnv* env, Asset* a, jlongArray outOffsets) in returnParcelFileDescriptor()
304 Asset* a = am->open(fileName8.c_str(), Asset::ACCESS_RANDOM); in android_content_AssetManager_openAssetFd()
333 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM in android_content_AssetManager_openNonAssetNative()
334 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) { in android_content_AssetManager_openNonAssetNative()
339 Asset* a = cookie in android_content_AssetManager_openNonAssetNative()
341 (Asset::AccessMode)mode) in android_content_AssetManager_openNonAssetNative()
342 : am->openNonAsset(fileName8.c_str(), (Asset::AccessMode)mode); in android_content_AssetManager_openNonAssetNative()
[all …]
/frameworks/base/media/jni/
Dandroid_media_ExifInterface.cpp98 Asset* asset = reinterpret_cast<Asset*>(jasset); in ExifInterface_getThumbnailFromAsset()
326 Asset* asset = reinterpret_cast<Asset*>(jasset); in ExifInterface_getRawAttributesFromAsset()
/frameworks/base/docs/html/training/app-links/
Dindex.jd41 Asset Links</i></a> file. The general steps for creating verified app links are as follows:
47 <li>Publish a Digital Asset Links JSON file on your websites to provide verification.</li>
146 the app’s intent filters against the Digital Asset Links files ({@code assetlinks.json}) hosted
187 elements against the Digital Asset Links files hosted on the respective web domains. If any
223 The Digital Asset Links protocol treats subdomains as unique, separate hosts. If your intent
251 with apps. A site owner declares the relationship to an app by hosting a Digital Asset Links JSON
266 A Digital Asset Links JSON file indicates the Android apps that are associated with the website.
414 Use this list to check that a Digital Asset Links JSON file is provided on each named host
419 <h3 id="test-dal-files">Confirm the Digital Asset Links files</h3>
422 For each website, use the Digital Asset Links API to confirm that the Digital Asset Links JSON
/frameworks/base/tools/split-select/
DMain.cpp131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in getAppInfo()
/frameworks/base/docs/html/ndk/reference/
Dasset__manager__jni_8h.jd14 …le Reference<div class="ingroups"><a class="el" href="group___asset.html">Asset</a></div></div> <…
Dreference_toc.cs11 …tion-header"><a href="/ndk/reference/group___asset.html"><span class="en">Asset Manager</span></a>…
Dmodules.jd13 …"16" height="22" /><a class="el" href="group___asset.html" target="_self">Asset</a></td><td class=…
/frameworks/base/docs/html/training/material/
Ddrawables.jd17 <li><a href="{@docRoot}tools/help/vector-asset-studio.html">Vector Asset Studio</a></li>
18 <li><a href="{@docRoot}tools/help/image-asset-studio.html">Image Asset Studio</a></li>
/frameworks/base/tools/aapt/
DCommand.cpp229 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml", in doList()
230 Asset::ACCESS_BUFFER); in doList()
405 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); in getNfcAidCategories()
759 Asset* asset = NULL; in doDump()
779 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump()
805 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump()
823 asset = assets.openNonAsset(assetsCookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in doDump()
/frameworks/base/docs/html/training/wearables/apps/
Dpackaging.jd14 <li><a href="#AssetCompression">Turn off Asset Compression</a></li>
132 <h2 id="AssetCompression">Turn off Asset Compression</h2>

12