[go: nahoru, domu]

Searched refs:tags (Results 1 - 25 of 35) sorted by path

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.cpp92 const ACaptureRequest* req, /*out*/int32_t* numTags, /*out*/const uint32_t** tags) {
94 if (req == nullptr || numTags == nullptr || tags == nullptr) {
95 ALOGE("%s: invalid argument! request %p, numTags %p, tags %p",
96 __FUNCTION__, req, numTags, tags);
99 return req->settings->getTags(numTags, tags);
91 ACaptureRequest_getAllTags( const ACaptureRequest* req, int32_t* numTags, const uint32_t** tags) argument
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp211 /*out*/const uint32_t** tags) const {
233 *tags = mTags.array();
320 // System tags that should be hidden from users
H A DACameraMetadata.h59 /*out*/const uint32_t** tags) const;
/frameworks/av/include/camera/ndk/
H A DNdkCameraMetadata.h194 * List all the entry tags in input {@link ACameraMetadata}.
198 * @param tags the tag values of the metadata entries. Length of tags is returned in numEntries
200 * by application. Do NOT access tags after calling ACameraMetadata_free.
204 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if metadata, numEntries or tags is NULL.</li>
208 const ACameraMetadata* metadata, /*out*/int32_t* numEntries, /*out*/const uint32_t** tags);
H A DNdkCaptureRequest.h161 * List all the entry tags in input {@link ACaptureRequest}.
165 * @param tags the tag values of the metadata entries. Length of tags is returned in numEntries
168 * output of ACaptureRequest_getAllTags. Do not access tags after calling
169 * ACaptureRequest_setEntry_*. To get new list of tags after updating capture request,
170 * application must call ACaptureRequest_getAllTags again. Do NOT access tags after
175 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if request, numEntries or tags is NULL.</li>
179 const ACaptureRequest* request, /*out*/int32_t* numTags, /*out*/const uint32_t** tags);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp191 ALOGV("Building AudioRecord with attributes: source=%d flags=0x%x tags=[%s]",
192 mAttributes.source, mAttributes.flags, mAttributes.tags);
H A DAudioTrack.cpp184 strcpy(mAttributes.tags, "");
367 ALOGV("Building AudioTrack with attributes: usage=%d content=%d flags=0x%x tags=[%s]",
368 mAttributes.usage, mAttributes.content_type, mAttributes.flags, mAttributes.tags);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp197 // marshalling tag indicating flattened utf16 tags
213 // | kAudioAttributesMarshallTagFlattenTags | // ignore tags if not found
215 // | flattened tags in UTF16 |
230 // the tags are UTF16, convert to UTF8
231 String16 tags = parcel.readString16(); local
232 ssize_t realTagSize = utf16_to_utf8_length(tags.string(), tags.size());
234 strcpy(attributes->tags, "");
237 // copying array size -1, array for tags was calloc'd, no need to NULL-terminate it
240 utf16_to_utf8(tags
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp137 if (strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
138 strncmp(attributes.tags + strlen("addr="),
216 strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
217 strncmp(attributes.tags + strlen("addr="),
261 if (strncmp(attr.tags, "addr=", strlen("addr=")) != 0) {
264 String8 address(attr.tags + strlen("addr="));
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp700 ALOGE("getOutputForAttr() invalid attributes: usage=%d content=%d flags=0x%x tags=[%s]",
702 attr->tags);
731 attributes.usage, attributes.content_type, attributes.tags, attributes.flags,
1402 strncmp(attr->tags, "addr=", strlen("addr=")) == 0) {
1409 address = String8(attr->tags + strlen("addr="));
2032 // - 1 look for a mix matching the address passed in attribtutes tags if any
2041 // - 1 look for a mix matching the address passed in attribtutes tags if any
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyMetadataMapper.java1432 int[] tags = new int[keys.length];
1435 tags[i] = keys[i].getNativeKey().getTag();
1438 return tags;
1442 int[] tags = new int[keys.length];
1445 tags[i] = keys[i].getNativeKey().getTag();
1448 return tags;
1452 int[] tags = new int[keys.length];
1455 tags[i] = keys[i].getNativeKey().getTag();
1458 return tags;
/frameworks/base/core/java/android/os/
H A DLocaleList.java143 * Retrieves a String representation of the language tags in this list.
259 * Generates a new LocaleList with the given language tags.
261 * @param list The language tags to be included as a single {@link String} separated by commas.
262 * @return A new instance with the {@link Locale} items identified by the given tags.
269 final String[] tags = list.split(",");
270 final Locale[] localeArray = new Locale[tags.length];
272 localeArray[i] = Locale.forLanguageTag(tags[i]);
433 * Returns true if the collection of locale tags only contains empty locales and pseudolocales.
H A DStrictMode.java156 // How many Span tags (e.g. animations) to report.
1859 info.tags = null;
2347 * List of tags from active Span instances during this
2350 public String[] tags; field in class:StrictMode.ViolationInfo
2413 this.tags = new String[spanActiveCount];
2417 this.tags[index] = iter.mName;
2435 if (tags != null) {
2436 for (String tag : tags) {
2471 tags = in.readStringArray();
2488 dest.writeStringArray(tags);
[all...]
H A DTrace.java38 // These tags must be kept in sync with system/core/include/cutils/trace.h.
102 // native callback reads the tags from the system property, and this callback
134 long tags = nativeGetEnabledTags();
135 sEnabledTags = tags;
136 return tags;
148 long tags = sEnabledTags;
149 if (tags == TRACE_TAG_NOT_READY) {
150 tags = cacheEnabledTags();
152 return (tags & traceTag) != 0;
179 // Setting whether app tracing is allowed may change the tags, s
[all...]
/frameworks/base/core/java/android/util/
H A DEventLog.java41 * <p>Events use integer tag codes corresponding to /system/etc/event-log-tags.
43 * event-log-tags file defines the payload contents for each type code.
50 private static final String TAGS_FILE = "/system/etc/event-log-tags";
222 * @param tags to search for
226 public static native void readEvents(int[] tags, Collection<Event> output) argument
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp272 const char* tags = env->GetStringUTFChars(jtags, NULL); local
273 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
274 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
275 env->ReleaseStringUTFChars(jtags, tags);
278 ALOGV("AudioRecord_setup for source=%d tags=%s flags=%08x", paa->source, paa->tags, paa->flags);
H A Dandroid_media_AudioTrack.cpp302 const char* tags = env->GetStringUTFChars(jtags, NULL); local
303 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
304 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
305 env->ReleaseStringUTFChars(jtags, tags);
311 ALOGV("AudioTrack_setup for usage=%d content=%d flags=0x%#x tags=%s",
312 paa->usage, paa->content_type, paa->flags, paa->tags);
H A Dandroid_os_Debug.cpp600 // Ignored tags that don't actually consume memory (ie remappings)
706 static const char* const tags[] = { local
743 while (tags[i]) {
744 if (strncmp(p, tags[i], tagsLen[i]) == 0) {
H A Dandroid_util_EventLog.cpp168 * static native void readEvents(int[] tags, Collection<Event> output)
173 jintArray tags,
176 if (tags == NULL || out == NULL) {
189 jsize tagLength = env->GetArrayLength(tags);
190 jint *tagValues = env->GetIntArrayElements(tags, NULL);
246 env->ReleaseIntArrayElements(tags, tagValues, 0);
172 android_util_EventLog_readEvents(JNIEnv* env, jobject clazz UNUSED, jintArray tags, jobject out) argument
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp49 ALOGV("SoundPool constructor: maxChannels=%d, attr.usage=%d, attr.flags=0x%x, attr.tags=%s",
50 maxChannels, pAttributes->usage, pAttributes->flags, pAttributes->tags);
H A Dandroid_media_SoundPool.cpp185 const char* tags = env->GetStringUTFChars(jtags, NULL); local
186 // copying array size -1, char array for tags was calloc'd, no need to NULL-terminate it
187 strncpy(paa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1);
188 env->ReleaseStringUTFChars(jtags, tags);
/frameworks/base/packages/SystemUI/
H A DAndroid.mk5 LOCAL_MODULE := SystemUI-proto-tags
31 SystemUI-proto-tags
/frameworks/base/packages/SystemUI/tests/
H A DAndroid.mk55 SystemUI-proto-tags
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
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) {

Completed in 442 milliseconds

12