/frameworks/native/cmds/ip-up-vpn/ |
H A D | ip-up-vpn.c | 37 const char *value = getenv(name); local 38 return value ? value : "";
|
/frameworks/native/libs/binder/ |
H A D | TextOutput.cpp | 95 static TextOutput& print_float(TextOutput& to, double value) argument 98 sprintf(buf, "%g", value);
|
/frameworks/native/opengl/tests/configdump/ |
H A D | configdump.cpp | 80 EGLint value; local 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
|
/frameworks/native/opengl/tests/lib/ |
H A D | glTestLib.cpp | 109 EGLint value = -1; local 111 &value); 114 testPrintI(" %s: %d (%#x)", names[j].name, value, value);
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | PooledCache.java | 22 V put(K key, V value); argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | MockResources.java | 60 public void setBoolean(int id, boolean value) { argument 61 mBooleanValues.put(id, value); 64 public void setInteger(int id, int value) { argument 65 mIntegerValues.put(id, value); 68 public void setString(int id, String value) { argument 69 mStringValues.put(id, value);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | FontSize.java | 32 FontSize(int value) { argument 33 mValue = value; 38 * @param value Integer value to be converted to a FontSize object. 39 * @return FontSize object whose value is {@code value}. If no 40 * FontSize object has that value, null is returned. 42 public static FontSize fromInt(int value) { argument 44 if (e.mValue == value) {
|
H A D | TextAlignment.java | 34 TextAlignment(int value) { argument 35 mValue = value; 40 * @param value Integer value to be converted to a TextAlignment object. 41 * @return TextAlignment object whose value is {@code value}. If no 42 * TextAlignment object has that value, null is returned. 44 public static TextAlignment fromInt(int value) { argument 46 if (e.mValue == value) {
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | AcknowledgeInd.java | 30 * @param transactionId the transaction-id value 53 * Get X-Mms-Report-Allowed field value. 55 * @return the X-Mms-Report-Allowed value 62 * Set X-Mms-Report-Allowed field value. 64 * @param value the value 65 * @throws InvalidHeaderValueException if the value is invalid. 67 public void setReportAllowed(int value) throws InvalidHeaderValueException { argument 68 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); 72 * Get X-Mms-Transaction-Id field value 86 setTransactionId(byte[] value) argument [all...] |
H A D | DeliveryInd.java | 49 * Get Date value. 51 * @return the value 58 * Set Date value. 60 * @param value the value 62 public void setDate(long value) { argument 63 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 67 * Get Message-ID value. 69 * @return the value 76 * Set Message-ID value 81 setMessageId(byte[] value) argument 100 setStatus(int value) argument 119 setTo(EncodedStringValue[] value) argument [all...] |
H A D | GenericPdu.java | 54 * Get X-Mms-Message-Type field value. 56 * @return the X-Mms-Report-Allowed value 63 * Set X-Mms-Message-Type field value. 65 * @param value the value 66 * @throws InvalidHeaderValueException if the value is invalid. 67 * RuntimeException if field's value is not Octet. 69 public void setMessageType(int value) throws InvalidHeaderValueException { argument 70 mPduHeaders.setOctet(value, PduHeaders.MESSAGE_TYPE); 74 * Get X-Mms-MMS-Version field value 89 setMmsVersion(int value) argument 110 setFrom(EncodedStringValue value) argument [all...] |
H A D | SendConf.java | 46 * Get Message-ID value. 48 * @return the value 55 * Set Message-ID value. 57 * @param value the value 58 * @throws NullPointerException if the value is null. 60 public void setMessageId(byte[] value) { argument 61 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); 67 * @return the value 76 * @param value th 79 setResponseStatus(int value) argument 98 setTransactionId(byte[] value) argument [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ContentValuesBuilder.java | 31 public ContentValuesBuilder put(String key, String value) { argument 32 mContentValues.put(key, value); 37 public ContentValuesBuilder put(String key, Byte value) { 38 mContentValues.put(key, value); 42 public ContentValuesBuilder put(String key, Short value) { 43 mContentValues.put(key, value); 47 public ContentValuesBuilder put(String key, Integer value) { argument 48 mContentValues.put(key, value); 53 public ContentValuesBuilder put(String key, Long value) { 54 mContentValues.put(key, value); 73 put(String key, byte[] value) argument [all...] |
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
H A D | DepthTransform.java | 12 * @return The near depth value 17 * @return The far depth value 27 * @return the quantized value that corresponds to the given depth value 32 * @return the depth value that corresponds to the given quantized value 34 public float reconstruct(int value); argument
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/image/ |
H A D | RangeInverseDepthTransform.java | 38 public int quantize(float value) { argument 40 (int) ((far - near * far / value) / (far - near) * 255f))); 44 public float reconstruct(int value) { argument 46 Math.max(0, Math.min(255, value)) / 255f);
|
H A D | RangeLinearDepthTransform.java | 39 public int quantize(float value) { argument 41 (int) ((value - near) / (far - near) * 255f))); 45 public float reconstruct(int value) { argument 46 return near + (far - near) * Math.max(0, Math.min(255, value)) / 255f;
|
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | ViewPropertyAnimatorCompatLollipop.java | 23 public static void translationZ(View view, float value) { argument 24 view.animate().translationZ(value); 27 public static void translationZBy(View view, float value) { argument 28 view.animate().translationZBy(value); 31 public static void z(View view, float value) { argument 32 view.animate().z(value); 35 public static void zBy(View view, float value) { argument 36 view.animate().zBy(value);
|
/frameworks/av/camera/ |
H A D | CameraParameters2.cpp | 75 // Find the value. 92 void CameraParameters2::set(const char *key, const char *value) argument 100 if (strchr(value, '=') || strchr(value, ';')) { 101 //XXX ALOGE("Value \"%s\"contains invalid character (= or ;)", value); 105 // Replacing a value updates the key's order to be the new largest order 106 ssize_t res = mMap.replaceValueFor(String8(key), String8(value)); 107 LOG_ALWAYS_FATAL_IF(res < 0, "replaceValueFor(%s,%s) failed", key, value); 110 void CameraParameters2::set(const char *key, int value) 113 sprintf(str, "%d", value); [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;
|
H A D | DrmInfoRequest.cpp | 41 status_t DrmInfoRequest::put(const String8& key, const String8& value) { argument 42 mRequestInformationMap.add(key, value); 102 String8& value = mDrmInfoRequest->mRequestInformationMap.editValueAt(mIndex); local 104 return value;
|
H A D | DrmMetadata.cpp | 26 const char* value) { 27 if((value != NULL) && (key != NULL)) { 28 int length = strlen(value); 31 memcpy(charValue, value, length); 114 String8 value = String8(mDrmMetadata->mMetadataMap.editValueAt(mIndex)); local 116 return value; 25 put(const String8* key, const char* value) argument
|
/frameworks/av/include/drm/ |
H A D | DrmMetadata.h | 83 const char* value = this->getAsByteArray(&key); local 84 if (NULL != value) { 85 delete[] value; 86 value = NULL; 94 status_t put(const String8* key, const char* value);
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixerState.cpp | 71 char value[PROPERTY_VALUE_MAX]; local 72 if (property_get("ro.audio.max_fast_tracks", value, NULL) > 0) { 74 unsigned long ul = strtoul(value, &endptr, 0);
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
H A D | Marshaler.java | 69 * Marshal the specified object instance (value) into a byte buffer. 72 * the {@link #calculateMarshalSize marshal size} of {@code value}.</p> 74 * @param value the value of type T that we wish to write into the byte buffer 77 public abstract void marshal(T value, ByteBuffer buffer); argument 80 * Get the size in bytes for how much space would be required to write this {@code value} 84 * then this method will always return the same value (and particularly, it will return 85 * an equivalent value to {@link #getNativeSize()}.</p> 89 * @param value the value o 92 calculateMarshalSize(T value) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableBlackLevelPattern.java | 41 public void marshal(BlackLevelPattern value, ByteBuffer buffer) { argument 44 buffer.putInt(value.getOffsetForIndex(j, i));
|