Home
last modified time | relevance | path

Searched refs:spiedContext (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java241 public final Context spiedContext; field in DpmMockContext
305 spiedContext = mock(Context.class); in DpmMockContext()
447 spiedContext.sendBroadcast(intent); in sendBroadcast()
452 spiedContext.sendBroadcast(intent, receiverPermission); in sendBroadcast()
457 spiedContext.sendBroadcastMultiplePermissions(intent, receiverPermissions); in sendBroadcastMultiplePermissions()
462 spiedContext.sendBroadcast(intent, receiverPermission, options); in sendBroadcast()
467 spiedContext.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast()
472 spiedContext.sendOrderedBroadcast(intent, receiverPermission); in sendOrderedBroadcast()
479 spiedContext.sendOrderedBroadcast(intent, receiverPermission, resultReceiver, scheduler, in sendOrderedBroadcast()
487 spiedContext.sendOrderedBroadcast(intent, receiverPermission, options, resultReceiver, in sendOrderedBroadcast()
[all …]
DDevicePolicyManagerTest.java230 verify(mContext.spiedContext).sendBroadcastAsUser( in testSetActiveAdmin()
234 verify(mContext.spiedContext).sendBroadcastAsUser( in testSetActiveAdmin()
504 verify(mContext.spiedContext, times(1)).sendBroadcastAsUser( in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
520 verify(mContext.spiedContext).sendOrderedBroadcastAsUser( in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
537 verify(mContext.spiedContext, times(2)).sendBroadcastAsUser( in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
613 verify(mContext.spiedContext, times(1)).sendBroadcastAsUser( in setDeviceOwner()