/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.h | 89 void setIntField(jobject obj, const char *name, jint value); 90 void setByteField(jobject obj, const char *name, jbyte value); 92 void setBooleanField(jobject obj, const char *name, jboolean value); 93 void setLongField(jobject obj, const char *name, jlong value); 94 void setLongArrayField(jobject obj, const char *name, jlongArray value); 95 void setLongArrayElement(jobject obj, const char *name, int index, jlong value); 96 jboolean setStringField(jobject obj, const char *name, const char *value); 101 void setObjectField(jobject obj, const char *name, const char *type, jobject value); 107 void setStaticLongField(jobject obj, const char *name, jlong value); 108 void setStaticLongField(jclass cls, const char *name, jlong value); [all...] |
H A D | jni_helper.cpp | 155 JNIObject<jobject> value(*this, mEnv->GetObjectField(obj, field)); 156 JNIObject<jstring> string(*this, (jstring)value.clone()); 161 THROW(*this, "Error in accessing value"); 239 jlong value = elem[index]; local 241 return value; 289 jlong value = elem[index]; local 291 return value; 313 void JNIHelper::setIntField(jobject obj, const char *name, jint value) argument 327 mEnv->SetIntField(obj, field, value); 330 void JNIHelper::setByteField(jobject obj, const char *name, jbyte value) argument 347 setBooleanField(jobject obj, const char *name, jboolean value) argument 364 setLongField(jobject obj, const char *name, jlong value) argument 381 setStaticLongField(jobject obj, const char *name, jlong value) argument 392 setStaticLongField(jclass cls, const char *name, jlong value) argument 403 setLongArrayField(jobject obj, const char *name, jlongArray value) argument 420 setStaticLongArrayField(jobject obj, const char *name, jlongArray value) argument 431 setStaticLongArrayField(jclass cls, const char *name, jlongArray value) argument 443 setLongArrayElement(jobject obj, const char *name, int index, jlong value) argument 473 setObjectField(jobject obj, const char *name, const char *type, jobject value) argument 490 setStringField(jobject obj, const char *name, const char *value) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Duration.java | 39 TimeUnit(int value) { argument 40 mValue = value; 43 public int value() { method in class:Duration.TimeUnit
|
H A D | ResultCode.java | 22 * To get the actual return code for each enum value, call {@link #value} 174 public int value() { method in class:ResultCode 178 public static ResultCode fromInt(int value) { argument 180 if (r.mCode == value) {
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
H A D | EditTextPreferenceDialogFragment.java | 87 String value = mEditText.getText().toString(); 88 if (getEditTextPreference().callChangeListener(value)) { 89 getEditTextPreference().setText(value);
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | Target.java | 134 * The minimum saturation value for this target. 142 * The target saturation value for this target. 150 * The maximum saturation value for this target. 158 * The minimum lightness value for this target. 166 * The target lightness value for this target. 174 * The maximum lightness value for this target. 186 * being close to the target value has on selection.</p> 199 * being close to the target value has on selection.</p> 303 * Set the minimum saturation value for this target. 305 public Builder setMinimumSaturation(@FloatRange(from = 0, to = 1) float value) { argument 313 setTargetSaturation(@loatRangefrom = 0, to = 1) float value) argument 321 setMaximumSaturation(@loatRangefrom = 0, to = 1) float value) argument 329 setMinimumLightness(@loatRangefrom = 0, to = 1) float value) argument 337 setTargetLightness(@loatRangefrom = 0, to = 1) float value) argument 345 setMaximumLightness(@loatRangefrom = 0, to = 1) float value) argument [all...] |
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | EditTextPreferenceDialogFragmentCompat.java | 86 String value = mEditText.getText().toString(); 87 if (getEditTextPreference().callChangeListener(value)) { 88 getEditTextPreference().setText(value);
|
H A D | ListPreference.java | 33 * This preference will store a string into the SharedPreferences. This string will be the value 117 * The array to find the value to save for a preference when an entry from 145 * Sets the value of the key. This should be one of the entries in 148 * @param value The value to set for the key. 150 public void setValue(String value) { argument 152 final boolean changed = !TextUtils.equals(mValue, value); 154 mValue = value; 156 persistString(value); 167 * value wil 237 findIndexOfValue(String value) argument 289 String value; field in class:ListPreference.SavedState [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES31.cpp | 268 * that unknown pname needs more than 1 value, then the validation check 1325 /* void glProgramUniform1iv ( GLuint program, GLint location, GLsizei count, const GLint *value ) */ 1334 GLint *value = (GLint *) 0; local 1339 _exceptionMessage = "value == null"; 1351 value = value_base + offset; 1357 (GLint *)value 1370 /* void glProgramUniform1iv ( GLuint program, GLint location, GLsizei count, const GLint *value ) */ 1377 GLint *value = (GLint *) 0; local 1379 value = (GLint *)getPointer(_env, value_buf, (jarray*)&_array, &_remaining, &_bufferOffset); 1380 if (value 1404 GLint *value = (GLint *) 0; local 1447 GLint *value = (GLint *) 0; local 1474 GLint *value = (GLint *) 0; local 1517 GLint *value = (GLint *) 0; local 1544 GLint *value = (GLint *) 0; local 1587 GLint *value = (GLint *) 0; local 1614 GLuint *value = (GLuint *) 0; local 1657 GLuint *value = (GLuint *) 0; local 1684 GLuint *value = (GLuint *) 0; local 1727 GLuint *value = (GLuint *) 0; local 1754 GLuint *value = (GLuint *) 0; local 1797 GLuint *value = (GLuint *) 0; local 1824 GLuint *value = (GLuint *) 0; local 1867 GLuint *value = (GLuint *) 0; local 1894 GLfloat *value = (GLfloat *) 0; local 1937 GLfloat *value = (GLfloat *) 0; local 1964 GLfloat *value = (GLfloat *) 0; local 2007 GLfloat *value = (GLfloat *) 0; local 2034 GLfloat *value = (GLfloat *) 0; local 2077 GLfloat *value = (GLfloat *) 0; local 2104 GLfloat *value = (GLfloat *) 0; local 2147 GLfloat *value = (GLfloat *) 0; local 2174 GLfloat *value = (GLfloat *) 0; local 2218 GLfloat *value = (GLfloat *) 0; local 2246 GLfloat *value = (GLfloat *) 0; local 2290 GLfloat *value = (GLfloat *) 0; local 2318 GLfloat *value = (GLfloat *) 0; local 2362 GLfloat *value = (GLfloat *) 0; local 2390 GLfloat *value = (GLfloat *) 0; local 2434 GLfloat *value = (GLfloat *) 0; local 2462 GLfloat *value = (GLfloat *) 0; local 2506 GLfloat *value = (GLfloat *) 0; local 2534 GLfloat *value = (GLfloat *) 0; local 2578 GLfloat *value = (GLfloat *) 0; local 2606 GLfloat *value = (GLfloat *) 0; local 2650 GLfloat *value = (GLfloat *) 0; local 2678 GLfloat *value = (GLfloat *) 0; local 2722 GLfloat *value = (GLfloat *) 0; local 2750 GLfloat *value = (GLfloat *) 0; local 2794 GLfloat *value = (GLfloat *) 0; local [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderOperation.java | 336 throw new OperationApplicationException("Found value " + cursorValue 361 * key refers to a column and the value is an index of the back reference whose 398 * and the value is the index of the previous result that should be used for that selection 528 * and the value is an integer that is the index of the previous result whose 529 * value should be used for the column. The value is added as a {@link String}. 530 * A column value from the back references takes precedence over a value specified in 538 "only inserts, updates, and asserts can have value back-references"); 546 * A column value fro 609 withValue(String key, Object value) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 44 * or a positive value, the animation restarts from the beginning. 50 * or a positive value, the animation plays backward (and then forward again). 120 * This value must be set to true by {@link #initialize(int, int, int, int)}. It 127 * animation starts. The value of this variable is only relevant if mFillEnabled is true; 199 * value via getScaleFactor(). 557 * If fillEnabled is true, this animation will apply the value of fillBefore. 567 * If fillEnabled is true, the animation will apply the value of fillBefore. 571 * @param fillEnabled true if the animation should take the value of fillBefore into account 638 * {@link #getTransformation(long, Transformation, float)} will get this value 640 * call this method to get the value 998 resolveSize(int type, float value, int size, int parentSize) argument 1095 public float value; field in class:Animation.Description 1109 parseValue(TypedValue value) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Animator.cpp | 64 void BaseRenderNodeAnimator::setStartValue(float value) { argument 66 doSetStartValue(value); 69 void BaseRenderNodeAnimator::doSetStartValue(float value) { argument 70 mFromValue = value; 257 // because the staging properties reflect the final value, we always need 259 // being delayed as we need to override the staging value 364 void RenderPropertyAnimator::setValue(RenderNode* target, float value) { argument 365 (target->animatorProperties().*mPropertyAccess->setter)(value); 379 return mProperty->value; 382 void CanvasPropertyPrimitiveAnimator::setValue(RenderNode* target, float value) { argument 412 to_uint8(float value) argument 417 setValue(RenderNode* target, float value) argument 445 setValue(RenderNode* target, float value) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceParser.cpp | 78 std::unique_ptr<Value> value; member in struct:aapt::ParsedResource 92 symbol.state = res->symbolState.value(); 100 if (res->value) { 101 // Attach the comment, source and config to the value. 102 res->value->setComment(std::move(res->comment)); 103 res->value->setSource(std::move(res->source)); 106 std::move(res->value), diag)) { 185 spanName += attrIter->value; 277 parsedResource.product = util::utf16ToUtf8(maybeProduct.value()); 344 // The value forma 769 android::Res_value value; local 785 android::Res_value value; local 973 std::unique_ptr<Item> value = parseXml(parser, 0, kAllowRawString); local [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiEnterpriseConfig.java | 85 * String to set the engine value to when it should be enabled. 91 * String to set the engine value to when it should be disabled. 224 String value = in.readString(); 225 enterpriseConfig.mFields.put(key, value); 345 * Set a value within wpa_supplicant configuration 347 * @param value the value for the key 350 boolean saveValue(String key, String value); argument 359 * Returns a value within wpa_supplicant configuration 361 * @return string value i 1018 setFieldValue(String key, String value, String prefix) argument 1036 setFieldValue(String key, String value) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | InputConnectionWrapper.java | 57 * any other thread. The returned object's 'have value' flag is cleared and its expected 205 CharSequence value = null; 212 value = callback.mTextAfterCursor; 219 return value; 223 CharSequence value = null; 230 value = callback.mTextBeforeCursor; 237 return value; 245 CharSequence value = null; 252 value = callback.mSelectedText; 259 return value; [all...] |
/frameworks/base/media/java/android/media/ |
H A D | Utils.java | 83 * Returns the index of the range that contains a value in a sorted array of distinct ranges. 85 * @param value the value to search for 86 * @return if the value is in one of the ranges, it returns the index of that range. Otherwise, 87 * the return value is {@code (-1-index)} for the {@code index} of the range that is 88 * immediately following {@code value}. 91 int binarySearchDistinctRanges(Range<T>[] ranges, T value) { argument 92 return Arrays.binarySearch(ranges, Range.create(value, value), 236 int value [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger.cpp | 58 if (package->id && package->id.value() != 0x0 && package->id.value() != desiredPackageId) { 145 && dstType->id.value() == srcType->id.value()) { 195 dstEntry->id.value() != srcEntry->id.value()) { 223 dstValue->value.get(), srcValue->value.get()); 230 mContext->getDiagnostics()->error(DiagMessage(srcValue->value->getSource()) 232 << "' has a conflicting value fo [all...] |
/frameworks/av/drm/common/ |
H A D | DrmConstraints.cpp | 32 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 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/util/jar/ |
H A D | StrictJarManifestReader.java | 46 private String value; field in class:StrictJarManifestReader 53 main.put(name, value); 64 String entryNameValue = value; 72 entry.put(name, value); 125 throw new IOException(String.format("Invalid value for attribute '%s'", nameString)); 182 value = valueBuffer.toString(StandardCharsets.UTF_8.name());
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | OMAScalar.java | 12 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 14 this(parent, name, context, value, buildAttributes(avps)); 17 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 20 mValue = value; 58 public OMANode addChild(String name, String context, String value, String path) argument
|
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
H A D | BCHeaderField.h | 106 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
H A D | OMAScalar.java | 12 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 14 this(parent, name, context, value, buildAttributes(avps)); 17 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 20 mValue = value; 58 public OMANode addChild(String name, String context, String value, String path) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StaggeredGridDefault.java | 25 * Returns the max edge value of item (visible or cached) in a row. This 62 * Returns the min edge value of item (visible or cached) in a row. This 104 int value; 112 value = edge; 119 if (findLarge ? edge > value : edge < value) { 121 value = edge; 127 value = edge + mProvider.getSize(indexLimit); 135 if (findLarge ? newValue > value : newValue < value) { [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
H A D | oper_32b.c | 66 * 32 bit long signed integer (Word32) whose value falls in the * 153 * 32 bit long signed integer (Word32) whose value falls in the * 159 * 16 bit positive normalized integer whose value falls in the * 162 * 16 bit positive integer whose value falls in the * 168 * 32 bit long signed integer (Word32) whose value falls in the * 207 iLog4(x) = (Word32)(4 * log(value)/log(2.0)) 209 \return ilog4 value 212 Word16 iLog4(Word32 value) argument 216 if(value != 0){ 219 iLog4 = norm_l(value); 245 rsqrt(Word32 value, Word32 accuracy) argument [all...] |