Home
last modified time | relevance | path

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

12

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppApkAssets.java18 import org.robolectric.res.android.Asset.AccessMode;
85 Asset resources_asset_;
86 Asset idmap_asset_;
171 static Asset CreateAssetFromFile(String path) { in CreateAssetFromFile()
197 int fd, String path, Asset idmap_asset, in LoadImpl()
211 int fd, String path, Asset idmap_asset, in LoadImpl_measured()
247 loaded_apk.resources_asset_ = loaded_apk.Open(kResourcesArsc, Asset.AccessMode.ACCESS_BUFFER); in LoadImpl_measured()
278 public Asset Open(String path, AccessMode mode) { in Open()
303 Asset asset = in Open()
304 Asset.createFromCompressedMap(map, (int) entry.entry.getSize(), mode); in Open()
[all …]
DAsset.java3 import static org.robolectric.res.android.Asset.AccessMode.ACCESS_BUFFER;
33 public abstract class Asset { class
34 public static final Asset EXCLUDED_ASSET = new _FileAsset();
38 public static Asset newFileAsset(FileTypedResource fileTypedResource) throws IOException { in newFileAsset()
246 Asset mNext; // linked list.
247 Asset mPrev;
253 static Asset gHead = null;
254 static Asset gTail = null;
256 void registerAsset(Asset asset) in registerAsset()
274 void unregisterAsset(Asset asset) in unregisterAsset()
[all …]
DCppAssetManager.java3 import static org.robolectric.res.android.Asset.toIntExact;
31 import org.robolectric.res.android.Asset.AccessMode;
117 static final Asset kExcludedAsset = Asset.EXCLUDED_ASSET;
457 public Asset open(final String fileName, AccessMode mode) { in open()
471 Asset pAsset = openNonAssetInPathLocked(assetName.string(), mode, in open()
487 public Asset openNonAsset(final String fileName, AccessMode mode, Ref<Integer> outCookie) { in openNonAsset()
502 Asset pAsset = openNonAssetInPathLocked( in openNonAsset()
516 public Asset openNonAsset(final int cookie, final String fileName, AccessMode mode) { in openNonAsset()
525 Asset pAsset = openNonAssetInPathLocked( in openNonAsset()
606 Asset ass = null; in appendPathToResTable_measured()
[all …]
DRegistries.java8 public static final NativeObjRegistry<Asset> NATIVE_ASSET_REGISTRY =
9 new NativeObjRegistry<>(Asset.class);
DCppAssetManager2.java489 public Asset Open(final String filename, Asset.AccessMode mode) { in Open()
498 Asset Open(final String filename, ApkAssetsCookie cookie, in Open()
499 Asset.AccessMode mode) { in Open()
548 public Asset OpenNonAsset(final String filename, in OpenNonAsset()
549 Asset.AccessMode mode, in OpenNonAsset()
553 Asset asset = apk_assets_.get(i).Open(filename, mode); in OpenNonAsset()
568 public Asset OpenNonAsset(final String filename, Asset.AccessMode mode) { in OpenNonAsset()
577 public Asset OpenNonAsset(final String filename, in OpenNonAsset()
578 ApkAssetsCookie cookie, Asset.AccessMode mode) { in OpenNonAsset()
DFileMap.java3 import static org.robolectric.res.android.Asset.toIntExact;
DZipFileRO.java3 import static org.robolectric.res.android.Asset.toIntExact;
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager10.java11 import static org.robolectric.res.android.Asset.SEEK_CUR;
12 import static org.robolectric.res.android.Asset.SEEK_END;
13 import static org.robolectric.res.android.Asset.SEEK_SET;
61 import org.robolectric.res.android.Asset;
418 static ParcelFileDescriptor ReturnParcelFileDescriptor(/* JNIEnv* env,*/ Asset asset, in ReturnParcelFileDescriptor()
470 return Asset.getGlobalCount(); in getGlobalAssetCount()
476 String alloc = Asset.getAssetAllocations(); in getAssetAllocations()
693 if (access_mode != Asset.AccessMode.ACCESS_UNKNOWN.mode() in nativeOpenAsset()
694 && access_mode != Asset.AccessMode.ACCESS_RANDOM.mode() in nativeOpenAsset()
695 && access_mode != Asset.AccessMode.ACCESS_STREAMING.mode() in nativeOpenAsset()
[all …]
DShadowArscAssetManager9.java9 import static org.robolectric.res.android.Asset.SEEK_CUR;
10 import static org.robolectric.res.android.Asset.SEEK_END;
11 import static org.robolectric.res.android.Asset.SEEK_SET;
59 import org.robolectric.res.android.Asset;
414 static ParcelFileDescriptor ReturnParcelFileDescriptor(/* JNIEnv* env,*/ Asset asset, in ReturnParcelFileDescriptor()
466 return Asset.getGlobalCount(); in getGlobalAssetCount()
472 String alloc = Asset.getAssetAllocations(); in getAssetAllocations()
689 if (access_mode != Asset.AccessMode.ACCESS_UNKNOWN.mode() in nativeOpenAsset()
690 && access_mode != Asset.AccessMode.ACCESS_RANDOM.mode() in nativeOpenAsset()
691 && access_mode != Asset.AccessMode.ACCESS_STREAMING.mode() in nativeOpenAsset()
[all …]
DShadowArscAssetManager.java11 import static org.robolectric.res.android.Asset.SEEK_CUR;
12 import static org.robolectric.res.android.Asset.SEEK_SET;
45 import org.robolectric.res.android.Asset;
46 import org.robolectric.res.android.Asset.AccessMode;
332 Asset a = am.open(fileName8, AccessMode.fromInt(mode)); in openAsset()
354 Asset a = am.open(fileName8, Asset.AccessMode.ACCESS_RANDOM); in openAssetFd()
376 if (mode != Asset.AccessMode.ACCESS_UNKNOWN && mode != Asset.AccessMode.ACCESS_RANDOM in openNonAssetNative()
377 && mode != Asset.AccessMode.ACCESS_STREAMING && mode != Asset.AccessMode.ACCESS_BUFFER) { in openNonAssetNative()
380 Asset a = isTruthy(cookie) in openNonAssetNative()
404 Asset a = isTruthy(cookie) in openNonAssetFdNative()
[all …]
DShadowArscAssetInputStream.java11 import org.robolectric.res.android.Asset;
28 private Asset getAsset() { in getAsset()
42 Asset asset = getAsset(); in isNinePatch()
DShadowAssetInputStream.java9 import org.robolectric.res.android.Asset;
18 Asset asset = NATIVE_ASSET_REGISTRY.getNativeObject(assetPtr); in createAssetInputStream()
DShadowArscApkAssets9.java22 import org.robolectric.res.android.Asset;
310 Asset asset = apk_assets.Open(path_utf8, in nativeOpenXml()
311 Asset.AccessMode.ACCESS_RANDOM); in nativeOpenXml()
DShadowLegacyAssetManager.java78 import org.robolectric.res.android.Asset;
500 Asset asset = Asset.newFileAsset(typedResource); in openNonAsset()
/external/skia/infra/bots/assets/
Dassets.py28 asset_utils.Asset.add(args.asset_name,
34 asset_utils.Asset(args.asset_name,
40 asset = asset_utils.Asset(args.asset_name,
47 asset = asset_utils.Asset(args.asset_name,
Dasset_utils_test.py173 self.a = asset_utils.Asset.add(self.asset_name, self._store)
192 asset_utils.Asset.add(self.asset_name, self._store)
Dasset_utils.py249 class Asset(object): class
/external/skqp/infra/bots/assets/
Dassets.py28 asset_utils.Asset.add(args.asset_name,
34 asset_utils.Asset(args.asset_name,
40 asset = asset_utils.Asset(args.asset_name,
47 asset = asset_utils.Asset(args.asset_name,
Dasset_utils_test.py173 self.a = asset_utils.Asset.add(self.asset_name, self._store)
192 asset_utils.Asset.add(self.asset_name, self._store)
Dasset_utils.py249 class Asset(object): class
/external/skqp/infra/bots/assets/skimage/
Dcreate.py21 asset = asset_utils.Asset(common.ASSET_NAME, asset_utils.MultiStore())
/external/skia/infra/bots/assets/skimage/
Dcreate.py21 asset = asset_utils.Asset(common.ASSET_NAME, asset_utils.MultiStore())
/external/clang/test/Sema/
Dwarn-documentation.m202 /// @class Asset <- '@class' may be used in a comment attached to a an interface declaration
203 @interface Asset : NSObject interface
/external/tensorflow/tensorflow/core/protobuf/
Dsaved_object_graph.proto84 // Index into `MetaGraphDef.asset_file_def[]` that describes the Asset.
Dmeta_graph.proto86 // Asset file def to be used with the defined graph.

12