Searched refs:tag (Results 1 - 25 of 661) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/os/strictmode/
H A DResourceMismatchViolation.java20 public ResourceMismatchViolation(Object tag) { argument
21 super(tag.toString());
/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterBooleanArgument.java29 public KeymasterBooleanArgument(int tag) { argument
30 super(tag);
31 switch (KeymasterDefs.getTagType(tag)) {
35 throw new IllegalArgumentException("Bad bool tag " + tag);
39 public KeymasterBooleanArgument(int tag, Parcel in) { argument
40 super(tag);
H A DKeymasterBlobArgument.java27 public KeymasterBlobArgument(int tag, byte[] blob) { argument
28 super(tag);
29 switch (KeymasterDefs.getTagType(tag)) {
34 throw new IllegalArgumentException("Bad blob tag " + tag);
39 public KeymasterBlobArgument(int tag, Parcel in) { argument
40 super(tag);
H A DKeymasterLongArgument.java27 public KeymasterLongArgument(int tag, long value) { argument
28 super(tag);
29 switch (KeymasterDefs.getTagType(tag)) {
34 throw new IllegalArgumentException("Bad long tag " + tag);
39 public KeymasterLongArgument(int tag, Parcel in) { argument
40 super(tag);
H A DKeymasterArguments.java65 * Adds an enum tag with the provided value.
67 * @throws IllegalArgumentException if {@code tag} is not an enum tag.
69 public void addEnum(int tag, int value) { argument
70 int tagType = KeymasterDefs.getTagType(tag);
72 throw new IllegalArgumentException("Not an enum or repeating enum tag: " + tag);
74 addEnumTag(tag, value);
78 * Adds a repeated enum tag with the provided values.
80 * @throws IllegalArgumentException if {@code tag} i
82 addEnums(int tag, int... values) argument
97 getEnum(int tag, int defaultValue) argument
113 getEnums(int tag) argument
126 addEnumTag(int tag, int value) argument
140 addUnsignedInt(int tag, long value) argument
158 getUnsignedInt(int tag, long defaultValue) argument
176 addUnsignedLong(int tag, BigInteger value) argument
189 getUnsignedLongs(int tag) argument
202 addLongTag(int tag, BigInteger value) argument
222 addBoolean(int tag) argument
234 getBoolean(int tag) argument
250 addBytes(int tag, byte[] value) argument
266 getBytes(int tag, byte[] defaultValue) argument
283 addDate(int tag, Date value) argument
305 addDateIfNotNull(int tag, Date value) argument
322 getDate(int tag, Date defaultValue) argument
339 getArgumentByTag(int tag) argument
348 containsTag(int tag) argument
[all...]
H A DKeymasterDateArgument.java28 public KeymasterDateArgument(int tag, Date date) { argument
29 super(tag);
30 switch (KeymasterDefs.getTagType(tag)) {
34 throw new IllegalArgumentException("Bad date tag " + tag);
39 public KeymasterDateArgument(int tag, Parcel in) { argument
40 super(tag);
H A DKeymasterIntArgument.java27 public KeymasterIntArgument(int tag, int value) { argument
28 super(tag);
29 switch (KeymasterDefs.getTagType(tag)) {
36 throw new IllegalArgumentException("Bad int tag " + tag);
41 public KeymasterIntArgument(int tag, Parcel in) { argument
42 super(tag);
H A DKeymasterArgument.java31 public final int tag; field in class:KeymasterArgument
38 final int tag = in.readInt();
39 switch (KeymasterDefs.getTagType(tag)) {
44 return new KeymasterIntArgument(tag, in);
47 return new KeymasterLongArgument(tag, in);
49 return new KeymasterDateArgument(tag, in);
52 return new KeymasterBlobArgument(tag, in);
54 return new KeymasterBooleanArgument(tag, in);
56 throw new ParcelFormatException("Bad tag: " + tag
66 KeymasterArgument(int tag) argument
[all...]
H A DKeyCharacteristics.java70 * Returns the value of the specified enum tag or {@code defaultValue} if the tag is not
73 * @throws IllegalArgumentException if {@code tag} is not an enum tag.
75 public Integer getEnum(int tag) { argument
76 if (hwEnforced.containsTag(tag)) {
77 return hwEnforced.getEnum(tag, -1);
78 } else if (swEnforced.containsTag(tag)) {
79 return swEnforced.getEnum(tag, -1);
86 * Returns all values of the specified repeating enum tag
90 getEnums(int tag) argument
103 getUnsignedInt(int tag, long defaultValue) argument
116 getUnsignedLongs(int tag) argument
130 getDate(int tag) argument
143 getBoolean(int tag) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DAndroidPrintStream.java29 private final String tag; field in class:AndroidPrintStream
35 * @param tag to log
37 public AndroidPrintStream(int priority, String tag) { argument
38 if (tag == null) {
39 throw new NullPointerException("tag");
43 this.tag = tag;
47 Log.println(priority, tag, line);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DIconLogger.java19 void onIconShown(String tag); argument
20 void onIconHidden(String tag); argument
22 default void onIconVisibility(String tag, boolean visible) { argument
24 onIconShown(tag);
26 onIconHidden(tag);
/frameworks/base/core/java/android/view/textclassifier/
H A DLog.java34 public static void d(String tag, String msg) { argument
35 Slog.d(tag, msg);
38 public static void w(String tag, String msg) { argument
39 Slog.w(tag, msg);
42 public static void e(String tag, String msg, Throwable tr) { argument
44 Slog.e(tag, msg, tr);
47 Slog.d(tag, String.format("%s (%s)", msg, trString));
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
H A DLog.java21 * All Camera logging using this class will use this tag prefix.
26 * adb shell setprop log.tag.CAM2PORT_ VERBOSE
27 * adb shell setprop log.tag.CAM2PORT_ ""
33 * This class restricts the length of the log tag to be less than the
34 * framework limit and also prepends the common tag prefix defined by
44 public Tag(String tag) { argument
45 final int lenDiff = tag.length() - MAX_TAG_LEN;
47 w(TAG, "Tag " + tag + " is " + lenDiff + " chars longer than limit.");
49 mValue = CAMERA_LOGTAG_PREFIX + (lenDiff > 0 ? tag.substring(0, MAX_TAG_LEN) : tag);
58 d(Tag tag, String msg) argument
64 d(Tag tag, String msg, Throwable tr) argument
70 e(Tag tag, String msg) argument
76 e(Tag tag, String msg, Throwable tr) argument
82 i(Tag tag, String msg) argument
88 i(Tag tag, String msg, Throwable tr) argument
94 v(Tag tag, String msg) argument
100 v(Tag tag, String msg, Throwable tr) argument
106 w(Tag tag, String msg) argument
112 w(Tag tag, String msg, Throwable tr) argument
118 isLoggable(Tag tag, int level) argument
[all...]
/frameworks/multidex/library/test/src/android/util/
H A DLog.java63 * @param tag Used to identify the source of a log message. It usually identifies
67 public static int v(String tag, String msg) { argument
68 return println(LOG_ID_MAIN, VERBOSE, tag, msg);
73 * @param tag Used to identify the source of a log message. It usually identifies
78 public static int v(String tag, String msg, Throwable tr) { argument
79 return println(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr));
84 * @param tag Used to identify the source of a log message. It usually identifies
88 public static int d(String tag, String msg) { argument
89 return println(LOG_ID_MAIN, DEBUG, tag, msg);
94 * @param tag Use
99 d(String tag, String msg, Throwable tr) argument
109 i(String tag, String msg) argument
120 i(String tag, String msg, Throwable tr) argument
130 w(String tag, String msg) argument
141 w(String tag, String msg, Throwable tr) argument
151 w(String tag, Throwable tr) argument
161 e(String tag, String msg) argument
172 e(String tag, String msg, Throwable tr) argument
210 println(int priority, String tag, String msg) argument
221 println(int bufID, int priority, String tag, String msg) argument
[all...]
/frameworks/base/core/java/android/util/
H A DSlog.java27 public static int v(String tag, String msg) { argument
28 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, msg);
31 public static int v(String tag, String msg, Throwable tr) { argument
32 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag,
36 public static int d(String tag, String msg) { argument
37 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, msg);
40 public static int d(String tag, String msg, Throwable tr) { argument
41 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag,
45 public static int i(String tag, String msg) { argument
46 return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag, ms
49 i(String tag, String msg, Throwable tr) argument
54 w(String tag, String msg) argument
58 w(String tag, String msg, Throwable tr) argument
63 w(String tag, Throwable tr) argument
67 e(String tag, String msg) argument
71 e(String tag, String msg, Throwable tr) argument
81 wtf(String tag, String msg) argument
88 wtfQuiet(String tag, String msg) argument
97 wtfStack(String tag, String msg) argument
106 wtf(String tag, Throwable tr) argument
115 wtf(String tag, String msg, Throwable tr) argument
119 println(int priority, String tag, String msg) argument
[all...]
H A DLog.java105 void onTerribleFailure(String tag, TerribleFailure what, boolean system); argument
109 public void onTerribleFailure(String tag, TerribleFailure what, boolean system) {
110 RuntimeInit.wtf(tag, what, system);
119 * @param tag Used to identify the source of a log message. It usually identifies
123 public static int v(String tag, String msg) { argument
124 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg);
129 * @param tag Used to identify the source of a log message. It usually identifies
134 public static int v(String tag, String msg, Throwable tr) { argument
135 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr);
140 * @param tag Use
144 d(String tag, String msg) argument
155 d(String tag, String msg, Throwable tr) argument
165 i(String tag, String msg) argument
176 i(String tag, String msg, Throwable tr) argument
186 w(String tag, String msg) argument
197 w(String tag, String msg, Throwable tr) argument
221 isLoggable(String tag, int level) argument
229 w(String tag, Throwable tr) argument
239 e(String tag, String msg) argument
250 e(String tag, String msg, Throwable tr) argument
263 wtf(String tag, String msg) argument
272 wtfStack(String tag, String msg) argument
282 wtf(String tag, Throwable tr) argument
293 wtf(String tag, String msg, Throwable tr) argument
297 wtf(int logId, String tag, String msg, Throwable tr, boolean localStack, boolean system) argument
308 wtfQuiet(int logId, String tag, String msg, boolean system) argument
363 println(int priority, String tag, String msg) argument
373 println_native(int bufID, int priority, String tag, String msg) argument
388 printlns(int bufID, int priority, String tag, String msg, Throwable tr) argument
448 private String tag; field in class:Log.ImmediateLogWriter
456 ImmediateLogWriter(int bufID, int priority, String tag) argument
[all...]
H A DLogPrinter.java30 * and tag.
38 * @param tag A string tag to associate with each printed log statement.
40 public LogPrinter(int priority, String tag) { argument
42 mTag = tag;
50 public LogPrinter(int priority, String tag, int buffer) { argument
52 mTag = tag;
H A DEventLogTags.java32 Description(int tag, String name) { argument
33 mTag = tag;
44 public Description get(int tag) { return null; } argument
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DTagNotFoundException.java20 * Exception for getting a child of a {@link Asn1Node} with a non-existing tag.
25 public TagNotFoundException(int tag) { argument
26 mTag = tag;
29 /** @return The tag which has the invalid data. */
36 return super.getMessage() + " (tag=" + mTag + ")";
H A DInvalidAsn1DataException.java26 public InvalidAsn1DataException(int tag, String message) { argument
28 mTag = tag;
31 public InvalidAsn1DataException(int tag, String message, Throwable throwable) { argument
33 mTag = tag;
36 /** @return The tag which has the invalid data. */
43 return super.getMessage() + " (tag=" + mTag + ")";
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowEventLog.java33 public static int writeEvent(int tag, Object... values) { argument
34 ENTRIES.add(new Entry(tag, Arrays.asList(values)));
39 public static boolean hasEvent(int tag, Object... values) { argument
40 return ENTRIES.contains(new Entry(tag, Arrays.asList(values)));
49 public final int tag; field in class:ShadowEventLog.Entry
52 public Entry(int tag, List<Object> values) { argument
53 this.tag = tag;
62 return tag == entry.tag
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DRlog.java41 public static int v(String tag, String msg) { argument
42 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg);
45 public static int v(String tag, String msg, Throwable tr) { argument
46 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag,
50 public static int d(String tag, String msg) { argument
51 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg);
54 public static int d(String tag, String msg, Throwable tr) { argument
55 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag,
59 public static int i(String tag, String msg) { argument
60 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, ms
63 i(String tag, String msg, Throwable tr) argument
68 w(String tag, String msg) argument
72 w(String tag, String msg, Throwable tr) argument
77 w(String tag, Throwable tr) argument
81 e(String tag, String msg) argument
85 e(String tag, String msg, Throwable tr) argument
90 println(int priority, String tag, String msg) argument
94 isLoggable(String tag, int level) argument
105 pii(String tag, Object pii) argument
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DNfcB.java45 * Get an instance of {@link NfcB} for the given tag.
47 * This indicates the tag does not support NFC-B.
50 * @param tag an NFC-B compatible tag
53 public static NfcB get(Tag tag) { argument
54 if (!tag.hasTech(TagTechnology.NFC_B)) return null;
56 return new NfcB(tag);
63 public NfcB(Tag tag) throws RemoteException { argument
64 super(tag, TagTechnology.NFC_B);
65 Bundle extras = tag
[all...]
H A DNfcBarcode.java41 * Get an instance of {@link NfcBarcode} for the given tag.
47 * @param tag an NfcBarcode compatible tag
50 public static NfcBarcode get(Tag tag) { argument
51 if (!tag.hasTech(TagTechnology.NFC_BARCODE)) return null;
53 return new NfcBarcode(tag);
63 public NfcBarcode(Tag tag) throws RemoteException { argument
64 super(tag, TagTechnology.NFC_BARCODE);
65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_BARCODE);
74 * Returns the NFC Barcode tag typ
[all...]
H A DNfcV.java46 * Get an instance of {@link NfcV} for the given tag.
48 * This indicates the tag does not support NFC-V.
51 * @param tag an NFC-V compatible tag
54 public static NfcV get(Tag tag) { argument
55 if (!tag.hasTech(TagTechnology.NFC_V)) return null;
57 return new NfcV(tag);
64 public NfcV(Tag tag) throws RemoteException { argument
65 super(tag, TagTechnology.NFC_V);
66 Bundle extras = tag
[all...]

Completed in 2439 milliseconds

1234567891011>>