Searched refs:value (Results 326 - 350 of 1696) sorted by relevance

<<11121314151617181920>>

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp42 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 DeviceConverter::fromString(node->value, typ
[all...]
/frameworks/base/core/java/android/os/
H A DTokenWatcher.java150 int value;
152 value = mNotificationQueue;
155 if (value == 1) {
158 else if (value == 0) {
166 int value = on ? 1 : 0;
169 mNotificationQueue = value;
172 else if (mNotificationQueue != value) {
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
H A DMDnsUtils.java76 for (String value : vendorValues) {
77 if (containsString(container, value)
78 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US))
79 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US)))
85 private static String getString(byte[] value) { argument
86 if (value != null) return new String(value, StandardCharsets.UTF_8);
/frameworks/rs/driver/runtime/
H A Drs_core.c68 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile int32_t *ptr, int32_t value) { argument
69 return __sync_fetch_and_add(ptr, value);
72 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile uint32_t *ptr, uint32_t value) { argument
73 return __sync_fetch_and_add(ptr, value);
76 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile int32_t *ptr, int32_t value) { argument
77 return __sync_fetch_and_sub(ptr, value);
80 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile uint32_t *ptr, uint32_t value) { argument
81 return __sync_fetch_and_sub(ptr, value);
84 extern int32_t __attribute__((overloadable)) rsAtomicAnd(volatile int32_t *ptr, int32_t value) { argument
85 return __sync_fetch_and_and(ptr, value);
88 rsAtomicAnd(volatile uint32_t *ptr, uint32_t value) argument
92 rsAtomicOr(volatile int32_t *ptr, int32_t value) argument
96 rsAtomicOr(volatile uint32_t *ptr, uint32_t value) argument
100 rsAtomicXor(volatile int32_t *ptr, int32_t value) argument
104 rsAtomicXor(volatile uint32_t *ptr, uint32_t value) argument
113 rsAtomicMin(volatile uint32_t *ptr, uint32_t value) argument
123 rsAtomicMin(volatile int32_t *ptr, int32_t value) argument
133 rsAtomicMax(volatile uint32_t *ptr, uint32_t value) argument
143 rsAtomicMax(volatile int32_t *ptr, int32_t value) argument
[all...]
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DDropDownPreference.java101 public int findSpinnerIndexOfValue(String value) { argument
103 if (value != null && entryValues != null) {
105 if (entryValues[i].equals(value)) {
132 String value = getEntryValues()[position].toString();
133 if (!value.equals(getValue()) && callChangeListener(value)) {
134 setValue(value);
/frameworks/av/include/media/stagefright/
H A DMetaData.h200 kKeyColorRange = 'cRng', // int32_t, color range, value defined by ColorAspects.Range
202 // color Primaries, value defined by ColorAspects.Primaries
204 // transfer Function, value defined by ColorAspects.Transfer.
206 // color Matrix, value defined by ColorAspects.MatrixCoeffs.
234 bool setCString(uint32_t key, const char *value);
235 bool setInt32(uint32_t key, int32_t value);
236 bool setInt64(uint32_t key, int64_t value);
237 bool setFloat(uint32_t key, float value);
238 bool setPointer(uint32_t key, void *value);
245 bool findCString(uint32_t key, const char **value);
[all...]
/frameworks/av/media/mtp/
H A DMtpPacket.cpp103 void MtpPacket::putUInt16(int offset, uint16_t value) { argument
104 mBuffer[offset++] = (uint8_t)(value & 0xFF);
105 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF);
108 void MtpPacket::putUInt32(int offset, uint32_t value) { argument
109 mBuffer[offset++] = (uint8_t)(value & 0xFF);
110 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF);
111 mBuffer[offset++] = (uint8_t)((value >> 16) & 0xFF);
112 mBuffer[offset++] = (uint8_t)((value >> 24) & 0xFF);
143 void MtpPacket::setParameter(int index, uint32_t value) { argument
151 putUInt32(offset, value);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DFlashlightTile.java85 MetricsLogger.action(mContext, getMetricsCategory(), !mState.value);
86 boolean newState = !mState.value;
118 boolean value = (Boolean) arg;
119 if (value == state.value) {
122 state.value = value;
124 state.value = mFlashlightController.isEnabled();
126 final AnimationIcon icon = state.value ? mEnable : mDisable;
140 if (mState.value) {
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl.cpp56 void setGLHooksThreadSpecific(gl_hooks_t const *value) { argument
57 setGlThreadSpecific(value);
71 char value[PROPERTY_VALUE_MAX]; local
72 property_get("debug.egl.callstack", value, "0");
73 if (atoi(value)) {
230 char value[PROPERTY_VALUE_MAX]; local
231 property_get("debug.egl.callstack", value, "0");
232 if (atoi(value)) {
243 void setGlThreadSpecific(gl_hooks_t const *value) { argument
245 tls_hooks[TLS_SLOT_OPENGL_API] = value;
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsConfig.java58 * It is the value of FeatureConstants or ConfigConstants.
65 * Extra parameter "value" of intent ACTION_IMS_FEATURE_CHANGED and ACTION_IMS_CONFIG_CHANGED.
66 * It is the new value of "item".
70 public static final String EXTRA_NEW_VALUE = "value";
139 * SIP Session Timer value (seconds).
151 * SIP_INVITE cancellation time out value (in milliseconds). Integer format.
169 * SIP T1 timer value in milliseconds. See RFC 3261 for define.
175 * SIP T2 timer value in milliseconds. See RFC 3261 for define.
181 * SIP TF timer value in milliseconds. See RFC 3261 for define.
303 * Registration retry Base Time value i
549 setProvisionedValue(int item, int value) argument
581 setProvisionedStringValue(int item, String value) argument
632 setFeatureValue(int feature, int network, int value, ImsConfigListener listener) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.cpp84 const String8& name, String8& value) const {
86 value = "Google";
88 value = "1.0";
90 value = "ClearKey CDM";
92 value = "";
/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...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dresidual.cpp158 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/base/services/core/java/com/android/server/firewall/
H A DStringFilter.java118 protected abstract boolean matchesValue(String value); argument
123 String value = mValueProvider.getValue(resolvedComponent, intent, resolvedType);
124 return matchesValue(value);
150 public boolean matchesValue(String value) { argument
151 return value != null && value.equals(mFilterValue);
164 public boolean matchesValue(String value) { argument
165 return value != null && value.contains(mFilterValue);
178 public boolean matchesValue(String value) { argument
192 matchesValue(String value) argument
206 matchesValue(String value) argument
225 matchesValue(String value) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DIdAssigner.cpp46 if (usedTypeIds[type->id.value()]) {
52 << std::hex << (int) type->id.value()
58 usedTypeIds.set(type->id.value());
65 if (!usedEntryIds.insert(entry->id.value()).second) {
71 << std::hex << (int) entry->id.value()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java78 public Editor putString(String key, String value) {
88 public Editor putInt(String key, int value) {
93 public Editor putLong(String key, long value) {
98 public Editor putFloat(String key, float value) {
103 public Editor putBoolean(String key, boolean value) {
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableArrayMap.java87 V value = super.removeAt(index);
88 if (value != null) {
91 return value;
95 public V setValueAt(int index, V value) { argument
97 V oldValue = super.setValueAt(index, value);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRetryManager.java44 * separated by a comma. There are two name value pair parameters plus a series
46 * The name value pairs which may be specified are:
48 *<li>max_retries=<value>
49 *<li>default_randomizationTime=<value>
53 * maybe called before isRetryNeeded will return false. if value
61 * may have an optional randomization value separated from the
66 * <li>3 retries with no randomization value which means its 0:
69 * <li>10 retries with a 500 default randomization value for each and
73 * <li>4 retries with a 100 as the default randomization value for the first 2 values and
104 * The default value (i
418 validateNonNegativeInt(String name, int value) argument
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsState.java83 /** Non-binary value will be written in this attribute. */
84 private static final String ATTR_VALUE = "value";
89 * NOTE: A null value will have NEITHER ATTR_VALUE nor ATTR_VALUE_BASE64.
225 public boolean updateSettingLocked(String name, String value, String packageName) { argument
230 return insertSettingLocked(name, value, packageName);
234 public boolean insertSettingLocked(String name, String value, String packageName) { argument
240 String oldValue = (oldState != null) ? oldState.value : null;
243 if (!oldState.update(value, packageName)) {
247 Setting state = new Setting(name, value, packageName);
251 updateMemoryUsagePerPackageLocked(packageName, oldValue, value);
421 writeSingleSetting(int version, XmlSerializer serializer, String id, String name, String value, String packageName) argument
436 setValueAttribute(int version, XmlSerializer serializer, String value) argument
572 private String value; field in class:SettingsState.Setting
583 Setting(String name, String value, String packageName) argument
587 Setting(String name, String value, String packageName, String id) argument
592 init(String name, String value, String packageName, String id) argument
623 update(String value, String packageName) argument
[all...]
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp39 return a->id.value() < b->id.value();
58 return a.key.id.value() < b.key.id.value();
62 return a.key.name.value() < b.key.name.value();
69 Value* value; member in struct:aapt::__anon1150::FlatEntry
103 BinaryPrimitive val(Res_value::TYPE_INT_DEC, s.value);
110 const Reference& parentRef = style->parent.value();
112 mOutEntry->parent.ident = util::hostToDevice32(parentRef.id.value()
197 flattenValue(Item* value, ResTable_map* outEntry) argument
202 flattenEntry(Reference* key, Item* value) argument
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java236 * Set either the hour or the minute. Will set the internal value, and set the selection.
238 private void setItem(int index, int value) { argument
240 setValueForItem(HOUR_INDEX, value);
241 int hourDegrees = (value % 12) * HOUR_VALUE_TO_DEGREES_STEP_SIZE;
242 mHourRadialSelectorView.setSelection(hourDegrees, isHourInnerCircle(value), false);
245 setValueForItem(MINUTE_INDEX, value);
246 int minuteDegrees = value * MINUTE_VALUE_TO_DEGREES_STEP_SIZE;
294 * Set the internal value for the hour, minute, or AM/PM.
296 private void setValueForItem(int index, int value) { argument
298 mCurrentHoursOfDay = value;
[all...]
/frameworks/base/core/java/android/preference/
H A DListPreference.java33 * This preference will store a string into the SharedPreferences. This string will be the value
109 * The array to find the value to save for a preference when an entry from
137 * Sets the value of the key. This should be one of the entries in
140 * @param value The value to set for the key.
142 public void setValue(String value) { argument
144 final boolean changed = !TextUtils.equals(mValue, value);
146 mValue = value;
148 persistString(value);
159 * value wil
229 findIndexOfValue(String value) argument
325 String value; field in class:ListPreference.SavedState
[all...]
/frameworks/base/location/java/android/location/
H A DGnssNavigationMessage.java182 public void setType(@GnssNavigationMessageType int value) { argument
183 mType = value;
231 public void setSvid(int value) { argument
232 mSvid = value;
244 * <li> For GPS L1 C/A subframe 4 and 5, this value corresponds to the 'frame id' of the
246 * this value can be set to -1.)</li>
265 public void setMessageId(int value) { argument
266 mMessageId = value;
292 public void setSubmessageId(int value) { argument
293 mSubmessageId = value;
327 setData(byte[] value) argument
347 setStatus(int value) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DType.java26 * value in the Y or Z dimensions indicates that the dimension is present. Note
89 * Return the value of the X dimension.
98 * Return the value of the Y dimension or 0 for a 1D allocation.
107 * Return the value of the Z dimension or 0 for a 1D or 2D allocation.
361 * @param value
363 public Builder setX(int value) { argument
364 if(value < 1) {
367 mDimX = value;
371 public Builder setY(int value) { argument
372 if(value <
379 setZ(int value) argument
396 setArray(int dim, int value) argument
404 setMipmaps(boolean value) argument
409 setFaces(boolean value) argument
[all...]
/frameworks/base/tools/aapt2/java/
H A DProguardRules.cpp46 std::u16string package = maybePackage.value().package + u"." + node->name;
89 util::isJavaClassName(attr.value)) {
90 addClass(node->lineNumber, attr.value);
92 attr.name == u"name" && util::isJavaClassName(attr.value)) {
93 addClass(node->lineNumber, attr.value);
95 addMethod(node->lineNumber, attr.value);
115 if (attr && util::isJavaClassName(attr->value)) {
116 addClass(node->lineNumber, attr->value);
133 if (attr && util::isJavaClassName(attr->value)) {
134 addClass(node->lineNumber, attr->value);
[all...]

Completed in 884 milliseconds

<<11121314151617181920>>