/frameworks/native/libs/utils/ |
H A D | PropertyMap.cpp | 50 void PropertyMap::addProperty(const String8& key, const String8& value) { argument 51 mProperties.add(key, value); 85 int value = strtol(stringValue.string(), & end, 10); local 87 ALOGW("Property key '%s' has invalid value '%s'. Expected an integer.", 91 outValue = value; 102 float value = strtof(stringValue.string(), & end); local 104 ALOGW("Property key '%s' has invalid value '%s'. Expected a float.", 108 outValue = value; 182 ALOGE("%s: Expected '=' between property key and value.", 191 ALOGE("%s: Found reserved character '\\' or '\"' in property value [all...] |
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | RunTestCommand.java | 81 // -e <key> <value> 82 // key-value pairs 93 String value = args[++i]; 95 addTestClasses(value); 97 mDebug = "true".equals(value) || "1".equals(value); 99 mRunner = value; 101 mParams.putString(key, value); 178 + " -e <NAME> <VALUE>: other name-value pairs to be passed to test classes.\n"
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BrightnessController.java | 97 int value; 99 value = Settings.System.getIntForUser(mContext.getContentResolver(), 103 value = mMaximumBacklight; 107 control.setValue(value - mMinimumBacklight); 110 public void onChanged(ToggleSlider view, boolean tracking, boolean automatic, int value) { argument 115 final int val = value + mMinimumBacklight;
|
/frameworks/av/media/mtp/ |
H A D | MtpProperty.h | 97 void print(MtpPropertyValue& value, MtpString& buffer); 105 void readValue(MtpDataPacket& packet, MtpPropertyValue& value); 106 void writeValue(MtpDataPacket& packet, MtpPropertyValue& value);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ManifestDigest.java | 60 final String value = attributes.getValue(DIGEST_TYPES[i]); 61 if (value != null) { 62 encodedDigest = value;
|
/frameworks/base/core/java/android/util/ |
H A D | DebugUtils.java | 88 Object value = declaredMethod 90 match |= (value != null ? 91 value.toString() : "null").matches(pair[1]);
|
/frameworks/base/services/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/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/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/libstagefright/wifi-display/ |
H A D | Parameters.h | 27 bool findParameter(const char *name, AString *value) const;
|
/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/text/ |
H A D | PackedIntVector.java | 55 * Returns the value at the specified row and column. 60 * @return the value stored at the specified position. 77 int value = mValues[row * columns + column]; 81 value += valuegap[column + columns]; 84 return value; 88 * Sets the value at the specified row and column. 97 public void setValue(int row, int column, int value) { argument 108 value -= valuegap[column + mColumns]; 111 mValues[row * mColumns + column] = value; 115 * Sets the value a 122 setValueInternal(int row, int column, int value) argument [all...] |
/frameworks/base/core/java/com/android/internal/preference/ |
H A D | YesNoPreference.java | 57 * Sets the value of this preference, and saves it to the persistent store 60 * @param value The value of the preference. 62 public void setValue(boolean value) { argument 63 mWasPositiveResult = value; 65 persistBoolean(value); 67 notifyDependencyChange(!value); 71 * Gets the value of this preference. 73 * @return The value of the preference.
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcFileReader.java | 189 final long value = nextLong(); 190 if (value > Integer.MAX_VALUE || value < Integer.MIN_VALUE) { 191 throw new NumberFormatException("parsed value larger than integer"); 193 return (int) value;
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
H A D | main.cpp | 52 NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value); 53 NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value); 57 EXPORT NPError NP_GetValue(NPP instance, NPPVariable variable, void *value); 238 EXPORT NPError NP_GetValue(NPP instance, NPPVariable variable, void *value) { argument 241 const char **str = (const char **)value; 247 const char **str = (const char **)value; 255 NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value) argument 258 void **v = (void **)value; 271 NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value) argument
|
/frameworks/base/voip/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...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringEntry.h | 42 value_type& value() function in class:mcld::StringEntry 45 const value_type& value() const function in class:mcld::StringEntry 92 value_type& value() function in class:mcld::StringEntry 95 const value_type& value() const function in class:mcld::StringEntry
|
/frameworks/native/include/utils/ |
H A D | BlobCache.h | 29 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache 39 // Create an empty blob cache. The blob cache will cache key/value pairs 40 // with key and value sizes less than or equal to maxKeySize and 42 // (key sizes plus value sizes) will not exceed maxTotalSize. 45 // set inserts a new binary value into the cache and associates it with the 46 // given binary key. If the key or value are too large for the cache then 48 // value was previously associated with the given key - the old value will 49 // remain in the cache. If the given key and value are small enough to be 51 // values specified to the BlobCache constructor), then the key/value pai [all...] |
H A D | Trace.h | 75 // ATRACE_INT traces a named integer value. This can be used to track how the 76 // value changes over time in a trace. 77 #define ATRACE_INT(name, value) android::Tracer::traceCounter(ATRACE_TAG, name, value) 100 int32_t value) { 103 snprintf(buf, 1024, "C|%d|%s|%d", getpid(), name, value); 138 // retrieve the current value of the system property. 141 // sIsReady is a boolean value indicating whether a call to init() has 167 // This value is only ever non-zero when tracing is initialized and sTraceFD is not -1. 99 traceCounter(uint64_t tag, const char* name, int32_t value) argument
|
/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/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/base/media/mca/filterfw/native/core/ |
H A D | gl_buffer_interface.h | 42 virtual bool SetTextureParameter(GLenum pname, GLint value) = 0;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 282 Integer value = (Integer) f.get(null); 283 sRMap.put(value, Pair.of(resType, f.getName())); 284 fullMap.put(f.getName(), value); 464 * Returns details of a framework resource from its integer value. 465 * @param value the integer value 469 public static Pair<ResourceType, String> resolveResourceId(int value) { argument 470 Pair<ResourceType, String> pair = sRMap.get(value); 472 pair = sDynamicIds.resolveId(value); 474 //System.out.println(String.format("Missing id: %1$08X (%1$d)", value)); 534 getCachedBitmap(String value, Object projectKey) argument 559 setCachedBitmap(String value, Bitmap bmp, Object projectKey) argument 581 getCached9Patch(String value, Object projectKey) argument 607 setCached9Patch(String value, NinePatchChunk ninePatch, Object projectKey) argument [all...] |
/frameworks/native/libs/utils/tests/ |
H A D | BasicHashtable_test.cpp | 59 template<> inline hash_t hash_type(const ComplexKey& value) { argument 60 return hash_type(value.k); 123 const TKey& key, const TValue& value) { 124 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value)); 145 static void getKeyValue(const TEntry& entry, int* key, int* value); 147 template <> void getKeyValue(const SimpleEntry& entry, int* key, int* value) { argument 149 *value = entry.value; 152 template <> void getKeyValue(const ComplexEntry& entry, int* key, int* value) { argument 154 *value 122 add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, const TKey& key, const TValue& value) argument 166 int key, value; local [all...] |