Searched defs:value (Results 1 - 25 of 572) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters.cpp215 // Find the value.
232 void CameraParameters::set(const char *key, const char *value) argument
240 if (strchr(value, '=') || strchr(key, ';')) {
241 //XXX ALOGE("Value \"%s\"contains invalid character (= or ;)", value);
245 mMap.replaceValueFor(String8(key), String8(value));
248 void CameraParameters::set(const char *key, int value) argument
251 sprintf(str, "%d", value);
255 void CameraParameters::setFloat(const char *key, float value) argument
258 snprintf(str, sizeof(str), "%g", value);
/frameworks/av/drm/common/
H A DDrmConstraints.cpp32 status_t DrmConstraints::put(const String8* key, const char* value) { argument
33 int length = strlen(value);
36 strncpy(charValue, value, length);
109 String8 value = String8(mDrmConstraints->mConstraintMap.editValueAt(mIndex)); local
111 return value;
H A DDrmInfo.cpp44 status_t DrmInfo::put(const String8& key, const String8& value) { argument
45 mAttributes.add(key, value);
107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex); local
109 return value;
H A DDrmInfoRequest.cpp41 status_t DrmInfoRequest::put(const String8& key, const String8& value) { argument
42 mRequestInformationMap.add(key, value);
102 String8& value = mDrmInfoRequest->mRequestInformationMap.editValueAt(mIndex); local
104 return value;
H A DDrmMetadata.cpp26 const char* value) {
27 if((value != NULL) && (key != NULL)) {
28 int length = strlen(value);
31 memcpy(charValue, value, length);
114 String8 value = String8(mDrmMetadata->mMetadataMap.editValueAt(mIndex)); local
116 return value;
25 put(const String8* key, const char* value) argument
H A DDrmSupportInfo.cpp132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); local
134 return value;
156 String8& value = mDrmSupportInfo->mMimeTypeVector.editItemAt(mIndex); local
158 return value;
H A DIDrmManagerService.cpp82 int value = data.readInt32(); local
83 handle->copyControlVector.add(key, value);
89 String8 value = data.readString8(); local
90 handle->extendedData.add(key, value);
267 const String8 value = drmInfo->get(key); local
268 data.writeString8((value == String8("")) ? String8("NULL") : value);
312 const String8 value = drmInforequest->get(key); local
315 sscanf(value.string(), "FileDescriptor[%d]", &fd);
318 data.writeString8((value
888 const char* value = drmConstraints->getAsByteArray(&key); local
918 const char* value = drmMetadata->getAsByteArray(&key); local
1041 const String8 value = drmInfo->get(key); local
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h42 * Adds a new value in the session map table. It expects memory to be allocated already
46 * @param value - session object to add
48 * @return boolean result of adding value. returns false if key is already exist.
50 bool addValue(int key, TValue value) { argument
53 map.add(key, value);
84 * @param index - index of the value required
89 TValue value = NULL; local
93 value = map.valueAt(index);
95 return value;
101 * @param key - key of the value t
142 deleteValue(TValue value) argument
179 TValue value = NULL; local
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c215 * @return A Boolean value indicating whether the session ID is in range and currently in use.
246 unsigned char value[KEY_SIZE]; member in struct:FwdLockConv_DeriveKeys_Data
256 // Encrypt the 16-byte value {0, 0, ..., 0} to produce the encryption key.
257 memset(pData->value, 0, KEY_SIZE);
258 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys);
263 // Encrypt the 16-byte value {1, 0, ..., 0} to produce the signing key.
264 ++pData->value[0];
265 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys);
284 * @return A Boolean value indicating whether the given character is valid in a boundary.
298 * @return A Boolean value indicatin
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c169 * @return A Boolean value indicating whether key derivation was successful.
175 unsigned char value[KEY_SIZE]; member in struct:FwdLockFile_DeriveKeys_Data
187 // Encrypt the 16-byte value {0, 0, ..., 0} to produce the encryption key.
188 memset(pData->value, 0, KEY_SIZE);
189 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys);
194 // Encrypt the 16-byte value {1, 0, ..., 0} to produce the signing key.
195 ++pData->value[0];
196 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys);
342 // The return value should be the file position that lseek64() would have returned
/frameworks/av/include/drm/
H A DDrmConstraints.h120 const char* value = this->getAsByteArray(&key); local
121 if (NULL != value) {
122 delete[] value;
123 value = NULL;
137 * Adds constraint information as <key, value> pair to this instance
140 * @param[in] value Value to add
143 status_t put(const String8* key, const char* value);
146 * Retrieves the value of given key
148 * @param key Key whose value to be retrieved
149 * @return The value
[all...]
H A DDrmMetadata.h83 const char* value = this->getAsByteArray(&key); local
84 if (NULL != value) {
85 delete[] value;
86 value = NULL;
94 status_t put(const String8* key, const char* value);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorBGAudioProcessing.cpp153 // Duck the BG track to ducking factor value before mixing
169 *pBTMdata1 = -32766; // less then max allowed value
176 *pBTMdata1 = 32767; // less than max allowed value
238 // Fast way to compute 10 * log(value)
239 M4OSA_Int32 VideoEditorBGAudioProcessing::getDecibelSound(M4OSA_UInt32 value) { argument
240 ALOGV("getDecibelSound: %ld", value);
242 if (value <= 0 || value > 0x8000) {
244 } else if (value > 0x4000) { // 32768
246 } else if (value >
[all...]
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4SYS_Stream.h40 value to return the above categories. StreamType is an un-signed integer on 16 bits.
44 Moreover if this value is greater than 0x80 the stream is a raw stream, else the stream
46 @n 0x0000 is a forbidden value, it describes an unknown stream */
132 M4OSA_UInt32 value ; member in struct:__anon181
160 time scale. The value can be set to M4SYS_UnknownTime if
164 -1 value means either there is no average bitrate or no
168 second. -1 value means either there is no max. bitrate or
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c381 /* map to the signed value, if value is odd then it's positive,
418 M4OSA_ERR NSWAVCMCS_putBits( NSWAVC_bitStream_t_MCS *bS, M4OSA_UInt32 value, argument
432 maskedValue = (M4OSA_UInt32)(value &(( 1 << len1) - 1));
516 M4OSA_ERR NSWAVCMCS_putBit( NSWAVC_bitStream_t_MCS *bS, M4OSA_UInt32 value )
521 maskedValue = (value ? 1 : 0);
810 // Use unsigned value to fix errors due to bit sign extension, this fix should be generic
2667 * Output max AU size is equal to input max AU size (this value
2750 200; /**< default value: 200 milliseconds (3 frames @ 15fps)*/
3743 * have wrong video level value (som
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4PCMR_CoreReader.c68 M4OSA_Char value[6]; local
98 M4OSA_chrNCopy(value, pTempURL, 5);
104 M4OSA_chrNCopy(value, pTempURL, 1);
611 * - Return corresponding option value
614 * @param pValue: (OUT) Variable where the option value is returned
640 /* Depend of the OptionID, the value to return is different */
661 * - Set corresponding option value
664 * @param Value: (IN) Variable where the option value is stored
689 /* Depend of the OptionID, the value to set is different */
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp79 int (* set_parameter)(preproc_effect_t *fx, void *param, void *value);
80 int (* get_parameter)(preproc_effect_t *fx, void *param, size_t *size, void *value);
388 ALOGW("AgcSetParameter() unknown param %08x value %08x", param, *(uint32_t *)pValue);
473 ALOGW("AecGetParameter() unknown param %08x value %08x", param, *(uint32_t *)pValue);
484 uint32_t value = *(uint32_t *)pValue; local
489 status = effect->session->apm->set_stream_delay_ms(value/1000);
490 ALOGV("AecSetParameter() echo delay %d us, status %d", value, status);
493 ALOGW("AecSetParameter() unknown param %08x value %08x", param, *(uint32_t *)pValue);
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp47 String8 value; local
49 value = String8("");
51 value = String8(pair + eqIdx + 1);
54 mParameters.add(key, value);
56 mParameters.replaceValueFor(key, value);
59 ALOGV("AudioParameter() cstor empty key value pair");
86 status_t AudioParameter::add(const String8& key, const String8& value) argument
89 mParameters.add(key, value);
92 mParameters.replaceValueFor(key, value);
97 status_t AudioParameter::addInt(const String8& key, const int value) argument
108 addFloat(const String8& key, const float value) argument
129 get(const String8& key, String8& value) argument
139 getInt(const String8& key, int& value) argument
155 getFloat(const String8& key, float& value) argument
171 getAt(size_t index, String8& key, String8& value) argument
[all...]
H A DAudioSystem.cpp91 status_t AudioSystem::setMasterVolume(float value) argument
95 af->setMasterVolume(value);
123 status_t AudioSystem::setStreamVolume(audio_stream_type_t stream, float value, argument
129 af->setStreamVolume(stream, value, output);
186 // change this value to change volume scaling
365 status_t AudioSystem::setVoiceVolume(float value) argument
369 return af->setVoiceVolume(value);
H A DIAudioFlinger.cpp227 virtual status_t setMasterVolume(float value) argument
231 data.writeFloat(value);
261 virtual status_t setStreamVolume(audio_stream_type_t stream, float value, argument
267 data.writeFloat(value);
H A DIMediaMetadataRetriever.cpp189 String8 value = data.readString8(); local
190 headers.add(key, value);
249 const char* value = extractMetadata(keyCode); local
250 if (value != NULL) { // Don't send NULL across the binder interface
252 reply->writeCString(value);
H A DIMediaPlayer.cpp363 String8 value = data.readString8(); local
364 headers.add(key, value);
H A DMediaProfiles.cpp620 char value[PROPERTY_VALUE_MAX]; local
621 if (property_get("media.settings.xml", value, NULL) <= 0) {
632 sInstance = createInstanceFromXmlFile(value);
H A DMediaScannerClient.cpp65 status_t MediaScannerClient::addStringTag(const char* name, const char* value) argument
70 // check to see if value (which should be utf8) has any non-ASCII characters
72 const char* chp = value;
84 mValues->push_back(value);
92 return handleStringTag(name, value);
155 // for each value string, convert from native encoding to UTF-8
214 // finally, push all name/value pairs to the client
H A DToneGenerator.cpp820 char value[PROPERTY_VALUE_MAX]; local
821 property_get("gsm.operator.iso-country", value, "");
822 if (strcmp(value,"us") == 0 ||
823 strcmp(value,"ca") == 0) {
825 } else if (strcmp(value,"jp") == 0) {
1071 // returned value: always true.
1314 // returned value: true if wave generators have been created, false otherwise
1384 // returned value: nummber of sine waves

Completed in 236 milliseconds

1234567891011>>