/frameworks/base/drm/java/android/drm/ |
H A D | DrmInfo.java | 90 * Adds optional information as key-value pairs to this object. To add a custom object 94 * @param value Value to add. 97 public void put(String key, Object value) { argument 98 mAttributes.put(key, value); 102 * Retrieves the value of a given key. 104 * @param key The key whose value is being retrieved. 106 * @return The value of the key being retrieved. Returns null if the key cannot be found.
|
H A D | DrmInfoRequest.java | 96 * Adds optional information as key-value pairs to this object. 99 * @param value The value to add. 101 public void put(String key, Object value) { argument 102 mRequestInformation.put(key, value); 106 * Retrieves the value of a given key. 108 * @param key The key whose value is being retrieved. 110 * @return The value of the key that is being retrieved. Returns null if the key cannot be
|
/frameworks/base/libs/androidfw/tests/ |
H A D | AssetManager2_test.cpp | 90 Res_value value; local 96 0 /*density_override*/, &value, &selected_config, &flags); 107 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); 120 Res_value value; local 126 0 /*density_override*/, &value, &selected_config, &flags); 137 EXPECT_EQ(Res_value::TYPE_STRING, value.dataType); 148 Res_value value; local 154 0 /*density_override*/, &value, &selected_config, &flags); 159 EXPECT_EQ(Res_value::TYPE_REFERENCE, value.dataType); 162 cookie = assetmanager.GetResource(value 194 Res_value value; local 309 Res_value value; local 332 Res_value value; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesHolder.cpp | 73 T value; local 74 mEvaluator->evaluate(&value, mDataSource[lowIndex], mDataSource[lowIndex + 1], fraction); 75 return value; 83 T value; local 84 mEvaluator->evaluate(&value, mStartValue, mEndValue, fraction); 85 return value;
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | FilterGraphEffect.java | 108 public void setParameter(String parameterKey, Object value) { argument
|
H A D | SingleFilterEffect.java | 45 * @param finalParameters Key-value pairs of final input port assignments. 85 public void setParameter(String parameterKey, Object value) { argument 86 mFunction.setInputValue(parameterKey, value);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FilterFunction.java | 116 public void setInputValue(String input, Object value) { argument 117 mFilter.setInputValue(input, value);
|
H A D | MutableFrameFormat.java | 89 public void setMetaValue(String key, Object value) { argument 93 mMetaData.put(key, value);
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.cpp | 98 jstring ToJString(JNIEnv* env, const std::string& value) { argument 99 return env->NewStringUTF(value.c_str()); 102 std::string ToCppString(JNIEnv* env, jstring value) { argument 104 const char* c_value = env->GetStringUTFChars(value, &isCopy); 107 env->ReleaseStringUTFChars(value, c_value); 111 jboolean ToJBool(bool value) { argument 112 return value ? JNI_TRUE : JNI_FALSE; 115 bool ToCppBool(jboolean value) { argument 116 return value == JNI_TRUE; 127 jobject CreateJObject(JNIEnv* env, const std::string& class_name, const std::string& signature, T value) { argument 162 ToJObject(JNIEnv* env, const Value& value) argument [all...] |
/frameworks/base/media/mca/filterfw/native/base/ |
H A D | utilities.h | 46 // Given an STL container consisting of (key, value) pairs, STLDeleteValues 47 // deletes all the "value" components and clears the container. Does nothing 59 // If the key is present a const pointer to the associated value is returned, 111 // If the key is present a const pointer to the associated value is returned, 114 // to a NULL value. 133 // Insert a new key and value into a map or hash_map. 134 // If the key is not present in the map the key and value are 139 const Key& key, const Value& value) { 141 collection->insert(typename Collection::value_type(key, value)); 138 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_program.cpp | 126 bool NativeProgram::CallSetValue(const std::string& key, const std::string& value) { argument 128 setvalue_function_(key.c_str(), value.c_str(), user_data_);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | utilities.h | 58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues 59 // deletes all the "value" components and clears the container. Does nothing 71 // If the key is present a const pointer to the associated value is returned, 123 // If the key is present a const pointer to the associated value is returned, 126 // to a NULL value. 145 // Insert a new key and value into a map or hash_map. 146 // If the key is not present in the map the key and value are 151 const Key& key, const Value& value) { 153 collection->insert(typename Collection::value_type(key, value)); 150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 30 int value; member in union:__anon1293 42 void brightness_setvalue(const char* key, const char* value, void* user_data) { argument 44 ((BrightnessParameters*)user_data)->brightness = atof(value); 84 pixel.value = *(input_ptr++);
|
H A D | contrast.c | 37 void contrast_setvalue(const char* key, const char* value, void* user_data) { argument 39 ((ContrastParameters*)user_data)->contrast = atof(value);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | Preconditions.java | 34 * Checks that the value has the expected bitwise flags set. 54 * Checks that the value is {@link Object#equals equal} to the expected value. 58 * @param expectedName Name of the expected value 59 * @param expectedValue Expected value 77 * Checks that the value is not {@code null}. 80 * Returns the value directly, so you can use {@code checkNotNull("value", value)} inline. 98 * Checks that the value i 142 checkCollectionElementsNotNull(final Collection<T> value, final String valueName) argument 171 checkCollectionNotEmpty(final Collection<T> value, final String valueName) argument [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | OMAScalar.java | 12 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 14 this(parent, name, context, value, buildAttributes(avps)); 17 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 20 mValue = value; 58 public OMANode addChild(String name, String context, String value, String path) argument
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
H A D | MDnsUtils.java | 32 public static String getString(byte[] value) { argument 33 if (value != null) return new String(value,StandardCharsets.UTF_8); 62 for (String value : vendorValues) { 63 if (containsString(container, value) 64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) 65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US)))
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
H A D | MDnsUtils.java | 76 for (String value : vendorValues) { 77 if (containsString(container, value) 78 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) 79 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US))) 85 private static String getString(byte[] value) { argument 86 if (value != null) return new String(value, StandardCharsets.UTF_8);
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
H A D | MDNSUtils.java | 105 * @param value the byte array with string data 109 public static String getString(byte[] value) { argument 110 if (value != null) return new String(value, StandardCharsets.UTF_8);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SecureSetting.java | 38 protected abstract void handleValueChanged(int value, boolean observedChange); argument 51 public void setValue(int value) { argument 52 Secure.putIntForUser(mContext.getContentResolver(), mSettingName, value, mUserId); 71 final int value = getValue(); 72 handleValueChanged(value, value != mObservedValue); 73 mObservedValue = value;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | TaskKeyLruCache.java | 24 * A mapping of {@link Task.TaskKey} to value, with additional LRU functionality where the least 81 protected void putCacheEntry(int id, V value) { argument 82 mCache.put(id, value);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | ToggleSlider.java | 22 void onChanged(ToggleSlider slider, boolean tracking, boolean automatic, int value, argument 30 void setValue(int value); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | BatteryPreference.java | 84 protected boolean persistString(String value) { argument 85 final boolean v = PERCENT.equals(value); 88 if (DISABLED.equals(value)) {
|
H A D | ClockPreference.java | 85 protected boolean persistString(String value) { argument 86 Dependency.get(TunerService.class).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 88 if (DISABLED.equals(value)) {
|
H A D | DemoModeFragment.java | 198 private void setGlobal(String key, int value) { argument 199 Settings.Global.putInt(getContext().getContentResolver(), key, value);
|