/frameworks/base/native/android/ |
H A D | native_window.cpp | 44 int value; local 45 int res = window->query(window, what, &value); 46 return res < 0 ? res : value;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DurableUtils.java | 85 public static void writeNullableString(DataOutputStream out, String value) throws IOException { argument 86 if (value != null) { 88 out.writeUTF(value);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | LocationTile.java | 56 final boolean wasEnabled = (Boolean) mState.value; 68 state.value = locationEnabled; 84 if (mState.value) {
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkIdentitySet.java | 79 private static void writeOptionalString(DataOutputStream out, String value) throws IOException { argument 80 if (value != null) { 82 out.writeUTF(value);
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
H A D | LargeAssetTest.java | 80 int value = (buf[3] << 24) + ((buf[2] & 0xFF) << 16) 82 if (value != i) { 83 Log.e(TAG, "Mismatch: index " + i + " : value " + value);
|
/frameworks/av/drm/common/ |
H A D | DrmSupportInfo.cpp | 132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); local 134 return value; 156 String8& value = mDrmSupportInfo->mMimeTypeVector.editItemAt(mIndex); local 158 return value;
|
/frameworks/av/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 47 void CharacterEncodingDetector::addTag(const char *name, const char *value) { argument 49 mValues.push_back(value); 56 status_t CharacterEncodingDetector::getTag(int index, const char **name, const char**value) { 62 *value = mValues.getEntry(index); 66 static bool isPrintableAscii(const char *value, size_t len) { argument 68 if ((value[i] & 0x80) || value[i] < 0x20 || value[i] == 0x7f) { 96 const char *value = mValues.getEntry(i); local 97 if (!isPrintableAscii(value, strle 137 const char *value = mValues.getEntry(i); local [all...] |
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | DrcPresModeWrap.h | 34 void setParam(const DRC_PRES_MODE_WRAP_PARAM param, const int value);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | Parameters.h | 27 bool findParameter(const char *name, AString *value) const;
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaFormat.cpp | 200 void AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) { argument 201 format->mFormat->setInt32(name, value); 205 void AMediaFormat_setInt64(AMediaFormat* format, const char *name, int64_t value) { argument 206 format->mFormat->setInt64(name, value); 210 void AMediaFormat_setFloat(AMediaFormat* format, const char* name, float value) { argument 211 format->mFormat->setFloat(name, value); 215 void AMediaFormat_setString(AMediaFormat* format, const char* name, const char* value) { argument 217 format->mFormat->setString(name, value, strlen(value));
|
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/ |
H A D | AppWidget.java | 111 String value = mTokenizer.nextArg(); 112 if (TextUtils.isEmpty(value) || value.startsWith(ARGUMENT_PREFIX)) { 113 throw new IllegalArgumentException("No value for argument: " + argument); 115 return value;
|
/frameworks/base/core/java/android/os/ |
H A D | PerformanceCollector.java | 81 * @param results memory and runtime metrics stored as key/value pairs, 117 * @param value long value of the measurement 119 public void writeMeasurement(String label, long value); argument 127 * @param value float value of the measurement 129 public void writeMeasurement(String label, float value); argument 137 * @param value string summary of the measurement 139 public void writeMeasurement(String label, String value); argument 315 * @return Memory and runtime metrics stored as key/value pair 424 addMeasurement(String label, long value) argument 435 addMeasurement(String label, float value) argument 446 addMeasurement(String label, String value) argument [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | AudioPlaybackQueueItem.java | 113 private static final float clip(float value, float min, float max) { argument 114 return value < min ? min : (value < max ? value : max);
|
/frameworks/base/core/java/android/text/ |
H A D | PackedIntVector.java | 56 * Returns the value at the specified row and column. 61 * @return the value stored at the specified position. 78 int value = mValues[row * columns + column]; 82 value += valuegap[column + columns]; 85 return value; 89 * Sets the value at the specified row and column. 98 public void setValue(int row, int column, int value) { argument 109 value -= valuegap[column + mColumns]; 112 mValues[row * mColumns + column] = value; 116 * Sets the value a 123 setValueInternal(int row, int column, int value) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | ArraySet.java | 110 // Key not found -- return negative value indicating where a 148 // Key not found -- return negative value indicating where a 287 * Check whether a value exists in the set. 289 * @param key The value to search for. 290 * @return Returns true if the value exists, else false. 298 * Returns the index of a value in the set. 300 * @param key The value to search for. 301 * @return Returns the index of the value if it exists, else a negative integer. 308 * Return the value at the given index in the array. 310 * @return Returns the value store 334 add(E value) argument [all...] |
/frameworks/base/core/java/com/android/internal/preference/ |
H A D | YesNoPreference.java | 61 * Sets the value of this preference, and saves it to the persistent store 64 * @param value The value of the preference. 66 public void setValue(boolean value) { argument 67 mWasPositiveResult = value; 69 persistBoolean(value); 71 notifyDependencyChange(!value); 75 * Gets the value of this preference. 77 * @return The value of the preference.
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcFileReader.java | 172 * the given default value if no remaining tokens on current line. 222 final long value = nextLong(); 223 if (value > Integer.MAX_VALUE || value < Integer.MIN_VALUE) { 224 throw new NumberFormatException("parsed value larger than integer"); 226 return (int) value;
|
/frameworks/base/libs/hwui/ |
H A D | Stencil.h | 40 * Returns the desired size for the stencil buffer. If the returned value 63 * test always succeeds and the value 0x1 is written in the stencil 69 * The test passes only when equal to the specified value. 71 void enableDebugTest(GLint value, bool greater = false);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_buffer_interface.h | 42 virtual bool SetTextureParameter(GLenum pname, GLint value) = 0;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiEnterpriseConfig.java | 71 * String to set the engine value to when it should be enabled. 77 * String to set the engine value to when it should be disabled. 166 String value = in.readString(); 167 enterpriseConfig.mFields.put(key, value); 382 * Returns locally set password value. For networks fetched from 592 /** Returns the field value for the key. 594 * @param prefix is the prefix that the value may have 595 * @return value 599 String value = mFields.get(key); 601 if (TextUtils.isEmpty(value) || EMPTY_VALU 617 setFieldValue(String key, String value, String prefix) argument 632 setFieldValue(String key, String value) argument [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringEntry.h | 39 value_type& value() function in class:mcld::StringEntry 42 const value_type& value() const function in class:mcld::StringEntry 89 value_type& value() function in class:mcld::StringEntry 92 const value_type& value() const function in class:mcld::StringEntry
|
/frameworks/native/opengl/tests/lib/ |
H A D | glTestLib.cpp | 110 EGLint value = -1; local 112 &value); 115 testPrintI(" %s: %d (%#x)", names[j].name, value, value);
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | Exif.java | 195 int value = 0; 197 value = (value << 8) | (bytes.get(offset) & 0xFF); 200 return value;
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 250 * Creates a new property with the provided name and value. 252 * @param value The value of the property. 254 public Property(String name, String value) { argument 256 mValue = value; 268 * Returns the value of this property. 269 * @return The value of this property. 276 * Sets the value of this property. 277 * @param value The desired value fo 279 setValue(String value) argument 359 public String value; field in class:ICalendar.Parameter 372 Parameter(String name, String value) argument [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 200 * the value is negative. 202 public void setBandwidth(String type, int value) { argument 203 mFields.setBandwidth(type, value); 223 * the value is {@code null}. To set a binary attribute, use an empty 224 * string as the value. 226 public void setAttribute(String name, String value) { argument 227 mFields.setAttribute(name, value); 385 * has three parts: a key, a delimiter, and a value. Delimiters are special 471 String value = get("b=" + type, ':'); 472 if (value ! 485 setBandwidth(String type, int value) argument 509 setAttribute(String name, String value) argument 584 set(String key, char delimiter, String value) argument [all...] |