Home
last modified time | relevance | path

Searched refs:SecurityEvent (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DSecurityLog.java475 public static final class SecurityEvent implements Parcelable { class in SecurityLog
484 /* package */ SecurityEvent(byte[] data) { in SecurityEvent() method in SecurityLog.SecurityEvent
492 /* package */ SecurityEvent(Parcel source) { in SecurityEvent() method in SecurityLog.SecurityEvent
498 public SecurityEvent(long id, byte[] data) { in SecurityEvent() method in SecurityLog.SecurityEvent
608 public static final @android.annotation.NonNull Parcelable.Creator<SecurityEvent> CREATOR =
609 new Parcelable.Creator<SecurityEvent>() {
611 public SecurityEvent createFromParcel(Parcel source) {
612 return new SecurityEvent(source);
616 public SecurityEvent[] newArray(int size) {
617 return new SecurityEvent[size];
[all …]
DDevicePolicyManager.java41 import android.app.admin.SecurityLog.SecurityEvent;
9264 public @Nullable List<SecurityEvent> retrieveSecurityLogs(@NonNull ComponentName admin) { in retrieveSecurityLogs()
9267 ParceledListSlice<SecurityEvent> list = mService.retrieveSecurityLogs(admin); in retrieveSecurityLogs()
9411 public @Nullable List<SecurityEvent> retrievePreRebootSecurityLogs( in retrievePreRebootSecurityLogs()
9415 ParceledListSlice<SecurityEvent> list = mService.retrievePreRebootSecurityLogs(admin); in retrievePreRebootSecurityLogs()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSecurityEventTest.java5 import android.app.admin.SecurityLog.SecurityEvent;
20 SecurityEvent event = buildSecurityEvents(1 /* generate a single event */, ID).get(0); in testSecurityEventId()
28 SecurityEvent event = buildSecurityEvents(1 /* generate a single event */, ID).get(0); in testSecurityEventParceling()
33 SecurityEvent unparceledEvent = p.readParcelable(SecurityEventTest.class.getClassLoader()); in testSecurityEventParceling()
42 private List<SecurityEvent> buildSecurityEvents(int numEvents, long id) { in buildSecurityEvents()
55 List<SecurityEvent> securityEvents = new ArrayList<>(); in buildSecurityEvents()
57 securityEvents.add(new SecurityEvent(id++, events.get(i).getBytes())); in buildSecurityEvents()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java24 import android.app.admin.SecurityLog.SecurityEvent;
105 private ArrayList<SecurityEvent> mPendingLogs = new ArrayList<>();
119 private final ArrayList<SecurityEvent> mLastEvents = new ArrayList<>();
242 List<SecurityEvent> retrieveLogs() { in retrieveLogs()
249 List<SecurityEvent> result = mPendingLogs; in retrieveLogs()
264 private void getNextBatch(ArrayList<SecurityEvent> newLogs) throws IOException { in getNextBatch()
296 private void saveLastEvents(ArrayList<SecurityEvent> newLogs) { in saveLastEvents()
323 private void mergeBatchLocked(final ArrayList<SecurityEvent> newLogs) { in mergeBatchLocked()
333 final SecurityEvent curEvent = newLogs.get(curPos); in mergeBatchLocked()
339 final SecurityEvent lastEvent = mLastEvents.get(lastPos); in mergeBatchLocked()
[all …]
DDevicePolicyManagerService.java132 import android.app.admin.SecurityLog.SecurityEvent;
12716 public ParceledListSlice<SecurityEvent> retrievePreRebootSecurityLogs(ComponentName admin) { in retrievePreRebootSecurityLogs()
12735 ArrayList<SecurityEvent> output = new ArrayList<SecurityEvent>(); in retrievePreRebootSecurityLogs()
12738 return new ParceledListSlice<SecurityEvent>(output); in retrievePreRebootSecurityLogs()
12741 return new ParceledListSlice<SecurityEvent>(Collections.<SecurityEvent>emptyList()); in retrievePreRebootSecurityLogs()
12746 public ParceledListSlice<SecurityEvent> retrieveSecurityLogs(ComponentName admin) { in retrieveSecurityLogs()
12760 List<SecurityEvent> logs = mSecurityLogMonitor.retrieveLogs(); in retrieveSecurityLogs()
12765 return logs != null ? new ParceledListSlice<SecurityEvent>(logs) : null; in retrieveSecurityLogs()
/frameworks/base/api/
Dtest-lint-baseline.txt674 MissingNullability: android.app.admin.SecurityLog.SecurityEvent#SecurityEvent(long, byte[]) paramet…
Dtest-current.txt443 public static final class SecurityLog.SecurityEvent implements android.os.Parcelable {
444 ctor public SecurityLog.SecurityEvent(long, byte[]);
Dcurrent.txt6754 …method @Nullable public java.util.List<android.app.admin.SecurityLog.SecurityEvent> retrievePreReb…
6755 …method @Nullable public java.util.List<android.app.admin.SecurityLog.SecurityEvent> retrieveSecuri…
7060 public static final class SecurityLog.SecurityEvent implements android.os.Parcelable {
7068 …ic static final android.os.Parcelable.Creator<android.app.admin.SecurityLog.SecurityEvent> CREATOR;
/frameworks/base/config/
Dpreloaded-classes508 android.app.admin.SecurityLog$SecurityEvent$1
509 android.app.admin.SecurityLog$SecurityEvent
Dboot-image-profile.txt2558 HSPLandroid/app/admin/SecurityLog$SecurityEvent$1;-><init>()V
32570 Landroid/app/admin/SecurityLog$SecurityEvent$1;
32571 Landroid/app/admin/SecurityLog$SecurityEvent;
Dhiddenapi-greylist-max-o.txt3433 Landroid/app/admin/SecurityLog$SecurityEvent;-><init>(Landroid/os/Parcel;)V
3434 Landroid/app/admin/SecurityLog$SecurityEvent;->getSuccess()Z
3435 Landroid/app/admin/SecurityLog$SecurityEvent;->mEvent:Landroid/util/EventLog$Event;
3436 Landroid/app/admin/SecurityLog$SecurityEvent;->mId:J
3437 Landroid/app/admin/SecurityLog$SecurityEvent;->setId(J)V
/frameworks/base/non-updatable-api/
Dcurrent.txt6754 …method @Nullable public java.util.List<android.app.admin.SecurityLog.SecurityEvent> retrievePreReb…
6755 …method @Nullable public java.util.List<android.app.admin.SecurityLog.SecurityEvent> retrieveSecuri…
7060 public static final class SecurityLog.SecurityEvent implements android.os.Parcelable {
7068 …ic static final android.os.Parcelable.Creator<android.app.admin.SecurityLog.SecurityEvent> CREATOR;
/frameworks/base/services/
Dart-profile6465 …erver/devicepolicy/SecurityLogMonitor;->assignLogId(Landroid/app/admin/SecurityLog$SecurityEvent;)V