/frameworks/base/tools/bit/ |
D | util.h | 26 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 …]
|
D | util.cpp | 26 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 …]
|
D | main.cpp | 751 map<string,FileInfo> systemFilesBefore; in run_phases() 798 map<string,FileInfo> systemFilesAfter; in run_phases()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetDir.h | 78 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 …]
|
D | AssetManager.h | 243 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/ |
D | FileInfo.java | 30 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()
|
D | FileServiceInfo.java | 35 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()
|
D | IDownloadStatusListener.aidl | 20 import android.telephony.mbms.FileInfo; 28 void onStatusUpdated(in DownloadRequest request, in FileInfo fileInfo, int status); in onStatusUpdated()
|
D | IDownloadProgressListener.aidl | 20 import android.telephony.mbms.FileInfo; 32 void onProgressUpdated(in DownloadRequest request, in FileInfo fileInfo, in onProgressUpdated()
|
D | FileInfo.aidl | 20 parcelable FileInfo;
|
D | DownloadProgressListener.java | 44 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onProgressUpdated()
|
D | DownloadStatusListener.java | 43 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onStatusUpdated()
|
D | InternalDownloadProgressListener.java | 39 public void onProgressUpdated(final DownloadRequest request, final FileInfo fileInfo, in onProgressUpdated()
|
D | InternalDownloadStatusListener.java | 39 public void onStatusUpdated(final DownloadRequest request, final FileInfo fileInfo, in onStatusUpdated()
|
D | MbmsDownloadReceiver.java | 266 FileInfo completedFileInfo = in moveDownloadedFile() 267 (FileInfo) intent.getParcelableExtra(MbmsDownloadSession.EXTRA_MBMS_FILE_INFO); in moveDownloadedFile()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 139 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/ |
D | AssetDir.cpp | 33 /*static*/ int AssetDir::FileInfo::findEntry(const SortedVector<FileInfo>* pVector, in findEntry() 36 FileInfo tmpInfo; in findEntry()
|
D | AssetManager.cpp | 971 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 …]
|
D | AssetManager2.cpp | 307 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/ |
D | StorageManager.h | 34 struct FileInfo { struct 35 FileInfo(std::string name, bool isHistory, int fileSize, long fileAge) in FileInfo() argument 144 static void sortFiles(vector<FileInfo>* fileNames);
|
D | StorageManager.cpp | 553 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/ |
D | IMbmsDownloadService.aidl | 22 import android.telephony.mbms.FileInfo; 58 int requestDownloadState(in DownloadRequest downloadRequest, in FileInfo fileInfo); in requestDownloadState()
|
D | MbmsDownloadServiceBase.java | 30 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/ |
D | StorageManager_test.cpp | 114 vector<StorageManager::FileInfo> list; in TEST()
|
/frameworks/base/telephony/java/android/telephony/ |
D | MbmsDownloadSession.java | 39 import android.telephony.mbms.FileInfo; 953 public void requestDownloadState(DownloadRequest downloadRequest, FileInfo fileInfo) { in requestDownloadState()
|