/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() 102 final LifecycleObserver observer = mObservers.get(i); in onAttach() local 113 final LifecycleObserver observer = mObservers.get(i); in onCreate() local 122 final LifecycleObserver observer = mObservers.get(i); in onStart() local 131 final LifecycleObserver observer = mObservers.get(i); in setPreferenceScreen() local 140 final LifecycleObserver observer = mObservers.get(i); in onResume() local 149 final LifecycleObserver observer = mObservers.get(i); in onPause() local 158 final LifecycleObserver observer = mObservers.get(i); in onSaveInstanceState() local 167 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
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | Watchable.java | 37 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()
|
D | WatchableImpl.java | 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()
|
/frameworks/base/core/java/android/app/backup/ |
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()
|
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()
|
/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 | 33 public final IRestoreObserver observer; field in RestoreParams 48 IRestoreObserver observer, in createForSinglePackage() 72 IRestoreObserver observer, in createForRestoreAtInstall() 98 IRestoreObserver observer, in createForRestoreAll() 121 IRestoreObserver observer, in createForRestorePackages() 143 IRestoreObserver observer, in RestoreParams()
|
/frameworks/av/services/mediaresourcemanager/aidl_api/resourceobserver_aidl_interface/1/android/media/ |
D | IResourceObserverService.aidl | 37 …void registerObserver(android.media.IResourceObserver observer, in android.media.MediaObservableFi… in registerObserver() 38 void unregisterObserver(android.media.IResourceObserver observer); in unregisterObserver()
|
/frameworks/av/services/mediaresourcemanager/aidl_api/resourceobserver_aidl_interface/current/android/media/ |
D | IResourceObserverService.aidl | 21 …void registerObserver(android.media.IResourceObserver observer, in android.media.MediaObservableFi… in registerObserver() 22 void unregisterObserver(android.media.IResourceObserver observer); in unregisterObserver()
|
/frameworks/base/core/java/android/view/ |
D | IWindowId.aidl | 23 void registerFocusObserver(IWindowFocusObserver observer); in registerFocusObserver() 24 void unregisterFocusObserver(IWindowFocusObserver observer); in unregisterFocusObserver()
|
/frameworks/av/services/mediaresourcemanager/aidl/android/media/ |
D | IResourceObserverService.aidl | 39 IResourceObserver observer, in registerObserver() 48 void unregisterObserver(IResourceObserver observer); in unregisterObserver()
|
/frameworks/base/libs/hwui/ |
D | RenderNode.cpp | 72 ImmediateRemoved observer(nullptr); in ~RenderNode() local 130 MarkAndSweepRemoved observer(&info); in prepareTree() local 217 void RenderNode::prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer) { in prepareTreeImpl() 266 bool functorsNeedLayer) { in prepareTreeImpl() 369 void RenderNode::syncDisplayList(TreeObserver& observer, TreeInfo* info) { in syncDisplayList() 426 void RenderNode::pushStagingDisplayListChanges(TreeObserver& observer, TreeInfo& info) { in pushStagingDisplayListChanges() 437 void RenderNode::deleteDisplayList(TreeObserver& observer, TreeInfo* info) { in deleteDisplayList() 451 ImmediateRemoved observer(info); in destroyHardwareResources() local 465 void RenderNode::decParentRefCount(TreeObserver& observer, TreeInfo* info) { in decParentRefCount() 484 ImmediateRemoved observer(nullptr); in clearRoot() local
|
D | FrameMetricsReporter.h | 38 void addObserver(FrameMetricsObserver* observer) { in addObserver() 43 bool removeObserver(FrameMetricsObserver* observer) { in removeObserver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | Lifecycle.java | 32 public void addObserver(@NonNull T observer) { in addObserver() 36 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()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentResolver.java | 85 ContentObserver observer) { in registerContentObserver() 94 ContentObserver observer, int userHandle) { in registerContentObserver() 102 public void unregisterContentObserver(ContentObserver observer) { in unregisterContentObserver() 110 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { in notifyChange()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContentResolver.java | 141 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer) { in notifyChange() 156 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer, in notifyChange() 166 public void notifyChange(@NonNull Uri uri, @Nullable ContentObserver observer, in notifyChange() 176 public void notifyChange(@NonNull Collection<Uri> uris, @Nullable ContentObserver observer, in notifyChange()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | RescuePartyTest.java | 218 RescuePartyObserver observer = RescuePartyObserver.getInstance(mMockContext); in testBootLoopDetectionWithExecutionForAllRescueLevels() local 273 RescuePartyObserver observer = RescuePartyObserver.getInstance(mMockContext); in testNonPersistentAppCrashDetectionWithScopedResets() local 328 RescuePartyObserver observer = RescuePartyObserver.getInstance(mMockContext); in testNonDeviceConfigSettingsOnlyResetOncePerLevel() local 449 RescuePartyObserver observer = RescuePartyObserver.getInstance(mMockContext); in testHealthCheckLevels() local 475 RescuePartyObserver observer = RescuePartyObserver.getInstance(mMockContext); in testBootLoopLevels() local 492 RescuePartyObserver observer = RescuePartyObserver.getInstance(mMockContext); in testResetDeviceConfigForPackagesOnlyRuntimeMap() local 541 RescuePartyObserver observer = RescuePartyObserver.getInstance(mMockContext); in testResetDeviceConfigForPackagesBothMaps() local 576 RescuePartyObserver observer = RescuePartyObserver.getInstance(mMockContext); in testResetDeviceConfigNoExceptionWhenFlagMalformed() local
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | WatchedIntentResolver.java | 54 public void registerObserver(@NonNull Watcher observer) { in registerObserver() 63 public void unregisterObserver(@NonNull Watcher observer) { in unregisterObserver() 73 public boolean isRegisteredObserver(@NonNull Watcher observer) { in isRegisteredObserver()
|
D | SettingBase.java | 54 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | MediaHierarchyManagerTest.kt | 117 val observer = wakefullnessObserver.value in setup() constant 144 val observer = wakefullnessObserver.value in testBlockedWhenScreenTurningOff() constant 160 val observer = wakefullnessObserver.value in testAllowedWhenNotTurningOff() constant
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 164 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 189 bool r) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 234 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 258 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 278 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 300 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 322 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 338 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 355 TestUtils::MockTreeObserver observer; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
|