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/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/config/
Dpreloaded-classes-blacklist2 android.os.FileObserver
Dhiddenapi-light-greylist.txt3993 Landroid/os/FileObserver$ObserverThread;->onEvent(IILjava/lang/String;)V
3994 Landroid/os/FileObserver;->s_observerThread:Landroid/os/FileObserver$ObserverThread;
Dhiddenapi-public-dex.txt30886 Landroid/os/FileObserver;
30887 Landroid/os/FileObserver;-><init>(Ljava/lang/String;)V
30888 Landroid/os/FileObserver;-><init>(Ljava/lang/String;I)V
30889 Landroid/os/FileObserver;->ACCESS:I
30890 Landroid/os/FileObserver;->ALL_EVENTS:I
30891 Landroid/os/FileObserver;->ATTRIB:I
30892 Landroid/os/FileObserver;->CLOSE_NOWRITE:I
30893 Landroid/os/FileObserver;->CLOSE_WRITE:I
30894 Landroid/os/FileObserver;->CREATE:I
30895 Landroid/os/FileObserver;->DELETE:I
[all …]
Dpreloaded-classes2445 android.os.FileObserver$ObserverThread
Dboot-image-profile.txt27450 HSPLandroid/os/FileObserver$ObserverThread;-><init>()V
27451 HSPLandroid/os/FileObserver$ObserverThread;->onEvent(IILjava/lang/String;)V
27452 HSPLandroid/os/FileObserver$ObserverThread;->run()V
27453 HSPLandroid/os/FileObserver$ObserverThread;->startWatching(Ljava/lang/String;ILandroid/os/FileObser…
27454 HSPLandroid/os/FileObserver$ObserverThread;->stopWatching(I)V
27455 HSPLandroid/os/FileObserver;-><init>(Ljava/lang/String;)V
27456 HSPLandroid/os/FileObserver;-><init>(Ljava/lang/String;I)V
27457 HSPLandroid/os/FileObserver;->finalize()V
27458 HSPLandroid/os/FileObserver;->onEvent(ILjava/lang/String;)V
27459 HSPLandroid/os/FileObserver;->startWatching()V
[all …]
/frameworks/base/core/java/com/android/server/
DBootReceiver.java26 import android.os.FileObserver;
86 private static FileObserver sTombstoneObserver = null;
261 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;
547 private static class CacheFileDeletedObserver extends FileObserver {
549 super(Environment.getDownloadCacheDirectory().getAbsolutePath(), FileObserver.DELETE); in CacheFileDeletedObserver()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java20 import android.os.FileObserver;
55 private class MtpObjectObserver extends FileObserver {
145 private FileObserver mObserver;
253 private FileObserver getObserver() { in getObserver()
257 private void setObserver(FileObserver observer) { in setObserver()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java33 import android.os.FileObserver;
576 private static class DirectoryObserver extends FileObserver {
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java64 import android.os.FileObserver;
196 private class WallpaperObserver extends FileObserver {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java327 import android.os.FileObserver;
6257 public static class DumpStackFileObserver extends FileObserver {
6265 super(tracesPath, FileObserver.CLOSE_WRITE); in DumpStackFileObserver()
/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.txt32490 public abstract class FileObserver {
32491 ctor public FileObserver(java.lang.String);
32492 ctor public FileObserver(java.lang.String, int);