/frameworks/av/media/mtp/ |
H A D | MtpProperty.h | 100 void print(MtpPropertyValue& value, MtpString& buffer); 108 bool readValue(MtpDataPacket& packet, MtpPropertyValue& value); 109 void writeValue(MtpDataPacket& packet, MtpPropertyValue& value);
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaDrm.cpp | 563 const char *propertyName, const char *value) { 569 String8(value))); 574 const char *propertyName, const uint8_t *value, size_t valueSize) { 577 byteArray.appendArray(value, valueSize); 562 AMediaDrm_setPropertyString(AMediaDrm *mObj, const char *propertyName, const char *value) argument 573 AMediaDrm_setPropertyByteArray(AMediaDrm *mObj, const char *propertyName, const uint8_t *value, size_t valueSize) argument
|
H A D | NdkMediaFormat.cpp | 204 void AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) { argument 205 format->mFormat->setInt32(name, value); 209 void AMediaFormat_setInt64(AMediaFormat* format, const char *name, int64_t value) { argument 210 format->mFormat->setInt64(name, value); 214 void AMediaFormat_setFloat(AMediaFormat* format, const char* name, float value) { argument 215 format->mFormat->setFloat(name, value); 219 void AMediaFormat_setString(AMediaFormat* format, const char* name, const char* value) { argument 221 format->mFormat->setString(name, value, strlen(value));
|
/frameworks/av/media/vndk/xmlparser/1.0/ |
H A D | MediaCodecsXmlParser.cpp | 73 // Convert a string into a boolean value. 414 const char *value = NULL; local 426 } else if (!strcmp(attrs[i], "value")) { 428 ALOGE("addSettingFromAttributes: value is null"); 431 value = attrs[i + 1]; 448 if (name == NULL || value == NULL) { 449 ALOGE("addSettingFromAttributes: name or value unspecified"); 458 mGlobalSettings[name] = value; 628 static status_t limitInvalidAttr(const AString &name, const char *attr, const AString &value) { argument 630 attr, value 741 AString max, value, ranges; local 786 const char *value = NULL; local 799 int value = (int)ParseBoolean(attrs[i + 1]); local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 187 char value[PROPERTY_VALUE_MAX]; local 188 (void) property_get("ro.debuggable", value, "0"); 189 int debuggable = atoi(value); 192 (void) property_get("af.tee", value, "0"); 193 teeEnabled = atoi(value); 856 status_t AudioFlinger::setMasterVolume(float value) argument 869 mMasterVolume = value; 878 dev->hwDevice()->setMasterVolume(value); 891 mPlaybackThreads.valueAt(i)->setMasterVolume(value); 909 ALOGW("Illegal value 1054 setStreamVolume(audio_stream_type_t stream, float value, audio_io_handle_t output) argument 1192 String8 value; local 1240 int value; local 1353 setVoiceVolume(float value) argument 1859 int value; local 1882 param.addInt(String8(AudioParameter::keyStreamHwAvSync), value); local [all...] |
H A D | AudioFlinger.h | 155 virtual status_t setMasterVolume(float value); 161 virtual status_t setStreamVolume(audio_stream_type_t stream, float value, 496 // Mutex and condition variable around mPendingRequests' value 647 // The return value is cast to the specific type depending on how the ID will be used. 847 // we might read a stale value, or a value that's inconsistent with respect to other variables. 848 // In this case, it's safe because the return value isn't used for making an important decision.
|
H A D | Effects.cpp | 597 // round up delta valid if value and divisor are positive. 599 static T roundUpDelta(const T &value, const T &divisor) { argument 600 T remainder = value % divisor;
|
H A D | FastMixerState.cpp | 74 char value[PROPERTY_VALUE_MAX]; local 75 if (property_get("ro.audio.max_fast_tracks", value, NULL) > 0) { 77 unsigned long ul = strtoul(value, &endptr, 0);
|
H A D | Threads.cpp | 150 // The universal constant for ubiquitous 20ms value. The value of 20ms seems to provide a good 187 // track buffer in shared memory. Zero on input means to use a default value. For fast tracks, 190 // This is the default value, if not specified by property. 197 // The actual value to use, which can be specified per-device via property af.fast_track_multiplier. 212 char value[PROPERTY_VALUE_MAX]; local 213 if (property_get("af.fast_track_multiplier", value, NULL) > 0) { 215 unsigned long ul = strtoul(value, &endptr, 0); 638 int value; local 639 if (param.getInt(String8(AudioParameter::keyMonoOutput), value) 2078 setMasterVolume(float value) argument 2105 setStreamVolume(audio_stream_type_t stream, float value) argument 2616 char value[PROPERTY_VALUE_MAX]; local 4644 int value; local 5204 int value; local 7089 int value; local 7859 int value; local 8242 setMasterVolume(float value) argument 8265 setStreamVolume(audio_stream_type_t stream, float value) argument 8351 char value[PROPERTY_VALUE_MAX]; local [all...] |
H A D | Threads.h | 329 // Also sets the parameter 'effectChains' to current value of mEffectChains. 360 // the value returned by default implementation is not important as the 591 virtual void setMasterVolume(float value) = 0; 593 virtual void setStreamVolume(audio_stream_type_t stream, float value) = 0; 612 // standby mode does not have an enum value 697 virtual void setMasterVolume(float value); 699 virtual void setStreamVolume(audio_stream_type_t stream, float value); 945 // same as AudioFlinger::mStandbyTimeInNsecs except for DIRECT which uses a shorter value 1562 virtual void setMasterVolume(float value); 1564 virtual void setStreamVolume(audio_stream_type_t stream, float value); [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterface.h | 45 // - process volume control requests: the stream volume is converted from an index value (received from UI) to a float value 103 virtual void setSystemProperty(const char* property, const char* value) = 0;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 42 gain->setMode(GainModeConverter::maskFromString(node->value)); 46 if (InputChannelConverter::fromString(node->value, mask)) { 50 if (OutputChannelConverter::fromString(node->value, mask)) { 55 gain->setMinValueInMb(atoi(node->value)); 57 gain->setMaxValueInMb(atoi(node->value)); 59 gain->setDefaultValueInMb(atoi(node->value)); 61 gain->setStepValueInMb(atoi(node->value)); 63 gain->setMinRampInMs(atoi(node->value)); 65 gain->setMaxRampInMs(atoi(node->value)); 108 deviceFromString(node->value, typ [all...] |
H A D | Serializer.cpp | 39 string value((const char*)xmlValue); 41 return value;
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
H A D | ParameterManagerWrapper.cpp | 132 ALOGV("%s: Adding new value pair (%d,%s) for criterionType %s", __FUNCTION__, 147 char *valueNames = strndup(node->value, strlen(node->value)); 165 "invalid value pair"); 212 defaultValue = node->value; 214 type = node->value; 216 ALOGE("%s: Unrecognized %s %s node", __FUNCTION__, node->name, node->value); 268 ALOGE("%s; trying to apply invalid default literal value (%s)", __FUNCTION__, 365 // @todo: return an error on a unsupported value 386 // @todo: return an error on a unsupported value [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
H A D | ParameterManagerWrapper.h | 154 * Add a criterion type value pair to AudioPolicyPfw. 156 * @param[in] typeName criterion type name to which this value pair is added to. 157 * @param[in] numeric part of the value pair. 158 * @param[in] literal part of the value pair. 251 * set the value of a component state. 253 * @param[in] value new value to set to the component state. 256 void setValue(int value, const std::string &stateName); 259 * get the value of a component state. 263 * @return value o [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 695 void AudioPolicyManager::setSystemProperty(const char* property, const char* value) argument 697 ALOGV("setSystemProperty() property %s, value %s", property, value); 2129 // no specific device volume value exists for currently selected device. 2585 //If duration is less than minimum value defined in property, return false 3750 String8 value; local 3769 if (param.get(String8("test_cmd_policy_direct"), value) == NO_ERROR) { 3771 if (value == "false") { 3773 } else if (value == "true") { 3782 if (param.get(String8("test_cmd_policy_format"), value) [all...] |
H A D | AudioPolicyManager.h | 104 virtual void setSystemProperty(const char* property, const char* value); 539 float mLastVoiceVolume; // last voice volume value sent to audio HAL 648 // internal function to derive a stream type value from audio attributes
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 418 *(short *)(*param + pos) = (short)atoi(node->value); 426 *(int *)(*param + pos) = atoi(node->value); 434 *(float *)(*param + pos) = (float)atof(node->value); 442 if (strncmp(node->value, "true", strlen("true") + 1) == 0) { 451 len = strnlen(node->value, EFFECT_STRING_LEN_MAX); 461 strncpy(*param + *curSize, node->value, len); 475 cnode *value; local 487 value = config_find(root, VALUE_TAG); 488 if (param == NULL && value == NULL) { 499 *ptr = atoi(param->value); [all...] |
H A D | AudioPolicyService.cpp | 889 String8 value; local 890 param.getAt(j, key, value); 903 // otherwise, update the key value pairs 932 ALOGV("Filtering out voice volume command value %f replaced by %f",
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 2437 const String8& key, const sp<BasicClient>& value, int32_t cost, 2442 key, value, cost, conflictingKeys, score, ownerId, state); 2446 const sp<BasicClient>& value, const CameraService::DescriptorPtr& partial) { 2447 return makeClientDescriptor(partial->getKey(), value, partial->getCost(), 2436 makeClientDescriptor( const String8& key, const sp<BasicClient>& value, int32_t cost, const std::set<String8>& conflictingKeys, int32_t score, int32_t ownerId, int32_t state) argument 2445 makeClientDescriptor( const sp<BasicClient>& value, const CameraService::DescriptorPtr& partial) argument
|
H A D | CameraService.h | 401 static DescriptorPtr makeClientDescriptor(const String8& key, const sp<BasicClient>& value, 409 static DescriptorPtr makeClientDescriptor(const sp<BasicClient>& value,
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 1288 * with a fake value of success set to true. 1591 ALOGE("%s: Camera %d: Error setting %d as display orientation value", 1620 char value[PROPERTY_VALUE_MAX]; local 1621 property_get("ro.camera.sound.forced", value, "0"); 1622 if (strncmp(value, "0", 2) != 0) {
|
H A D | CameraClient.cpp | 666 // set preview/capture parameters - key/value pairs 679 // get preview/capture parameters - key/value pairs 711 char value[PROPERTY_VALUE_MAX]; local 712 property_get("ro.camera.sound.forced", value, "0"); 713 if (strcmp(value, "0") != 0) {
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | FrameProcessor.cpp | 334 T* value, int32_t frameNumber, int cameraId) { 336 if (value == NULL) { 342 // Already got the value for this tag. 343 if (*value != static_cast<T>(NOT_SET)) { 359 *value = static_cast<T>(entry.data.u8[0]); 362 *value = static_cast<T>(entry.data.i32[0]); 333 updatePendingState(const CameraMetadata& result, int32_t tag, T* value, int32_t frameNumber, int cameraId) argument
|
H A D | FrameProcessor.h | 68 bool updatePendingState(const CameraMetadata& result, int32_t tag, T* value,
|