Searched defs:value (Results 126 - 150 of 1088) sorted by relevance

1234567891011>>

/frameworks/native/cmds/installd/
H A Dsystem_properties.h41 std::string value = line.substr(equals_pos + 1, local
44 properties_.insert(std::make_pair(key, value));
59 void SetProperty(const std::string& key, const std::string& value) { argument
60 properties_.insert(std::make_pair(key, value));
/frameworks/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c37 const char *value = getenv(name); local
38 return value ? value : "";
/frameworks/native/libs/binder/
H A DTextOutput.cpp95 static TextOutput& print_float(TextOutput& to, double value) argument
98 sprintf(buf, "%g", value);
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp80 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 DglTestLib.cpp109 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 DPooledCache.java22 V put(K key, V value); argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockResources.java60 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 DFontSize.java32 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 DTextAlignment.java34 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 DAcknowledgeInd.java30 * @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 DDeliveryInd.java49 * 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 DGenericPdu.java54 * 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 DSendConf.java46 * 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 DContentValuesBuilder.java31 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 DDepthTransform.java12 * @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 DRangeInverseDepthTransform.java38 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 DRangeLinearDepthTransform.java39 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/buildSrc/src/main/groovy/android/support/doclava/
H A DDoclavaMultilineJavadocOptionFileOption.java42 public void setValue(List<List<String>> value) { argument
44 this.args = new ArrayList<List<String>>(value.size());
46 this.args.addAll(value);
/frameworks/support/compat/api21/android/support/v4/view/
H A DViewPropertyAnimatorCompatLollipop.java23 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/support/design/src/android/support/design/widget/
H A DViewUtils.java42 static PorterDuff.Mode parseTintMode(int value, PorterDuff.Mode defaultMode) { argument
43 switch (value) {
/frameworks/av/camera/
H A DCameraParameters2.cpp75 // 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 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;
H A DDrmInfoRequest.cpp41 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 DDrmMetadata.cpp26 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 DDrmMetadata.h83 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);

Completed in 658 milliseconds

1234567891011>>