Searched refs:tags (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/os/
H A DTrace.java38 // These tags must be kept in sync with system/core/include/cutils/trace.h.
96 // native callback reads the tags from the system property, and this callback
128 long tags = nativeGetEnabledTags();
129 sEnabledTags = tags;
130 return tags;
142 long tags = sEnabledTags;
143 if (tags == TRACE_TAG_NOT_READY) {
144 tags = cacheEnabledTags();
146 return (tags & traceTag) != 0;
173 // Setting whether app tracing is allowed may change the tags, s
[all...]
H A DStrictMode.java146 // How many Span tags (e.g. animations) to report.
1620 info.tags = null;
2082 * List of tags from active Span instances during this
2085 public String[] tags; field in class:StrictMode.ViolationInfo
2143 this.tags = new String[spanActiveCount];
2147 this.tags[index] = iter.mName;
2165 if (tags != null) {
2166 for (String tag : tags) {
2200 tags = in.readStringArray();
2216 dest.writeStringArray(tags);
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DIfdData.java23 * This class stores all the tags in an IFD.
102 * Gets the tags count in the IFD.
123 * Returns true if all tags in this two IFDs are equal. Note that tags of
137 ExifTag[] tags = data.getAllTags();
138 for (ExifTag tag : tags) {
H A DExifData.java194 * Removes the thumbnail and its related tags. IFD1 will be removed.
259 ExifTag[] tags = d.getAllTags();
260 if (tags != null) {
261 for (ExifTag t : tags) {
282 ExifTag[] tags = d.getAllTags();
283 if (tags == null) {
286 ArrayList<ExifTag> ret = new ArrayList<ExifTag>(tags.length);
287 for (ExifTag t : tags) {
H A DExifOutputStream.java283 ExifTag[] tags = ifd.getAllTags();
284 dataOutputStream.writeShort((short) tags.length);
285 for (ExifTag tag : tags) {
302 for (ExifTag tag : tags) {
311 ExifTag[] tags = ifd.getAllTags();
312 for (ExifTag tag : tags) {
393 // Get rid of tags for uncompressed if they exist.
420 // Get rid of tags for compressed if they exist.
425 // Get rid of offset and length tags if there is no thumbnail.
H A DExifInterface.java254 // IFD GPS tags
317 // IFD Interoperability tags
718 * Reads the exif tags from a byte array, clearing this ExifInterface
719 * object's existing exif tags.
729 * Reads the exif tags from an InputStream, clearing this ExifInterface
730 * object's existing exif tags.
749 * Reads the exif tags from a file, clearing this ExifInterface object's
750 * existing exif tags.
772 * Sets the exif tags, clearing this ExifInterface object's existing exif
773 * tags
777 setExif(Collection<ExifTag> tags) argument
1010 rewriteExif(String filename, Collection<ExifTag> tags) argument
1068 rewriteExif(ByteBuffer buf, Collection<ExifTag> tags) argument
1093 forceRewriteExif(String filename, Collection<ExifTag> tags) argument
1593 setTags(Collection<ExifTag> tags) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp148 * static native void readEvents(int[] tags, Collection<Event> output)
153 jintArray tags,
156 if (tags == NULL || out == NULL) {
169 jsize tagLength = env->GetArrayLength(tags);
170 jint *tagValues = env->GetIntArrayElements(tags, NULL);
222 env->ReleaseIntArrayElements(tags, tagValues, 0);
152 android_util_EventLog_readEvents(JNIEnv* env, jobject clazz UNUSED, jintArray tags, jobject out) argument
H A Dandroid_media_AudioRecord.cpp211 const char* tags = env->GetStringUTFChars(jtags, NULL); local
212 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
213 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
214 env->ReleaseStringUTFChars(jtags, tags);
217 ALOGV("AudioRecord_setup for source=%d tags=%s flags=%08x", paa->source, paa->tags, paa->flags);
H A Dandroid_media_AudioTrack.cpp268 const char* tags = env->GetStringUTFChars(jtags, NULL); local
269 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
270 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
271 env->ReleaseStringUTFChars(jtags, tags);
277 ALOGV("AudioTrack_setup for usage=%d content=%d flags=0x%#x tags=%s",
278 paa->usage, paa->content_type, paa->flags, paa->tags);
H A Dandroid_os_Debug.cpp584 static const char* const tags[] = { local
611 while (tags[i]) {
612 if (strncmp(p, tags[i], tagsLen[i]) == 0) {
/frameworks/native/cmds/atrace/
H A Datrace.cpp45 const char* k_traceTagsProperty = "debug.atrace.tags.enableflags";
57 // The userland tracing tags that the category enables.
58 uint64_t tags; member in struct:TracingCategory
265 // writable and if enabling the category will enable one or more tracing tags
269 bool ok = category.tags != 0;
294 bool ok = category.tags != 0;
431 // Set the trace tags that userland tracing uses, and poke the running
433 static bool setTagsProperty(uint64_t tags) argument
436 snprintf(buf, 64, "%#" PRIx64, tags);
438 fprintf(stderr, "error setting trace tags syste
567 uint64_t tags = 0; local
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool_SoundPoolImpl.cpp199 const char* tags = env->GetStringUTFChars(jtags, NULL); local
200 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
201 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
202 env->ReleaseStringUTFChars(jtags, tags);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyMetadataMapper.java1366 int[] tags = new int[keys.length];
1369 tags[i] = keys[i].getNativeKey().getTag();
1372 return tags;
1376 int[] tags = new int[keys.length];
1379 tags[i] = keys[i].getNativeKey().getTag();
1382 return tags;
1386 int[] tags = new int[keys.length];
1389 tags[i] = keys[i].getNativeKey().getTag();
1392 return tags;
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java297 video.tags = body;
507 video.tags = takeText();
537 public String tags; field in class:SafeSaxTest.YouTubeVideo
/frameworks/base/core/java/android/util/
H A DEventLog.java40 * <p>Events use integer tag codes corresponding to /system/etc/event-log-tags.
42 * event-log-tags file defines the payload contents for each type code.
49 private static final String TAGS_FILE = "/system/etc/event-log-tags";
198 * @param tags to search for
202 public static native void readEvents(int[] tags, Collection<Event> output) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp196 // marshalling tag indicating flattened utf16 tags
212 // | kAudioAttributesMarshallTagFlattenTags | // ignore tags if not found
214 // | flattened tags in UTF16 |
229 // the tags are UTF16, convert to UTF8
230 String16 tags = parcel.readString16(); local
231 ssize_t realTagSize = utf16_to_utf8_length(tags.string(), tags.size());
233 strcpy(attributes->tags, "");
236 // copying array size -1, array for tags was calloc'd, no need to NULL-terminate it
239 utf16_to_utf8(tags
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DDropBoxManagerService.java737 // Space is "fairly" shared between tags -- they are all squeezed
751 TreeSet<FileList> tags = new TreeSet<FileList>(mFilesByTag.values());
752 for (FileList tag : tags) {
762 for (FileList tag : tags) {
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp124 strcpy(mAttributes.tags, "");
294 ALOGE("Invalid attributes: usage=%d content=%d flags=0x%x tags=[%s]",
296 pAttributes->tags);
301 ALOGV("Building AudioTrack with attributes: usage=%d content=%d flags=0x%x tags=[%s]",
302 mAttributes.usage, mAttributes.content_type, mAttributes.flags, mAttributes.tags);
H A DSoundPool.cpp45 ALOGV("SoundPool constructor: maxChannels=%d, attr.usage=%d, attr.flags=0x%x, attr.tags=%s",
46 maxChannels, pAttributes->usage, pAttributes->flags, pAttributes->tags);
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.cpp847 attr->usage, attr->content_type, attr->tags, attr->flags);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java11706 if (info.tags != null) {
11707 for (String tag : info.tags) {

Completed in 570 milliseconds