Searched refs:value (Results 251 - 275 of 934) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp45 * static native int writeEvent(int tag, int value)
48 jint tag, jint value)
50 return android_btWriteLog(tag, EVENT_TYPE_INT, &value, sizeof(value));
55 * static native int writeEvent(long tag, long value)
58 jint tag, jlong value)
60 return android_btWriteLog(tag, EVENT_TYPE_LONG, &value, sizeof(value));
65 * static native int writeEvent(int tag, String value)
68 jint tag, jstring value) {
47 android_util_EventLog_writeEvent_Integer(JNIEnv* env, jobject clazz, jint tag, jint value) argument
57 android_util_EventLog_writeEvent_Long(JNIEnv* env, jobject clazz, jint tag, jlong value) argument
67 android_util_EventLog_writeEvent_String(JNIEnv* env, jobject clazz, jint tag, jstring value) argument
91 android_util_EventLog_writeEvent_Array(JNIEnv* env, jobject clazz, jint tag, jobjectArray value) argument
[all...]
H A Dandroid_database_CursorWindow.cpp181 const void* value = window->getFieldSlotValueBlob(fieldSlot, &size); local
188 env->SetByteArrayRegion(byteArray, 0, size, static_cast<const jbyte*>(value));
216 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); local
223 String16 utf16(value, sizeIncludingNull - 1);
226 int64_t value = window->getFieldSlotValueLong(fieldSlot); local
228 snprintf(buf, sizeof(buf), "%lld", value);
231 double value = window->getFieldSlotValueDouble(fieldSlot); local
233 snprintf(buf, sizeof(buf), "%g", value);
308 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); local
310 fillCharArrayBufferUTF(env, bufferObj, value, sizeIncludingNul
315 int64_t value = window->getFieldSlotValueLong(fieldSlot); local
320 double value = window->getFieldSlotValueDouble(fieldSlot); local
349 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); local
380 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); local
400 void* value = env->GetPrimitiveArrayCritical(valueObj, NULL); local
435 nativePutLong(JNIEnv* env, jclass clazz, jint windowPtr, jlong value, jint row, jint column) argument
449 nativePutDouble(JNIEnv* env, jclass clazz, jint windowPtr, jdouble value, jint row, jint column) argument
[all...]
/frameworks/rs/
H A DrsScriptC.cpp314 const char * value = mHal.info.exportedPragmaValueList[i]; local
317 if (!strcmp(value, "1")) {
320 ALOGE("Invalid version pragma value: %s\n", value);
326 if (!strcmp(value, "default")) {
329 if (!strcmp(value, "parent")) {
333 ALOGE("Unrecognized value %s passed to stateVertex", value);
338 if (!strcmp(value, "default")) {
341 if (!strcmp(value, "paren
[all...]
H A DrsScript.cpp186 // input for sc. Instead, it retains an existing pointer value (the prior
214 void rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) { argument
216 s->setVar(slot, &value, sizeof(value));
219 void rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) { argument
221 ObjectBase *o = static_cast<ObjectBase *>(value);
225 void rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, int64_t value) { argument
227 s->setVar(slot, &value, sizeof(value));
230 void rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) { argument
235 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument
[all...]
/frameworks/av/drm/common/
H A DDrmConstraints.cpp32 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;
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java118 * @param value value field for this transaction
125 * or negative value for failure
127 public int controlTransfer(int requestType, int request, int value, argument
129 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
142 * @param value value field for this transaction
150 * or negative value for failure
152 public int controlTransfer(int requestType, int request, int value, int index, argument
155 return native_control_request(requestType, request, value, inde
239 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument
[all...]
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A DBCHeaderField.h106 static void WriteFixedSubfield(FixedSubfield value, uint8_t* buf) { argument
107 buf[0] = value & 0xFF;
108 buf[1] = (value >> 8) & 0xFF;
110 static void ReadFixedSubfield(FixedSubfield* value, const uint8_t* buf) { argument
111 *value = buf[0] | buf[1] << 8;
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.h49 bool GLMessage_DataType_Type_IsValid(int value);
645 bool GLMessage_Function_IsValid(int value);
702 static inline bool Type_IsValid(int value) { argument
703 return GLMessage_DataType_Type_IsValid(value);
719 inline void set_type(::android::gltrace::GLMessage_DataType_Type value);
726 inline void set_isarray(bool value);
733 inline void set_intvalue(int index, ::google::protobuf::int32 value);
734 inline void add_intvalue(::google::protobuf::int32 value);
745 inline void set_floatvalue(int index, float value);
746 inline void add_floatvalue(float value);
1578 Function_IsValid(int value) argument
1701 set_type(::android::gltrace::GLMessage_DataType_Type value) argument
1718 set_isarray(bool value) argument
1733 set_intvalue(int index, ::google::protobuf::int32 value) argument
1736 add_intvalue(::google::protobuf::int32 value) argument
1758 set_floatvalue(int index, float value) argument
1761 add_floatvalue(float value) argument
1786 set_charvalue(int index, const ::std::string& value) argument
1789 set_charvalue(int index, const char* value) argument
1792 set_charvalue(int index, const void* value, size_t size) argument
1799 add_charvalue(const ::std::string& value) argument
1802 add_charvalue(const char* value) argument
1805 add_charvalue(const void* value, size_t size) argument
1830 set_rawbytes(int index, const ::std::string& value) argument
1833 set_rawbytes(int index, const char* value) argument
1836 set_rawbytes(int index, const void* value, size_t size) argument
1843 add_rawbytes(const ::std::string& value) argument
1846 add_rawbytes(const char* value) argument
1849 add_rawbytes(const void* value, size_t size) argument
1871 set_boolvalue(int index, bool value) argument
1874 add_boolvalue(bool value) argument
1896 set_int64value(int index, ::google::protobuf::int64 value) argument
1899 add_int64value(::google::protobuf::int64 value) argument
1926 set_width(::google::protobuf::int32 value) argument
1942 set_height(::google::protobuf::int32 value) argument
1960 set_contents(int index, const ::std::string& value) argument
1963 set_contents(int index, const char* value) argument
1966 set_contents(int index, const void* value, size_t size) argument
1973 add_contents(const ::std::string& value) argument
1976 add_contents(const char* value) argument
1979 add_contents(const void* value, size_t size) argument
2006 set_context_id(::google::protobuf::int32 value) argument
2022 set_start_time(::google::protobuf::int64 value) argument
2038 set_duration(::google::protobuf::int32 value) argument
2054 set_function(::android::gltrace::GLMessage_Function value) argument
2130 set_threadtime(::google::protobuf::int32 value) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c64 * 32 bit long signed integer (Word32) whose value falls in the *
151 * 32 bit long signed integer (Word32) whose value falls in the *
157 * 16 bit positive normalized integer whose value falls in the *
160 * 16 bit positive integer whose value falls in the *
166 * 32 bit long signed integer (Word32) whose value falls in the *
205 iLog4(x) = (Word32)(4 * log(value)/log(2.0))
207 \return ilog4 value
210 Word16 iLog4(Word32 value) argument
214 if(value != 0){
217 iLog4 = norm_l(value);
243 rsqrt(Word32 value, Word32 accuracy) argument
[all...]
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java196 * @param value the value to bind
199 Object value) {
200 if (value == null) {
202 } else if (value instanceof Double || value instanceof Float) {
203 prog.bindDouble(index, ((Number)value).doubleValue());
204 } else if (value instanceof Number) {
205 prog.bindLong(index, ((Number)value).longValue());
206 } else if (value instanceo
198 bindObjectToProgram(SQLiteProgram prog, int index, Object value) argument
359 sqlEscapeString(String value) argument
370 appendValueToSql(StringBuilder sql, Object value) argument
1146 bind(int index, double value) argument
1156 bind(int index, float value) argument
1166 bind(int index, long value) argument
1176 bind(int index, int value) argument
1186 bind(int index, boolean value) argument
1205 bind(int index, byte[] value) argument
1219 bind(int index, String value) argument
[all...]
H A DCursorWindow.java44 /** The cursor window size. resource xml file specifies the value in kB.
82 private static native boolean nativePutBlob(int windowPtr, byte[] value, int row, int column); argument
83 private static native boolean nativePutString(int windowPtr, String value, int row, int column); argument
84 private static native boolean nativePutLong(int windowPtr, long value, int row, int column); argument
85 private static native boolean nativePutDouble(int windowPtr, double value, int row, int column); argument
376 * Gets the value of the field at the specified row and column index as a byte array.
383 * is the blob value.</li>
386 * string value.</li>
394 * @return The value of the field as a byte array.
406 * Gets the value o
601 putBlob(byte[] value, int row, int column) argument
618 putString(String value, int row, int column) argument
635 putLong(long value, int row, int column) argument
653 putDouble(double value, int row, int column) argument
[all...]
/frameworks/base/core/java/android/util/
H A DTypedValue.java20 * Container for a dynamically typed data value. Primarily used with
24 /** The value contains no data. */
41 * dimension value. */
47 /** Identifies the start of plain integer values. Any type value
49 * <var>data</var> field holds a generic integer value. */
142 * If {@link #density} is equal to this value, then the density should be
143 * treated as the system's default density value: {@link DisplayMetrics#DENSITY_DEFAULT}.
148 * If {@link #density} is equal to this value, then there is no density
155 /** The type held by this value, as defined by the constants here.
159 /** If the value hold
320 applyDimension(int unit, float value, DisplayMetrics metrics) argument
[all...]
H A DArraySet.java108 // Key not found -- return negative value indicating where a
146 // Key not found -- return negative value indicating where a
285 * Check whether a value exists in the set.
287 * @param key The value to search for.
288 * @return Returns true if the value exists, else false.
296 * Return the value at the given index in the array.
298 * @return Returns the value stored at the given index.
316 * @param value the object to add.
322 public boolean add(E value) { argument
325 if (value
[all...]
H A DJsonReader.java29 * encoded value as a stream of tokens. This stream includes both literal
33 * Within JSON objects, name/value pairs are represented by a single token.
58 * skip the value's nested tokens, which may otherwise conflict.
60 * <p>If a value may be null, you should first check using {@link #peek()}.
212 * #advance}. If null, peek() will assign a value.
220 * For the next literal value, we may have the text value, or the position
223 private String value; field in class:JsonReader
255 * was the omitted value.
258 * <li>Name/value pair
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java159 * Adds a mapping from the specified key to the specified value,
163 public void put(int key, E value) { argument
167 mValues[i] = new WeakReference(value);
173 mValues[i] = new WeakReference(value);
205 mValues[i] = new WeakReference(value);
211 * Returns the number of key-value mappings that this SparseArray
224 * the key from the <code>index</code>th key-value mapping that this
237 * the value from the <code>index</code>th key-value mapping that this
250 * value fo
253 setValueAt(int index, E value) argument
282 indexOfValue(E value) argument
313 append(int key, E value) argument
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java176 public boolean setModelParameter(String key, String value){ argument
178 mUseAutoAlpha = Boolean.parseBoolean(value);
180 mUsePrior = Boolean.parseBoolean(value);
182 mAlpha = Float.valueOf(value.trim()).floatValue();
184 mAutoAlpha = Float.valueOf(value.trim()).floatValue();
186 mForgetRate = Float.valueOf(value.trim()).floatValue();
188 mMinReqTrainingPair = (int) Float.valueOf(value.trim()).floatValue();
190 mUserRankerPerf = Float.valueOf(value.trim()).floatValue();
192 mPriorRankerPerf = Float.valueOf(value.trim()).floatValue();
194 mNumTrainPair = (int) Float.valueOf(value
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dvlc_encode.cpp32 AVCEnc_Status se_v(AVCEncBitstream *bitstream, int value) argument
37 if (value <= 0)
39 codeNum = -value * 2;
43 codeNum = value * 2 - 1;
51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range) argument
57 return ue_v(bitstream, value);
61 status = BitstreamWrite1Bit(bitstream, 1 - value);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java95 T value = getOverride(key);
96 if (value != null) {
97 return value;
108 * Set a camera metadata field to a value. The field definitions can be
113 * @param value The value to set the field to, which must be of a matching
116 public <T> void set(Key<T> key, T value) { argument
117 if (setOverride(key, value)) {
121 setBase(key, value);
198 private static <T> int packSingleNative(T value, ByteBuffe argument
244 packSingle(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument
262 packEnum(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument
270 packClass(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument
281 packArray(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument
568 setBase(Key<T> key, T value) argument
590 setOverride(Key<T> key, T value) argument
599 setAvailableFormats(int[] value) argument
785 getEnumFromValue(Class<T> enumType, int value) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java794 private static Object[] wrapArg(Object value) { argument
796 args[0] = value;
1077 Object value; field in class:RemoteViews.ReflectionAction
1079 ReflectionAction(int viewId, String methodName, int type, Object value) { argument
1083 this.value = value;
1100 this.value = in.readInt() != 0;
1103 this.value = in.readByte();
1106 this.value = (short)in.readInt();
1109 this.value
2197 setBoolean(int viewId, String methodName, boolean value) argument
2208 setByte(int viewId, String methodName, byte value) argument
2219 setShort(int viewId, String methodName, short value) argument
2230 setInt(int viewId, String methodName, int value) argument
2241 setLong(int viewId, String methodName, long value) argument
2252 setFloat(int viewId, String methodName, float value) argument
2263 setDouble(int viewId, String methodName, double value) argument
2274 setChar(int viewId, String methodName, char value) argument
2285 setString(int viewId, String methodName, String value) argument
2296 setCharSequence(int viewId, String methodName, CharSequence value) argument
2307 setUri(int viewId, String methodName, Uri value) argument
2328 setBitmap(int viewId, String methodName, Bitmap value) argument
2339 setBundle(int viewId, String methodName, Bundle value) argument
2350 setIntent(int viewId, String methodName, Intent value) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java83 * Retrieve the styled string value for the attribute at <var>index</var>.
111 * Retrieve the string value for the attribute at <var>index</var>.
140 * Retrieve the string value for the attribute at <var>index</var>, but
141 * only if that string comes from an immediate value in an XML file. That
151 * an immediate string value.
169 * Retrieve the string value for the attribute at <var>index</var> that is
204 * Retrieve the boolean value for the attribute at <var>index</var>.
209 * @return Attribute boolean value, or defValue if not defined.
234 * Retrieve the integer value for the attribute at <var>index</var>.
239 * @return Attribute int value, o
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java131 String value = Settings.System.getString(context.getContentResolver(),
134 if (value == null) {
151 value = "24";
153 value = "12";
156 value = "12";
161 sIs24Hour = value.equals("24");
167 return value.equals("24");
230 String value = Settings.System.getString(context.getContentResolver(),
233 return getDateFormatForSetting(context, value);
238 * as if the date format setting were set to <code>value</cod
245 getDateFormatForSetting(Context context, String value) argument
251 getDateFormatStringForSetting(Context context, String value) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAAMRAssembler.cpp33 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
34 value->clear();
45 value->setTo(&s[keyLen + 1], len - keyLen - 1);
49 value->setTo("1");
67 AString value; local
68 CHECK(GetAttribute(params.c_str(), "octet-align", &value) && value == "1");
69 CHECK(!GetAttribute(params.c_str(), "crc", &value) || value == "0");
70 CHECK(!GetAttribute(params.c_str(), "interleaving", &value));
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java187 int b, int value) throws IOException;
438 int value = getOption_native(fd, optID);
443 return value;
446 return value;
450 public void setOption(int optID, Object value) argument
465 if (value instanceof Integer) {
466 intValue = (Integer)value;
467 } else if (value instanceof Boolean) {
468 boolValue = ((Boolean) value)? 1 : 0;
470 throw new IOException("bad value
186 setOption_native(FileDescriptor fd, int optID, int b, int value) argument
[all...]
/frameworks/base/media/java/android/media/
H A DExifInterface.java128 * Returns the value of the specified tag or {@code null} if there
138 * Returns the integer value of the specified tag. If there is no such tag
139 * in the JPEG file or the value cannot be parsed as integer, return
143 * @param defaultValue the value to return if the tag is not available.
146 String value = mAttributes.get(tag);
147 if (value == null) return defaultValue;
149 return Integer.valueOf(value);
156 * Returns the double value of the specified rational tag. If there is no
157 * such tag in the JPEG file or the value cannot be parsed as double, return
161 * @param defaultValue the value t
184 setAttribute(String tag, String value) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResponseData.java61 int tag = 0x80 | ComprehensionTlvTag.ITEM_ID.value();
104 int tag = 0x80 | ComprehensionTlvTag.TEXT_STRING.value();
177 int tag = 0x80 | ComprehensionTlvTag.LANGUAGE.value();
215 int tag = 0x80 | CommandType.PROVIDE_LOCAL_INFORMATION.value();
257 private byte byteToBCD(int value) { argument
258 if (value < 0 && value > 99) {
259 CatLog.d(this, "Err: byteToBCD conversion Value is " + value +
264 return (byte) ((value / 10) | ((value
[all...]

Completed in 647 milliseconds

<<11121314151617181920>>