/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/ |
D | Lifecycle.java | 79 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/ |
D | LifecycleFragmentTest.java | 54 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
|
D | SysuiLifecycleTest.java | 55 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testAttach() local 73 LifecycleEventObserver observer = mock(LifecycleEventObserver.class); in testDetach() local
|
/frameworks/base/core/java/android/app/backup/ |
D | RestoreSession.java | 56 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()
|
D | IRestoreSession.aidl | 38 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/ |
D | FullBackupRestoreObserverUtils.java | 36 public static IFullBackupRestoreObserver sendStartRestore(IFullBackupRestoreObserver observer) { in sendStartRestore() 57 IFullBackupRestoreObserver observer, String name) { in sendOnRestorePackage() 77 public static IFullBackupRestoreObserver sendEndRestore(IFullBackupRestoreObserver observer) { in sendEndRestore()
|
D | BackupObserverUtils.java | 35 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/ |
D | RestoreParams.java | 29 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()
|
D | BackupParams.java | 33 public IBackupObserver observer; field in BackupParams 40 ArrayList<String> kvPackages, ArrayList<String> fullPackages, IBackupObserver observer, in BackupParams()
|
/frameworks/base/libs/hwui/ |
D | RenderNode.cpp | 66 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
|
D | FrameMetricsReporter.h | 35 void addObserver(FrameMetricsObserver* observer) { mObservers.push_back(observer); } in addObserver() 37 bool removeObserver(FrameMetricsObserver* observer) { in removeObserver()
|
/frameworks/base/core/java/android/view/ |
D | IWindowId.aidl | 23 void registerFocusObserver(IWindowFocusObserver observer); in registerFocusObserver() 24 void unregisterFocusObserver(IWindowFocusObserver observer); in unregisterFocusObserver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | Lifecycle.java | 29 public void addObserver(T observer) { in addObserver() 33 public void removeObserver(T observer) { in removeObserver()
|
/frameworks/base/core/java/android/database/ |
D | Observable.java | 43 public void registerObserver(T observer) { in registerObserver() 62 public void unregisterObserver(T observer) { in unregisterObserver()
|
D | MergeCursor.java | 181 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()
|
D | CursorToBulkCursorAdaptor.java | 88 public CursorToBulkCursorAdaptor(Cursor cursor, IContentObserver observer, in CursorToBulkCursorAdaptor() 219 public int requery(IContentObserver observer) { in requery() 248 private void createAndRegisterObserverProxyLocked(IContentObserver observer) { in createAndRegisterObserverProxyLocked()
|
D | CursorWrapper.java | 220 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/ |
D | AssistHandleLikeHomeBehaviorTest.java | 134 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/ |
D | SkiaDisplayListTests.cpp | 165 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/ |
D | BridgeContentResolver.java | 85 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/ |
D | UEventObserver.java | 205 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/ |
D | CallbackControllerTest.java | 51 ArgumentCaptor<LifecycleEventObserver> observer = in testAddCallback() local 69 ArgumentCaptor<LifecycleEventObserver> observer = in testRemoveCallback() local
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | ActiveRestoreSession.java | 79 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/ |
D | MockCursor.java | 206 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/ |
D | Adapter.java | 40 void registerDataSetObserver(DataSetObserver observer); in registerDataSetObserver() 48 void unregisterDataSetObserver(DataSetObserver observer); in unregisterDataSetObserver()
|