Home
last modified time | relevance | path

Searched refs:Watcher (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/av/media/libstagefright/rtsp/
DQualManager.cpp28 QualManager::Watcher::Watcher(int32_t timeLimit) in Watcher() function in android::QualManager::Watcher
34 bool QualManager::Watcher::isExpired() const in isExpired()
39 void QualManager::Watcher::setup() { in setup()
47 void QualManager::Watcher::release() { in release()
60 void QualManager::Watcher::exit() { in exit()
67 QualManager::Watcher::~Watcher() { in ~Watcher()
71 bool QualManager::Watcher::threadLoop() { in threadLoop()
98 VFPWatcher = new Watcher(3000); //Very Few Packet Watcher in QualManager()
100 LBRWatcher = new Watcher(10000); //Low Bit Rate Watcher in QualManager()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DQualManager.h37 class Watcher : public Thread
40 Watcher(int32_t timeLimit);
47 virtual ~Watcher();
59 sp<Watcher> VFPWatcher;
60 sp<Watcher> LBRWatcher;
/frameworks/base/services/core/java/com/android/server/utils/
DWatchable.java37 public void registerObserver(@NonNull Watcher observer); in registerObserver()
45 public void unregisterObserver(@NonNull Watcher observer); in unregisterObserver()
52 public boolean isRegisteredObserver(@NonNull Watcher observer); in isRegisteredObserver()
71 static void verifyWatchedAttributes(Object base, Watcher observer, boolean logOnly) { in verifyWatchedAttributes()
114 static void verifyWatchedAttributes(Object base, Watcher observer) { in verifyWatchedAttributes()
DWatchableImpl.java36 protected final ArrayList<Watcher> mObservers = new ArrayList<>();
45 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
61 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
74 public boolean isRegisteredObserver(@NonNull Watcher observer) { in isRegisteredObserver()
DWatchedArraySet.java41 private final Watcher mObserver = new Watcher() {
99 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
116 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
DWatchedLongSparseArray.java40 private final Watcher mObserver = new Watcher() {
96 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
113 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
DWatchedArrayList.java41 private final Watcher mObserver = new Watcher() {
99 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
116 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
DOWNERS9 per-file Watcher.java = file:/services/core/java/com/android/server/pm/OWNERS
10 per-file Watcher.java = shombert@google.com
DWatchedSparseArray.java42 private final Watcher mObserver = new Watcher() {
98 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
115 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
DWatchedArrayMap.java45 private final Watcher mObserver = new Watcher() {
103 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
120 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
DWatcher.java25 public abstract class Watcher { class
DSnapshotCache.java34 public abstract class SnapshotCache<T> extends Watcher{
/frameworks/base/services/core/java/com/android/server/pm/
DWatchedIntentResolver.java28 import com.android.server.utils.Watcher;
56 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
65 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
75 public boolean isRegisteredObserver(@NonNull Watcher observer) { in isRegisteredObserver()
89 private final Watcher mWatcher = new Watcher() {
DSettingBase.java28 import com.android.server.utils.Watcher;
50 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
61 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
71 public boolean isRegisteredObserver(@NonNull Watcher observer) { in isRegisteredObserver()
DAppIdSettingMap.java25 import com.android.server.utils.Watcher;
159 public void registerObserver(Watcher observer) { in registerObserver()
DSharedUserSetting.java39 import com.android.server.utils.Watcher;
75 private final Watcher mObserver = new Watcher() {
DSharedLibrariesImpl.java63 import com.android.server.utils.Watcher;
132 private final Watcher mObserver = new Watcher() {
207 public void registerObserver(@NonNull Watcher observer) {
218 public void unregisterObserver(@NonNull Watcher observer) {
228 public boolean isRegisteredObserver(@NonNull Watcher observer) {
DInstantAppRegistry.java72 import com.android.server.utils.Watcher;
167 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
170 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
173 public boolean isRegisteredObserver(@NonNull Watcher observer) { in isRegisteredObserver()
187 private final Watcher mObserver = new Watcher() {
DAppsFilterImpl.java82 import com.android.server.utils.Watcher;
134 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
145 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
156 public boolean isRegisteredObserver(@NonNull Watcher observer) { in isRegisteredObserver()
DSettings.java141 import com.android.server.utils.Watcher;
196 public void registerObserver(@NonNull Watcher observer) { in registerObserver()
206 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver()
216 public boolean isRegisteredObserver(@NonNull Watcher observer) { in isRegisteredObserver()
574 private final Watcher mObserver = new Watcher() {
DPackageManagerService.java253 import com.android.server.utils.Watcher;
1042 private final Watcher mWatcher = new Watcher() {
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java141 s.setSpan(new Watcher(2), 0, s.length(), in checkPriority()
144 s.setSpan(new Watcher(4), 0, s.length(), in checkPriority()
147 s.setSpan(new Watcher(1), 0, s.length(), in checkPriority()
150 s.setSpan(new Watcher(3), 0, s.length(), in checkPriority()
167 private class Watcher implements SpanWatcher, TextWatcher { class in SpannedTest
170 public Watcher(int sequence) { in Watcher() method in SpannedTest.Watcher
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.h287 struct Watcher { struct
288 ~Watcher() = default;
310 Watcher(C2Param::Index index, const CCodecConfig *parent) in Watcher() function
326 Watcher<T> watch(C2Param::Index index = T::PARAM_TYPE) const {
330 return Watcher<T>(index, this);
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/
DWatchableTester.java25 public class WatchableTester extends Watcher {
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java91 import com.android.server.utils.Watcher;
1647 packageSetting.registerObserver(new Watcher() { in testSetPkgStateLibraryFiles_addNewFiles()
1671 packageSetting.registerObserver(new Watcher() { in testSetPkgStateLibraryFiles_removeOneExistingFile()
1694 packageSetting.registerObserver(new Watcher() { in testSetPkgStateLibraryFiles_changeOneOfFile()
1717 packageSetting.registerObserver(new Watcher() { in testSetPkgStateLibraryFiles_nothingChanged()
1736 packageSetting.registerObserver(new Watcher() { in testSetPkgStateLibraryFiles_addNewSdks()

12