Searched refs:File (Results 76 - 100 of 503) sorted by relevance

1234567891011>>

/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
H A DFileUtil.java21 import java.io.File;
42 public void writeDateToFile(File file) {
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
H A DVolumeLoader.java24 import java.io.File;
34 File baseDir;
40 baseDir = new File(dir);
75 Volume v = LoaderDicom.buildRSVolume(rs, new File(baseDir, dir), mListener);
85 Volume v = LoaderRaw.buildRSVolume(rs, new File(baseDir, dir), p, mListener);
98 static Properties[] getPropertyFiles(File dir) {
100 File[] f = dir.listFiles(new FilenameFilter() {
103 public boolean accept(File dir, String name) {
/frameworks/support/v4/java/android/support/v4/os/
H A DEnvironmentCompat.java23 import java.io.File;
37 * @see #getStorageState(File)
55 public static String getStorageState(File path) {
/frameworks/compile/mclinker/include/mcld/Script/
H A DFileToken.h33 return pToken->type() == InputToken::File;
H A DInputToken.h22 enum Type { Unknown, File, NameSpec }; enumerator in enum:mcld::InputToken::Type
/frameworks/data-binding/extensions/
H A Dbuild.gradle16 ext.dataBindingRootFolder = new File(project.projectDir, "..")
18 ext.dataBindingRootFolder = new File(project.projectDir, "..")
/frameworks/support/v4/api23/android/support/v4/content/
H A DContextCompatApi23.java23 import java.io.File;
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsDatabase.java32 import java.io.File;
60 private final File[] mIntervalDirs;
63 private final File mVersionFile;
67 public UsageStatsDatabase(File dir) {
68 mIntervalDirs = new File[] {
69 new File(dir, "daily"),
70 new File(dir, "weekly"),
71 new File(dir, "monthly"),
72 new File(dir, "yearly"),
74 mVersionFile = new File(di
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/
H A Dbuild_vc.pl20 # File Name: build_vc.pl
31 use File::Spec;
62 $h = File::Spec->canonpath($h);
83 $file = File::Spec->canonpath($file);
85 (undef, undef, $f) = File::Spec->splitpath($file);
88 $objfile = File::Spec->catfile('obj', $base.'.o');
116 $libfile = File::Spec->catfile('lib', 'omxVC'.$LIB_TYPE);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/
H A Dbuild_vc.pl20 # File Name: build_vc.pl
31 use File::Spec;
62 $h = File::Spec->canonpath($h);
83 $file = File::Spec->canonpath($file);
85 (undef, undef, $f) = File::Spec->splitpath($file);
90 $objfile = File::Spec->catfile('obj', $base.'.o');
118 $libfile = File::Spec->catfile('lib', 'omxVC'.$LIB_TYPE);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/
H A Dbuild_vc.pl20 # File Name: build_vc.pl
31 use File::Spec;
62 $h = File::Spec->canonpath($h);
83 $file = File::Spec->canonpath($file);
85 (undef, undef, $f) = File::Spec->splitpath($file);
88 $objfile = File::Spec->catfile('obj', $base.'.o');
116 $libfile = File::Spec->catfile('lib', 'omxVC'.$LIB_TYPE);
/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java26 import java.io.File;
33 * File-based cache of established SSL sessions. When re-establishing a
86 public SSLSessionCache(File dir) throws IOException {
97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE);
/frameworks/base/core/java/android/os/
H A DSELinux.java22 import java.io.File;
139 * @param file The File object representing the path to be relabeled.
143 public static boolean restorecon(File file) throws NullPointerException {
161 public static boolean restoreconRecursive(File file) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java35 import java.io.File;
59 void cleanUpDirectory(File pDir, String dirName) {
60 File testDir = new File(pDir, dirName);
66 File file = new File(testDir, fList[i]);
77 File testDir = mContext.getCacheDir();
88 File file = new File(testDir, fList[i]);
130 File cacheDi
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSetting.java23 import java.io.File;
34 PackageSetting(String name, String realName, File codePath, File resourcePath,
/frameworks/base/tools/preload2/src/com/android/preload/actions/
H A DImportAction.java25 import java.io.File;
31 private File[] lastOpenFiles;
52 for (File f : lastOpenFiles) {
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DVolley.java28 import java.io.File;
43 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR);
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java33 import java.io.File;
225 * @param outFile A File representing the file we want to copy the OBB to
228 private void copyRawToFile(int rawResId, File outFile) throws NotFoundException {
249 * @return A {@link File} representing the file to write to
251 protected File createObbFile(String name, int rawResId) {
252 File outFile = null;
254 final File filesDir = mContext.getFilesDir();
255 outFile = new File(filesDir, name);
281 File inFile = new File(pat
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java38 import java.io.File;
118 File tmpSaveFile = new File(BASE_DIR + File.separator + TMP_FILENAME);
168 File tmpSaveFile = new File(BASE_DIR + File.separator + TMP_FILENAME);
231 File tmpSaveFile = new File(BASE_DIR + File
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java40 import java.io.File;
62 private File getSyncDir() {
63 return new File(new File(getContext().getFilesDir(), "system"), "sync");
155 File syncDir = getSyncDir();
157 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
198 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync");
200 AtomicFile accountInfoFile = new AtomicFile(new File(syncDi
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceTestable.java38 import java.io.File;
53 private final File mLegacyFile;
54 private final File mDeviceOwnerFile;
55 private final File mProfileOwnerBase;
59 mLegacyFile = new File(context.dataDir, LEGACY_FILE);
60 mDeviceOwnerFile = new File(context.dataDir, DEVICE_OWNER_FILE);
61 mProfileOwnerBase = new File(context.dataDir, PROFILE_OWNER_FILE_BASE);
65 File getLegacyConfigFileWithTestOverride() {
70 File getDeviceOwnerFileWithTestOverride() {
75 File getProfileOwnerFileWithTestOverrid
[all...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java14 import java.io.File;
46 final File externalAndroidRoot = new File(Environment.getExternalStorageDirectory(),
72 File outFile = null;
80 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1));
/frameworks/base/services/core/java/com/android/server/
H A DDiskStatsService.java26 import java.io.File;
53 File tmp = new File(Environment.getDataDirectory(), "system/perftest.tmp");
81 reportFreeSpace(new File("/system"), "System", pw);
84 pw.println("File-based Encryption: true");
91 private void reportFreeSpace(File path, String name, PrintWriter pw) {
H A DSamplingProfilerService.java31 import java.io.File;
59 File[] snapshotFiles = new File(SNAPSHOT_DIR).listFiles();
71 handleSnapshotFile(new File(SNAPSHOT_DIR, path), dropbox);
79 private void handleSnapshotFile(File file, DropBoxManager dropbox) {
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/
H A DMemoryMappedFile_Delegate.java25 import java.io.File;
51 private static File sRootPath;
63 File f = new File(sRootPath, path);
65 throw new ErrnoException("File not found: " + f.getPath(), 1);
109 public static void setDataDir(File path) {

Completed in 916 milliseconds

1234567891011>>