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.java42 public abstract class FileObserver { class
88 public int startWatching(String path, int mask, FileObserver observer) { in startWatching()
107 FileObserver observer = null; in onEvent()
112 observer = (FileObserver) weak.get(); in onEvent()
150 public FileObserver(String path) { in FileObserver() method in FileObserver
162 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;
43 private FileObserver snapshotObserver;
68 snapshotObserver = new FileObserver(SNAPSHOT_DIR, FileObserver.ATTRIB) { in startWorking()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotTest.java21 import android.os.FileObserver;
83 private static class NewScreenshotObserver extends FileObserver {
87 super(path, FileObserver.CREATE); in NewScreenshotObserver()
/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/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java28 import android.os.FileObserver;
116 private final FileObserver mAlsaObserver = new FileObserver(ALSA_DIRECTORY,
117 FileObserver.CREATE | FileObserver.DELETE) {
120 case FileObserver.CREATE:
123 case FileObserver.DELETE:
/frameworks/base/core/java/com/android/server/
DBootReceiver.java26 import android.os.FileObserver;
61 private static FileObserver sTombstoneObserver = null;
164 sTombstoneObserver = new FileObserver(TOMBSTONE_DIR.getPath(), FileObserver.CLOSE_WRITE) { in logBootEvents()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java33 import android.os.FileObserver;
525 private static class CacheFileDeletedObserver extends FileObserver {
527 super(Environment.getDownloadCacheDirectory().getAbsolutePath(), FileObserver.DELETE); in CacheFileDeletedObserver()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java29 import android.os.FileObserver;
552 private static class DirectoryObserver extends FileObserver {
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java54 import android.os.FileObserver;
116 private class WallpaperObserver extends FileObserver {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java44 import android.os.FileObserver;
704 class WpaConfigFileObserver extends FileObserver {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java191 import android.os.FileObserver;
4743 FileObserver observer = new FileObserver(tracesPath, FileObserver.CLOSE_WRITE) { in dumpStackTraces()
/frameworks/base/
Dpreloaded-classes1419 android.os.FileObserver$ObserverThread
/frameworks/base/docs/html/
Dsitemap.txt1102 http://developer.android.com/reference/android/os/FileObserver.html
/frameworks/base/api/
Dcurrent.txt22992 public abstract class FileObserver {
22993 ctor public FileObserver(java.lang.String);
22994 ctor public FileObserver(java.lang.String, int);
Dsystem-current.txt24936 public abstract class FileObserver {
24937 ctor public FileObserver(java.lang.String);
24938 ctor public FileObserver(java.lang.String, int);