/frameworks/base/services/backup/java/com/android/server/backup/params/ |
D | RestoreParams.java | 34 public final IBackupManagerMonitor monitor; field in RestoreParams 49 IBackupManagerMonitor monitor, in createForSinglePackage() argument 57 monitor, in createForSinglePackage() 73 IBackupManagerMonitor monitor, in createForRestoreAtInstall() argument 83 monitor, in createForRestoreAtInstall() 99 IBackupManagerMonitor monitor, in createForRestoreAll() argument 106 monitor, in createForRestoreAll() 122 IBackupManagerMonitor monitor, in createForRestorePackages() argument 131 monitor, in createForRestorePackages() 144 IBackupManagerMonitor monitor, in RestoreParams() argument [all …]
|
D | BackupParams.java | 35 public IBackupManagerMonitor monitor; field in BackupParams 43 IBackupManagerMonitor monitor, OnTaskFinishedListener listener, boolean userInitiated, in BackupParams() argument 50 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 | 344 public int requestRestore(RestoreObserver observer, BackupManagerMonitor monitor) { in requestRestore() argument 799 BackupManagerMonitor monitor, int flags) { in requestBackup() argument 806 BackupManagerMonitorWrapper monitorWrapper = monitor == null in requestBackup() 808 : new BackupManagerMonitorWrapper(monitor); in requestBackup() 1099 BackupManagerMonitorWrapper(BackupManagerMonitor monitor) { in BackupManagerMonitorWrapper() argument 1100 mMonitor = monitor; in BackupManagerMonitorWrapper()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | InteractionJankMonitorTest.java | 91 InteractionJankMonitor monitor = spy(new InteractionJankMonitor(mWorker)); in testBeginEnd() local 101 doReturn(tracker).when(monitor).createFrameTracker(any(), any()); in testBeginEnd() 106 assertThat(monitor.begin(mView, session.getCuj())).isTrue(); in testBeginEnd() 108 assertThat(monitor.end(session.getCuj())).isTrue(); in testBeginEnd() 114 InteractionJankMonitor monitor = new InteractionJankMonitor(mWorker); in testDisabledThroughDeviceConfig() local 120 monitor.getPropertiesChangedListener().onPropertiesChanged(properties); in testDisabledThroughDeviceConfig() 122 assertThat(monitor.begin(mView, CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isFalse(); in testDisabledThroughDeviceConfig() 123 assertThat(monitor.end(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isFalse(); in testDisabledThroughDeviceConfig() 128 InteractionJankMonitor monitor = new InteractionJankMonitor(mWorker); in testCheckInitState() local 133 assertThat(monitor.begin(view, CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isFalse(); in testCheckInitState() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Connection.cpp | 23 Connection::Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor, in Connection() argument 27 monitor(monitor), in Connection() 37 if (monitor) { in getWindowName()
|
D | Monitor.cpp | 26 TouchedMonitor::TouchedMonitor(const Monitor& monitor, float xOffset, float yOffset) in TouchedMonitor() argument 27 : monitor(monitor), xOffset(xOffset), yOffset(yOffset) {} in TouchedMonitor()
|
D | Monitor.h | 34 Monitor monitor; member 38 explicit TouchedMonitor(const Monitor& monitor, float xOffset, float yOffset);
|
D | Connection.h | 46 bool monitor; variable 62 Connection(const std::shared_ptr<InputChannel>& inputChannel, bool monitor,
|
/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/services/backup/java/com/android/server/backup/restore/ |
D | ActiveRestoreSession.java | 88 IBackupManagerMonitor monitor) { in getAvailableRestoreSets() argument 131 new RestoreGetSetsParams(transportClient, this, observer, monitor, listener)); in getAvailableRestoreSets() 143 IBackupManagerMonitor monitor) { in restoreAll() argument 188 monitor, in restoreAll() 206 @NonNull String[] packages, @Nullable IBackupManagerMonitor monitor) { in restorePackages() argument 222 if (monitor == null) { in restorePackages() 225 b.append(monitor.toString()); in restorePackages() 281 monitor, in restorePackages() 308 IBackupManagerMonitor monitor) { in restorePackage() argument 311 + "monitor=" + monitor); in restorePackage() [all …]
|
D | FullRestoreEngine.java | 138 IBackupManagerMonitor monitor, PackageInfo onlyPackage, boolean allowApks, in FullRestoreEngine() argument 145 mMonitor = monitor; in FullRestoreEngine() 166 PackageInfo onlyPackage, boolean allowApks, int token, IBackupManagerMonitor monitor) { in restoreOneFile() argument 175 bytesReadListener, monitor); in restoreOneFile() 250 monitor = tarBackupReader.getMonitor(); in restoreOneFile()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityOptionsTest.java | 104 final ActivityMonitor monitor = new ActivityMonitor(main.getClassName(), in testTransferLaunchCookie() local 106 instrumentation.addMonitor(monitor); in testTransferLaunchCookie() 136 mainActivity = monitor.getLastActivity(); in testTransferLaunchCookie() 144 instrumentation.removeMonitor(monitor); in testTransferLaunchCookie()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AnrController.java | 179 monitors.put(TAG_WM, mService::monitor); in preDumpIfLockTooSlow() 180 monitors.put("ActivityManager", mService.mAmInternal::monitor); in preDumpIfLockTooSlow() 185 final Runnable monitor = monitors.valueAt(i); in preDumpIfLockTooSlow() local 191 monitor.run(); in preDumpIfLockTooSlow()
|
/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/core/java/android/app/ |
D | Instrumentation.java | 806 public void addMonitor(ActivityMonitor monitor) { in addMonitor() argument 811 mActivityMonitors.add(monitor); in addMonitor() 875 public boolean checkMonitorHit(ActivityMonitor monitor, int minHits) { in checkMonitorHit() argument 878 if (monitor.getHits() < minHits) { in checkMonitorHit() 881 mActivityMonitors.remove(monitor); in checkMonitorHit() 895 public Activity waitForMonitor(ActivityMonitor monitor) { in waitForMonitor() argument 896 Activity activity = monitor.waitForActivity(); in waitForMonitor() 898 mActivityMonitors.remove(monitor); in waitForMonitor() 914 public Activity waitForMonitorWithTimeout(ActivityMonitor monitor, long timeOut) { in waitForMonitorWithTimeout() argument 915 Activity activity = monitor.waitForActivityWithTimeout(timeOut); in waitForMonitorWithTimeout() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 187 void addMonitorLocked(Monitor monitor) { in addMonitorLocked() argument 190 mMonitorQueue.add(monitor); in addMonitorLocked() 268 mCurrentMonitor.monitor(); in run() 317 public void monitor() { in monitor() method in Watchdog.BinderThreadMonitor 323 void monitor(); in monitor() method 439 public void addMonitor(Monitor monitor) { in addMonitor() argument 441 mMonitorChecker.addMonitorLocked(monitor); in addMonitor()
|
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/ |
D | ResizeTasksSyncTest.kt | 24 import com.android.server.wm.flicker.monitor.LayersTraceMonitor in <lambda>() 25 import com.android.server.wm.flicker.monitor.withSFTracing in <lambda>()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | SurfaceTracingTestBase.kt | 24 import com.android.server.wm.flicker.monitor.LayersTraceMonitor in <lambda>() 25 import com.android.server.wm.flicker.monitor.withSFTracing in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvRemoteService.java | 55 public void monitor() { in monitor() method in TvRemoteService
|
/frameworks/av/services/tuner/aidl/android/media/tv/tuner/ |
D | TunerFilterEvent.aidl | 51 TunerFilterMonitorEvent monitor;
|
/frameworks/base/tests/AccessoryDisplay/ |
D | README | 13 a monitor or video dock that the user will want to plug a phone into. 28 play content to an external monitor.
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | BackupManagerServiceRoboTest.java | 870 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_withoutPermission_throwsSecurityExceptionForNonCallingUser() local 876 mUserTwoId, packages, observer, monitor, 0)); in testRequestBackup_withoutPermission_throwsSecurityExceptionForNonCallingUser() 891 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_withPermission_propagatesForNonCallingUser() local 894 backupManagerService.requestBackup(mUserTwoId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_withPermission_propagatesForNonCallingUser() 896 verify(mUserTwoService).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_withPermission_propagatesForNonCallingUser() 906 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_onRegisteredUser_callsMethodForUser() local 909 backupManagerService.requestBackup(mUserOneId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_onRegisteredUser_callsMethodForUser() 911 verify(mUserOneService).requestBackup(packages, observer, monitor, /* flags */ 0); in testRequestBackup_onRegisteredUser_callsMethodForUser() 921 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_onUnknownUser_doesNotPropagateCall() local 924 backupManagerService.requestBackup(mUserTwoId, packages, observer, monitor, /* flags */ 0); in testRequestBackup_onUnknownUser_doesNotPropagateCall() [all …]
|