IT. Expert System.

Android Reference



Class StrictMode.ViolationInfo

  • Enclosing class:

    public static class StrictMode.ViolationInfo
    extends Object
    Parcelable that gets sent in Binder call headers back to callers to report violations that happened during a cross-process call.
    • Field Detail

      • policy

        public final int policy
        The strict mode policy mask at the time of violation.
      • durationMillis

        public int durationMillis
        The wall time duration of the violation, when known. -1 when not known.
      • numAnimationsRunning

        public int numAnimationsRunning
        The number of animations currently running.
      • tags

        public String[] tags
        List of tags from active Span instances during this violation, or null for none.
      • violationNumThisLoop

        public int violationNumThisLoop
        Which violation number this was (1-based) since the last Looper loop, from the perspective of the root caller (if it crossed any processes via Binder calls). The value is 0 if the root caller wasn't on a Looper thread.
      • violationUptimeMillis

        public long violationUptimeMillis
        The time (in terms of SystemClock.uptimeMillis()) that the violation occurred.
      • broadcastIntentAction

        public String broadcastIntentAction
        The action of the Intent being broadcast to somebody's onReceive on this thread right now, or null.
      • numInstances

        public long numInstances
        If this is a instance count violation, the number of instances in memory, else -1.
    • Constructor Detail

      • StrictMode.ViolationInfo

        public StrictMode.ViolationInfo()
        Create an uninitialized instance of ViolationInfo
      • StrictMode.ViolationInfo

        public StrictMode.ViolationInfo(Throwable tr,
                                int policy)
        Create an instance of ViolationInfo initialized from an exception.
      • StrictMode.ViolationInfo

        public StrictMode.ViolationInfo(Parcel in)
        Create an instance of ViolationInfo initialized from a Parcel.
      • StrictMode.ViolationInfo

        public StrictMode.ViolationInfo(Parcel in,
                                boolean unsetGatheringBit)
        Create an instance of ViolationInfo initialized from a Parcel.
        unsetGatheringBit - if true, the caller is the root caller and the gathering penalty should be removed.
    • Method Detail

      • hashCode

        public int hashCode()
        Description copied from class: Object
        Returns an integer hash code for this object. By contract, any two objects for which Object.equals(java.lang.Object) returns true must return the same hash code value. This means that subclasses of Object usually override both methods or neither method.

        Note that hash values must not change over time unless information used in equals comparisons also changes.

        See Writing a correct hashCode method if you intend implementing your own hashCode method.

        hashCode in class Object
        this object's hash code.
        See Also:
      • writeToParcel

        public void writeToParcel(Parcel dest,
                         int flags)
        Save a ViolationInfo instance to a parcel.
      • dump

        public void dump(Printer pw,
                String prefix)
        Dump a ViolationInfo instance to a Printer.


Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)





Java Script








Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 650 / 158776953. Delta: 0.04016 с