/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 70 LingerMonitor mMonitor; field in LingerMonitorTest 87 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, HIGH_RATE_LIMIT); in setUp() 96 assertTrue(mMonitor.isNotificationEnabled(nai1, nai2)); in testTransitions() 97 assertFalse(mMonitor.isNotificationEnabled(nai2, nai1)); in testTransitions() 107 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationOnLinger() 118 mMonitor.noteLingerDefaultNetwork(from, to); in testToastOnLinger() 129 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationClearedAfterDisconnect() 132 mMonitor.noteDisconnect(to); in testNotificationClearedAfterDisconnect() 143 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationClearedAfterSwitchingBack() 146 mMonitor.noteLingerDefaultNetwork(to, from); in testNotificationClearedAfterSwitchingBack() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallbackTest.java | 61 private WifiP2pMonitor mMonitor; field in SupplicantP2pIfaceCallbackTest 84 mMonitor = mock(WifiP2pMonitor.class); in setUp() 85 mDut = new SupplicantP2pIfaceCallbackSpy(mIface, mMonitor); in setUp() 114 .when(mMonitor).broadcastP2pDeviceFound( in testOnDeviceFound_success() 132 verify(mMonitor, times(2)).broadcastP2pDeviceFound( in testOnDeviceFound_success() 157 verify(mMonitor).broadcastP2pDeviceFound(eq(mIface), deviceCaptor.capture()); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 176 verify(mMonitor).broadcastP2pDeviceFound( in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 198 verify(mMonitor, never()).broadcastP2pDeviceFound( in testOnDeviceFound_invalidArguments() 208 verify(mMonitor, never()).broadcastP2pDeviceFound( in testOnDeviceFound_invalidArguments() 218 verify(mMonitor, never()).broadcastP2pDeviceFound( in testOnDeviceFound_invalidArguments() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallback.java | 45 private final WifiP2pMonitor mMonitor; field in SupplicantP2pIfaceCallback 49 mMonitor = monitor; in SupplicantP2pIfaceCallback() 136 mMonitor.broadcastP2pDeviceFound(mInterface, device); in onDeviceFound() 157 mMonitor.broadcastP2pDeviceLost(mInterface, device); in onDeviceLost() 166 mMonitor.broadcastP2pFindStopped(mInterface); in onFindStopped() 208 mMonitor.broadcastP2pGoNegotiationRequest(mInterface, config); in onGoNegotiationRequest() 222 mMonitor.broadcastP2pGoNegotiationSuccess(mInterface); in onGoNegotiationCompleted() 224 mMonitor.broadcastP2pGoNegotiationFailure(mInterface, result); in onGoNegotiationCompleted() 234 mMonitor.broadcastP2pGroupFormationSuccess(mInterface); in onGroupFormationSuccess() 246 mMonitor.broadcastP2pGroupFormationFailure(mInterface, failureReason); in onGroupFormationFailure() [all …]
|
D | SupplicantP2pIfaceHal.java | 115 private final WifiP2pMonitor mMonitor; field in SupplicantP2pIfaceHal 119 mMonitor = monitor; in SupplicantP2pIfaceHal() 265 if (mISupplicantP2pIface != null && mMonitor != null) { in setupIface() 266 mCallback = new SupplicantP2pIfaceCallback(ifaceName, mMonitor); in setupIface()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | TarBackupReader.java | 87 private IBackupManagerMonitor mMonitor; field in TarBackupReader 96 mMonitor = monitor; in TarBackupReader() 325 mMonitor = BackupManagerMonitorUtils.monitorEvent( in readAppManifestAndReturnSignatures() 326 mMonitor, in readAppManifestAndReturnSignatures() 341 mMonitor = BackupManagerMonitorUtils.monitorEvent( in readAppManifestAndReturnSignatures() 342 mMonitor, in readAppManifestAndReturnSignatures() 355 mMonitor = BackupManagerMonitorUtils.monitorEvent( in readAppManifestAndReturnSignatures() 356 mMonitor, in readAppManifestAndReturnSignatures() 365 mMonitor = BackupManagerMonitorUtils.monitorEvent( in readAppManifestAndReturnSignatures() 366 mMonitor, in readAppManifestAndReturnSignatures() [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/ |
D | ActiveRestoreSessionTest.java | 98 @Mock private IBackupManagerMonitor mMonitor; field in ActiveRestoreSessionTest 162 () -> restoreSession.getAvailableRestoreSets(mObserver, mMonitor)); in testGetAvailableRestoreSets_withoutPermission() 173 () -> restoreSession.getAvailableRestoreSets(null, mMonitor)); in testGetAvailableRestoreSets_forNullObserver() 182 int result = restoreSession.getAvailableRestoreSets(mObserver, mMonitor); in testGetAvailableRestoreSets_whenTransportNotRegistered() 195 int result = restoreSession.getAvailableRestoreSets(mObserver, mMonitor); in testGetAvailableRestoreSets() 213 int result = restoreSession.getAvailableRestoreSets(mObserver, mMonitor); in testGetAvailableRestoreSets_forEmptyRestoreSets() 228 int result = restoreSession.getAvailableRestoreSets(mObserver, mMonitor); in testGetAvailableRestoreSets_forNullRestoreSets() 248 int result = restoreSession.restoreAll(TOKEN_1, mObserver, mMonitor); in testRestoreAll() 270 int result = restoreSession.restoreAll(TOKEN_1, mObserver, mMonitor); in testRestoreAll_whenNoRestoreSets() 282 int result = restoreSession.restoreAll(TOKEN_1, mObserver, mMonitor); in testRestoreAll_whenSinglePackageSession() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 140 @Nullable private IBackupManagerMonitor mMonitor; field in PerformFullTransportBackupTask 169 mMonitor = monitor; in PerformFullTransportBackupTask() 203 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in PerformFullTransportBackupTask() 218 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in PerformFullTransportBackupTask() 233 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in PerformFullTransportBackupTask() 245 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in PerformFullTransportBackupTask() 337 mMonitor = BackupManagerMonitorUtils in run() 338 .monitorEvent(mMonitor, monitoringEvent, null, in run() 350 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in run() 426 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in run() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 68 @Nullable private IBackupManagerMonitor mMonitor; field in KeyValueBackupReporter 76 mMonitor = monitor; in KeyValueBackupReporter() 82 return mMonitor; in getMonitor() 211 mMonitor = in onAgentIllegalKey() 213 mMonitor, in onAgentIllegalKey() 257 mMonitor = in onEmptyData() 259 mMonitor, in onEmptyData() 295 mMonitor, in onPackageBackupNonIncrementalRequired() 338 mMonitor = in onAgentTimedOut() 340 mMonitor, in onAgentTimedOut() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 95 private IBackupManagerMonitor mMonitor; field in PerformUnifiedRestoreTask 186 mMonitor = monitor; in PerformUnifiedRestoreTask() 392 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in startRestore() 404 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in startRestore() 437 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in startRestore() 457 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in startRestore() 517 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in dispatchNextRestore() 543 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in dispatchNextRestore() 564 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in dispatchNextRestore() 617 mMonitor = BackupManagerMonitorUtils.monitorEvent(mMonitor, in restoreKeyValue() [all …]
|
D | FullRestoreEngineThread.java | 50 mEngine.mMonitor); in run()
|
D | FullRestoreEngine.java | 82 final IBackupManagerMonitor mMonitor; field in FullRestoreEngine 145 mMonitor = monitor; in FullRestoreEngine()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | BatteryController.java | 121 private BroadcastReceiver mMonitor; field in BatteryController.ChargingTracker 146 if (mMonitor == null) { in setMonitorBatteryLocked() 147 mMonitor = new BroadcastReceiver() { in setMonitorBatteryLocked() 154 mContext.registerReceiver(mMonitor, filter); in setMonitorBatteryLocked() 157 if (mMonitor != null) { in setMonitorBatteryLocked() 158 mContext.unregisterReceiver(mMonitor); in setMonitorBatteryLocked() 159 mMonitor = null; in setMonitorBatteryLocked() 173 return mMonitor != null; in isMonitoring()
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackConfiguration.java | 505 final AudioPlaybackConfiguration mMonitor; // never null field in AudioPlaybackConfiguration.IPlayerShell 509 mMonitor = monitor; in IPlayerShell() 520 if (mMonitor != null) { in monitorDeath() 521 Log.w(TAG, "Could not link to client death for piid=" + mMonitor.mPlayerIId, e); in monitorDeath() 533 if (mMonitor != null) { in binderDied() 534 if (DEBUG) { Log.i(TAG, "IPlayerShell binderDied for piid=" + mMonitor.mPlayerIId);} in binderDied() 535 mMonitor.playerDied(); in binderDied()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporterTest.java | 46 @Mock private IBackupManagerMonitor mMonitor; field in KeyValueBackupReporterTest 52 mReporter = new KeyValueBackupReporter(mBackupManagerService, mObserver, mMonitor); in setUp() 71 assertThat(monitor).isEqualTo(mMonitor); in testGetMonitor_returnsMonitor()
|
D | KeyValueBackupTaskTest.java | 180 @Mock private IBackupManagerMonitor mMonitor; field in KeyValueBackupTaskTest 246 mReporter = spy(new KeyValueBackupReporter(mBackupManagerService, mObserver, mMonitor)); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 85 private final Object mMonitor = new Object(); field in ImageWallpaper.GLEngine 139 synchronized (mMonitor) { in waitForBackgroundRendering() 143 mMonitor.wait(INTERVAL_WAIT_FOR_RENDERING); in waitForBackgroundRendering() 271 synchronized (mMonitor) { in notifyWaitingThread() 275 mMonitor.notify(); in notifyWaitingThread()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 129 private boolean mMonitor; field in ServiceTest.TestConnection 135 mMonitor = !setReporter; in TestConnection() 139 mMonitor = v; in setMonitor() 155 if (mMonitor) { in onServiceConnected() 176 if (mMonitor) { in onServiceDisconnected()
|
/frameworks/base/core/java/android/app/backup/ |
D | RestoreSession.java | 398 final BackupManagerMonitor mMonitor; field in RestoreSession.BackupManagerMonitorWrapper 401 mMonitor = monitor; in BackupManagerMonitorWrapper() 406 mMonitor.onEvent(event); in onEvent()
|
D | BackupManager.java | 1041 final BackupManagerMonitor mMonitor; field in BackupManager.BackupManagerMonitorWrapper 1044 mMonitor = monitor; in BackupManagerMonitorWrapper() 1049 mMonitor.onEvent(event); in onEvent()
|
/frameworks/av/services/audioflinger/ |
D | RecordTracks.h | 42 const wp<OpRecordAudioMonitor> mMonitor;
|
D | PlaybackTracks.h | 44 const wp<OpPlayAudioMonitor> mMonitor;
|
D | Tracks.cpp | 468 const wp<OpPlayAudioMonitor>& monitor) : mMonitor(monitor) in PlayAudioOpCallback() 478 sp<OpPlayAudioMonitor> monitor = mMonitor.promote(); in opChanged() 1968 const wp<OpRecordAudioMonitor>& monitor) : mMonitor(monitor) in RecordAudioOpCallback() 1977 sp<OpRecordAudioMonitor> monitor = mMonitor.promote(); in opChanged()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 83 private final TextServicesMonitor mMonitor; field in TextServicesManagerService 351 mMonitor = new TextServicesMonitor(); in TextServicesManagerService() 352 mMonitor.register(context, null, UserHandle.ALL, true); in TextServicesManagerService()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 794 private final MyPackageMonitor mMonitor; field in WallpaperManagerService 1628 mMonitor = new MyPackageMonitor(); in WallpaperManagerService() 1642 mMonitor.register(mContext, null, UserHandle.ALL, true); in initialize()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 4505 Landroid/app/backup/BackupManager$BackupManagerMonitorWrapper;->mMonitor:Landroid/app/backup/Backup… 4909 Landroid/app/backup/RestoreSession$BackupManagerMonitorWrapper;->mMonitor:Landroid/app/backup/Backu… 36983 Landroid/media/AudioPlaybackConfiguration$IPlayerShell;->mMonitor:Landroid/media/AudioPlaybackConfi…
|