/frameworks/av/media/libstagefright/ |
H A D | DataSource.cpp | 179 char value[PROPERTY_VALUE_MAX]; local 180 if (property_get("drm.service.enabled", value, NULL) 181 && (!strcmp(value, "1") || !strcasecmp(value, "true"))) {
|
H A D | MetaData.cpp | 60 bool MetaData::setCString(uint32_t key, const char *value) { argument 61 return setData(key, TYPE_C_STRING, value, strlen(value) + 1); 64 bool MetaData::setInt32(uint32_t key, int32_t value) { argument 65 return setData(key, TYPE_INT32, &value, sizeof(value)); 68 bool MetaData::setInt64(uint32_t key, int64_t value) { argument 69 return setData(key, TYPE_INT64, &value, sizeof(value)); 72 bool MetaData::setFloat(uint32_t key, float value) { argument 76 setPointer(uint32_t key, void *value) argument 96 findCString(uint32_t key, const char **value) argument 109 findInt32(uint32_t key, int32_t *value) argument 124 findInt64(uint32_t key, int64_t *value) argument 139 findFloat(uint32_t key, float *value) argument 154 findPointer(uint32_t key, void **value) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | residual.cpp | 158 int escape, numPrefix, sufmask, suffix, shift, sign, value, absvalue, vlcnum, level_two_or_higher; local 295 value = level[i]; 296 absvalue = (value >= 0) ? value : -value; 300 if (value > 0) value--; 301 else value++; 305 if (value >= 0) 312 value [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | H264SwDecApi.c | 94 void H264SwDecMemset(void *ptr, i32 value, u32 count) { argument 95 memset(ptr, value, count);
|
H A D | TestBenchMultipleInstance.c | 446 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument 448 memset(ptr, value, count);
|
H A D | h264bsd_slice_header.c | 104 u32 tmp, i, value; local 121 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); 124 pSliceHeader->firstMbInSlice = value; 125 if (value >= picSizeInMbs) 131 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); 134 pSliceHeader->sliceType = value; 146 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); 149 pSliceHeader->picParameterSetId = value; 174 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); 177 pSliceHeader->idrPicId = value; 476 u32 tmp, value, i; local 580 u32 tmp, value; local 737 u32 tmp, value; local 800 u32 tmp, value, i; local 876 u32 tmp, value, i; local 961 u32 tmp, value, i; local 1061 u32 tmp, value, i; local 1169 u32 tmp, value, i; local 1273 u32 tmp, value, i; local 1409 u32 tmp, value, i; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ParsedMessage.cpp | 47 bool ParsedMessage::findString(const char *name, AString *value) const { 54 value->clear(); 59 *value = mDict.valueAt(index); 63 bool ParsedMessage::findInt32(const char *name, int32_t *value) const { 71 *value = strtol(stringValue.c_str(), &end, 10); 74 *value = 0; 131 AString &value = mDict.editValueAt(lastDictIndex); local 132 value.append(line); 233 const AString &value = mDict.valueAt(i); local 241 line.append(value); 252 GetAttribute( const char *s, const char *key, AString *value) argument 282 GetInt32Attribute( const char *s, const char *key, int32_t *value) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4ElementaryAssembler.cpp | 38 static bool GetAttribute(const char *s, const char *key, AString *value) { argument 39 value->clear(); 55 value->setTo(&s[keyLen + 1], len - keyLen - 1); 132 AString value; local 133 CHECK(GetAttribute(params.c_str(), "mode", &value));
|
H A D | ASessionDescription.cpp | 97 AString key, value; local 117 value.setTo(line, colonPos + 1, line.size() - colonPos - 1); 121 value.trim(); 123 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); 125 mTracks.editItemAt(mTracks.size() - 1).add(key, value); 141 AString key, value; local 146 value = AString(line, equalPos + 1, line.size() - equalPos - 1); 149 value.trim(); 151 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); 153 mTracks.editItemAt(mTracks.size() - 1).add(key, value); 233 AString value; local 257 AString value; local [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaFormat.cpp | 200 void AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) { argument 201 format->mFormat->setInt32(name, value); 205 void AMediaFormat_setInt64(AMediaFormat* format, const char *name, int64_t value) { argument 206 format->mFormat->setInt64(name, value); 210 void AMediaFormat_setFloat(AMediaFormat* format, const char* name, float value) { argument 211 format->mFormat->setFloat(name, value); 215 void AMediaFormat_setString(AMediaFormat* format, const char* name, const char* value) { argument 217 format->mFormat->setString(name, value, strlen(value));
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResampler.cpp | 106 char value[PROPERTY_VALUE_MAX]; local 107 if (property_get("af.resampler.quality", value, NULL) > 0) { 109 unsigned long l = strtoul(value, &endptr, 0);
|
H A D | AudioResamplerFirProcess.h | 59 int32_t volumeAdjust(int32_t value, int32_t volume) argument 61 return 2 * mulRL(0, value, volume); // Note: only use top 16b 66 float volumeAdjust(float value, float volume) argument 68 return value * volume; 84 value = 0; 89 mac(value, coef, data++); 93 *out++ = volumeAdjust(value, gain); 97 TO value; // one per recursive inherited base class member in class:android::Accumulator 291 * expressed as a S32 integer or float. A negative value inverts the channel 180 degrees. 293 * A typical value fo [all...] |
/frameworks/av/services/audioflinger/tests/ |
H A D | test_utils.h | 29 static const bool value = false; member in struct:is_same 35 static const bool value = true; member in struct:is_same 41 if (is_same<T, int16_t>::value) { 43 } else if (is_same<T, int32_t>::value) { 275 if (is_same<T, float>::value) { 277 } else if (is_same<T, short>::value) {
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 400 *(short *)((char *)param + pos) = (short)atoi(node->value); 405 *(int *)((char *)param + pos) = atoi(node->value); 410 *(float *)((char *)param + pos) = (float)atof(node->value); 415 if (strncmp(node->value, "false", strlen("false") + 1) == 0) { 423 size_t len = strnlen(node->value, EFFECT_STRING_LEN_MAX); 428 strncpy(param + *curSize, node->value, len); 441 cnode *value; local 447 value = config_find(root, VALUE_TAG); 448 if (param == NULL && value == NULL) { 457 *ptr = atoi(param->value); [all...] |
/frameworks/av/services/mediaresourcemanager/ |
H A D | ResourceManagerService.cpp | 157 String8 value = policies[i].mValue; local 159 mSupportsMultipleSecureCodecs = (value == "true"); 161 mSupportsSecureWithNonSecureCodec = (value == "true"); 398 // initial the value
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 127 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument 131 printf("%-12s %-12s 0x%08x ", section, subsection, value);
|
/frameworks/base/core/java/android/animation/ |
H A D | Animator.java | 60 * value(s) set immediately, followed by calls to 86 * Ends the animation. This causes the animation to assign the end value of the property being 190 * default value is {@link android.view.animation.AccelerateDecelerateInterpolator}. 192 * @param value the interpolator to be used by this animation 194 public abstract void setInterpolator(TimeInterpolator value); argument 227 // Default method returns value for isRunning(). Subclasses should override to return a 228 // real value. 319 * value was provided through setChangingConfigurations(int) or 0 by default. 345 * Sets the changing configurations value to the union of the current changing configurations
|
/frameworks/base/core/java/android/app/ |
H A D | ProgressDialog.java | 213 public void setProgress(int value) { argument 215 mProgress.setProgress(value); 218 mProgressVal = value;
|
H A D | RemoteInput.java | 70 // Default value for flags integer 111 * Get whether or not users can provide an arbitrary value for 214 private void setFlag(int mask, boolean value) { argument 215 if (value) { 241 * contain a key/value for every result key populated by remote input collector. 242 * Use the {@link Bundle#getCharSequence(String)} method to retrieve a value.
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCallbackWrapper.java | 79 ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, byte[] value) 95 ParcelUuid descrUuid, byte[] value) throws RemoteException { 106 int charInstId, ParcelUuid charUuid, byte[] value) throws RemoteException { 78 onCharacteristicRead(String address, int status, int srvcType, int srvcInstId, ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, byte[] value) argument 93 onDescriptorRead(String address, int status, int srvcType, int srvcInstId, ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, int descrInstId, ParcelUuid descrUuid, byte[] value) argument 105 onNotify(String address, int srvcType, int srvcInstId, ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, byte[] value) argument
|
H A D | BluetoothGattServer.java | 193 int charInstId, ParcelUuid charId, byte[] value) { 208 isPrep, needRsp, offset, value); 223 byte[] value) { 244 isPrep, needRsp, offset, value); 490 * @param value The value of the attribute that was read/written (optional) 493 int status, int offset, byte[] value) { 499 status, offset, value); 534 throw new IllegalArgumentException("Chracteristic value is empty. Use " 492 sendResponse(BluetoothDevice device, int requestId, int status, int offset, byte[] value) argument
|
H A D | BluetoothPan.java | 343 public void setBluetoothTethering(boolean value) { argument 344 if (DBG) log("setBluetoothTethering(" + value + ")"); 348 mPanService.setBluetoothTethering(value);
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 137 * @param value value field for this transaction 144 * or negative value for failure 146 public int controlTransfer(int requestType, int request, int value, argument 148 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout); 161 * @param value value field for this transaction 169 * or negative value for failure 171 public int controlTransfer(int requestType, int request, int value, int index, argument 174 return native_control_request(requestType, request, value, inde 260 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareClassic.java | 458 * Increment a value block, storing the result in the temporary block on the tag. 467 * @param value non-negative to increment by 471 public void increment(int blockIndex, int value) throws IOException { argument 473 validateValueOperand(value); 480 cmd.putInt(value); 486 * Decrement a value block, storing the result in the temporary block on the tag. 495 * @param value non-negative to decrement by 499 public void decrement(int blockIndex, int value) throws IOException { argument 501 validateValueOperand(value); 508 cmd.putInt(value); 648 validateValueOperand(int value) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | PerformanceCollector.java | 81 * @param results memory and runtime metrics stored as key/value pairs, 117 * @param value long value of the measurement 119 public void writeMeasurement(String label, long value); argument 127 * @param value float value of the measurement 129 public void writeMeasurement(String label, float value); argument 137 * @param value string summary of the measurement 139 public void writeMeasurement(String label, String value); argument 315 * @return Memory and runtime metrics stored as key/value pair 424 addMeasurement(String label, long value) argument 435 addMeasurement(String label, float value) argument 446 addMeasurement(String label, String value) argument [all...] |