/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 215 // 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 D | DrmConstraints.cpp | 32 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 D | DrmInfo.cpp | 44 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 D | DrmInfoRequest.cpp | 41 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 D | DrmMetadata.cpp | 26 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 D | DrmSupportInfo.cpp | 132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); local 134 return value; 156 String8& value = mDrmSupportInfo->mMimeTypeVector.editItemAt(mIndex); local 158 return value;
|
H A D | IDrmManagerService.cpp | 82 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 D | SessionMap.h | 42 * 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 D | FwdLockConv.c | 215 * @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 D | FwdLockFile.c | 169 * @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/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 64 String8 value("dummy_available_time"); 66 charValue = new char[value.length() + 1]; 67 strncpy(charValue, value.string(), value.length());
|
/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 50 void set(const char *key, const char *value); 51 void set(const char *key, int value); 52 void setFloat(const char *key, float value); 110 // Example value: "480x320". Read/Write. 113 // Example value: "800x600,480x320". Read only. 119 // Example value: "10500,26623" 127 // Example value: "(10500,26623),(15000,26623),(30000,30000)" 131 // PIXEL_FORMAT_YUV420SP. Example value: "yuv420sp" or PIXEL_FORMAT_XXX 135 // Example value: "yuv420sp,yuv422i-yuyv". Read only. 139 // Example value [all...] |
/frameworks/av/include/drm/ |
H A D | DrmConstraints.h | 120 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 D | DrmInfo.h | 129 * Adds optional information as <key, value> pair to this instance 132 * @param[in] value Value to add 135 status_t put(const String8& key, const String8& value); 138 * Retrieves the value of given key 140 * @param key Key whose value to be retrieved 141 * @return The value
|
H A D | DrmInfoRequest.h | 136 * Adds optional information as <key, value> pair to this instance 139 * @param[in] value Value to add 142 status_t put(const String8& key, const String8& value); 145 * Retrieves the value of given key 147 * @param key Key whose value to be retrieved 148 * @return The value
|
H A D | DrmMetadata.h | 83 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/include/media/ |
H A D | AudioParameter.h | 36 // keyRouting: to change audio routing, value is an int in audio_devices_t 37 // keySamplingRate: to change sampling rate routing, value is an int 38 // keyFormat: to change audio format, value is an int in audio_format_t 39 // keyChannels: to change audio channel configuration, value is an int in audio_channels_t 40 // keyFrameCount: to change audio output frame count, value is an int 41 // keyInputSource: to change audio input source, value is an int in audio_source_t 54 status_t add(const String8& key, const String8& value); 55 status_t addInt(const String8& key, const int value); 56 status_t addFloat(const String8& key, const float value); 60 status_t get(const String8& key, String8& value); [all...] |
H A D | AudioSystem.h | 50 static status_t setMasterVolume(float value); 58 static status_t setStreamVolume(audio_stream_type_t stream, float value, 77 // key value pairs in the form: key1=value1;key2=value2;...
|
H A D | IAudioFlinger.h | 100 virtual status_t setMasterVolume(float value) = 0; 109 virtual status_t setStreamVolume(audio_stream_type_t stream, float value,
|
H A D | mediascanner.h | 88 status_t addStringTag(const char* name, const char* value); 93 virtual status_t handleStringTag(const char* name, const char* value) = 0; 100 // cached name and value strings, for native encoding support.
|
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 184 bool setCString(uint32_t key, const char *value); 185 bool setInt32(uint32_t key, int32_t value); 186 bool setInt64(uint32_t key, int64_t value); 187 bool setFloat(uint32_t key, float value); 188 bool setPointer(uint32_t key, void *value); 195 bool findCString(uint32_t key, const char **value); 196 bool findInt32(uint32_t key, int32_t *value); 197 bool findInt64(uint32_t key, int64_t *value); 198 bool findFloat(uint32_t key, float *value); 199 bool findPointer(uint32_t key, void **value); [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AMessage.h | 46 void setInt32(const char *name, int32_t value); 47 void setInt64(const char *name, int64_t value); 48 void setSize(const char *name, size_t value); 49 void setFloat(const char *name, float value); 50 void setDouble(const char *name, double value); 51 void setPointer(const char *name, void *value); 61 bool findInt32(const char *name, int32_t *value) const; 62 bool findInt64(const char *name, int64_t *value) const; 63 bool findSize(const char *name, size_t *value) const; 64 bool findFloat(const char *name, float *value) cons [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorBGAudioProcessing.cpp | 153 // 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...] |
H A D | VideoEditorBGAudioProcessing.h | 94 M4OSA_Int32 getDecibelSound(M4OSA_UInt32 value);
|
/frameworks/av/libvideoeditor/osal/inc/ |
H A D | M4OSA_Thread.h | 114 M4OSA_DataOption value ); 119 M4OSA_DataOption* value );
|