Searched defs:value (Results 276 - 300 of 1454) sorted by relevance

<<11121314151617181920>>

/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.cpp92 void EventLog::TagBuffer::writeInt32(int32_t value) { argument
94 const size_t needed = 1 + sizeof(value);
100 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
104 void EventLog::TagBuffer::writeInt64(int64_t value) { argument
106 const size_t needed = 1 + sizeof(value);
112 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
116 void EventLog::TagBuffer::writeString8(const String8& value) { argument
118 const int32_t stringLen = value
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DIconInfoTestUtil.java69 * @param value The integer value to write
71 private static void writeShortLE(ByteArrayOutputStream out, int value) { argument
72 out.write(value & 0xFF);
73 out.write((value >> 8) & 0xFF);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DDuration.java39 TimeUnit(int value) { argument
40 mValue = value;
43 public int value() { method in class:Duration.TimeUnit
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsConfigCompatAdapter.java41 public int setConfig(int item, int value) { argument
43 if (mOldConfigInterface.setProvisionedValue(item, value) == SUCCESS) {
47 Log.w(TAG, "setConfig: item=" + item + " value=" + value + "failed: "
54 public int setConfig(int item, String value) { argument
56 if (mOldConfigInterface.setProvisionedStringValue(item, value) == SUCCESS) {
60 Log.w(TAG, "setConfig: item=" + item + " value=" + value + "failed: "
69 int value = mOldConfigInterface.getProvisionedValue(item);
70 if (value !
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DNotifyRespInd.java30 * @param transactionId the transaction-id value
31 * @param status the status value
56 * Get X-Mms-Report-Allowed field value.
58 * @return the X-Mms-Report-Allowed value
65 * Set X-Mms-Report-Allowed field value.
67 * @param value the value
68 * @throws InvalidHeaderValueException if the value is invalid.
71 public void setReportAllowed(int value) throws InvalidHeaderValueException { argument
72 mPduHeaders.setOctet(value, PduHeader
82 setStatus(int value) argument
111 setTransactionId(byte[] value) argument
[all...]
H A DReadOrigInd.java46 * Get Date value.
48 * @return the value
55 * Set Date value.
57 * @param value the value
59 public void setDate(long value) { argument
60 mPduHeaders.setLongInteger(value, PduHeaders.DATE);
64 * Get From value.
65 * From-value = Value-length
66 * (Address-present-token Encoded-string-value | Inser
80 setFrom(EncodedStringValue value) argument
99 setMessageId(byte[] value) argument
118 setReadStatus(int value) argument
137 setTo(EncodedStringValue[] value) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DAbstractCache.java37 public boolean put(K key, V value) { argument
53 cacheEntry.value = value;
76 return cacheEntry.value;
93 return v != null ? v.value : null;
110 V value; field in class:AbstractCache.CacheEntry
/frameworks/rs/cpp/
H A DrsCppUtils.cpp106 int property_get(const char *key, char *value, const char *default_value) { argument
108 len = __system_property_get(key, value);
115 memcpy(value, default_value, len + 1);
/frameworks/rs/
H A DrsCppUtils.cpp106 int property_get(const char *key, char *value, const char *default_value) { argument
108 len = __system_property_get(key, value);
115 memcpy(value, default_value, len + 1);
/frameworks/support/collection/src/main/java/androidx/collection/
H A DContainerHelpers.java45 static int binarySearch(int[] array, int size, int value) { argument
53 if (midVal < value) {
55 } else if (midVal > value) {
58 return mid; // value found
61 return ~lo; // value not present
64 static int binarySearch(long[] array, int size, long value) { argument
72 if (midVal < value) {
74 } else if (midVal > value) {
77 return mid; // value found
80 return ~lo; // value no
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/
H A DImageLoader.java96 protected int sizeOf(Long key, Bitmap value) { argument
97 return BitmapCompat.getAllocationByteCount(value);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DParallaxTarget.java28 * {@link Parallax}, which represents the current state of UI, into a float value between 0 and 1.
29 * That float value is passed into {@link #update(float)} method.
45 * Returns true if the ParallaxTarget is directly mapping from source value,
46 * {@link #directUpdate(Number)} will be used to update value, otherwise update(fraction) will
47 * be called to update value. Default implementation returns false.
58 * Directly update the target using a float or int value. Called when {@link #isDirectMapping()}
61 * @param value Either int or float value.
64 public void directUpdate(Number value) { argument
101 * @param <V> Type of value, eithe
128 directUpdate(Number value) argument
[all...]
/frameworks/support/preference/src/main/java/androidx/preference/
H A DPreferenceDataStore.java46 * Sets a {@link String} value to the data store.
48 * <p>Once the value is set the data store is responsible for holding it.
51 * @param value the new value for the preference
54 public void putString(String key, @Nullable String value) { argument
61 * <p>Once the value is set the data store is responsible for holding it.
72 * Sets an {@link Integer} value to the data store.
74 * <p>Once the value is set the data store is responsible for holding it.
77 * @param value the new value fo
80 putInt(String key, int value) argument
93 putLong(String key, long value) argument
106 putFloat(String key, float value) argument
119 putBoolean(String key, boolean value) argument
[all...]
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/
H A DFunnyNamedEntity.java37 public FunnyNamedEntity(int id, String value) { argument
39 mValue = value;
54 public void setValue(String value) { argument
55 mValue = value;
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/
H A DImageLoader.java96 protected int sizeOf(Long key, Bitmap value) { argument
97 return BitmapCompat.getAllocationByteCount(value);
/frameworks/av/drm/common/
H A DDrmInfo.cpp44 status_t DrmInfo::put(const String8& key, const String8& value) { argument
45 mAttributes.add(key, value);
107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex); local
109 return value;
H A DDrmSupportInfo.cpp132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); local
134 return value;
156 String8& value = mDrmSupportInfo->mMimeTypeVector.editItemAt(mIndex); local
158 return value;
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h42 * Adds a new value in the session map table. It expects memory to be allocated already
46 * @param value - session object to add
48 * @return boolean result of adding value. returns false if key is already exist.
50 bool addValue(int key, TValue value) { argument
53 map.add(key, value);
84 * @param index - index of the value required
89 TValue value = NULL; local
93 value = map.valueAt(index);
95 return value;
101 * @param key - key of the value t
142 deleteValue(TValue value) argument
179 TValue value = NULL; local
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DBase64.cpp61 unsigned value; local
63 value = c - 'A';
65 value = 26 + c - 'a';
67 value = 52 + c - '0';
69 value = 62;
71 value = 63;
79 value = 0;
82 accum = (accum << 6) | value;
/frameworks/av/include/drm/
H A DDrmConstraints.h120 const char* value = this->getAsByteArray(&key); local
121 if (NULL != value) {
122 delete[] value;
123 value = NULL;
137 * Adds constraint information as <key, value> pair to this instance
140 * @param[in] value Value to add
143 status_t put(const String8* key, const char* value);
146 * Retrieves the value of given key
148 * @param key Key whose value to be retrieved
149 * @return The value
[all...]
/frameworks/av/include/media/
H A DModulo.h33 // type is converted to its base non-Modulo type through the value() function.
46 // (2) If the destination type is unsigned, the resulting value is the least unsigned
51 // (3) If the destination type is signed, the value is unchanged if it can be represented
52 // in the destination type (and bit-field width); otherwise, the value is
77 // 2^n where n is the number of bits in the value representation of that particular
93 Modulo(const T &value) { mValue = value; } argument
94 const T & value() const { return mValue; } // not assignable function in class:android::Modulo
97 void getValue(T *value) const { *value
[all...]
H A DSingleStateQueue.h64 // push new value onto state queue, overwriting previous value;
66 int32_t push(const T& value) argument
72 shared->mValue = value;
80 // returns the status of the last state push. This may be a stale value.
116 // return true if value has changed
117 bool poll(T& value) argument
136 value = temp;
H A Dconvert.h35 * String conversion to T reads the value of the type T in the given string.
36 * The function does not allow to have white spaces around the value to parse
42 * Numeric conversion to string formats the source value to decimal space.
46 * @tparam srcType source type, default value is string type
49 * @param[out] result Converted value if success, undefined on failure.
146 static inline bool toString(const T &value, std::string &str) argument
155 oss << value; local
254 * based on it but makes furthers checks on the returned value.
284 * based on it but makes furthers checks on the returned value.
318 * requirements. Indeed, parsing "true" will correctly parse the value, bu
[all...]
/frameworks/av/media/libaudiohal/2.0/
H A DConversionHelperHidl.cpp35 // "keyFormat=<value>" pair. We need to transform it into a single key string so that it is
37 String8 value; local
39 (halKeys.get(String8(AudioParameter::keyStreamSupportedChannels), value) == NO_ERROR ||
40 halKeys.get(String8(AudioParameter::keyStreamSupportedSamplingRates), value) == NO_ERROR);
48 halKeys.getAt(i, key, value);
49 formatParam.add(key, value);
64 String8 key, value; local
65 status_t status = params.getAt(i, key, value);
68 (*hidlParams)[i].value = value
[all...]
H A DStreamPowerLog.h84 char value[PROPERTY_VALUE_MAX]; local
85 (void)property_get("ro.build.type", value, "unknown"); // ignore actual length
86 return strcmp(value, "userdebug") == 0 || strcmp(value, "eng") == 0;

Completed in 529 milliseconds

<<11121314151617181920>>