Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/os/
H A DFileObserver.java134 for (int wfd : wfds) { in startWatching()
135 if (wfd >= 0) { in startWatching()
136 mRealObservers.put(wfd, fileObserverWeakReference); in startWatching()
149 public void onEvent(int wfd, @NotifyEventType int mask, String path) { in onEvent() argument
154 WeakReference weak = mRealObservers.get(wfd); in onEvent()
158 mRealObservers.remove(wfd); in onEvent()
/aosp12/bootable/recovery/uncrypt/
H A Duncrypt.cpp145 static int write_at_offset(unsigned char* buffer, size_t size, int wfd, off64_t offset) { in write_at_offset() argument
146 if (TEMP_FAILURE_RETRY(lseek64(wfd, offset, SEEK_SET)) == -1) { in write_at_offset()
150 if (!android::base::WriteFully(wfd, buffer, size)) { in write_at_offset()
297 android::base::unique_fd wfd; in ProductBlockMap() local
299 wfd.reset(open(blk_dev.c_str(), O_WRONLY)); in ProductBlockMap()
300 if (wfd == -1) { in ProductBlockMap()
360 if (write_at_offset(buffers[head].data(), sb.st_blksize, wfd, in ProductBlockMap()
405 if (write_at_offset(buffers[head].data(), sb.st_blksize, wfd, in ProductBlockMap()
437 if (fsync(wfd) == -1) { in ProductBlockMap()
441 if (close(wfd.release()) == -1) { in ProductBlockMap()
/aosp12/hardware/qcom/wlan/qcwcn/wcnss-service/
H A Dwcnss_service.c273 int wfd; in setup_wlan_config_file() local
300 wfd = open(WLAN_INI_FILE_DEST, O_WRONLY | O_CREAT | O_TRUNC, 0660); in setup_wlan_config_file()
301 if (wfd < 0) { in setup_wlan_config_file()
307 rc = sendfile(wfd, rfd, 0, st_src.st_size); in setup_wlan_config_file()
333 close(wfd); in setup_wlan_config_file()
/aosp12/hardware/interfaces/usb/gadget/1.1/default/lib/
H A DMonitorFfs.cpp242 int wfd; in addInotifyFd() local
244 wfd = inotify_add_watch(mInotifyFd, fd.c_str(), IN_ALL_EVENTS); in addInotifyFd()
245 if (wfd == -1) in addInotifyFd()
248 mWatchFd.push_back(wfd); in addInotifyFd()
/aosp12/hardware/interfaces/usb/gadget/1.2/default/lib/
H A DMonitorFfs.cpp242 int wfd; in addInotifyFd() local
244 wfd = inotify_add_watch(mInotifyFd, fd.c_str(), IN_ALL_EVENTS); in addInotifyFd()
245 if (wfd == -1) in addInotifyFd()
248 mWatchFd.push_back(wfd); in addInotifyFd()
/aosp12/hardware/google/pixel/usb/
H A DMonitorFfs.cpp268 int wfd; in addInotifyFd() local
270 wfd = inotify_add_watch(mInotifyFd, fd.c_str(), IN_ALL_EVENTS); in addInotifyFd()
271 if (wfd == -1) in addInotifyFd()
274 mWatchFd.push_back(wfd); in addInotifyFd()
/aosp12/system/incremental_delivery/incfs/tests/
H A Dincfs_test.cpp53 auto wfd = openForSpecialOps(control_, fileId(id)); in writeTestRanges() local
54 ASSERT_GE(wfd.get(), 0); in writeTestRanges()
60 .fileFd = wfd.get(), in writeTestRanges()
67 .fileFd = wfd.get(), in writeTestRanges()
74 .fileFd = wfd.get(), in writeTestRanges()
81 .fileFd = wfd.get(), in writeTestRanges()
89 .fileFd = wfd.get(), in writeTestRanges()
98 .fileFd = wfd.get(), in writeTestRanges()
1265 auto wfd = openForSpecialOps(control_, id); in TEST_F() local
1266 ASSERT_GE(wfd.get(), 0); in TEST_F()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wfd/
H A DWifiDisplaySettingsTest.java17 package com.android.settings.wfd;
H A DWifiDisplayPreferenceControllerTest.java17 package com.android.settings.wfd;
/aosp12/packages/apps/Settings/src/com/android/settings/wfd/
H A DWifiDisplayPreferenceController.java17 package com.android.settings.wfd;
H A DWifiDisplaySettings.java17 package com.android.settings.wfd;
/aosp12/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp2725 ::android::base::unique_fd wfd(open(filePath.c_str(), O_WRONLY)); in installApkVerity()
2726 if (wfd.get() < 0) { in installApkVerity()
2730 if (fstat(wfd.get(), &st) < 0) { in installApkVerity()
2738 if (lseek(wfd.get(), st.st_size + padding, SEEK_SET) < 0) { in installApkVerity()
2770 int ret = TEMP_FAILURE_RETRY(write(wfd.get(), cursor, remaining)); in installApkVerity()
2778 wfd.reset(); in installApkVerity()
/aosp12/bootable/recovery/updater/
H A Dblockimg.cpp147 android::base::unique_fd wfd( in UpdateLastCommandIndex() local
149 if (wfd == -1 || !android::base::WriteStringToFd(content, wfd)) { in UpdateLastCommandIndex()
154 if (fsync(wfd) == -1) { in UpdateLastCommandIndex()
/aosp12/packages/apps/Settings/src/com/android/settings/core/gateway/
H A DSettingsGateway.java159 import com.android.settings.wfd.WifiDisplaySettings;
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DSettingsActivity.java71 import com.android.settings.wfd.WifiDisplaySettings;
/aosp12/frameworks/base/native/graphics/jni/fuzz/corpus/
H A Dsample_raf.raf34152 682�`ڣd,f:N�_�b!�8Gfbݣe>&9xFe��c0f:wfd�3eS:1Vf��e'F9[Vc�Cfm�:7e��a$�6]&b�Cb�3�/OD�U�(�E1…