Searched defs:value (Results 151 - 175 of 1454) sorted by relevance

1234567891011>>

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DAssetJsonWriter.java45 * Appends a field to the output, putting both the key and value in lowercase. Null values are
48 public void writeFieldLower(String key, String value) { argument
54 if (value != null) {
57 mWriter.value(value.toLowerCase(Locale.US));
79 for (String value : values) {
80 mWriter.value(value.toUpperCase(Locale.US));
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DMetricsLoggerCompat.java35 public void action(int category, int value) { argument
36 mMetricsLogger.action(category, value);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DOrderedDataOutputStream.java37 public OrderedDataOutputStream writeShort(short value) throws IOException { argument
39 mByteBuffer.putShort(value);
44 public OrderedDataOutputStream writeInt(int value) throws IOException { argument
46 mByteBuffer.putInt(value);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/
H A DIntArray.java25 public void add(int value) { argument
31 mData[mSize++] = value;
/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DBackupManagerMonitorUtils.java77 * Adds given key-value pair in the bundle and returns the bundle. If bundle was null it will
80 * @param extras - bundle where to add key-value to, if null a new bundle will be created.
82 * @param value - value.
85 public static Bundle putMonitoringExtra(Bundle extras, String key, String value) { argument
89 extras.putString(key, value);
94 * Adds given key-value pair in the bundle and returns the bundle. If bundle was null it will
97 * @param extras - bundle where to add key-value to, if null a new bundle will be created.
99 * @param value - value
102 putMonitoringExtra(Bundle extras, String key, long value) argument
119 putMonitoringExtra(Bundle extras, String key, boolean value) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DMockableSystemProperties.java35 public void set(String key, String value) { argument
36 SystemProperties.set(key, value);
/frameworks/base/services/robotests/src/com/android/server/backup/
H A DBackupAgentTimeoutParametersTest.java130 * only stores the value. TODO: Implement properly in ShadowSettings.
132 private void putStringAndNotify(String value) { argument
133 Settings.Global.putString(mContentResolver, BackupAgentTimeoutParameters.SETTING, value);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameValue.java29 public void setValue(Object value) { argument
31 backing.setData(value);
H A DTransformUtils.java72 public static void setTextureParameter(FrameImage2D frame, int param, int value) { argument
74 texture.setParameter(param, value);
H A DVariableSource.java32 public synchronized void setValue(Object value) { argument
33 mValue = value;
43 .addOutputPort("value", Signature.PORT_REQUIRED, FrameType.single())
49 mOutputPort = getConnectedOutputPort("value");
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
H A DServiceCrashTest.java53 private void setAMConstants(String value) throws IOException { argument
55 if (value == null) {
60 + "activity_manager_constants " + value);
/frameworks/base/tests/testables/src/android/testing/
H A DTestablePermissions.java34 * Sets the return value for checkPermission* calls on TestableContext
35 * for a specific permission value. For all enforcePermission* calls
36 * they will throw a security exception if value != PERMISSION_GRANTED.
38 public void setPermission(String permission, int value) { argument
39 mPermissions.put(permission, value);
43 * Sets the return value for checkUriPermission* calls on TestableContext
44 * for a specific permission value. For all enforceUriPermission* calls
45 * they will throw a security exception if value != PERMISSION_GRANTED.
47 public void setPermission(Uri uri, int value) { argument
49 mUris.put(uri, value);
[all...]
H A DTestableResources.java57 * Sets the return value for the specified resource id.
59 * Since resource ids are unique there is a single addOverride that will override the value
63 * @param value The value of the resource, null to cause a {@link Resources.NotFoundException}
66 public void addOverride(int id, Object value) { argument
67 mOverrides.put(id, value);
73 * This should be called over addOverride(id, null), because specifying a null value will
75 * switch back to returning the default/real value of the resource.
88 Object value = mOverrides.valueAt(index);
89 if (value
[all...]
/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser_test.cpp46 std::ostream& operator<<(std::ostream& out, const Maybe<std::string>& value) { argument
47 PrintTo(value, &out);
190 PostProcessingConfiguration config = maybe_config.value();
216 const std::vector<OutputArtifact>& value = result.value();
217 EXPECT_THAT(value, SizeIs(2ul));
219 const OutputArtifact& a1 = value[0];
230 ASSERT_TRUE(a1.android_sdk.value().min_sdk_version);
231 EXPECT_EQ(a1.android_sdk.value().min_sdk_version, 19l);
235 const OutputArtifact& a2 = value[
[all...]
/frameworks/base/tools/incident_report/
H A Dgeneric_message.cpp28 GenericMessage::addInt32(int32_t fieldId, uint32_t value) argument
32 node.value32 = value;
37 GenericMessage::addInt64(int32_t fieldId, uint64_t value) argument
41 node.value64 = value;
57 GenericMessage::addString(int32_t fieldId, const string& value) argument
61 node.str = new string(value);
/frameworks/base/tools/split-select/
H A DTestRules.cpp27 const Rule EqRule(Rule::Key key, long value) { argument
31 rule.longArgs.add(value);
35 const Rule GtRule(Rule::Key key, long value) { argument
39 rule.longArgs.add(value);
43 const Rule LtRule(Rule::Key key, long value) { argument
47 rule.longArgs.add(value);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashEntry.h52 ValueType& value() { return m_Value; } function in class:mcld::HashEntry
54 const ValueType& value() const { return m_Value; } function in class:mcld::HashEntry
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DStaticIdentifierExpr.java44 public Expr generateInverse(ExprModel model, Expr value, String bindingClassName) { argument
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DPreconditions.java23 public static void check(boolean value, String error, Object... args) { argument
24 if (!value) {
29 public static void checkNotNull(Object value, String error, Object... args) { argument
30 if (value == null) {
35 public static void checkNull(Object value, String error, Object... args) { argument
36 if (value != null) {
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableBoolean.java31 * field's value, not of the field itself.
42 * Creates an ObservableBoolean with the given initial value.
44 * @param value the initial value for the ObservableBoolean
46 public ObservableBoolean(boolean value) { argument
47 mValue = value;
51 * Creates an ObservableBoolean with the initial value of <code>false</code>.
57 * @return the stored value.
64 * Set the stored value.
66 public void set(boolean value) { argument
[all...]
H A DObservableByte.java31 * field's value, not of the field itself.
42 * Creates an ObservableByte with the given initial value.
44 * @param value the initial value for the ObservableByte
46 public ObservableByte(byte value) { argument
47 mValue = value;
51 * Creates an ObservableByte with the initial value of <code>0</code>.
57 * @return the stored value.
64 * Set the stored value.
66 public void set(byte value) { argument
[all...]
H A DObservableChar.java31 * field's value, not of the field itself.
42 * Creates an ObservableChar with the given initial value.
44 * @param value the initial value for the ObservableChar
46 public ObservableChar(char value) { argument
47 mValue = value;
51 * Creates an ObservableChar with the initial value of <code>0</code>.
57 * @return the stored value.
64 * Set the stored value.
66 public void set(char value) { argument
[all...]
H A DObservableDouble.java31 * field's value, not of the field itself.
42 * Creates an ObservableDouble with the given initial value.
44 * @param value the initial value for the ObservableDouble
46 public ObservableDouble(double value) { argument
47 mValue = value;
51 * Creates an ObservableDouble with the initial value of <code>0</code>.
57 * @return the stored value.
64 * Set the stored value.
66 public void set(double value) { argument
[all...]
H A DObservableFloat.java31 * field's value, not of the field itself.
42 * Creates an ObservableFloat with the given initial value.
44 * @param value the initial value for the ObservableFloat
46 public ObservableFloat(float value) { argument
47 mValue = value;
51 * Creates an ObservableFloat with the initial value of <code>0f</code>.
57 * @return the stored value.
64 * Set the stored value.
66 public void set(float value) { argument
[all...]
H A DObservableInt.java32 * field's value, not of the field itself.
43 * Creates an ObservableInt with the given initial value.
45 * @param value the initial value for the ObservableInt
47 public ObservableInt(int value) { argument
48 mValue = value;
52 * Creates an ObservableInt with the initial value of <code>0</code>.
58 * @return the stored value.
65 * Set the stored value.
67 public void set(int value) { argument
[all...]

Completed in 380 milliseconds

1234567891011>>