Home
last modified time | relevance | path

Searched refs:TestObserver (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java215 TestObserver observer = new TestObserver(OBSERVER_NAME_1); in testRegistration_singleObserver()
230 TestObserver observer1 = new TestObserver(OBSERVER_NAME_1); in testRegistration_multiObservers()
231 TestObserver observer2 = new TestObserver(OBSERVER_NAME_2); in testRegistration_multiObservers()
249 TestObserver observer = new TestObserver(OBSERVER_NAME_1); in testUnregistration_singleObserver()
264 TestObserver observer1 = new TestObserver(OBSERVER_NAME_1); in testUnregistration_multiObservers()
265 TestObserver observer2 = new TestObserver(OBSERVER_NAME_2); in testUnregistration_multiObservers()
283 TestObserver observer = new TestObserver(OBSERVER_NAME_1); in testExpiration_singleObserver()
298 TestObserver observer1 = new TestObserver(OBSERVER_NAME_1); in testExpiration_multiObservers()
299 TestObserver observer2 = new TestObserver(OBSERVER_NAME_2); in testExpiration_multiObservers()
318 TestObserver observer = new TestObserver(OBSERVER_NAME_1); in testObserveAlreadyObservedPackage()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java57 final TestObserver mFragObserver;
60 mFragObserver = new TestObserver(); in TestDialogFragment()
67 final TestObserver mFragObserver;
70 mFragObserver = new TestObserver(); in TestFragment()
77 final TestObserver mActObserver;
80 mActObserver = new TestObserver(); in TestActivity()
94 public static class TestObserver implements LifecycleObserver, OnAttach, OnStart, OnResume, class in LifecycleTest
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java58 static class TestObserver extends ContentObserver { class in ObserverNodeTest
59 public TestObserver() { in TestObserver() method in ObserverNodeTest.TestObserver
83 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, in testUri()
86 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, in testUri()
116 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, in testUriNotNotify()
/frameworks/av/services/mediaresourcemanager/test/
DResourceObserverService_test.cpp150 struct TestObserver : public BnResourceObserver, public EventTracker { struct
151 TestObserver(const char *name) : mName(name) {} in TestObserver() function
152 ~TestObserver() = default;
174 mTestObserver1 = ::ndk::SharedRefBase::make<TestObserver>("observer1"); in SetUp()
175 mTestObserver2 = ::ndk::SharedRefBase::make<TestObserver>("observer2"); in SetUp()
176 mTestObserver3 = ::ndk::SharedRefBase::make<TestObserver>("observer3"); in SetUp()
199 std::shared_ptr<TestObserver> mTestObserver1;
200 std::shared_ptr<TestObserver> mTestObserver2;
201 std::shared_ptr<TestObserver> mTestObserver3;
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseCursorTest.java260 class TestObserver extends DataSetObserver { class in DatabaseCursorTest
264 public TestObserver(int total_, SQLiteCursor cursor) { in TestObserver() method in DatabaseCursorTest.TestObserver