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

1234567891011>>

/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);
H A DIDropBoxManagerService.aidl38 boolean isTagEnabled(String tag);
41 DropBoxManager.Entry getNextEntry(String tag, long millis);
/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/base/telephony/java/android/telephony/
H A DRlog.java31 public static int v(String tag, String msg) { argument
32 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg);
35 public static int v(String tag, String msg, Throwable tr) { argument
36 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag,
40 public static int d(String tag, String msg) { argument
41 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg);
44 public static int d(String tag, String msg, Throwable tr) { argument
45 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag,
49 public static int i(String tag, String msg) { argument
50 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, ms
53 i(String tag, String msg, Throwable tr) argument
58 w(String tag, String msg) argument
62 w(String tag, String msg, Throwable tr) argument
67 w(String tag, Throwable tr) argument
71 e(String tag, String msg) argument
75 e(String tag, String msg, Throwable tr) argument
80 println(int priority, String tag, String msg) argument
84 isLoggable(String 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.java103 void onTerribleFailure(String tag, TerribleFailure what, boolean system); argument
107 public void onTerribleFailure(String tag, TerribleFailure what, boolean system) {
108 RuntimeInit.wtf(tag, what, system);
117 * @param tag Used to identify the source of a log message. It usually identifies
121 public static int v(String tag, String msg) { argument
122 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg);
127 * @param tag Used to identify the source of a log message. It usually identifies
132 public static int v(String tag, String msg, Throwable tr) { argument
133 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr);
138 * @param tag Use
142 d(String tag, String msg) argument
153 d(String tag, String msg, Throwable tr) argument
163 i(String tag, String msg) argument
174 i(String tag, String msg, Throwable tr) argument
184 w(String tag, String msg) argument
195 w(String tag, String msg, Throwable tr) argument
217 isLoggable(String tag, int level) argument
225 w(String tag, Throwable tr) argument
235 e(String tag, String msg) argument
246 e(String tag, String msg, Throwable tr) argument
259 wtf(String tag, String msg) argument
268 wtfStack(String tag, String msg) argument
278 wtf(String tag, Throwable tr) argument
289 wtf(String tag, String msg, Throwable tr) argument
293 wtf(int logId, String tag, String msg, Throwable tr, boolean localStack, boolean system) argument
304 wtfQuiet(int logId, String tag, String msg, boolean system) argument
359 println(int priority, String tag, String msg) argument
369 println_native(int bufID, int priority, String tag, String msg) argument
384 printlns(int bufID, int priority, String tag, String msg, Throwable tr) argument
444 private String tag; field in class:Log.ImmediateLogWriter
452 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/core/jni/
H A Dandroid_util_Log.h26 bool android_util_Log_isVerboseLogEnabled(const char* tag);
/frameworks/support/v4/eclair/android/support/v4/app/
H A DNotificationManagerCompatEclair.java23 static void cancelNotification(NotificationManager notificationManager, String tag, argument
25 notificationManager.cancel(tag, id);
28 public static void postNotification(NotificationManager notificationManager, String tag, int id, argument
30 notificationManager.notify(tag, id, notification);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexAppParameters.java43 byte tag = raw[i++];
53 this.add(tag, val);
99 public boolean exists(byte tag) { argument
100 return mParams.containsKey(tag);
103 public void add(byte tag, byte val) { argument
105 mParams.put(tag, bval);
108 public void add(byte tag, short val) { argument
110 mParams.put(tag, bval);
113 public void add(byte tag, int val) { argument
115 mParams.put(tag, bva
118 add(byte tag, long val) argument
123 add(byte tag, String val) argument
128 add(byte tag, byte[] bval) argument
132 getByte(byte tag) argument
142 getShort(byte tag) argument
152 getInt(byte tag) argument
162 getString(byte tag) argument
172 getByteArray(byte tag) 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...]
/frameworks/base/services/core/java/com/android/server/firewall/
H A DFilterFactory.java27 protected FilterFactory(String tag) { argument
28 if (tag == null) {
31 mTag = tag;
/frameworks/support/v4/java/android/support/v4/app/
H A DINotificationSideChannel.aidl31 void notify(String packageName, int id, String tag, in Notification notification);
36 void cancel(String packageName, int id, String tag);

Completed in 854 milliseconds

1234567891011>>