Searched defs:tags (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/av/camera/ndk/
H A DNdkCameraMetadata.cpp43 const ACameraMetadata* acm, /*out*/int32_t* numTags, /*out*/const uint32_t** tags) {
45 if (acm == nullptr || numTags == nullptr || tags == nullptr) {
46 ALOGE("%s: invalid argument! metadata %p, numTags %p, tags %p",
47 __FUNCTION__, acm, numTags, tags);
50 return acm->getTags(numTags, tags);
42 ACameraMetadata_getAllTags( const ACameraMetadata* acm, int32_t* numTags, const uint32_t** tags) argument
H A DNdkCaptureRequest.cpp102 const ACaptureRequest* req, /*out*/int32_t* numTags, /*out*/const uint32_t** tags) {
104 if (req == nullptr || numTags == nullptr || tags == nullptr) {
105 ALOGE("%s: invalid argument! request %p, numTags %p, tags %p",
106 __FUNCTION__, req, numTags, tags);
109 return req->settings->getTags(numTags, tags);
101 ACaptureRequest_getAllTags( const ACaptureRequest* req, int32_t* numTags, const uint32_t** tags) argument
/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp34 * static native void readEvents(int[] tags, Collection<Event> output)
39 jintArray tags,
42 if (tags == NULL || out == NULL) {
47 ELog::readEvents(env, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, tags, 0, out);
51 * static native void readEventsOnWrapping(int[] tags, long timestamp, Collection<Event> output)
56 jintArray tags,
59 if (tags == NULL || out == NULL) {
63 ELog::readEvents(env, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK | ANDROID_LOG_WRAP, tags,
38 android_util_EventLog_readEvents(JNIEnv* env, jobject clazz ATTRIBUTE_UNUSED, jintArray tags, jobject out) argument
55 android_util_EventLog_readEventsOnWrapping(JNIEnv* env, jobject clazz ATTRIBUTE_UNUSED, jintArray tags, jlong timestamp, jobject out) argument
H A Dandroid_media_AudioRecord.cpp281 const char* tags = env->GetStringUTFChars(jtags, NULL); local
282 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
283 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
284 env->ReleaseStringUTFChars(jtags, tags);
287 ALOGV("AudioRecord_setup for source=%d tags=%s flags=%08x", paa->source, paa->tags, paa->flags);
H A Dandroid_media_AudioTrack.cpp299 const char* tags = env->GetStringUTFChars(jtags, NULL); local
300 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
301 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
302 env->ReleaseStringUTFChars(jtags, tags);
308 ALOGV("AudioTrack_setup for usage=%d content=%d flags=0x%#x tags=%s",
309 paa->usage, paa->content_type, paa->flags, paa->tags);
H A Dandroid_os_Debug.cpp699 // Ignored tags that don't actually consume memory (ie remappings)
806 static const char* const tags[] = { local
847 while (tags[i]) {
848 if (strncmp(p, tags[i], tagsLen[i]) == 0) {
/frameworks/base/core/java/android/provider/
H A DMetadataReader.java225 * @param tags a variable amount of keys to differentiate which tags the user wants
230 @Nullable String[] tags) throws IOException {
233 Bundle exifData = getExifData(stream, tags);
249 * @param tags a list of ExifInterface tags that are used to retrieve data.
252 private static Bundle getExifData(InputStream stream, @Nullable String[] tags) argument
254 if (tags == null) {
255 tags = DEFAULT_EXIF_TAGS;
260 for (String tag : tags) {
229 getMetadata(Bundle metadata, InputStream stream, String mimeType, @Nullable String[] tags) argument
[all...]
/frameworks/support/work/workmanager/src/main/java/androidx/work/
H A DWorkStatus.java28 * tags. Note that output is only available for terminal states ({@link State#SUCCEEDED} and
43 @NonNull List<String> tags) {
47 mTags = new HashSet<>(tags);
39 WorkStatus( @onNull UUID id, @NonNull State state, @NonNull Data outputData, @NonNull List<String> tags) argument
H A DWorkRequest.java60 protected WorkRequest(@NonNull UUID id, @NonNull WorkSpec workSpec, @NonNull Set<String> tags) { argument
63 mTags = tags;
98 * Gets the tags associated with this unit of work.
100 * @return The tags for this unit of work
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
H A DExtras.java46 @NonNull List<String> tags,
50 mTags = new HashSet<>(tags);
45 Extras(@onNull Data inputData, @NonNull List<String> tags, @Nullable RuntimeExtras runtimeExtras, int runAttemptCount) argument
/frameworks/base/core/tests/coretests/src/android/metrics/
H A DMetricsReaderTest.java50 public void readEvents(int[] tags, long horizonMs, Collection<Event> events) { argument
/frameworks/base/core/java/android/metrics/
H A DMetricsReader.java205 public void readEvents(int[] tags, long horizonMs, Collection<Event> events) argument
210 EventLog.readEventsOnWrapping(tags, horizonNs, nativeEvents);
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
H A DWorkSpec.java323 * A POJO containing the ID, state, output, and tags of a WorkSpec.
341 public List<String> tags; field in class:WorkSpec.WorkStatusPojo
349 return new WorkStatus(UUID.fromString(id), state, output, tags);
362 return tags != null ? tags.equals(that.tags) : that.tags == null;
370 result = 31 * result + (tags != null ? tags.hashCode() : 0);
/frameworks/base/core/java/android/util/
H A DEventLog.java43 * <p>Events use integer tag codes corresponding to /system/etc/event-log-tags.
45 * event-log-tags file defines the payload contents for each type code.
52 private static final String TAGS_FILE = "/system/etc/event-log-tags";
288 * @param tags to search for
292 public static native void readEvents(int[] tags, Collection<Event> output) argument
297 * @param tags to search for
304 public static native void readEventsOnWrapping(int[] tags, long timestamp, argument
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp194 const char* tags = env->GetStringUTFChars(jtags, NULL); local
195 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
196 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
197 env->ReleaseStringUTFChars(jtags, 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/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DAsn1Node.java287 * @param tags The tags of lineal descendant.
289 public boolean hasChild(int tag, int... tags) throws InvalidAsn1DataException { argument
291 getChild(tag, tags);
299 * Gets the first child node having the given {@code tag} and {@code tags}.
302 * @param tags The tags of lineal descendant.
305 public Asn1Node getChild(int tag, int... tags) argument
324 if (index >= tags.length) {
327 tag = tags[inde
[all...]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderDicom.java141 public TagSet read(File file, int[] tags) throws Exception { argument
145 for (int n : tags) {
272 int[] tags = new int[]{
314 TagSet data = d.read(file, tags);
337 final int[] tags = new int[]{
409 TagSet data = d.read(file, tags);
497 final int[] tags = new int[]{
549 TagSet data = d.read(file, tags);
/frameworks/av/media/libmediaplayer2/
H A Dmediaplayer2.cpp147 // marshalling tag indicating flattened utf16 tags
163 // | kAudioAttributesMarshallTagFlattenTags | // ignore tags if not found
165 // | flattened tags in UTF16 |
179 // the tags are UTF16, convert to UTF8
180 String16 tags = parcel.readString16(); local
181 ssize_t realTagSize = utf16_to_utf8_length(tags.string(), tags.size());
183 strcpy(attributes->tags, "");
186 // copying array size -1, array for tags was calloc'd, no need to NULL-terminate it
189 utf16_to_utf8(tags
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.cpp60 const char* k_traceTagsProperty = "debug.atrace.tags.enableflags";
78 // The userland tracing tags that the category enables.
79 uint64_t tags; member in struct:TracingCategory
388 // writable and if enabling the category will enable one or more tracing tags
400 bool ok = category.tags != 0;
425 bool ok = category.tags != 0;
606 // Set the trace tags that userland tracing uses, and poke the running
608 static bool setTagsProperty(uint64_t tags) argument
610 std::string value = android::base::StringPrintf("%#" PRIx64, tags);
612 fprintf(stderr, "error setting trace tags syste
797 uint64_t tags = 0; local
[all...]
/frameworks/av/media/libstagefright/
H A DUtils.cpp1396 int tags = sscanf(tsSchema.c_str(), "android.generic.%u%c%u%c", local
1398 if ((tags == 1 || (tags == 3 && dummy == '+'))
H A DACodec.cpp2502 int tags; local
2509 } else if ((tags = sscanf(tsSchema.c_str(), "android.generic.%u%c%u%c",
2511 && (tags == 1 || (tags == 3 && dummy == '+'))
4582 int tags; local
4589 } else if ((tags = sscanf(tsSchema.c_str(), "android.generic.%u%c%u%c",
4591 && (tags == 1 || (tags == 3 && dummy == '+'))
7391 // Removes trailing tags matching |tag| from |key| (e.g. a settings name). |minLength| specifies
7392 // the minimum number of characters to keep in |key| (even if it has trailing tags)
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp199 // marshalling tag indicating flattened utf16 tags
215 // | kAudioAttributesMarshallTagFlattenTags | // ignore tags if not found
217 // | flattened tags in UTF16 |
232 // the tags are UTF16, convert to UTF8
233 String16 tags = parcel.readString16(); local
234 ssize_t realTagSize = utf16_to_utf8_length(tags.string(), tags.size());
236 strcpy(attributes->tags, "");
239 // copying array size -1, array for tags was calloc'd, no need to NULL-terminate it
242 utf16_to_utf8(tags
[all...]
/frameworks/base/core/java/android/os/
H A DStrictMode.java182 // How many Span tags (e.g. animations) to report.
2043 info.tags = null;
2479 /** List of tags from active Span instances during this violation, or null for none. */
2480 public String[] tags; field in class:StrictMode.ViolationInfo
2521 this.tags = new String[spanActiveCount];
2525 this.tags[index] = iter.mName;
2643 if (tags != null) {
2644 for (String tag : tags) {
2690 tags = in.readStringArray();
2715 dest.writeStringArray(tags);
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
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...]

Completed in 1762 milliseconds

12