Home
last modified time | relevance | path

Searched refs:wfd (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
DFileObserver.java131 for (int wfd : wfds) { in startWatching()
132 if (wfd >= 0) { in startWatching()
133 m_observers.put(wfd, fileObserverWeakReference); in startWatching()
146 public void onEvent(int wfd, @NotifyEventType int mask, String path) { in onEvent() argument
151 WeakReference weak = m_observers.get(wfd); in onEvent()
155 m_observers.remove(wfd); in onEvent()
/frameworks/base/tools/preload2/src/com/android/preload/
DDeviceUtils.java102 WaitForDevice wfd = new WaitForDevice(serial, timeout); in findDevice() local
103 return wfd.get(); in findDevice()
110 WaitForDevice wfd = new WaitForDevice(null, timeout); in findDevices() local
111 wfd.get(); in findDevices()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp2621 ::android::base::unique_fd wfd(open(filePath.c_str(), O_WRONLY)); in installApkVerity()
2622 if (wfd.get() < 0) { in installApkVerity()
2626 if (fstat(wfd.get(), &st) < 0) { in installApkVerity()
2634 if (lseek(wfd.get(), st.st_size + padding, SEEK_SET) < 0) { in installApkVerity()
2666 int ret = TEMP_FAILURE_RETRY(write(wfd.get(), cursor, remaining)); in installApkVerity()
2674 wfd.reset(); in installApkVerity()