/frameworks/base/services/backup/java/com/android/server/backup/params/ |
D | RestoreParams.java | 30 public final IBackupManagerMonitor monitor; field in RestoreParams 44 IBackupManagerMonitor monitor, in createForSinglePackage() argument 51 monitor, in createForSinglePackage() 66 IBackupManagerMonitor monitor, in createForRestoreAtInstall() argument 75 monitor, in createForRestoreAtInstall() 90 IBackupManagerMonitor monitor, in createForRestoreAll() argument 96 monitor, in createForRestoreAll() 111 IBackupManagerMonitor monitor, in createForRestorePackages() argument 119 monitor, in createForRestorePackages() 131 IBackupManagerMonitor monitor, in RestoreParams() argument [all …]
|
D | BackupParams.java | 34 public IBackupManagerMonitor monitor; field in BackupParams 41 IBackupManagerMonitor monitor, OnTaskFinishedListener listener, boolean userInitiated, in BackupParams() argument 48 this.monitor = monitor; in BackupParams()
|
D | RestoreGetSetsParams.java | 31 public final IBackupManagerMonitor monitor; field in RestoreGetSetsParams 40 monitor = _monitor; in RestoreGetSetsParams()
|
/frameworks/base/core/java/android/app/backup/ |
D | RestoreSession.java | 56 public int getAvailableRestoreSets(RestoreObserver observer, BackupManagerMonitor monitor) { in getAvailableRestoreSets() argument 59 BackupManagerMonitorWrapper monitorWrapper = monitor == null in getAvailableRestoreSets() 61 : new BackupManagerMonitorWrapper(monitor); in getAvailableRestoreSets() 99 public int restoreAll(long token, RestoreObserver observer, BackupManagerMonitor monitor) { in restoreAll() argument 106 BackupManagerMonitorWrapper monitorWrapper = monitor == null in restoreAll() 108 : new BackupManagerMonitorWrapper(monitor); in restoreAll() 155 @NonNull Set<String> packages, @Nullable BackupManagerMonitor monitor) { in restorePackages() argument 162 BackupManagerMonitorWrapper monitorWrapper = monitor == null in restorePackages() 164 : new BackupManagerMonitorWrapper(monitor); in restorePackages() 220 public int restoreSome(long token, RestoreObserver observer, BackupManagerMonitor monitor, in restoreSome() argument [all …]
|
D | IRestoreSession.aidl | 38 int getAvailableRestoreSets(IRestoreObserver observer, IBackupManagerMonitor monitor); in getAvailableRestoreSets() argument 54 int restoreAll(long token, IRestoreObserver observer, IBackupManagerMonitor monitor); in restoreAll() argument 75 IBackupManagerMonitor monitor); in restorePackages() argument 94 IBackupManagerMonitor monitor); in restorePackage() argument
|
D | BackupManager.java | 320 public int requestRestore(RestoreObserver observer, BackupManagerMonitor monitor) { in requestRestore() argument 761 BackupManagerMonitor monitor, int flags) { in requestBackup() argument 768 BackupManagerMonitorWrapper monitorWrapper = monitor == null in requestBackup() 770 : new BackupManagerMonitorWrapper(monitor); in requestBackup() 1043 BackupManagerMonitorWrapper(BackupManagerMonitor monitor) { in BackupManagerMonitorWrapper() argument 1044 mMonitor = monitor; in BackupManagerMonitorWrapper()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | ActiveRestoreSession.java | 81 IBackupManagerMonitor monitor) { in getAvailableRestoreSets() argument 124 new RestoreGetSetsParams(transportClient, this, observer, monitor, listener)); in getAvailableRestoreSets() 136 IBackupManagerMonitor monitor) { in restoreAll() argument 180 monitor, in restoreAll() 197 @NonNull String[] packages, @Nullable IBackupManagerMonitor monitor) { in restorePackages() argument 213 if (monitor == null) { in restorePackages() 216 b.append(monitor.toString()); in restorePackages() 271 monitor, in restorePackages() 289 IBackupManagerMonitor monitor) { in restorePackage() argument 292 + "monitor=" + monitor); in restorePackage() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtils.java | 50 @Nullable IBackupManagerMonitor monitor, in monitorEvent() 55 if (monitor != null) { in monitorEvent() 71 monitor.onEvent(bundle); in monitorEvent() 72 return monitor; in monitorEvent()
|
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | TransitionRunner.java | 25 import com.android.server.wm.flicker.monitor.ITransitionMonitor; 26 import com.android.server.wm.flicker.monitor.LayersTraceMonitor; 27 import com.android.server.wm.flicker.monitor.ScreenRecorder; 28 import com.android.server.wm.flicker.monitor.WindowAnimationFrameStatsMonitor; 29 import com.android.server.wm.flicker.monitor.WindowManagerTraceMonitor; 160 mAllRunsMonitors.forEach(monitor -> { in run() 161 monitor.stop(); in run() 162 Path path = monitor.save(mTestTag); in run()
|
/frameworks/base/tests/FlickerTests/lib/test/src/com/android/server/wm/flicker/monitor/ |
D | ScreenRecorderTest.java | 17 package com.android.server.wm.flicker.monitor; 21 import static com.android.server.wm.flicker.monitor.ScreenRecorder.DEFAULT_OUTPUT_PATH; 22 import static com.android.server.wm.flicker.monitor.ScreenRecorder.getPath;
|
D | WindowAnimationFrameStatsMonitorTest.java | 17 package com.android.server.wm.flicker.monitor;
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityModel.java | 58 KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); in getSecurityMode() local 61 monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED))) { in getSecurityMode() 66 monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED))) { in getSecurityMode()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputMonitorCompat.java | 33 private InputMonitorCompat(InputMonitor monitor) { in InputMonitorCompat() argument 34 mInputMonitor = monitor; in InputMonitorCompat()
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 152 void addMonitorLocked(Monitor monitor) { in addMonitorLocked() argument 155 mMonitorQueue.add(monitor); in addMonitorLocked() 233 mCurrentMonitor.monitor(); in run() 282 public void monitor() { in monitor() method in Watchdog.BinderThreadMonitor 288 void monitor(); in monitor() method 373 public void addMonitor(Monitor monitor) { in addMonitor() argument 375 mMonitorChecker.addMonitorLocked(monitor); in addMonitor() 559 fdLimitTriggered = mOpenFdMonitor.monitor(); in run() 766 public boolean monitor() { in monitor() method in Watchdog.OpenFdMonitor
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 165 final KeyguardUpdateMonitorCallback monitor = mController.getKeyguardCallback(); in updateOnTheFly() local 170 monitor.onKeyguardVisibilityChanged(true); in updateOnTheFly() 179 monitor.onKeyguardVisibilityChanged(false); in updateOnTheFly() 180 monitor.onKeyguardVisibilityChanged(true); in updateOnTheFly() 188 monitor.onKeyguardVisibilityChanged(false); in updateOnTheFly() 189 monitor.onKeyguardVisibilityChanged(true); in updateOnTheFly()
|
/frameworks/base/tests/FlickerTests/ |
D | README.md | 109 …aptures Layers trace. This monitor is started by default. Build a transition with `skipLayersTrace… 111 …dow Manager trace. This monitor is started by default. Build a transition with `skipWindowManagerT… 113 …monitor is started by default and is used to eliminate *janky* runs. If an iteration has skipped f… 115 Captures screen to a video file. This monitor is disabled by default. Build a transition with `reco…
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporterTest.java | 69 IBackupManagerMonitor monitor = mReporter.getMonitor(); in testGetMonitor_returnsMonitor() local 71 assertThat(monitor).isEqualTo(mMonitor); in testGetMonitor_returnsMonitor()
|
/frameworks/base/tests/FlickerTests/lib/test/src/com/android/server/wm/flicker/ |
D | TransitionRunnerTest.java | 31 import com.android.server.wm.flicker.monitor.LayersTraceMonitor; 32 import com.android.server.wm.flicker.monitor.ScreenRecorder; 33 import com.android.server.wm.flicker.monitor.WindowAnimationFrameStatsMonitor; 34 import com.android.server.wm.flicker.monitor.WindowManagerTraceMonitor;
|
/frameworks/base/core/tests/SvcMonitor/ |
D | README | 3 SvcMonitor service can monitor the CPU usage of XYZ and com.android.bluetooth. 21 To monitor the data:
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 778 public void addMonitor(ActivityMonitor monitor) { in addMonitor() argument 783 mActivityMonitors.add(monitor); in addMonitor() 847 public boolean checkMonitorHit(ActivityMonitor monitor, int minHits) { in checkMonitorHit() argument 850 if (monitor.getHits() < minHits) { in checkMonitorHit() 853 mActivityMonitors.remove(monitor); in checkMonitorHit() 867 public Activity waitForMonitor(ActivityMonitor monitor) { in waitForMonitor() argument 868 Activity activity = monitor.waitForActivity(); in waitForMonitor() 870 mActivityMonitors.remove(monitor); in waitForMonitor() 886 public Activity waitForMonitorWithTimeout(ActivityMonitor monitor, long timeOut) { in waitForMonitorWithTimeout() argument 887 Activity activity = monitor.waitForActivityWithTimeout(timeOut); in waitForMonitorWithTimeout() [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | BackupManagerServiceTest.java | 965 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_withoutPermission_throwsSecurityExceptionForNonCallingUser() local 971 mUserTwoId, packages, observer, monitor, 0)); in testRequestBackup_withoutPermission_throwsSecurityExceptionForNonCallingUser() 985 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_withPermission_propagatesForNonCallingUser() local 988 backupManagerService.requestBackup(mUserTwoId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_withPermission_propagatesForNonCallingUser() 990 verify(mUserTwoService).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_withPermission_propagatesForNonCallingUser() 1000 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_onRegisteredUser_callsMethodForUser() local 1003 backupManagerService.requestBackup(mUserOneId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_onRegisteredUser_callsMethodForUser() 1005 verify(mUserOneService).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_onRegisteredUser_callsMethodForUser() 1015 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_onUnknownUser_doesNotPropagateCall() local 1018 backupManagerService.requestBackup(mUserTwoId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_onUnknownUser_doesNotPropagateCall() [all …]
|
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/monitor/ |
D | ITransitionMonitor.java | 17 package com.android.server.wm.flicker.monitor;
|
D | WindowManagerTraceMonitor.java | 17 package com.android.server.wm.flicker.monitor;
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskStackChangedListenerTest.java | 238 final ActivityMonitor monitor = new ActivityMonitor(activityClass.getName(), null, false); in startTestActivity() local 239 getInstrumentation().addMonitor(monitor); in startTestActivity() 243 final TestActivity activity = (TestActivity) monitor.waitForActivityWithTimeout(1000); in startTestActivity()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 125 final Object monitor = new Object(); in testKeyValue_Concurrency() local 132 synchronized (monitor) { in testKeyValue_Concurrency() 134 monitor.wait(); in testKeyValue_Concurrency() 154 synchronized (monitor) { in testKeyValue_Concurrency() 155 monitor.notifyAll(); in testKeyValue_Concurrency()
|