Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java30 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 …]
DBackupParams.java34 public IBackupManagerMonitor monitor; field in BackupParams
41 IBackupManagerMonitor monitor, OnTaskFinishedListener listener, boolean userInitiated, in BackupParams() argument
48 this.monitor = monitor; in BackupParams()
DRestoreGetSetsParams.java31 public final IBackupManagerMonitor monitor; field in RestoreGetSetsParams
40 monitor = _monitor; in RestoreGetSetsParams()
/frameworks/base/core/java/android/app/backup/
DRestoreSession.java56 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 …]
DIRestoreSession.aidl38 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
DBackupManager.java320 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()
DIBackupManager.aidl669 IBackupManagerMonitor monitor, int flags); in requestBackupForUser() argument
674 int requestBackup(in String[] packages, IBackupObserver observer, IBackupManagerMonitor monitor, in requestBackup() argument
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp23 Connection::Connection(const sp<InputChannel>& inputChannel, bool monitor) in Connection() argument
26 monitor(monitor), in Connection()
36 if (monitor) { in getWindowName()
DMonitor.cpp25 TouchedMonitor::TouchedMonitor(const Monitor& monitor, float xOffset, float yOffset) in TouchedMonitor() argument
26 : monitor(monitor), xOffset(xOffset), yOffset(yOffset) {} in TouchedMonitor()
DMonitor.h32 Monitor monitor; member
36 explicit TouchedMonitor(const Monitor& monitor, float xOffset, float yOffset);
DConnection.h47 bool monitor; variable
62 explicit Connection(const sp<InputChannel>& inputChannel, bool monitor);
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java80 IBackupManagerMonitor monitor) { in getAvailableRestoreSets() argument
123 new RestoreGetSetsParams(transportClient, this, observer, monitor, listener)); in getAvailableRestoreSets()
135 IBackupManagerMonitor monitor) { in restoreAll() argument
179 monitor, in restoreAll()
196 @NonNull String[] packages, @Nullable IBackupManagerMonitor monitor) { in restorePackages() argument
212 if (monitor == null) { in restorePackages()
215 b.append(monitor.toString()); in restorePackages()
270 monitor, in restorePackages()
288 IBackupManagerMonitor monitor) { in restorePackage() argument
291 + "monitor=" + monitor); in restorePackage()
[all …]
DFullRestoreEngine.java139 IBackupManagerMonitor monitor, PackageInfo onlyPackage, boolean allowApks, in FullRestoreEngine() argument
145 mMonitor = monitor; in FullRestoreEngine()
167 PackageInfo onlyPackage, boolean allowApks, int token, IBackupManagerMonitor monitor) { in restoreOneFile() argument
181 bytesReadListener, monitor); in restoreOneFile()
256 monitor = tarBackupReader.getMonitor(); in restoreOneFile()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorUtils.java50 @Nullable IBackupManagerMonitor monitor, in monitorEvent()
55 if (monitor != null) { in monitorEvent()
71 monitor.onEvent(bundle); in monitorEvent()
72 return monitor; in monitorEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityModel.java58 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/
DInputMonitorCompat.java33 private InputMonitorCompat(InputMonitor monitor) { in InputMonitorCompat() argument
34 mInputMonitor = monitor; in InputMonitorCompat()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java147 void addMonitorLocked(Monitor monitor) { in addMonitorLocked() argument
150 mMonitorQueue.add(monitor); in addMonitorLocked()
228 mCurrentMonitor.monitor(); in run()
277 public void monitor() { in monitor() method in Watchdog.BinderThreadMonitor
283 void monitor(); in monitor() method
366 public void addMonitor(Monitor monitor) { in addMonitor() argument
368 mMonitorChecker.addMonitorLocked(monitor); in addMonitor()
/frameworks/base/tests/FlickerTests/
DREADME.md109 …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…
113monitor 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/
DKeyValueBackupReporterTest.java69 IBackupManagerMonitor monitor = mReporter.getMonitor(); in testGetMonitor_returnsMonitor() local
71 assertThat(monitor).isEqualTo(mMonitor); in testGetMonitor_returnsMonitor()
/frameworks/base/core/tests/SvcMonitor/
DREADME3 SvcMonitor service can monitor the CPU usage of XYZ and com.android.bluetooth.
21 To monitor the data:
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java186 final KeyguardUpdateMonitorCallback monitor = mController.getKeyguardCallback(); in updateOnTheFly() local
191 monitor.onKeyguardVisibilityChanged(true); in updateOnTheFly()
200 monitor.onKeyguardVisibilityChanged(false); in updateOnTheFly()
201 monitor.onKeyguardVisibilityChanged(true); in updateOnTheFly()
209 monitor.onKeyguardVisibilityChanged(false); in updateOnTheFly()
210 monitor.onKeyguardVisibilityChanged(true); in updateOnTheFly()
/frameworks/base/core/java/android/app/
DInstrumentation.java785 public void addMonitor(ActivityMonitor monitor) { in addMonitor() argument
790 mActivityMonitors.add(monitor); in addMonitor()
854 public boolean checkMonitorHit(ActivityMonitor monitor, int minHits) { in checkMonitorHit() argument
857 if (monitor.getHits() < minHits) { in checkMonitorHit()
860 mActivityMonitors.remove(monitor); in checkMonitorHit()
874 public Activity waitForMonitor(ActivityMonitor monitor) { in waitForMonitor() argument
875 Activity activity = monitor.waitForActivity(); in waitForMonitor()
877 mActivityMonitors.remove(monitor); in waitForMonitor()
893 public Activity waitForMonitorWithTimeout(ActivityMonitor monitor, long timeOut) { in waitForMonitorWithTimeout() argument
894 Activity activity = monitor.waitForActivityWithTimeout(timeOut); in waitForMonitorWithTimeout()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceTest.java965 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/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java141 final Object monitor = new Object(); in testKeyValue_Concurrency() local
148 synchronized (monitor) { in testKeyValue_Concurrency()
150 monitor.wait(); in testKeyValue_Concurrency()
170 synchronized (monitor) { in testKeyValue_Concurrency()
171 monitor.notifyAll(); in testKeyValue_Concurrency()
/frameworks/base/tests/AccessoryDisplay/
DREADME13 a monitor or video dock that the user will want to plug a phone into.
28 play content to an external monitor.

1234