Searched refs:fsFile (Results 1 – 11 of 11) sorted by relevance
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | FileTypedResource.java | 4 private final FsFile fsFile; field in FileTypedResource 6 public FileTypedResource(FsFile fsFile, ResType resType, XmlContext xmlContext) { in FileTypedResource() argument 7 super(fsFile.getPath(), resType, xmlContext); in FileTypedResource() 9 this.fsFile = fsFile; in FileTypedResource() 17 return fsFile; in getFsFile() 22 return fsFile.getName().endsWith("xml"); in isXml() 28 public Image(FsFile fsFile, boolean isNinePatch, XmlContext xmlContext) { in Image() argument 29 super(fsFile, ResType.DRAWABLE, xmlContext); in Image()
|
D | Fs.java | 160 return listFiles(fsFile -> true); in listFiles() 179 FsFile fsFile; in listFiles() local 182 fsFile = new JarFsFile(string.substring(0, string.length() - 1)); in listFiles() 185 fsFile = new JarFsFile(string); in listFiles() 188 fsFile = null; in listFiles() 191 if (fsFile != null && filter.accept(fsFile)) { in listFiles() 192 fsFiles.add(fsFile); in listFiles() 200 for (FsFile fsFile : listFiles()) { in listFileNames() 201 fileNames.add(fsFile.getName()); in listFileNames()
|
D | DocumentLoader.java | 8 @Override public boolean accept(@Nonnull FsFile fsFile) { 9 return fsFile.getName().endsWith(".xml");
|
D | FileFsFile.java | 112 FileFsFile fsFile = (FileFsFile) o; in equals() 114 return file.equals(fsFile.file); in equals()
|
D | FsFile.java | 43 boolean accept(@Nonnull FsFile fsFile); in accept() argument
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | FileFsFileTest.java | 81 List<String> partsOf(FsFile fsFile) { in partsOf() argument 83 while (fsFile != null) { in partsOf() 84 parts.add(fsFile.getName()); in partsOf() 85 fsFile = fsFile.getParent(); in partsOf()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/builder/ |
D | XmlBlock.java | 49 public static XmlBlock create(FsFile fsFile, String packageName) { in create() argument 50 Document document = parse(fsFile); in create() 54 : new XmlBlock(document, fsFile.getPath(), packageName); in create()
|
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/ |
D | StaxValueLoaderTest.java | 61 FsFile fsFile = Fs.fileFromPath("/tmp/fake.txt"); in parse() local 62 Qualifiers qualifiers = Qualifiers.fromParentDir(fsFile.getParent()); in parse() 64 fsFile, qualifiers)); in parse()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | Asset.java | 40 FsFile fsFile = fileTypedResource.getFsFile(); in newFileAsset() local 41 fileAsset.mFileName = fsFile.getName(); in newFileAsset() 42 fileAsset.mLength = fsFile.length(); in newFileAsset() 43 fileAsset.mBuf = fsFile.getBytes(); in newFileAsset()
|
D | CppAssetManager.java | 1765 FsFile fsFile; in getAssetPaths() local 1768 fsFile = Fs.newFile(asset_path.path.string()); in getAssetPaths() 1771 fsFile = Fs.newFile(asset_path.path.string()); in getAssetPaths() 1777 assetPaths.add(new AssetPath(fsFile, asset_path.isSystemAsset)); in getAssetPaths()
|
D | CppAssetManager2.java | 1674 FsFile fsFile = Fs.newFile(apkAssets.GetPath()); in getAssetPaths() local 1675 assetPaths.add(new AssetPath(fsFile, apkAssets.GetLoadedArsc().IsSystem())); in getAssetPaths()
|