Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DSecurityLog.java471 public static final class SecurityEvent implements Parcelable { class in SecurityLog
479 /* package */ SecurityEvent(byte[] data) { in SecurityEvent() method in SecurityLog.SecurityEvent
487 /* package */ SecurityEvent(Parcel source) { in SecurityEvent() method in SecurityLog.SecurityEvent
493 public SecurityEvent(long id, byte[] data) { in SecurityEvent() method in SecurityLog.SecurityEvent
603 public static final Parcelable.Creator<SecurityEvent> CREATOR =
604 new Parcelable.Creator<SecurityEvent>() {
606 public SecurityEvent createFromParcel(Parcel source) {
607 return new SecurityEvent(source);
611 public SecurityEvent[] newArray(int size) {
612 return new SecurityEvent[size];
[all …]
DDevicePolicyManager.java38 import android.app.admin.SecurityLog.SecurityEvent;
8287 public @Nullable List<SecurityEvent> retrieveSecurityLogs(@NonNull ComponentName admin) { in retrieveSecurityLogs()
8290 ParceledListSlice<SecurityEvent> list = mService.retrieveSecurityLogs(admin); in retrieveSecurityLogs()
8418 public @Nullable List<SecurityEvent> retrievePreRebootSecurityLogs( in retrievePreRebootSecurityLogs()
8422 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.java111 import android.app.admin.SecurityLog.SecurityEvent;
11660 public ParceledListSlice<SecurityEvent> retrievePreRebootSecurityLogs(ComponentName admin) { in retrievePreRebootSecurityLogs()
11675 ArrayList<SecurityEvent> output = new ArrayList<SecurityEvent>(); in retrievePreRebootSecurityLogs()
11678 return new ParceledListSlice<SecurityEvent>(output); in retrievePreRebootSecurityLogs()
11681 return new ParceledListSlice<SecurityEvent>(Collections.<SecurityEvent>emptyList()); in retrievePreRebootSecurityLogs()
11686 public ParceledListSlice<SecurityEvent> retrieveSecurityLogs(ComponentName admin) { in retrieveSecurityLogs()
11700 List<SecurityEvent> logs = mSecurityLogMonitor.retrieveLogs(); in retrieveSecurityLogs()
11701 return logs != null ? new ParceledListSlice<SecurityEvent>(logs) : null; in retrieveSecurityLogs()
/frameworks/base/api/
Dtest-current.txt188 public static final class SecurityLog.SecurityEvent implements android.os.Parcelable {
189 ctor public SecurityLog.SecurityEvent(long, byte[]);
Dcurrent.txt6547 …method public java.util.List<android.app.admin.SecurityLog.SecurityEvent> retrievePreRebootSecurit…
6548 …method public java.util.List<android.app.admin.SecurityLog.SecurityEvent> retrieveSecurityLogs(and…
6808 public static final class SecurityLog.SecurityEvent implements android.os.Parcelable {
6816 …ic static final android.os.Parcelable.Creator<android.app.admin.SecurityLog.SecurityEvent> CREATOR;
/frameworks/base/config/
Dpreloaded-classes461 android.app.admin.SecurityLog$SecurityEvent
462 android.app.admin.SecurityLog$SecurityEvent$1
Dhiddenapi-public-dex.txt1729 Landroid/app/admin/SecurityLog$SecurityEvent;
1730 Landroid/app/admin/SecurityLog$SecurityEvent;-><init>(J[B)V
1731 Landroid/app/admin/SecurityLog$SecurityEvent;->CREATOR:Landroid/os/Parcelable$Creator;
1732 Landroid/app/admin/SecurityLog$SecurityEvent;->describeContents()I
1733 Landroid/app/admin/SecurityLog$SecurityEvent;->equals(Ljava/lang/Object;)Z
1734 Landroid/app/admin/SecurityLog$SecurityEvent;->getData()Ljava/lang/Object;
1735 Landroid/app/admin/SecurityLog$SecurityEvent;->getId()J
1736 Landroid/app/admin/SecurityLog$SecurityEvent;->getLogLevel()I
1737 Landroid/app/admin/SecurityLog$SecurityEvent;->getTag()I
1738 Landroid/app/admin/SecurityLog$SecurityEvent;->getTimeNanos()J
[all …]
Dhiddenapi-light-greylist.txt322 Landroid/app/admin/SecurityLog$SecurityEvent;-><init>([B)V
Dboot-image-profile.txt15815 HSPLandroid/app/admin/SecurityLog$SecurityEvent$1;-><init>()V
54116 Landroid/app/admin/SecurityLog$SecurityEvent$1;
54117 Landroid/app/admin/SecurityLog$SecurityEvent;