Home
last modified time | relevance | path

Searched refs:FileInfo (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/tools/bit/
Dutil.h26 struct FileInfo struct
33 FileInfo(); argument
34 FileInfo(const FileInfo& that);
35 explicit FileInfo(const string& filename);
36 ~FileInfo();
38 bool operator==(const FileInfo& that) const;
39 bool operator!=(const FileInfo& that) const;
48 FileInfo fileInfo;
63 void get_directory_contents(const string& dir, map<string,FileInfo>* results);
65 bool directory_contents_differ(const map<string,FileInfo>& before,
[all …]
Dutil.cpp26 FileInfo::FileInfo() in FileInfo() function in FileInfo
28 memset(this, 0, sizeof(FileInfo)); in FileInfo()
31 FileInfo::FileInfo(const FileInfo& that) in FileInfo() function in FileInfo
33 memcpy(this, &that, sizeof(FileInfo)); in FileInfo()
36 FileInfo::FileInfo(const string& filename) in FileInfo() function in FileInfo
41 memset(this, 0, sizeof(FileInfo)); in FileInfo()
51 FileInfo::operator==(const FileInfo& that) const in operator ==()
60 FileInfo::operator!=(const FileInfo& that) const in operator !=()
68 FileInfo::~FileInfo() in ~FileInfo()
97 FileInfo updated(filename); in HasChanged()
[all …]
Dmain.cpp751 map<string,FileInfo> systemFilesBefore; in run_phases()
798 map<string,FileInfo> systemFilesAfter; in run_phases()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetDir.h78 class FileInfo {
80 FileInfo(void) {} in FileInfo() function
81 explicit FileInfo(const String8& path) // useful for e.g. svect.indexOf in FileInfo() function
84 ~FileInfo(void) {} in ~FileInfo()
85 FileInfo(const FileInfo& src) { in FileInfo() function
88 const FileInfo& operator= (const FileInfo& src) {
94 void copyMembers(const FileInfo& src) { in copyMembers()
101 bool operator< (const FileInfo& rhs) const {
106 bool operator== (const FileInfo& rhs) const {
128 static int findEntry(const SortedVector<FileInfo>* pVector,
[all …]
DAssetManager.h243 bool scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
245 SortedVector<AssetDir::FileInfo>* scanDirLocked(const String8& path);
246 bool scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
248 void mergeInfoLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
249 const SortedVector<AssetDir::FileInfo>* pContents);
/frameworks/base/telephony/java/android/telephony/mbms/
DFileInfo.java30 public final class FileInfo implements Parcelable { class
36 public static final @android.annotation.NonNull Parcelable.Creator<FileInfo> CREATOR =
37 new Parcelable.Creator<FileInfo>() {
39 public FileInfo createFromParcel(Parcel source) {
40 return new FileInfo(source);
44 public FileInfo[] newArray(int size) {
45 return new FileInfo[size];
54 public FileInfo(Uri uri, String mimeType) { in FileInfo() method in FileInfo
59 private FileInfo(Parcel in) { in FileInfo() method in FileInfo
99 FileInfo fileInfo = (FileInfo) o; in equals()
DFileServiceInfo.java35 private final List<FileInfo> files;
42 List<FileInfo> newFiles) { in FileServiceInfo()
62 files = new ArrayList<FileInfo>(); in FileServiceInfo()
63 in.readList(files, FileInfo.class.getClassLoader()); in FileServiceInfo()
82 public List<FileInfo> getFiles() { in getFiles()
DIDownloadStatusListener.aidl20 import android.telephony.mbms.FileInfo;
28 void onStatusUpdated(in DownloadRequest request, in FileInfo fileInfo, int status); in onStatusUpdated()
DIDownloadProgressListener.aidl20 import android.telephony.mbms.FileInfo;
32 void onProgressUpdated(in DownloadRequest request, in FileInfo fileInfo, in onProgressUpdated()
DFileInfo.aidl20 parcelable FileInfo;
DDownloadProgressListener.java44 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onProgressUpdated()
DDownloadStatusListener.java43 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onStatusUpdated()
DInternalDownloadProgressListener.java39 public void onProgressUpdated(final DownloadRequest request, final FileInfo fileInfo, in onProgressUpdated()
DInternalDownloadStatusListener.java39 public void onStatusUpdated(final DownloadRequest request, final FileInfo fileInfo, in onStatusUpdated()
DMbmsDownloadReceiver.java266 FileInfo completedFileInfo = in moveDownloadedFile()
267 (FileInfo) intent.getParcelableExtra(MbmsDownloadSession.EXTRA_MBMS_FILE_INFO); in moveDownloadedFile()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java139 final FileInfo info = new FileInfo(mPrefix); in deleteAll()
154 final FileInfo info = new FileInfo(mPrefix); in dumpAll()
218 final FileInfo info = new FileInfo(mPrefix); in rewriteAll()
287 final FileInfo info = new FileInfo(mPrefix); in readMatching()
308 final FileInfo info = new FileInfo(mPrefix); in getActiveName()
338 final FileInfo info = new FileInfo(mPrefix); in maybeRotate()
402 private static class FileInfo { class in FileRotator
408 public FileInfo(String prefix) { in FileInfo() method in FileRotator.FileInfo
/frameworks/base/libs/androidfw/
DAssetDir.cpp33 /*static*/ int AssetDir::FileInfo::findEntry(const SortedVector<FileInfo>* pVector, in findEntry()
36 FileInfo tmpInfo; in findEntry()
DAssetManager.cpp971 SortedVector<AssetDir::FileInfo>* pMergedInfo = NULL; in openDir()
989 pMergedInfo = new SortedVector<AssetDir::FileInfo>; in openDir()
1029 SortedVector<AssetDir::FileInfo>* pMergedInfo = NULL; in openNonAssetDir()
1038 pMergedInfo = new SortedVector<AssetDir::FileInfo>; in openNonAssetDir()
1073 bool AssetManager::scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, in scanAndMergeDirLocked()
1084 SortedVector<AssetDir::FileInfo>* pContents = scanDirLocked(path); in scanAndMergeDirLocked()
1111 matchIdx = AssetDir::FileInfo::findEntry(pMergedInfo, match); in scanAndMergeDirLocked()
1146 SortedVector<AssetDir::FileInfo>* AssetManager::scanDirLocked(const String8& path) in scanDirLocked()
1148 SortedVector<AssetDir::FileInfo>* pContents = NULL; in scanDirLocked()
1159 pContents = new SortedVector<AssetDir::FileInfo>; in scanDirLocked()
[all …]
DAssetManager2.cpp307 std::unique_ptr<SortedVector<AssetDir::FileInfo>> files = in OpenDir()
308 util::make_unique<SortedVector<AssetDir::FileInfo>>(); in OpenDir()
318 AssetDir::FileInfo info; in OpenDir()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.h34 struct FileInfo { struct
35 FileInfo(std::string name, bool isHistory, int fileSize, long fileAge) in FileInfo() argument
144 static void sortFiles(vector<FileInfo>* fileNames);
DStorageManager.cpp553 void StorageManager::sortFiles(vector<FileInfo>* fileNames) { in sortFiles()
557 sort(fileNames->begin(), fileNames->end(), [](FileInfo& lhs, FileInfo& rhs) { in sortFiles()
585 vector<FileInfo> fileNames; in trimToFit()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DIMbmsDownloadService.aidl22 import android.telephony.mbms.FileInfo;
58 int requestDownloadState(in DownloadRequest downloadRequest, in FileInfo fileInfo); in requestDownloadState()
DMbmsDownloadServiceBase.java30 import android.telephony.mbms.FileInfo;
63 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onStatusUpdated()
83 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onProgressUpdated()
527 public int requestDownloadState(DownloadRequest downloadRequest, FileInfo fileInfo) in requestDownloadState()
/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp114 vector<StorageManager::FileInfo> list; in TEST()
/frameworks/base/telephony/java/android/telephony/
DMbmsDownloadSession.java39 import android.telephony.mbms.FileInfo;
953 public void requestDownloadState(DownloadRequest downloadRequest, FileInfo fileInfo) { in requestDownloadState()

12