Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java37 private static class Observer extends FileObserver {
124 case FileObserver.ACCESS: in getEventString()
126 case FileObserver.MODIFY: in getEventString()
128 case FileObserver.ATTRIB: in getEventString()
130 case FileObserver.CLOSE_WRITE: in getEventString()
132 case FileObserver.CLOSE_NOWRITE: in getEventString()
134 case FileObserver.OPEN: in getEventString()
136 case FileObserver.MOVED_FROM: in getEventString()
138 case FileObserver.MOVED_TO: in getEventString()
140 case FileObserver.CREATE: in getEventString()
[all …]
/frameworks/base/core/java/android/os/
DFileObserver.java51 public abstract class FileObserver { class
117 @NotifyEventType int mask, FileObserver observer) { in startWatching()
128 final WeakReference<FileObserver> fileObserverWeakReference = in startWatching()
148 FileObserver observer = null; in onEvent()
153 observer = (FileObserver) weak.get(); in onEvent()
196 public FileObserver(String path) { in FileObserver() method in FileObserver
203 public FileObserver(@NonNull File file) { in FileObserver() method in FileObserver
212 public FileObserver(@NonNull List<File> files) { in FileObserver() method in FileObserver
227 public FileObserver(String path, @NotifyEventType int mask) { in FileObserver() method in FileObserver
239 public FileObserver(@NonNull File file, @NotifyEventType int mask) { in FileObserver() method in FileObserver
[all …]
/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-blacklist4 android.os.FileObserver
Ddirty-image-objects146 android.os.FileObserver
Dpreloaded-classes2761 android.os.FileObserver$ObserverThread
Dboot-image-profile.txt11439 HSPLandroid/os/FileObserver$ObserverThread;-><init>()V
11440 HSPLandroid/os/FileObserver$ObserverThread;->onEvent(IILjava/lang/String;)V
11441 HSPLandroid/os/FileObserver$ObserverThread;->run()V
11442 HSPLandroid/os/FileObserver$ObserverThread;->startWatching(Ljava/util/List;ILandroid/os/FileObserve…
11443 HSPLandroid/os/FileObserver;-><init>(Ljava/lang/String;I)V
11444 HSPLandroid/os/FileObserver;->startWatching()V
35205 Landroid/os/FileObserver$ObserverThread;
35206 Landroid/os/FileObserver;
Dhiddenapi-greylist-max-o.txt45589 Landroid/mtp/MtpStorageManager$MtpObject;->getObserver()Landroid/os/FileObserver;
45604 Landroid/mtp/MtpStorageManager$MtpObject;->mObserver:Landroid/os/FileObserver;
45612 Landroid/mtp/MtpStorageManager$MtpObject;->setObserver(Landroid/os/FileObserver;)V
53375 Landroid/os/FileObserver$ObserverThread;
53376 Landroid/os/FileObserver$ObserverThread;-><init>()V
53377 Landroid/os/FileObserver$ObserverThread;->init()I
53378 Landroid/os/FileObserver$ObserverThread;->m_fd:I
53379 Landroid/os/FileObserver$ObserverThread;->m_observers:Ljava/util/HashMap;
53380 Landroid/os/FileObserver$ObserverThread;->observe(I)V
53381 Landroid/os/FileObserver$ObserverThread;->startWatching(ILjava/lang/String;I)I
[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.CREATE) { in logBootEvents()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java29 import android.os.FileObserver;
552 private static class CacheFileDeletedObserver extends FileObserver {
554 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 {
151 private FileObserver mObserver;
264 private FileObserver getObserver() { in getObserver()
268 private void setObserver(FileObserver observer) { in setObserver()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java32 import android.os.FileObserver;
638 private static class DirectoryObserver extends FileObserver {
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java65 import android.os.FileObserver;
203 private class WallpaperObserver extends FileObserver {
/frameworks/base/api/
Dcurrent.txt34463 public abstract class FileObserver {
34464 ctor @Deprecated public FileObserver(String);
34465 ctor public FileObserver(@NonNull java.io.File);
34466 ctor public FileObserver(@NonNull java.util.List<java.io.File>);
34467 ctor @Deprecated public FileObserver(String, int);
34468 ctor public FileObserver(@NonNull java.io.File, int);
34469 ctor public FileObserver(@NonNull java.util.List<java.io.File>, int);
/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);