/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | BuglePrefs.java | 72 * @param defaultValue The default value if value in shared prefs is null or if 74 * @return The corresponding value, or the default value. 80 * @param defaultValue The default value if value in shared prefs is null or if 82 * @return The corresponding value, or the default value. 88 * @param defaultValue The default value if value i 110 putInt(final String key, final int value) argument 116 putLong(final String key, final long value) argument 122 putBoolean(final String key, final boolean value) argument 128 putString(final String key, final String value) argument 134 putBytes(final String key, final byte[] value) argument [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/util/ |
H A D | FakeBuglePrefs.java | 53 public void putInt(final String key, final int value) { argument 57 public void putLong(final String key, final long value) { argument 61 public void putBoolean(final String key, final boolean value) { argument 65 public void putString(final String key, final String value) { argument 69 public void putBytes(String key, byte[] value) { argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | SeekBarDialogPreference.java | 36 public void writeValue(final int value, final String key); argument 38 public String getValueText(final int value); argument 39 public void feedbackValue(final int value); argument 64 final int value = mValueProxy.readValue(getKey()); 65 setSummary(mValueProxy.getValueText(value)); 78 private int getProgressFromValue(final int value) { argument 79 return value - mMinValue; 86 private int clipValue(final int value) { argument 87 final int clippedValue = Math.min(mMaxValue, Math.max(mMinValue, value)); 100 final int value [all...] |
/packages/services/Car/service/src/com/android/car/hal/ |
H A D | BidirectionalSparseIntArray.java | 37 throw new IllegalArgumentException("Odd number of key-value elements"); 52 private void put(int key, int value) { argument 53 mMap.put(key, value); 54 mInverseMap.put(value, key); 61 int getKey(int value, int defaultKey) { argument 62 return mInverseMap.get(value, defaultKey);
|
/packages/apps/Nfc/nci/jni/ |
H A D | RouteDataSet.cpp | 196 xmlChar* value = xmlGetProp (node1, (const xmlChar*) "Type"); local 197 if (value && (xmlStrcmp (value, (const xmlChar*) "SecElemSelectedRoutes") == 0)) 210 else if (value && (xmlStrcmp (value, (const xmlChar*) "DefaultRoutes") == 0)) 223 if (value) 224 xmlFree (value); 341 xmlChar* value = NULL; local 344 value = xmlGetProp (element, id); 345 if (value) 412 xmlChar* value = NULL; local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
H A D | DbQueryUtils.java | 33 /** Returns a WHERE clause asserting equality of a field to a value. */ 34 public static String getEqualityClause(String field, String value) { argument 35 return getClauseWithOperator(field, "=", value); 38 /** Returns a WHERE clause asserting equality of a field to a value. */ 39 public static String getEqualityClause(String field, long value) { argument 40 return getClauseWithOperator(field, "=", value); 43 /** Returns a WHERE clause asserting in-equality of a field to a value. */ 44 public static String getInequalityClause(String field, long value) { argument 45 return getClauseWithOperator(field, "!=", value); 48 private static String getClauseWithOperator(String field, String operator, String value) { argument 58 getClauseWithOperator(String field, String operator, long value) argument 125 escapeLikeValue(StringBuilder sb, String value, char escapeChar) argument [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/ |
H A D | PrefsBackupHelper.java | 75 final Object value = preference.getValue(); 77 if (value instanceof Integer) { 78 target.putInt(key, (Integer) value); 79 } else if (value instanceof Boolean) { 80 target.putBoolean(key, (Boolean) value); 83 + (value == null ? null : value.getClass()));
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
H A D | ExifTag.java | 48 * The UNDEFINED type in the EXIF standard. An 8-bit byte that can take any value depending on the 89 // Actual data count in tag (should be number of elements in value array) 93 // The value (array of elements of type Tag Type) 183 /** Gets the total data size in bytes of the value of this tag. */ 197 * value does not match the component count. 204 * Returns true if this ExifTag contains value; otherwise, this tag will contain an offset value 218 * <li>The value overflows. 219 * <li>The value.length does NOT match the component count in the definition for this tag. 222 boolean setValue(int[] value) { argument 256 setValue(long[] value) argument 282 setValue(String value) argument 319 setValue(Rational[] value) argument 347 setValue(byte[] value, int offset, int length) argument 361 setValue(byte[] value) argument 501 checkOverflowForUnsignedShort(int[] value) argument 510 checkOverflowForUnsignedLong(long[] value) argument 519 checkOverflowForUnsignedLong(int[] value) argument 528 checkOverflowForUnsignedRational(Rational[] value) argument 540 checkOverflowForRational(Rational[] value) argument [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
H A D | SyncMessage.java | 77 private static long parseTime(@Nullable String value) { argument 78 if (value == null) { 82 return new SimpleDateFormat(OmtpConstants.DATE_TIME_FORMAT, Locale.US).parse(value).getTime(); 143 String value = wrappedData.getString(key); 144 if (value == null) { 148 return Integer.parseInt(value); 155 String value = wrappedData.getString(key); 156 if (value == null) { 159 return value;
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
H A D | SimpleBackupSharedPreference.java | 35 private static final String VALUE = "value"; 37 public SimpleBackupSharedPreference(final String key, final Object value) { argument 39 mValue = value; 52 public void setValue(Object value) { argument 53 mValue = value; 74 Object value = json.get(VALUE); 75 if (value instanceof JSONArray) { 77 final JSONArray array = (JSONArray) value; 81 value = set; 83 return new SimpleBackupSharedPreference(json.getString(KEY), value); [all...] |
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
H A D | PseudoScreenState.java | 50 public void setOn(boolean value) { argument 51 if (on != value) { 52 on = value;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | NowOrLaterWrapper.java | 31 public boolean consume(A value) { 32 return consumer.consume(get(value)); 49 public abstract B get(A value); argument
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
H A D | BigArguments.java | 36 public static void setArgument(String name, @NonNull Object value) { argument 37 SoftPreconditions.checkState(value != null, TAG, "Set argument, but value is null"); 38 sBigArgumentMap.put(name, value);
|
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/ |
H A D | IntegerListPreference.java | 33 protected boolean persistString(String value) { argument 34 return value != null && persistInt(Integer.valueOf(value));
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallIdMapper.java | 35 public boolean put(K key, V value) { argument 36 if (key == null || value == null || mPrimaryMap.containsKey(key) || 37 mSecondaryMap.containsKey(value)) { 41 mPrimaryMap.put(key, value); 42 mSecondaryMap.put(value, key); 51 V value = getValue(key); 53 mSecondaryMap.remove(value); 59 public boolean removeValue(V value) { argument 60 if (value == null) { 63 return remove(getKey(value)); 70 getKey(V value) argument [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/ |
H A D | VisualVoicemailPreferences.java | 58 public Editor putBoolean(String key, boolean value) { argument 59 mEditor.putBoolean(getKey(key), value); 64 public Editor putFloat(String key, float value) { argument 65 mEditor.putFloat(getKey(key), value); 69 public Editor putInt(String key, int value) { argument 70 mEditor.putInt(getKey(key), value); 75 public Editor putLong(String key, long value) { argument 76 mEditor.putLong(getKey(key), value); 80 public Editor putString(String key, String value) { argument 81 mEditor.putString(getKey(key), value); 86 putStringSet(String key, Set<String> value) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/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);
|
/packages/apps/Dialer/java/com/android/dialer/buildtype/ |
H A D | BuildTypeAccessor.java | 27 @UsedByReflection(value = "BuildType.java")
|
/packages/apps/Dialer/java/com/android/dialer/buildtype/release/ |
H A D | BuildTypeAccessorImpl.java | 22 @UsedByReflection(value = "BuildType.java")
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
H A D | MoreStrings.java | 46 public static String toSafeString(String value) { argument 47 if (value == null) { 54 for (int i = 0; i < value.length(); i++) { 55 final char c = value.charAt(i);
|
/packages/apps/Gallery2/gallerycommon/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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
H A D | ParameterInteger.java | 30 void setValue(int value); argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | CaptureAnimation.java | 27 // Pre-calculated value for convenience. 44 float value; 47 value = 1f - ZOOM_DELTA * 51 value = ZOOM_IN_BEGIN + ZOOM_DELTA * 54 return value;
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
H A D | IKeyChainServiceTestSupport.aidl | 35 boolean keystorePut(String key, in byte[] value); 36 boolean keystoreImportKey(String key, in byte[] value);
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
H A D | CarrierConfigXmlParser.java | 29 void process(String type, String key, String value); argument 41 // Parse one key/value 46 // e.g. <int name="key">value</int> 49 String value = null; 51 value = mInputParser.getText(); 57 // We are done parsing one mms_config key/value, call the handler 59 mKeyValueProcessor.process(type, key, value);
|