/aosp12/frameworks/base/core/java/android/os/ |
H A D | FileObserver.java | 134 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 D | uncrypt.cpp | 145 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 D | wcnss_service.c | 273 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 D | MonitorFfs.cpp | 242 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 D | MonitorFfs.cpp | 242 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 D | MonitorFfs.cpp | 268 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 D | incfs_test.cpp | 53 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 D | WifiDisplaySettingsTest.java | 17 package com.android.settings.wfd;
|
H A D | WifiDisplayPreferenceControllerTest.java | 17 package com.android.settings.wfd;
|
/aosp12/packages/apps/Settings/src/com/android/settings/wfd/ |
H A D | WifiDisplayPreferenceController.java | 17 package com.android.settings.wfd;
|
H A D | WifiDisplaySettings.java | 17 package com.android.settings.wfd;
|
/aosp12/frameworks/native/cmds/installd/ |
H A D | InstalldNativeService.cpp | 2725 ::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 D | blockimg.cpp | 147 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 D | SettingsGateway.java | 159 import com.android.settings.wfd.WifiDisplaySettings;
|
/aosp12/packages/apps/Settings/src/com/android/settings/ |
H A D | SettingsActivity.java | 71 import com.android.settings.wfd.WifiDisplaySettings;
|
/aosp12/frameworks/base/native/graphics/jni/fuzz/corpus/ |
H A D | sample_raf.raf | 34152 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…
|