Home
last modified time | relevance | path

Searched refs:receivedTime (Results 1 – 7 of 7) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPendingSystemUpdateTest.kt55 val receivedTime = System.currentTimeMillis() in notifyPendingSystemUpdate_unknownIfSecurityPatch_dpcReceivesCallback() constant
57 TestApis.devicePolicy().notifyPendingSystemUpdate(receivedTime) in notifyPendingSystemUpdate_unknownIfSecurityPatch_dpcReceivesCallback()
61 .whereReceivedTime().isEqualTo(receivedTime) in notifyPendingSystemUpdate_unknownIfSecurityPatch_dpcReceivesCallback()
71 val receivedTime = System.currentTimeMillis() in notifyPendingSystemUpdate_forSecurityPatch_dpcReceivesCallback() constant
73 TestApis.devicePolicy().notifyPendingSystemUpdate(receivedTime, /* isSecurityPatch= */true) in notifyPendingSystemUpdate_forSecurityPatch_dpcReceivesCallback()
77 .whereReceivedTime().isEqualTo(receivedTime) in notifyPendingSystemUpdate_forSecurityPatch_dpcReceivesCallback()
87 val receivedTime = System.currentTimeMillis() in notifyPendingSystemUpdate_forNonSecurityPatch_dpcReceivesCallback() constant
90 .notifyPendingSystemUpdate(receivedTime, /* isSecurityPatch= */false) in notifyPendingSystemUpdate_forNonSecurityPatch_dpcReceivesCallback()
94 .whereReceivedTime().isEqualTo(receivedTime) in notifyPendingSystemUpdate_forNonSecurityPatch_dpcReceivesCallback()
151 val receivedTime = System.currentTimeMillis() in getPendingSystemUpdate_withReceivedTime() constant
[all …]
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminSystemUpdatePendingEvent.java121 long receivedTime) { in logger() argument
123 deviceAdminReceiver, context, intent, receivedTime); in logger()
133 long receivedTime) { in DeviceAdminSystemUpdatePendingEventLogger() argument
137 setReceivedTime(receivedTime); in DeviceAdminSystemUpdatePendingEventLogger()
171 public DeviceAdminSystemUpdatePendingEventLogger setReceivedTime(long receivedTime) { in setReceivedTime() argument
172 mEvent.mReceivedTime = receivedTime; in setReceivedTime()
196 public long receivedTime() { in receivedTime() method in DeviceAdminSystemUpdatePendingEvent
209 + ", receivedTime=" + receivedTime() in toString()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminSystemUpdatePendingEventTest.java172 assertThat(eventLogs.poll().receivedTime()).isEqualTo(RECEIVED_TIME); in whereReceivedTime_works()
190 assertThat(eventLogs.poll().receivedTime()).isEqualTo(RECEIVED_TIME); in whereReceivedTime_skipsNonMatching()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppDeviceAdminReceiver.java116 public void onSystemUpdatePending(Context context, Intent intent, long receivedTime) { in onSystemUpdatePending() argument
117 super.onSystemUpdatePending(context, intent, receivedTime); in onSystemUpdatePending()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiverTest.java308 long receivedTime = System.currentTimeMillis(); in systemUpdatePending_logsSystemUpdatePendingEvent() local
310 receiver.onSystemUpdatePending(sContext, sIntent, receivedTime); in systemUpdatePending_logsSystemUpdatePendingEvent()
314 assertThat(eventLogs.poll().receivedTime()).isEqualTo(receivedTime); in systemUpdatePending_logsSystemUpdatePendingEvent()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiver.kt187 override fun onSystemUpdatePending(context: Context, intent: Intent, receivedTime: Long) { in onSystemUpdatePending()
188 val logger = DeviceAdminSystemUpdatePendingEvent.logger(this, context, intent, receivedTime) in onSystemUpdatePending()
191 super.onSystemUpdatePending(context, intent, receivedTime) in onSystemUpdatePending()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt35489 field public static final String RECEIVED_TIME = "receivedTime";