Home
last modified time | relevance | path

Searched defs:observer (Results 1 – 25 of 176) sorted by relevance

12345678

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DLifecycle.java79 public void addObserver(androidx.lifecycle.LifecycleObserver observer) { in addObserver()
89 public void removeObserver(androidx.lifecycle.LifecycleObserver observer) { in removeObserver()
99 final LifecycleObserver observer = mObservers.get(i); in onAttach() local
110 final LifecycleObserver observer = mObservers.get(i); in onCreate() local
119 final LifecycleObserver observer = mObservers.get(i); in onStart() local
128 final LifecycleObserver observer = mObservers.get(i); in setPreferenceScreen() local
137 final LifecycleObserver observer = mObservers.get(i); in onResume() local
146 final LifecycleObserver observer = mObservers.get(i); in onPause() local
155 final LifecycleObserver observer = mObservers.get(i); in onSaveInstanceState() local
164 final LifecycleObserver observer = mObservers.get(i); in onStop() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java54 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testCreateLifecycle() local
66 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testResumeLifecycle() local
78 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testStartLifecycle() local
90 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testStopLifecycle() local
104 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testPauseLifecycle() local
118 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testDestroyLifecycle() local
DSysuiLifecycleTest.java55 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testAttach() local
73 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testDetach() local
/frameworks/base/core/java/android/app/backup/
DRestoreSession.java56 public int getAvailableRestoreSets(RestoreObserver observer, BackupManagerMonitor monitor) { in getAvailableRestoreSets()
80 public int getAvailableRestoreSets(RestoreObserver observer) { in getAvailableRestoreSets()
99 public int restoreAll(long token, RestoreObserver observer, BackupManagerMonitor monitor) { in restoreAll()
130 public int restoreAll(long token, RestoreObserver observer) { in restoreAll()
154 public int restorePackages(long token, @Nullable RestoreObserver observer, in restorePackages()
191 public int restorePackages(long token, @Nullable RestoreObserver observer, in restorePackages()
220 public int restoreSome(long token, RestoreObserver observer, BackupManagerMonitor monitor, in restoreSome()
247 public int restoreSome(long token, RestoreObserver observer, String[] packages) { in restoreSome()
273 public int restorePackage(String packageName, RestoreObserver observer, in restorePackage()
308 public int restorePackage(String packageName, RestoreObserver observer) { in restorePackage()
DIRestoreSession.aidl38 int getAvailableRestoreSets(IRestoreObserver observer, IBackupManagerMonitor monitor); in getAvailableRestoreSets()
54 int restoreAll(long token, IRestoreObserver observer, IBackupManagerMonitor monitor); in restoreAll()
74 int restorePackages(long token, IRestoreObserver observer, in String[] packages, in restorePackages()
93 int restorePackage(in String packageName, IRestoreObserver observer, in restorePackage()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DFullBackupRestoreObserverUtils.java36 public static IFullBackupRestoreObserver sendStartRestore(IFullBackupRestoreObserver observer) { in sendStartRestore()
57 IFullBackupRestoreObserver observer, String name) { in sendOnRestorePackage()
77 public static IFullBackupRestoreObserver sendEndRestore(IFullBackupRestoreObserver observer) { in sendEndRestore()
DBackupObserverUtils.java35 public static void sendBackupOnUpdate(IBackupObserver observer, String packageName, in sendBackupOnUpdate()
52 public static void sendBackupOnPackageResult(IBackupObserver observer, String packageName, in sendBackupOnPackageResult()
69 public static void sendBackupFinished(IBackupObserver observer, int status) { in sendBackupFinished()
/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java29 public final IRestoreObserver observer; field in RestoreParams
43 IRestoreObserver observer, in createForSinglePackage()
65 IRestoreObserver observer, in createForRestoreAtInstall()
89 IRestoreObserver observer, in createForRestoreAll()
110 IRestoreObserver observer, in createForRestorePackages()
130 IRestoreObserver observer, in RestoreParams()
DBackupParams.java33 public IBackupObserver observer; field in BackupParams
40 ArrayList<String> kvPackages, ArrayList<String> fullPackages, IBackupObserver observer, in BackupParams()
/frameworks/base/libs/hwui/
DRenderNode.cpp66 ImmediateRemoved observer(nullptr); in ~RenderNode() local
120 MarkAndSweepRemoved observer(&info); in prepareTree() local
202 void RenderNode::prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer) { in prepareTreeImpl()
247 bool functorsNeedLayer) { in prepareTreeImpl()
294 void RenderNode::syncDisplayList(TreeObserver& observer, TreeInfo* info) { in syncDisplayList()
349 void RenderNode::pushStagingDisplayListChanges(TreeObserver& observer, TreeInfo& info) { in pushStagingDisplayListChanges()
360 void RenderNode::deleteDisplayList(TreeObserver& observer, TreeInfo* info) { in deleteDisplayList()
377 ImmediateRemoved observer(info); in destroyHardwareResources() local
390 void RenderNode::decParentRefCount(TreeObserver& observer, TreeInfo* info) { in decParentRefCount()
406 ImmediateRemoved observer(nullptr); in clearRoot() local
DFrameMetricsReporter.h35 void addObserver(FrameMetricsObserver* observer) { mObservers.push_back(observer); } in addObserver()
37 bool removeObserver(FrameMetricsObserver* observer) { in removeObserver()
/frameworks/base/core/java/android/view/
DIWindowId.aidl23 void registerFocusObserver(IWindowFocusObserver observer); in registerFocusObserver()
24 void unregisterFocusObserver(IWindowFocusObserver observer); in unregisterFocusObserver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DLifecycle.java29 public void addObserver(T observer) { in addObserver()
33 public void removeObserver(T observer) { in removeObserver()
/frameworks/base/core/java/android/database/
DObservable.java43 public void registerObserver(T observer) { in registerObserver()
62 public void unregisterObserver(T observer) { in unregisterObserver()
DMergeCursor.java181 public void registerContentObserver(ContentObserver observer) { in registerContentObserver()
190 public void unregisterContentObserver(ContentObserver observer) { in unregisterContentObserver()
200 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver()
210 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
DCursorToBulkCursorAdaptor.java88 public CursorToBulkCursorAdaptor(Cursor cursor, IContentObserver observer, in CursorToBulkCursorAdaptor()
219 public int requery(IContentObserver observer) { in requery()
248 private void createAndRegisterObserverProxyLocked(IContentObserver observer) { in createAndRegisterObserverProxyLocked()
DCursorWrapper.java220 public void registerContentObserver(ContentObserver observer) { in registerContentObserver()
225 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver()
261 public void unregisterContentObserver(ContentObserver observer) { in unregisterContentObserver()
266 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/
DAssistHandleLikeHomeBehaviorTest.java134 ArgumentCaptor<WakefulnessLifecycle.Observer> observer = in onModeDeactivated_stopsObserving() local
211 ArgumentCaptor<WakefulnessLifecycle.Observer> observer = in onBothAwakeAndUnDoze_handlesShow() local
268 ArgumentCaptor<WakefulnessLifecycle.Observer> observer = in onSleepOrDoze_handlesHide() local
/frameworks/base/libs/hwui/tests/unit/
DSkiaDisplayListTests.cpp165 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
190 bool r) { in RENDERTHREAD_SKIA_PIPELINE_TEST()
236 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
260 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
280 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
302 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
324 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
340 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
357 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentResolver.java85 ContentObserver observer) { in registerContentObserver()
93 public void unregisterContentObserver(ContentObserver observer) { in unregisterContentObserver()
101 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { in notifyChange()
/frameworks/base/core/java/android/os/
DUEventObserver.java205 final UEventObserver observer = in sendEvent() local
216 final UEventObserver observer = mTempObserversToSignal.get(i); in sendEvent() local
223 public void addObserver(String match, UEventObserver observer) { in addObserver()
232 public void removeObserver(UEventObserver observer) { in removeObserver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java51 ArgumentCaptor<LifecycleEventObserver> observer = in testAddCallback() local
69 ArgumentCaptor<LifecycleEventObserver> observer = in testRemoveCallback() local
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java79 public synchronized int getAvailableRestoreSets(IRestoreObserver observer, in getAvailableRestoreSets()
134 public synchronized int restoreAll(long token, IRestoreObserver observer, in restoreAll()
195 public synchronized int restorePackages(long token, @Nullable IRestoreObserver observer, in restorePackages()
287 public synchronized int restorePackage(String packageName, IRestoreObserver observer, in restorePackage()
/frameworks/base/test-mock/src/android/test/mock/
DMockCursor.java206 public void registerContentObserver(ContentObserver observer) { in registerContentObserver()
211 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver()
246 public void unregisterContentObserver(ContentObserver observer) { in unregisterContentObserver()
251 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
/frameworks/base/core/java/android/widget/
DAdapter.java40 void registerDataSetObserver(DataSetObserver observer); in registerDataSetObserver()
48 void unregisterDataSetObserver(DataSetObserver observer); in unregisterDataSetObserver()

12345678