Searched refs:name (Results 1 - 25 of 3167) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraMetadata.cpp700 status_t CameraMetadata::getTagFromName(const char *name, argument
703 if (name == nullptr || tag == nullptr) return BAD_VALUE;
705 size_t nameLength = strlen(name);
727 if (strstr(name, str) == name) { // name begins with the section name
730 ALOGV("%s: Name begins with section name", __FUNCTION__);
732 // section name is the longest we've found so far
752 // Get the tag name componen
[all...]
H A DVendorTagDescriptor.cpp156 ALOGE("%s: parcel tag name was NULL for tag %d.", __FUNCTION__, tag);
194 ALOGE("%s: parcel section name was NULL for section %zu.",
299 status_t VendorTagDescriptor::lookupTag(const String8& name, const String8& section, /*out*/uint32_t* tag) const { argument
306 ssize_t nameIndex = mReverseMapping[index]->indexOfKey(name);
308 ALOGE("%s: Tag name '%s' does not exist.", __FUNCTION__, name.string());
336 String8 name = mTagToNameMap.valueAt(i); local
343 "", tag, name.string(), type, typeName, sectionName.string());
542 ALOGE("%s: no tag name defined for vendor tag %d.", __FUNCTION__, tag);
548 ALOGE("%s: no section name define
[all...]
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp195 surfaceShim.name = String16("unknown_name");
H A DOutputConfiguration.cpp156 ALOGV("%s: OutputConfiguration: %p, name %s", __FUNCTION__,
158 String8(surface.name).string());
207 surfaceShim.name = String16("unknown_name"); // name of surface
/frameworks/av/camera/include/camera/
H A DCameraMetadata.h215 * Find tag id for a given tag name, also checking vendor tags if available.
220 static status_t getTagFromName(const char *name,
H A DVendorTagDescriptor.h63 // Returns the section name string for a given vendor tag id.
66 // Returns the tag name string for a given vendor tag id.
90 * Lookup the tag id for a given tag name and section.
94 status_t lookupTag(const String8& name, const String8& section, /*out*/uint32_t* tag) const;
195 // Returns the section name string for a given vendor tag id.
198 // Returns the tag name string for a given vendor tag id.
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp41 static void usage(const char* name) argument
43 fprintf(stderr, "Usage: %s [-d du.ration] [-m] [-w] [-N name] [<output-file>]\n", name);
48 fprintf(stderr, " -N name of the encoder; must be set with -M\n");
62 AString name; local
77 name.setTo(optarg);
92 if ((name.empty() && !mediaType.empty()) || (!name.empty() && mediaType.empty())) {
97 if (!name.empty() && fileOut != NULL) {
102 int32_t sampleRate = !name
[all...]
/frameworks/av/drm/libmediadrm/
H A DDrmHal.cpp1068 status_t DrmHal::getPropertyString(String8 const &name, String8 &value ) const { argument
1070 return getPropertyStringInternal(name, value);
1073 status_t DrmHal::getPropertyStringInternal(String8 const &name, String8 &value) const { argument
1080 Return<void> hResult = mPlugin->getPropertyString(toHidlString(name),
1092 status_t DrmHal::getPropertyByteArray(String8 const &name, Vector<uint8_t> &value ) const { argument
1094 return getPropertyByteArrayInternal(name, value);
1097 status_t DrmHal::getPropertyByteArrayInternal(String8 const &name, Vector<uint8_t> &value ) const { argument
1104 Return<void> hResult = mPlugin->getPropertyByteArray(toHidlString(name),
1114 if (name == kPropertyDeviceUniqueId) {
1120 status_t DrmHal::setPropertyString(String8 const &name, String argument
1129 setPropertyByteArray(String8 const &name, Vector<uint8_t> const &value ) const argument
[all...]
H A DDrmMetrics.cpp102 std::string name = counter.metric_name() + "." +
104 metrics->putLong(android::String16(name.c_str()), value);
179 void SetValue(const String16 &name, DrmMetricGroup::ValueType type, argument
183 bundle->putLong(name, value.int64Value);
186 bundle->putDouble(name, value.doubleValue);
189 bundle->putString(name, String16(value.stringValue.c_str()));
385 String16 metricName(hidlMetric.name.c_str());
395 SetValue(String16(attribute.name.c_str()), attribute.type,
H A DIDrm.cpp379 virtual status_t getPropertyString(String8 const &name, String8 &value) const { argument
383 data.writeString8(name);
452 virtual status_t getPropertyByteArray(String8 const &name, Vector<uint8_t> &value) const { argument
456 data.writeString8(name);
466 virtual status_t setPropertyString(String8 const &name, String8 const &value) const { argument
470 data.writeString8(name);
480 virtual status_t setPropertyByteArray(String8 const &name, argument
485 data.writeString8(name);
986 String8 name = data.readString8(); local
988 status_t result = getPropertyString(name, valu
997 String8 name = data.readString8(); local
1008 String8 name = data.readString8(); local
1017 String8 name = data.readString8(); local
[all...]
H A DPluginMetricsReporting.cpp35 const String8& name,
37 MediaAnalyticsItem analyticsItem(name.c_str());
74 String8 name = String8::format("drm.vendor.%s.%s", local
78 return reportVendorMetrics(b64EncodedMetrics, name, appPackageName);
34 reportVendorMetrics(const std::string& metrics, const String8& name, const String8& appPackageName) argument
/frameworks/av/drm/mediacas/plugins/clearkey/protos/
H A Dlicense_protos.proto40 // Organization-specified name of the asset. Required. Must not be empty.
42 optional bytes name = 2;
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
H A DDrmPlugin.cpp141 const String8& name, Vector<uint8_t>& value) const {
142 ssize_t index = mByteArrayProperties.indexOfKey(name);
144 ALOGE("App requested unknown property: %s", name.string());
152 const String8& name, const Vector<uint8_t>& value)
155 if (0 == name.compare(kDeviceIdKey)) {
156 ALOGD("Cannot set immutable property: %s", name.string());
161 ALOGE("Failed to set property byte array, key=%s", name.string());
166 const String8& name, String8& value) const {
167 ssize_t index = mStringProperties.indexOfKey(name);
169 ALOGE("App requested unknown property: %s", name
140 getPropertyByteArray( const String8& name, Vector<uint8_t>& value) const argument
151 setPropertyByteArray( const String8& name, const Vector<uint8_t>& value) argument
165 getPropertyString( const String8& name, String8& value) const argument
176 setPropertyString( const String8& name, const String8& value) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
H A DDrmPlugin.h166 const String8& name, String8& value) const;
169 const String8& name, Vector<uint8_t>& value) const;
172 const String8& name, const String8& value);
175 const String8& name, const Vector<uint8_t>& value);
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DDrmPlugin.cpp264 std::string name(propertyName.c_str());
267 if (name == kVendorKey) {
269 } else if (name == kVersionKey) {
271 } else if (name == kPluginDescriptionKey) {
273 } else if (name == kAlgorithmsKey) {
275 } else if (name == kListenerTestSupportKey) {
278 ALOGE("App requested unknown string property %s", name.c_str());
301 const hidl_string& name, const hidl_string& value) {
308 std::string key = std::string(name.c_str());
326 const hidl_string& name, cons
300 setPropertyString( const hidl_string& name, const hidl_string& value) argument
325 setPropertyByteArray( const hidl_string& name, const hidl_vec<uint8_t>& value) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
H A DDrmPlugin.h145 const hidl_string& name,
149 const hidl_string& name,
153 const hidl_string& name, const hidl_string& value) override;
156 const hidl_string& name, const hidl_vec<uint8_t>& value) override;
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp386 status_t MockDrmPlugin::getPropertyString(String8 const &name, String8 &value) const argument
388 ALOGD("MockDrmPlugin::getPropertyString(name=%s)", name.string());
389 ssize_t index = mStringProperties.indexOfKey(name);
391 ALOGD("no property for '%s'", name.string());
398 status_t MockDrmPlugin::getPropertyByteArray(String8 const &name, argument
401 ALOGD("MockDrmPlugin::getPropertyByteArray(name=%s)", name.string());
402 ssize_t index = mByteArrayProperties.indexOfKey(name);
404 ALOGD("no property for '%s'", name
411 setPropertyString(String8 const &name, String8 const &value) argument
502 setPropertyByteArray(String8 const &name, Vector<uint8_t> const &value) argument
[all...]
H A DMockDrmCryptoPlugin.h95 status_t getPropertyString(String8 const &name, String8 &value ) const;
96 status_t getPropertyByteArray(String8 const &name,
99 status_t setPropertyString(String8 const &name,
101 status_t setPropertyByteArray(String8 const &name,
/frameworks/av/include/camera/
H A DCameraMetadata.h215 * Find tag id for a given tag name, also checking vendor tags if available.
220 static status_t getTagFromName(const char *name,
H A DVendorTagDescriptor.h63 // Returns the section name string for a given vendor tag id.
66 // Returns the tag name string for a given vendor tag id.
90 * Lookup the tag id for a given tag name and section.
94 status_t lookupTag(const String8& name, const String8& section, /*out*/uint32_t* tag) const;
195 // Returns the section name string for a given vendor tag id.
198 // Returns the tag name string for a given vendor tag id.
/frameworks/av/include/media/
H A DAudioMixer.h77 SAMPLE_RATE = 0x4100, // Configure sample rate conversion on this track name;
86 REMOVE = 0x4102, // Remove the sample rate converter on this track name;
94 PLAYBACK_RATE = 0x4300, // Configure timestretch on this track name;
106 // \param name a unique user-provided integer associated with the track.
107 // If name already exists, the function will abort.
117 int name, audio_channel_mask_t channelMask, audio_format_t format, int sessionId);
119 bool exists(int name) const {
120 return mTracks.count(name) > 0;
123 // Free an allocated track by name.
124 void destroy(int name);
[all...]
H A DCharacterEncodingDetector.h36 void addTag(const char *name, const char *value);
40 status_t getTag(int index, const char **name, const char**value);
50 // cached name and value strings, for native encoding support.
H A DIAudioFlinger.h449 virtual audio_module_handle_t loadHwModule(const char *name) = 0;
H A DIMediaCodecList.h43 virtual ssize_t findCodecByName(const char *name) const = 0;
H A DIMediaExtractor.h65 virtual const char * name() = 0;

Completed in 385 milliseconds

1234567891011>>