/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | LifecycleFragmentTest.java | 55 fragment.getLifecycle().addObserver(observer); in testCreateLifecycle() 67 fragment.getLifecycle().addObserver(observer); in testResumeLifecycle() 79 fragment.getLifecycle().addObserver(observer); in testStartLifecycle() 91 fragment.getLifecycle().addObserver(observer); in testStopLifecycle() 105 fragment.getLifecycle().addObserver(observer); in testPauseLifecycle() 119 fragment.getLifecycle().addObserver(observer); in testDestroyLifecycle()
|
D | SysuiLifecycleTest.java | 57 lifecycle.getLifecycle().addObserver(observer); in testAttach() 75 lifecycle.getLifecycle().addObserver(observer); in testDetach()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | LifecycleTest.java | 52 mLifecycle.addObserver(mObj1); in addObserver_addsObserver() 61 mLifecycle.addObserver(mObj1); in removeObserver() 71 mLifecycle.addObserver(mObj1); in dispatch() 72 mLifecycle.addObserver(mObj2); in dispatch()
|
D | ScreenLifecycleTest.java | 48 mScreen.addObserver(mScreenObserverMock); in setUp()
|
D | WakefulnessLifecycleTest.java | 49 mWakefulness.addObserver(mWakefulnessObserver); in setUp()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/ |
D | LifecycleTest.java | 61 mLifecycle.addObserver(mFragObserver); in TestDialogFragment() 71 getSettingsLifecycle().addObserver(mFragObserver); in TestFragment() 81 getSettingsLifecycle().addObserver(mActObserver); in TestActivity() 234 mLifecycle.addObserver(new OnStartObserver(mLifecycle)); in addObserverDuringObserve_shoudNotCrash() 254 fragment.getLifecycle().addObserver(accepter); in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem() 274 mLifecycle.addObserver(new LifecycleObserver() { in onStart()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallEventReceiver.java | 61 static int addObserver(@NonNull Context context, int id, in addObserver() method in InstallEventReceiver 64 return getReceiver(context).addObserver(id, observer); in addObserver()
|
D | UninstallEventReceiver.java | 61 static int addObserver(@NonNull Context context, int id, in addObserver() method in UninstallEventReceiver 64 return getReceiver(context).addObserver(id, observer); in addObserver()
|
D | UninstallUninstalling.java | 89 mUninstallId = UninstallEventReceiver.addObserver(this, in onCreate() 114 UninstallEventReceiver.addObserver(this, mUninstallId, this); in onCreate()
|
D | InstallInstalling.java | 125 InstallEventReceiver.addObserver(this, mInstallId, in onCreate() 163 .addObserver(this, EventResultPersister.GENERATE_NEW_ID, in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 54 verify(lifecycle).addObserver(observer.capture()); in testAddCallback() 72 verify(lifecycle).addObserver(observer.capture()); in testRemoveCallback()
|
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/ |
D | ActionBarShadowController.java | 67 lifecycle.addObserver(this); in ActionBarShadowController() 74 lifecycle.addObserver(this); in ActionBarShadowController()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/ |
D | Lifecycle.java | 71 addObserver(mProxy); in Lifecycle() 79 public void addObserver(androidx.lifecycle.LifecycleObserver observer) { in addObserver() method in Lifecycle 81 super.addObserver(observer); in addObserver()
|
/frameworks/base/core/java/android/os/ |
D | UEventObserver.java | 105 t.addObserver(match, this); in startObserving() 223 public void addObserver(String match, UEventObserver observer) { in addObserver() method in UEventObserver.UEventThread
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | Lifecycle.java | 29 public void addObserver(T observer) { in addObserver() method in Lifecycle
|
/frameworks/base/libs/hwui/ |
D | FrameMetricsReporter.h | 35 void addObserver(FrameMetricsObserver* observer) { mObservers.push_back(observer); } in addObserver() function
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CallbackController.java | 40 lifecycle.addObserver((LifecycleEventObserver) (lifecycleOwner, event) -> { in observe()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
D | FooterPreferenceMixinCompat.java | 35 lifecycle.addObserver(this); in FooterPreferenceMixinCompat()
|
D | FooterPreferenceMixin.java | 41 lifecycle.addObserver(this); in FooterPreferenceMixin()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractConnectivityPreferenceController.java | 58 lifecycle.addObserver(this); in AbstractConnectivityPreferenceController()
|
D | AbstractUptimePreferenceController.java | 53 lifecycle.addObserver(this); in AbstractUptimePreferenceController()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentQueryMapTest.java | 78 cqm.addObserver(new Observer() { in testContentQueryMap()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
D | SuggestionControllerMixin.java | 73 lifecycle.addObserver(this); in SuggestionControllerMixin()
|
D | SuggestionControllerMixinCompat.java | 72 lifecycle.addObserver(this); in SuggestionControllerMixinCompat()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BiometricUnlockController.java | 180 Dependency.get(WakefulnessLifecycle.class).addObserver(mWakefulnessObserver); in BiometricUnlockController() 181 Dependency.get(ScreenLifecycle.class).addObserver(mScreenObserver); in BiometricUnlockController()
|