/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | AppFuseTest.java | 53 public long getFileSize(int inode) throws FileNotFoundException { in testOpenFile() 54 if (INODE == inode) { in testOpenFile() 99 public long getFileSize(int inode) throws FileNotFoundException { in testReadFile() 100 if (inode == fileInode) { in testReadFile() 103 return super.getFileSize(inode); in testReadFile() 107 public long readObjectBytes(int inode, long offset, long size, byte[] bytes) in testReadFile() 109 if (inode == fileInode) { in testReadFile() 117 return super.readObjectBytes(inode, offset, size, bytes); in testReadFile() 140 public long getFileSize(int inode) throws FileNotFoundException { in testWriteFile() 141 if (inode != INODE) { in testWriteFile() [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | AppFuse.java | 119 long getFileSize(int inode) throws FileNotFoundException; in getFileSize() argument 130 long readObjectBytes(int inode, long offset, long size, byte[] bytes) throws IOException; in readObjectBytes() argument 142 int writeObjectBytes(long fileHandle, int inode, long offset, int size, byte[] bytes) in writeObjectBytes() argument 163 private long getFileSize(int inode) { in getFileSize() argument 165 return mCallback.getFileSize(inode); in getFileSize() 173 private long readObjectBytes(int inode, long offset, long size) { in readObjectBytes() argument 180 return mCallback.readObjectBytes(inode, offset, size, mBuffer); in readObjectBytes() 189 int inode, in writeObjectBytes() argument 194 return mCallback.writeObjectBytes(fileHandler, inode, offset, size, bytes); in writeObjectBytes()
|
D | MtpDocumentsProvider.java | 657 public long getFileSize(int inode) throws FileNotFoundException { in getFileSize() argument 658 return MtpDocumentsProvider.this.getFileSize(String.valueOf(inode)); in getFileSize() 663 int inode, long offset, long size, byte[] buffer) throws IOException { in readObjectBytes() argument 664 final Identifier identifier = mDatabase.createIdentifier(Integer.toString(inode)); in readObjectBytes() 684 long fileHandle, int inode, long offset, int size, byte[] bytes) in writeObjectBytes() argument 690 writer = new MtpFileWriter(mContext, String.valueOf(inode)); in writeObjectBytes()
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 787 int get_path_inode(const std::string& path, ino_t *inode) { in get_path_inode() argument 794 *inode = buf.st_ino; in get_path_inode() 805 ino_t inode = 0; in write_path_inode() local 809 if (get_path_inode(path, &inode) != 0) { in write_path_inode() 816 if (inode_raw == inode) { in write_path_inode() 820 PLOG(WARNING) << "Mismatched inode value; found " << inode in write_path_inode() 825 inode_raw = inode; in write_path_inode() 840 ino_t inode = 0; in read_path_inode() local 846 inode = inode_raw; in read_path_inode() 851 if (inode != 0) { in read_path_inode() [all …]
|
D | commands.h | 49 int get_app_data_inode(const char *uuid, const char *pkgname, int userid, int flags, ino_t *inode);
|
D | installd.cpp | 346 ino_t inode = 0; in do_get_app_data_inode() local 350 res = get_app_data_inode(parse_null(arg[0]), arg[1], atoi(arg[2]), atoi(arg[3]), &inode); in do_get_app_data_inode() 352 snprintf(reply, REPLY_MAX, "%" PRId64, (int64_t) inode); in do_get_app_data_inode()
|
D | utils.h | 124 int get_path_inode(const std::string& path, ino_t *inode);
|
D | commands.cpp | 709 int get_app_data_inode(const char *uuid, const char *pkgname, int userid, int flags, ino_t *inode) { in get_app_data_inode() argument 712 return get_path_inode(path, inode); in get_app_data_inode()
|
/frameworks/base/packages/MtpDocumentsProvider/jni/ |
D | com_android_mtp_AppFuse.cpp | 354 int64_t get_file_size(int inode) { in get_file_size() argument 358 static_cast<int>(inode))); in get_file_size() 362 int inode, in get_object_bytes() argument 369 static_cast<jint>(inode), in get_object_bytes() 388 int write_object_bytes(uint64_t handle, int inode, uint64_t offset, uint32_t size, in write_object_bytes() argument 406 inode, in write_object_bytes()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | PasspointManagementObjectManager.java | 475 OMAConstructed inode = in buildHomeSPTree() local 478 inode.addChild(TAG_SSID, null, entry.getKey(), null); in buildHomeSPTree() 480 inode.addChild(TAG_HESSID, null, in buildHomeSPTree() 500 OMAConstructed inode = in buildHomeSPTree() local 503 inode.addChild(TAG_HomeOI, null, String.format("%x", oi), null); in buildHomeSPTree() 504 inode.addChild(TAG_HomeOIRequired, null, "TRUE", null); in buildHomeSPTree() 507 OMAConstructed inode = in buildHomeSPTree() local 510 inode.addChild(TAG_HomeOI, null, String.format("%x", oi), null); in buildHomeSPTree() 511 inode.addChild(TAG_HomeOIRequired, null, "FALSE", null); in buildHomeSPTree() 520 OMAConstructed inode = in buildHomeSPTree() local [all …]
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | MOManager.java | 516 OMAConstructed inode = in buildHomeSPTree() local 519 inode.addChild(TAG_SSID, null, entry.getKey(), null); in buildHomeSPTree() 521 inode.addChild(TAG_HESSID, null, in buildHomeSPTree() 541 OMAConstructed inode = in buildHomeSPTree() local 544 inode.addChild(TAG_HomeOI, null, String.format("%x", oi), null); in buildHomeSPTree() 545 inode.addChild(TAG_HomeOIRequired, null, "TRUE", null); in buildHomeSPTree() 548 OMAConstructed inode = in buildHomeSPTree() local 551 inode.addChild(TAG_HomeOI, null, String.format("%x", oi), null); in buildHomeSPTree() 552 inode.addChild(TAG_HomeOIRequired, null, "FALSE", null); in buildHomeSPTree() 561 OMAConstructed inode = in buildHomeSPTree() local [all …]
|