/frameworks/base/libs/androidfw/tests/ |
Asset_test.cpp | 17 #include "androidfw/Asset.h" 24 const int32_t count = Asset::getGlobalCount(); 25 Asset* asset = new _FileAsset(); local 26 EXPECT_EQ(count + 1, Asset::getGlobalCount()); 27 delete asset; 28 EXPECT_EQ(count, Asset::getGlobalCount()); 32 const int32_t count = Asset::getGlobalCount(); 33 Asset* asset = new _CompressedAsset() local [all...] |
/development/samples/ApiDemos/assets/ |
read_asset.txt | 1 This text is stored in a raw Asset.
|
/external/skia/infra/bots/assets/linux_vulkan_intel_driver_debug/ |
README.md | 1 See [the release readme](../linux_vulkan_intel_driver_release/README.md) for information on how to make this asset
|
/external/skia/infra/bots/assets/ |
assets.py | 27 """Add a new asset.""" 28 asset_utils.Asset.add(args.asset_name, 33 """Remove an asset.""" 34 asset_utils.Asset(args.asset_name, 39 """Download the current version of an asset.""" 40 asset = asset_utils.Asset(args.asset_name, 42 asset.download_current_version(args.target_dir) 46 """Upload a new version of the asset.""" 47 asset = asset_utils.Asset(args.asset_name [all...] |
README.md | 14 Each asset has its own subdirectory with the following contents: 15 * VERSION: The current version number of the asset. 16 * download.py: Convenience script for downloading the current version of the asset. 17 * upload.py: Convenience script for uploading a new version of the asset. 18 * [optional] create.py: Script which creates the asset, implemented by the user. 25 Add a new asset and upload an initial version. 29 Creating asset in infra/bots/assets/myasset 33 Add script to automate creation of this asset? (y/n) n 38 Add an asset whose creation can be automated. 42 Add script to automate creation of this asset? (y/n) [all...] |
/frameworks/base/native/android/ |
asset_manager.cpp | 21 #include <androidfw/Asset.h> 49 Asset* mAsset; 51 explicit AAsset(Asset* asset) : mAsset(asset) { } 70 * Asset Manager functionality 89 Asset::AccessMode amMode; 92 amMode = Asset::ACCESS_UNKNOWN; 95 amMode = Asset::ACCESS_RANDOM; 98 amMode = Asset::ACCESS_STREAMING 108 Asset* asset = mgr->open(filename, amMode); local [all...] |
/frameworks/base/core/java/android/os/storage/ |
package.html | 4 Contains classes for the system storage service, which manages binary asset filesystems
|
/external/skia/infra/bots/assets/linux_vulkan_sdk/ |
README.md | 1 To create the vulkan sdk asset: 8 When uploading the CIPD asset, use -s $VULKAN_SDK/VERSION/x86_64
|
/external/skia/infra/bots/assets/win_vulkan_sdk/ |
README.md | 1 To create the vulkan sdk asset: 7 When uploading the CIPD asset, use -s C:\VulkanSDK\VERSION
|
/external/skia/infra/bots/assets/skimage/ |
create.py | 9 """Create the asset.""" 18 """Create the asset.""" 21 asset = asset_utils.Asset(common.ASSET_NAME, asset_utils.MultiStore()) 22 asset.download_current_version(target_dir)
|
/frameworks/native/include/android/ |
asset_manager.h | 18 * @addtogroup Asset 45 * The asset hierarchy may be examined like a filesystem, using 54 * {@link AAssetDir} provides access to a chunk of the asset hierarchy as if 64 * {@link AAsset} provides access to a read-only asset. 85 * Open the named directory within the asset hierarchy. The directory can then 94 * Open an asset. 101 * Iterate over the files in an asset directory. A NULL string is returned 127 int AAsset_read(AAsset* asset, void* buf, size_t count); 130 * Seek to the specified offset within the asset data. 'whence' uses the 135 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) [all...] |
/frameworks/base/core/res/res/xml/ |
audio_assets.xml | 28 <asset id="FX_KEY_CLICK" file="Effect_Tick.ogg"/> 29 <asset id="FX_FOCUS_NAVIGATION_UP" file="Effect_Tick.ogg"/> 30 <asset id="FX_FOCUS_NAVIGATION_DOWN" file="Effect_Tick.ogg"/> 31 <asset id="FX_FOCUS_NAVIGATION_LEFT" file="Effect_Tick.ogg"/> 32 <asset id="FX_FOCUS_NAVIGATION_RIGHT" file="Effect_Tick.ogg"/> 33 <asset id="FX_KEYPRESS_STANDARD" file="KeypressStandard.ogg"/> 34 <asset id="FX_KEYPRESS_SPACEBAR" file="KeypressSpacebar.ogg"/> 35 <asset id="FX_KEYPRESS_DELETE" file="KeypressDelete.ogg"/> 36 <asset id="FX_KEYPRESS_RETURN" file="KeypressReturn.ogg"/> 37 <asset id="FX_KEYPRESS_INVALID" file="KeypressInvalid.ogg"/ [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
Asset.h | 18 // Class providing access to a read-only asset. Asset objects are NOT 44 * "Asset" is the base class for all types of assets. The classes below 48 class Asset { 50 virtual ~Asset(void) = default; 55 /* used when opening an asset */ 83 * Close the asset, freeing all associated resources. 103 * Open a new file descriptor that can be used to read this asset. 105 * asset is compressed). 110 * Return whether this asset's buffer is allocated in RAM (not mmapped) [all...] |
/development/ndk/platforms/android-9/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r10/platforms/android-9/arch-arm/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r10/platforms/android-9/arch-mips/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r10/platforms/android-9/arch-x86/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r11/platforms/android-12/arch-arm/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r11/platforms/android-12/arch-mips/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r11/platforms/android-12/arch-x86/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r11/platforms/android-9/arch-arm/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |
/prebuilts/ndk/r11/platforms/android-9/arch-mips/usr/include/android/ |
asset_manager.h | 46 * Open the named directory within the asset hierarchy. The directory can then 55 * Open an asset. 62 * Iterate over the files in an asset directory. A NULL string is returned 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 91 * Seek to the specified offset within the asset data. 'whence' uses the 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 99 * Close the asset, freeing all associated resources. 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 111 * Report the total size of the asset data [all...] |