Home
last modified time | relevance | path

Searched refs:inode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_os_FuseAppLoop.cpp55 void OnLookup(uint64_t unique, uint64_t inode) override { in OnLookup() argument
56 CallOnCommand(FUSE_LOOKUP, unique, inode, 0, 0, nullptr); in OnLookup()
59 void OnGetAttr(uint64_t unique, uint64_t inode) override { in OnGetAttr() argument
60 CallOnCommand(FUSE_GETATTR, unique, inode, 0, 0, nullptr); in OnGetAttr()
63 void OnOpen(uint64_t unique, uint64_t inode) override { in OnOpen() argument
65 mSelf, gOnOpenMethod, unique, inode)); in OnOpen()
71 mBuffers.insert(std::make_pair(inode, std::unique_ptr<LocalBytes>( in OnOpen()
75 void OnFsync(uint64_t unique, uint64_t inode) override { in OnFsync() argument
76 CallOnCommand(FUSE_FSYNC, unique, inode, 0, 0, nullptr); in OnFsync()
79 void OnRelease(uint64_t unique, uint64_t inode) override { in OnRelease() argument
[all …]
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java147 final long inode = args.inode;
159 native_replyLookup(mInstance, unique, inode, fileSize);
169 native_replyGetAttr(mInstance, unique, inode, fileSize);
229 private void onCommand(int command, long unique, long inode, long offset, int size,
240 args.inode = inode;
244 args.entry = getCallbackEntryOrThrowLocked(inode);
257 private byte[] onOpen(long unique, long inode) {
260 final CallbackEntry entry = getCallbackEntryOrThrowLocked(inode);
265 native_replyOpen(mInstance, unique, /* fh */ inode);
286 private CallbackEntry getCallbackEntryOrThrowLocked(long inode) throws ErrnoException {
[all …]
/frameworks/native/cmds/installd/
Dutils.cpp666 int get_path_inode(const std::string& path, ino_t *inode) { in get_path_inode() argument
673 *inode = buf.st_ino; in get_path_inode()
684 ino_t inode = 0; in write_path_inode() local
688 if (get_path_inode(path, &inode) != 0) { in write_path_inode()
695 if (inode_raw == inode) { in write_path_inode()
699 PLOG(WARNING) << "Mismatched inode value; found " << inode in write_path_inode()
704 inode_raw = inode; in write_path_inode()
719 ino_t inode = 0; in read_path_inode() local
725 inode = inode_raw; in read_path_inode()
730 if (inode != 0) { in read_path_inode()
[all …]
Dutils.h121 int get_path_inode(const std::string& path, ino_t *inode);
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DMOManager.java561 OMAConstructed inode = in buildHomeSPTree() local
564 inode.addChild(TAG_SSID, null, entry.getKey(), null); in buildHomeSPTree()
566 inode.addChild(TAG_HESSID, null, in buildHomeSPTree()
586 OMAConstructed inode = in buildHomeSPTree() local
589 inode.addChild(TAG_HomeOI, null, String.format("%x", oi), null); in buildHomeSPTree()
590 inode.addChild(TAG_HomeOIRequired, null, "TRUE", null); in buildHomeSPTree()
593 OMAConstructed inode = in buildHomeSPTree() local
596 inode.addChild(TAG_HomeOI, null, String.format("%x", oi), null); in buildHomeSPTree()
597 inode.addChild(TAG_HomeOIRequired, null, "FALSE", null); in buildHomeSPTree()
606 OMAConstructed inode = in buildHomeSPTree() local
[all …]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java744 MtpProxyFileDescriptorCallback(int inode) { in MtpProxyFileDescriptorCallback() argument
745 mInode = inode; in MtpProxyFileDescriptorCallback()