Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java36 private static class Observer extends FileObserver {
123 case FileObserver.ACCESS: in getEventString()
125 case FileObserver.MODIFY: in getEventString()
127 case FileObserver.ATTRIB: in getEventString()
129 case FileObserver.CLOSE_WRITE: in getEventString()
131 case FileObserver.CLOSE_NOWRITE: in getEventString()
133 case FileObserver.OPEN: in getEventString()
135 case FileObserver.MOVED_FROM: in getEventString()
137 case FileObserver.MOVED_TO: in getEventString()
139 case FileObserver.CREATE: in getEventString()
[all …]
/frameworks/base/core/java/android/os/
DFileObserver.java43 public abstract class FileObserver { class
89 public int startWatching(String path, int mask, FileObserver observer) { in startWatching()
108 FileObserver observer = null; in onEvent()
113 observer = (FileObserver) weak.get(); in onEvent()
151 public FileObserver(String path) { in FileObserver() method in FileObserver
163 public FileObserver(String path, int mask) { in FileObserver() method in FileObserver
/frameworks/base/services/core/java/com/android/server/
DSamplingProfilerService.java21 import android.os.FileObserver;
44 private FileObserver snapshotObserver;
69 snapshotObserver = new FileObserver(SNAPSHOT_DIR, FileObserver.ATTRIB) { in startWorking()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java29 import android.os.FileObserver;
113 private final FileObserver mAlsaObserver = new FileObserver(ALSA_DIRECTORY,
114 FileObserver.CREATE | FileObserver.DELETE) {
117 case FileObserver.CREATE:
120 case FileObserver.DELETE:
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java27 import android.os.FileObserver;
555 private class RuleObserver extends FileObserver {
556 private static final int MONITORED_EVENTS = FileObserver.CREATE|FileObserver.MOVED_TO|
557 FileObserver.CLOSE_WRITE|FileObserver.DELETE|FileObserver.MOVED_FROM;
/frameworks/base/core/java/com/android/server/
DBootReceiver.java26 import android.os.FileObserver;
82 private static FileObserver sTombstoneObserver = null;
248 sTombstoneObserver = new FileObserver(TOMBSTONE_DIR.getPath(), FileObserver.CLOSE_WRITE) { in logBootEvents()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java30 import android.os.FileObserver;
543 private static class CacheFileDeletedObserver extends FileObserver {
545 super(Environment.getDownloadCacheDirectory().getAbsolutePath(), FileObserver.DELETE); in CacheFileDeletedObserver()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java31 import android.os.FileObserver;
480 private static class DirectoryObserver extends FileObserver {
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java60 import android.os.FileObserver;
178 private class WallpaperObserver extends FileObserver {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java298 import android.os.FileObserver;
5482 public static class DumpStackFileObserver extends FileObserver {
5491 super(tracesPath, FileObserver.CLOSE_WRITE); in DumpStackFileObserver()
/frameworks/base/services/
Dprofile-classes2018 Landroid/os/FileObserver;
2019 Landroid/os/FileObserver$ObserverThread;
/frameworks/base/
Dpreloaded-classes1882 android.os.FileObserver$ObserverThread
Dcompiled-classes-phone3182 android.os.FileObserver$ObserverThread
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21747 public abstract class FileObserver {
21748 ctor public FileObserver(java.lang.String);
21749 ctor public FileObserver(java.lang.String, int);
/frameworks/base/api/
Dcurrent.txt30788 public abstract class FileObserver {
30789 ctor public FileObserver(java.lang.String);
30790 ctor public FileObserver(java.lang.String, int);
Dsystem-current.txt33509 public abstract class FileObserver {
33510 ctor public FileObserver(java.lang.String);
33511 ctor public FileObserver(java.lang.String, int);