/frameworks/base/core/tests/coretests/apks/keyset/ |
D | Android.mk | 5 LOCAL_SRC_FILES := $(call all-subdir-java-files) 12 LOCAL_SRC_FILES := $(call all-subdir-java-files) 19 LOCAL_SRC_FILES := $(call all-subdir-java-files) 26 LOCAL_SRC_FILES := $(call all-subdir-java-files) 33 LOCAL_SRC_FILES := $(call all-subdir-java-files) 40 LOCAL_SRC_FILES := $(call all-subdir-java-files) 47 LOCAL_SRC_FILES := $(call all-subdir-java-files) 55 LOCAL_SRC_FILES := $(call all-subdir-java-files) 62 LOCAL_SRC_FILES := $(call all-subdir-java-files) 69 LOCAL_SRC_FILES := $(call all-subdir-java-files) [all …]
|
/frameworks/support/v4/ |
D | Android.mk | 21 LOCAL_SRC_FILES := $(call all-java-files-under, donut) 35 LOCAL_SRC_FILES := $(call all-java-files-under, eclair) 48 LOCAL_SRC_FILES := $(call all-java-files-under, eclair-mr1) 61 LOCAL_SRC_FILES := $(call all-java-files-under, froyo) 74 LOCAL_SRC_FILES := $(call all-java-files-under, gingerbread) 87 LOCAL_SRC_FILES := $(call all-java-files-under, honeycomb) 100 LOCAL_SRC_FILES := $(call all-java-files-under, honeycomb_mr1) 113 LOCAL_SRC_FILES := $(call all-java-files-under, honeycomb_mr2) 126 LOCAL_SRC_FILES := $(call all-java-files-under, ics) 139 LOCAL_SRC_FILES := $(call all-java-files-under, ics-mr1) [all …]
|
/frameworks/base/tests/backup/ |
D | test_restore.sh | 52 echo --- Previous files 58 echo --- Erased files and shared_prefs 82 check_file files/file.txt "first file" || need_bug=1 83 check_file files/another_file.txt "asdf" || need_bug=1 85 check_file files/empty.txt "" || need_bug=1 89 check_exists files/file_doesnt_exist.txt && need_bug=1 90 check_exists files/no_files_here.txt && need_bug=1 100 echo --- Restored files 108 a shell cat /data/data/com.android.backuptest/files/3.txt | tail -n 3
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 96 for (TimeSparseArray<AtomicFile> files : mSortedStatFiles) { in init() 97 final int startIndex = files.closestIndexOnOrAfter(currentTimeMillis); in init() 102 final int fileCount = files.size(); in init() 104 files.valueAt(i).delete(); in init() 110 files.removeAt(i); in init() 131 final TimeSparseArray<AtomicFile> files = in checkinDailyFiles() local 133 final int fileCount = files.size(); in checkinDailyFiles() 139 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles() 152 UsageStatsXml.read(files.valueAt(i), stats); in checkinDailyFiles() 165 final AtomicFile file = files.valueAt(i); in checkinDailyFiles() [all …]
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDexExtractor.java | 89 List<File> files; in load() local 92 files = loadExistingExtractions(context, sourceApk, dexDir); in load() 96 files = performExtractions(sourceApk, dexDir); in load() 97 putStoredApkInfo(context, getTimeStamp(sourceApk), currentCrc, files.size() + 1); in load() 102 files = performExtractions(sourceApk, dexDir); in load() 103 putStoredApkInfo(context, getTimeStamp(sourceApk), currentCrc, files.size() + 1); in load() 106 Log.i(TAG, "load found " + files.size() + " secondary dex files"); in load() 107 return files; in load() 116 final List<File> files = new ArrayList<File>(totalDexNumber); in loadExistingExtractions() local 122 files.add(extractedFile); in loadExistingExtractions() [all …]
|
D | MultiDex.java | 160 List<File> files = MultiDexExtractor.load(context, applicationInfo, dexDir, false); in install() local 161 if (checkValidZipFiles(files)) { in install() 162 installSecondaryDexes(loader, dexDir, files); in install() 166 files = MultiDexExtractor.load(context, applicationInfo, dexDir, true); in install() 168 if (checkValidZipFiles(files)) { in install() 169 installSecondaryDexes(loader, dexDir, files); in install() 238 private static void installSecondaryDexes(ClassLoader loader, File dexDir, List<File> files) in installSecondaryDexes() argument 241 if (!files.isEmpty()) { in installSecondaryDexes() 243 V19.install(loader, files, dexDir); in installSecondaryDexes() 245 V14.install(loader, files, dexDir); in installSecondaryDexes() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelperBase.java | 54 ParcelFileDescriptor newState, String[] files, String[] keys) { in performBackup_checked() argument 55 if (files.length == 0) { in performBackup_checked() 59 for (String f: files) { in performBackup_checked() 65 if (files.length != keys.length) { in performBackup_checked() 66 throw new RuntimeException("files.length=" + files.length in performBackup_checked() 76 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, keys); in performBackup_checked() 122 long data, FileDescriptor newState, String[] files, String[] keys); in performBackup_native() argument
|
D | FileBackupHelper.java | 53 public FileBackupHelper(Context context, String... files) { in FileBackupHelper() argument 58 mFiles = files; in FileBackupHelper() 76 String[] files = mFiles; in performBackup() local 78 final int N = files.length; in performBackup() 81 fullPaths[i] = (new File(base, files[i])).getAbsolutePath(); in performBackup() 85 performBackup_checked(oldState, data, newState, fullPaths, files); in performBackup()
|
/frameworks/support/ |
D | Android.mk | 35 define find-files-in-subdirs-exclude 49 define all-named-files-under-exclude 50 $(call find-files-in-subdirs-exclude,$(LOCAL_PATH),"$(1)","$(2)",$(3)) 59 define all-subdir-named-files-exclude 60 $(call all-named-files-under-exclude,$(1),$(2),.) 65 aidl_files := $(addprefix $(LOCAL_PATH)/, $(call all-subdir-named-files-exclude,*.aidl,I*.aidl))
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 340 File[] files = mBaseDir.listFiles(); in getCommittedFiles() local 341 if (files == null || files.length <= minNum) { in getCommittedFiles() 344 ArrayList<String> filesArray = new ArrayList<String>(files.length); in getCommittedFiles() 346 if (DEBUG) Slog.d(TAG, "Collecting " + files.length + " files except: " + currentFile); in getCommittedFiles() 347 for (int i=0; i<files.length; i++) { in getCommittedFiles() 348 File file = files[i]; in getCommittedFiles() 447 ArrayList<String> files = getCommittedFiles(0, false, true); 448 if (files != null) { 449 for (int i=files.size()-1; i>=0; i--) { 452 new File(files.get(i)), ParcelFileDescriptor.MODE_READ_ONLY); [all …]
|
/frameworks/base/docs/html/training/basics/data-storage/ |
D | files.jd | 36 how to work with the Android file system to read and write files with the {@link java.io.File} 40 start-to-finish order without skipping around. For example, it's good for image files or 63 <li>When the user uninstalls your app, the system removes all your app's files from 67 access your files.</p> 76 files saved here may be read outside of your control.</li> 77 <li>When the user uninstalls your app, the system removes your app's files from here 82 place for files that don't require access restrictions and for files that you want to share 87 <strong>Note:</strong> Before Android N, internal files could be made accessible to other 133 <p>You don’t need any permissions to save files on the internal 135 write files in its internal storage directory.</p> [all …]
|
/frameworks/opt/photoviewer/ |
D | Android.mk | 32 $(call all-java-files-under, src) \ 33 $(call all-java-files-under, appcompat/src) \ 34 $(call all-logtags-files-under, src) 53 $(call all-java-files-under, src) \ 54 $(call all-java-files-under, activity/src) \ 55 $(call all-logtags-files-under, src)
|
/frameworks/support/v17/leanback/ |
D | Android.mk | 25 LOCAL_SRC_FILES := $(call all-java-files-under, dummy) 40 LOCAL_SRC_FILES := $(call all-java-files-under, common) 52 LOCAL_SRC_FILES := $(call all-java-files-under, api23) 65 LOCAL_SRC_FILES := $(call all-java-files-under, api21) 78 LOCAL_SRC_FILES := $(call all-java-files-under, kitkat) 91 LOCAL_SRC_FILES := $(call all-java-files-under, jbmr2) 114 LOCAL_SRC_FILES := $(call all-java-files-under, src) 136 $(call all-java-files-under, src) \ 137 $(call all-html-files-under, src)
|
/frameworks/base/docs/html/google/play/ |
D | expansion-files.jd | 2 page.metaDescription=If your app needs more than the 100MB APK max, use free APK expansion files fr… 13 <li>Google Play hosts and serves the expansion files at no charge</li> 14 <li>The files can be any file type you want and are saved to the device's shared storage</li> 68 However, some apps need more space for high-fidelity graphics, media files, or other large assets. 70 yourself when the user opens the app. Hosting and serving the extra files can be costly, and the 72 for users, Google Play allows you to attach two large expansion files that supplement your 75 <p>Google Play hosts the expansion files for your application and serves them to the device at 76 no cost to you. The expansion files are saved to the device's shared storage location (the 80 first time. In some cases, however, your application must download the files from Google Play 88 add one or two expansion files to the APK. Each file can be up to 2GB and it can be any format you [all …]
|
/frameworks/base/core/tests/coretests/apks/version/ |
D | Android.mk | 4 LOCAL_SRC_FILES := $(call all-subdir-java-files) 11 LOCAL_SRC_FILES := $(call all-subdir-java-files) 18 LOCAL_SRC_FILES := $(call all-subdir-java-files) 25 LOCAL_SRC_FILES := $(call all-subdir-java-files) 32 LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | MainActivity.java | 192 File[] files = dir.listFiles(); in findJpeg() local 193 if (files == null) return null; in findJpeg() 194 for (int i = 0; i < files.length; i++) { in findJpeg() 195 if (files[i].isDirectory() && !files[i].getName().startsWith(".")) { in findJpeg() 196 File ret = findJpeg(files[i]); in findJpeg() 203 if (files[i].getName().toLowerCase().endsWith(".jpg")) { in findJpeg() 204 Log.v(TAG, "returning " + files[i].getAbsolutePath()); in findJpeg() 205 return files[i]; in findJpeg()
|
/frameworks/support/design/ |
D | Android.mk | 30 LOCAL_SRC_FILES := $(call all-java-files-under, dummy) 45 LOCAL_SRC_FILES := $(call all-java-files-under, base) 60 LOCAL_SRC_FILES := $(call all-java-files-under, eclair-mr1) 76 LOCAL_SRC_FILES := $(call all-java-files-under, honeycomb) 92 LOCAL_SRC_FILES := $(call all-java-files-under, honeycomb-mr1) 108 LOCAL_SRC_FILES := $(call all-java-files-under, ics) 124 LOCAL_SRC_FILES := $(call all-java-files-under, lollipop) 150 LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
/frameworks/support/v13/ |
D | Android.mk | 24 LOCAL_SRC_FILES := $(call all-java-files-under, ics) 32 LOCAL_SRC_FILES := $(call all-java-files-under, ics-mr1) 41 LOCAL_SRC_FILES := $(call all-java-files-under, api23) 50 LOCAL_SRC_FILES := $(call all-java-files-under, api24) 60 LOCAL_SRC_FILES := $(call all-java-files-under, java)
|
/frameworks/support/v4/java/android/support/v4/provider/ |
D | RawDocumentFile.java | 125 final File[] files = mFile.listFiles(); in listFiles() local 126 if (files != null) { in listFiles() 127 for (File file : files) { in listFiles() 159 File[] files = dir.listFiles(); in deleteContents() local 161 if (files != null) { in deleteContents() 162 for (File file : files) { in deleteContents()
|
/frameworks/support/v7/cardview/ |
D | Android.mk | 25 LOCAL_SRC_FILES := $(call all-java-files-under, dummy) 38 LOCAL_SRC_FILES := $(call all-java-files-under, base) 49 LOCAL_SRC_FILES := $(call all-java-files-under, eclair-mr1) 62 LOCAL_SRC_FILES := $(call all-java-files-under, jellybean-mr1) 75 LOCAL_SRC_FILES := $(call all-java-files-under, api21) 95 LOCAL_SRC_FILES := $(call all-java-files-under,src)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimPhoneBookManager.java | 197 SparseArray<File> files; in readEmailFileAndWait() local 198 files = mPbrRecords.get(recId).mFileIds; in readEmailFileAndWait() 199 if (files == null) return; in readEmailFileAndWait() 201 File email = files.get(USIM_EFEMAIL_TAG); in readEmailFileAndWait() 211 if (files.get(USIM_EFIAP_TAG) == null) { in readEmailFileAndWait() 217 readIapFileAndWait(files.get(USIM_EFIAP_TAG).getEfid()); in readEmailFileAndWait() 462 SparseArray<File> files; in readAdnFileAndWait() local 463 files = mPbrRecords.get(recId).mFileIds; in readAdnFileAndWait() 464 if (files == null || files.size() == 0) return; in readAdnFileAndWait() 468 if (files.get(USIM_EFEXT1_TAG) != null) { in readAdnFileAndWait() [all …]
|
/frameworks/base/docs/html/training/secure-file-sharing/ |
D | setup-sharing.jd | 19 <li><a href="{@docRoot}training/basics/data-storage/files.html">Saving Files</a> 29 files, based on specifications you provide in XML. This lesson shows you how to add the default 31 specify the files you want to offer to other apps. 97 you need to specify the directories that contain the files you want to share. To specify the 102 of the <code>files/</code> directory in your internal storage area: 106 <files-path path="images/" name="myimages" /> 109 In this example, the <code><files-path></code> tag shares directories within the 110 <code>files/</code> directory of your app's internal storage. The <code>path</code> attribute 111 shares the <code>images/</code> subdirectory of <code>files/</code>. The <code>name</code> 113 <code>myimages</code> to content URIs for files in the <code>files/images/</code> subdirectory. [all …]
|
/frameworks/support/v7/mediarouter/ |
D | Android.mk | 24 LOCAL_SRC_FILES := $(call all-java-files-under, dummy) 37 LOCAL_SRC_FILES := $(call all-java-files-under, jellybean) 47 LOCAL_SRC_FILES := $(call all-java-files-under, jellybean-mr1) 58 LOCAL_SRC_FILES := $(call all-java-files-under, jellybean-mr2) 69 LOCAL_SRC_FILES := $(call all-java-files-under, api24) 91 LOCAL_SRC_FILES := $(call all-java-files-under,src)
|
/frameworks/opt/setupwizard/tools/gradle/ |
D | docs.gradle | 20 classpath = files(variant.javaCompile.classpath.files) + files( 27 bootClasspath = files(android.getBootClasspath()).asType(List) 29 docletpath = files("$DOCSDIR/doclava.jar", "$DOCSDIR/jsilver.jar").asType(List)
|
/frameworks/opt/photoviewer/sample/ |
D | Android.mk | 32 LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) \ 33 $(call all-logtags-files-under, $(src_dirs)) 56 LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) \ 57 $(call all-logtags-files-under, $(src_dirs))
|