Searched refs:value (Results 151 - 175 of 493) sorted by relevance

1234567891011>>

/frameworks/base/include/utils/
H A Dmisc.h88 void k_itoa(int value, char* str, int base);
H A DKeyedVector.h97 * Variation of KeyedVector that holds a default value to return when
127 return mVector.itemAt(i).value;
132 return mVector.itemAt(index).value;
144 return mVector.editItemAt(i).value;
149 return mVector.editItemAt(index).value;
153 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) { argument
154 return mVector.add( key_value_pair_t<KEY,VALUE>(key, value) );
158 ssize_t KeyedVector<KEY,VALUE>::replaceValueFor(const KEY& key, const VALUE& value) { argument
159 key_value_pair_t<KEY,VALUE> pair(key, value);
167 mVector.editItemAt(index).value
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLayoutTestController.java69 public void overridePreference(String key, boolean value); argument
/frameworks/base/tools/aapt/
H A DStringPool.cpp42 ssize_t StringPool::add(const String16& value, bool mergeDuplicates) argument
44 return add(String16(), value, mergeDuplicates);
47 ssize_t StringPool::add(const String16& value, const Vector<entry_style_span>& spans) argument
49 ssize_t res = add(String16(), value, false);
56 ssize_t StringPool::add(const String16& ident, const String16& value, argument
63 String8(mEntries[idx].value).string());
68 ssize_t vidx = mValues.indexOfKey(value);
72 eidx = mEntries.add(entry(value));
74 fprintf(stderr, "Failure adding string %s\n", String8(value).string());
83 vidx = mValues.add(value, po
[all...]
/frameworks/base/tools/localize/
H A DValues.cpp15 value(v),
28 value(NULL),
41 value(that.value),
/frameworks/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java199 * the value is negative.
201 public void setBandwidth(String type, int value) { argument
202 mFields.setBandwidth(type, value);
222 * the value is {@code null}. To set a binary attribute, use an empty
223 * string as the value.
225 public void setAttribute(String name, String value) { argument
226 mFields.setAttribute(name, value);
384 * has three parts: a key, a delimiter, and a value. Delimiters are special
470 String value = get("b=" + type, ':');
471 if (value !
484 setBandwidth(String type, int value) argument
508 setAttribute(String name, String value) argument
583 set(String key, char delimiter, String value) argument
[all...]
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java81 * @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...]
/frameworks/base/core/java/android/text/
H A DPackedIntVector.java55 * Returns the value at the specified row and column.
60 * @return the value stored at the specified position.
77 int value = mValues[row * columns + column];
81 value += valuegap[column + columns];
84 return value;
88 * Sets the value at the specified row and column.
97 public void setValue(int row, int column, int value) { argument
108 value -= valuegap[column + mColumns];
111 mValues[row * mColumns + column] = value;
115 * Sets the value a
122 setValueInternal(int row, int column, int value) argument
[all...]
/frameworks/base/core/java/android/util/
H A DCalendarUtils.java97 String value = cursor.getString(valueColumn);
100 value, CalendarCache.TIMEZONE_TYPE_AUTO);
107 if (!TextUtils.isEmpty(value) && !TextUtils.equals(mHomeTZ, value)) {
109 mHomeTZ = value;
251 * will only be called if this query returns a value other than what is stored in
257 * @return The string value representing the time zone Calendar should display
309 * A helper method for writing a String value to the preferences
314 * @param value The value t
316 setSharedPreference(SharedPreferences prefs, String key, String value) argument
331 setSharedPreference(SharedPreferences prefs, String key, boolean value) argument
[all...]
/frameworks/base/libs/rs/
H A DrsAdapter.cpp90 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) argument
98 a->setY(value);
101 a->setZ(value);
104 a->setLOD(value);
107 a->setFace(value);
207 void rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) argument
218 a->setZ(value);
221 a->setLOD(value);
224 a->setFace(value);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java58 private static final String[] COLUMN_VALUE = new String[] { "value" };
77 private static final Bundle NULL_SETTING = Bundle.forPair("value", null);
79 // Used as a sentinel value in an instance equality test when we
80 // want to cache the existence of a key, but not store its value.
305 String value = c.getString(1);
306 cache.populate(name, value);
328 final String value = c.moveToNext() ? c.getString(0) : null;
329 if (value == null) {
361 // Looks up value 'key' in 'table' and returns either a single-pair Bundle,
362 // possibly with a null value, o
750 setFullyMatchesDisk(boolean value) argument
774 putIfAbsent(String key, String value) argument
812 populate(String name, String value) argument
842 isRedundantSetValue(SettingsCache cache, String name, String value) argument
[all...]
/frameworks/base/tests/BrowserTestPlugin/jni/
H A Dmain.cpp52 NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value);
53 NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value);
57 EXPORT NPError NP_GetValue(NPP instance, NPPVariable variable, void *value);
238 EXPORT NPError NP_GetValue(NPP instance, NPPVariable variable, void *value) { argument
241 const char **str = (const char **)value;
247 const char **str = (const char **)value;
255 NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value) argument
258 void **v = (void **)value;
271 NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java470 public FasterStringBuilder append(String value) { argument
471 final int valueLength = value.length();
473 value.getChars(0, valueLength, mChars, index);
478 public FasterStringBuilder append(int value) { argument
479 return append(value, 0);
482 public FasterStringBuilder append(int value, int zeroPadWidth) { argument
483 final boolean negative = value < 0;
485 value = - value;
486 if (value <
526 append(float value, int precision) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java166 int attribute, int[] value) {
173 value);
174 arg("value", value);
278 int attribute, int[] value) {
285 value);
286 returns(value[0]);
304 int attribute, int[] value) {
311 value);
312 returns(value[
165 eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value) argument
277 eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value) argument
303 eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value) argument
387 arg(String name, String value) argument
410 arg(String name, int value) argument
521 getHex(int value) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DStkService.java37 * Enumeration for representing the tag value of COMPREHENSION-TLV objects. If
38 * you want to get the actual value, call {@link #value() value} method.
68 ComprehensionTlvTag(int value) { argument
69 mValue = value;
73 * Returns the actual value of this COMPREHENSION-TLV object.
75 * @return Actual tag value of this object
77 public int value() { method in class:ComprehensionTlvTag
81 public static ComprehensionTlvTag fromInt(int value) { argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DArrayListPerformanceTest.java110 int i = 0, value;
113 value = mList.get(i);
114 value = mList.get(i);
115 value = mList.get(i);
116 value = mList.get(i);
117 value = mList.get(i);
118 value = mList.get(i);
119 value = mList.get(i);
120 value = mList.get(i);
121 value
[all...]
/frameworks/base/core/java/android/pim/vcard/
H A DVCardUtils.java335 * Splits the given value into pieces using the delimiter ';' inside it.
339 public static List<String> constructListFromValue(final String value, argument
343 final int length = value.length();
345 char ch = value.charAt(i);
347 char nextCh = value.charAt(i + 1);
389 for (final String value : values) {
390 if (TextUtils.isEmpty(value)) {
393 if (!TextUtils.isPrintableAsciiOnly(value)) {
422 for (final String value : values) {
423 if (TextUtils.isEmpty(value)) {
522 isV21Word(final String value) argument
560 toStringAsV30ParamValue(String value) argument
564 toStringAsV40ParamValue(String value) argument
568 toStringAsParamValue(String value, final int[] escapeIndicators) argument
667 parseQuotedPrintable( final String value, boolean strictLineBreaking, String sourceCharset, String targetCharset) argument
[all...]
H A DVCardInterpreterCollection.java91 public void propertyParamValue(String value) { argument
93 builder.propertyParamValue(value);
/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java51 convertValueToList(CharSequence value, String[] options, int defaultValue) argument
53 if (null != value) {
55 if (value.equals(options[i]))
64 convertValueToBoolean(CharSequence value, boolean defaultValue) argument
68 if (null == value)
71 if (value.equals("1")
72 || value.equals("true")
73 || value.equals("TRUE"))
90 int value;
126 convertValueToUnsignedInt(String value, in argument
[all...]
/frameworks/base/cmds/keystore/
H A Dkeystore_get.h37 * specifies the buffer to store the retrieved value, which must be an array of
38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or
40 static int keystore_get(const char *key, int length, char *value) argument
61 int n = recv(sock, &value[offset], length - offset, 0);
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothA2dp.aidl39 boolean allowIncomingConnect(in BluetoothDevice device, boolean value);
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java453 * Increment a value block, storing the result in the temporary block on the tag.
462 * @param value non-negative to increment by
466 public void increment(int blockIndex, int value) throws IOException { argument
468 validateValueOperand(value);
475 cmd.putInt(value);
481 * Decrement a value block, storing the result in the temporary block on the tag.
490 * @param value non-negative to decrement by
494 public void decrement(int blockIndex, int value) throws IOException { argument
496 validateValueOperand(value);
503 cmd.putInt(value);
591 validateValueOperand(int value) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DCertTool.java65 static void addCertificate(Context context, String type, byte[] value) { argument
66 Credentials.getInstance().install(context, type, value);
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteProgram.cpp70 jint index, jlong value)
75 err = sqlite3_bind_int64(statement, index, value);
85 jint index, jdouble value)
90 err = sqlite3_bind_double(statement, index, value);
120 jint index, jbyteArray value)
127 jint len = env->GetArrayLength(value);
128 jbyte * bytes = env->GetByteArrayElements(value, NULL);
131 env->ReleaseByteArrayElements(value, bytes, JNI_ABORT);
69 native_bind_long(JNIEnv* env, jobject object, jint index, jlong value) argument
84 native_bind_double(JNIEnv* env, jobject object, jint index, jdouble value) argument
119 native_bind_blob(JNIEnv* env, jobject object, jint index, jbyteArray value) argument
/frameworks/base/include/media/
H A Dmediascanner.h73 bool addStringTag(const char* name, const char* value);
77 virtual bool handleStringTag(const char* name, const char* value) = 0;
85 // cached name and value strings, for native encoding support.

Completed in 349 milliseconds

1234567891011>>