/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | AssetJsonWriter.java | 45 * 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 D | MetricsLoggerCompat.java | 35 public void action(int category, int value) { argument 36 mMetricsLogger.action(category, value);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | OrderedDataOutputStream.java | 37 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 D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
H A D | BackupManagerMonitorUtils.java | 77 * 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 D | MockableSystemProperties.java | 35 public void set(String key, String value) { argument 36 SystemProperties.set(key, value);
|
/frameworks/base/services/robotests/src/com/android/server/backup/ |
H A D | BackupAgentTimeoutParametersTest.java | 130 * 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 D | FrameValue.java | 29 public void setValue(Object value) { argument 31 backing.setData(value);
|
H A D | TransformUtils.java | 72 public static void setTextureParameter(FrameImage2D frame, int param, int value) { argument 74 texture.setParameter(param, value);
|
H A D | VariableSource.java | 32 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 D | ServiceCrashTest.java | 53 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 D | TestablePermissions.java | 34 * 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 D | TestableResources.java | 57 * 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 D | ConfigurationParser_test.cpp | 46 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 D | generic_message.cpp | 28 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 D | TestRules.cpp | 27 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 D | HashEntry.h | 52 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 D | StaticIdentifierExpr.java | 44 public Expr generateInverse(ExprModel model, Expr value, String bindingClassName) { argument
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | Preconditions.java | 23 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 D | ObservableBoolean.java | 31 * 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 D | ObservableByte.java | 31 * 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 D | ObservableChar.java | 31 * 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 D | ObservableDouble.java | 31 * 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 D | ObservableFloat.java | 31 * 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 D | ObservableInt.java | 32 * 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...] |