Searched refs:values (Results 51 - 75 of 211) sorted by relevance

123456789

/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DTextColor.java56 for (TextColor e : TextColor.values()) {
H A DTone.java23 * Enumeration for representing the tone values for use with PLAY TONE
161 for (Tone e : Tone.values()) {
183 return Tone.values()[in.readInt()];
H A DAppInterface.java82 for (CommandType e : CommandType.values()) {
H A DDuration.java58 timeUnit = TimeUnit.values()[in.readInt()];
/frameworks/base/tools/preload/
H A DPrintPsTree.java40 for (Proc proc : root.processes.values()) {
H A DWritePreloadedClassFile.java52 for (LoadedClass loadedClass : root.loadedClasses.values()) {
80 for (LoadedClass loadedClass : root.loadedClasses.values()) {
98 for (Proc proc : root.processes.values()) {
135 for (Proc proc : root.processes.values()) {
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java218 * Offset to the untransformed values in the array returned by
323 * The values returned by this sensor cannot be trusted, calibration is
429 final float[] values = new float[3];
446 final int sensor = sensors_data_poll(sQueue, values, status, timestamp);
474 values, timestamp, accuracy);
584 void onSensorChangedLocked(Sensor sensor, float[] values, long[] timestamp, int accuracy) { argument
586 final float[] v = t.values;
587 v[0] = values[0];
588 v[1] = values[1];
589 v[2] = values[
1576 getOrientation(float[] R, float values[]) argument
1717 mapSensorDataToWindow(int sensor, float[] values, int orientation) argument
2047 sensors_data_poll(int queue, float[] values, int[] status, long[] timestamp) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStateTracker.java107 * @param propertyNames the names of the system properties whose values
108 * give the IP addresses. Properties with no values are skipped.
112 * some of the passed-in names may have empty values.
192 // Setting to default values so we won't be stuck to previous values
197 // Set values in kernel
200 Log.v(TAG, "Setting TCP values: [" + bufferSizes
223 String[] values = bufferSizes.split(",");
225 if (values.length == 6) {
227 stringToFile(prefix + "rmem_min", values[
[all...]
H A DDownloads.java60 * Warning: there might be other status values that indicate success
74 * Warning: there will be other status values that indicate errors in
494 ContentValues values = new ContentValues();
495 values.put(android.provider.Downloads.Impl.COLUMN_URI, url);
496 values.put(android.provider.Downloads.Impl.COLUMN_COOKIE_DATA, cookieData);
497 values.put(android.provider.Downloads.Impl.COLUMN_VISIBILITY,
501 values.put(android.provider.Downloads.Impl.COLUMN_TITLE, title);
503 values.put(android.provider.Downloads.Impl.COLUMN_APP_DATA, url);
526 values.put(android.provider.Downloads.Impl.COLUMN_DESTINATION, destination);
527 values
[all...]
/frameworks/base/core/java/android/pim/vcard/
H A DVCardInterpreterCollection.java97 public void propertyValues(List<String> values) { argument
99 builder.propertyValues(values);
H A DVCardUtils.java337 * Escaped characters in those values are automatically unescaped into original form.
378 public static boolean containsOnlyPrintableAscii(final String...values) {
379 if (values == null) {
382 return containsOnlyPrintableAscii(Arrays.asList(values));
385 public static boolean containsOnlyPrintableAscii(final Collection<String> values) { argument
386 if (values == null) {
389 for (final String value : values) {
409 public static boolean containsOnlyNonCrLfPrintableAscii(final String...values) {
410 if (values == null) {
413 return containsOnlyNonCrLfPrintableAscii(Arrays.asList(values));
416 containsOnlyNonCrLfPrintableAscii(final Collection<String> values) argument
459 containsOnlyAlphaDigitHyphen(final Collection<String> values) argument
495 containsOnlyWhiteSpaces(final Collection<String> values) argument
[all...]
H A DVCardEntryConstructor.java183 // It is possible when some of multiple values are empty.
184 // e.g. N:;a;;; -> values are "", "a", "", "", and "".
204 public void propertyValues(List<String> values) { argument
205 if (values == null || values.isEmpty()) {
221 for (final String value : values) {
/frameworks/base/core/java/android/provider/
H A DDrmStore.java162 ContentValues values = new ContentValues(3);
163 values.put(DrmStore.Columns.TITLE, title);
164 values.put(DrmStore.Columns.SIZE, size);
165 values.put(DrmStore.Columns.MIME_TYPE, mimeType);
167 Uri uri = cr.insert(contentUri, values);
H A DTelephony.java237 ContentValues values = new ContentValues(7);
239 values.put(ADDRESS, address);
241 values.put(DATE, date);
243 values.put(READ, read ? Integer.valueOf(1) : Integer.valueOf(0));
244 values.put(SUBJECT, subject);
245 values.put(BODY, body);
247 values.put(STATUS, STATUS_PENDING);
250 values.put(THREAD_ID, threadId);
252 return resolver.insert(uri, values);
287 ContentValues values
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DPowerProfile.java33 * Reports power consumption values for various device activities. Reads values from an XML file.
244 final Double[] values = (Double[]) data;
245 if (values.length > level && level >= 0) {
246 return values[level];
250 return values[values.length - 1];
/frameworks/base/core/java/android/content/
H A DContentProviderOperation.java165 * {@link ContentProviderOperation} to assert a set of values as provided
209 ContentValues values = resolveValueBackReferences(backRefs, numBackRefs);
214 Uri newUri = provider.insert(mUri, values);
225 numRows = provider.update(mUri, values, mSelection, selectionArgs);
227 // Assert that all rows match expected values
229 if (values != null) {
230 // Build projection map from expected values
232 for (Map.Entry<String, Object> entry : values.valueSet()) {
244 final String expectedValue = values.getAsString(projection[i]);
246 // Throw exception when expected values do
501 withValues(ContentValues values) argument
[all...]
H A DAsyncQueryHandler.java57 public ContentValues values; field in class:AsyncQueryHandler.WorkerArgs
96 args.result = resolver.insert(args.uri, args.values);
100 args.result = resolver.update(args.uri, args.values, args.selection,
110 // on top of the event values in arg1.
158 * replaced by the values from selectionArgs, in the order that they
159 * appear in the selection. The values will be bound as Strings.
217 args.values = initialValues;
231 * @param values the ContentValues parameter passed to the update operation.
234 ContentValues values, String selection, String[] selectionArgs) {
243 args.values
233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentQueryMap.java54 * @param columnNameOfKey the column that is to be used as the key of the values map
103 // let it query lazily when they ask for the values.
139 // Make a new map so old values returned by getRows() are undisturbed.
143 ContentValues values = new ContentValues();
146 values.put(mColumnNames[i], mCursor.getString(i));
149 mValues.put(mCursor.getString(mKeyColumn), values);
H A DContentProviderClient.java75 public int update(Uri url, ContentValues values, String selection, argument
77 return mContentProvider.update(url, values, selection, selectionArgs);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerProvider.java99 public Uri insert(Uri uri, ContentValues values) { argument
101 long rowId = db.insert(TABLE_NAME, null, values);
122 public int update(Uri uri, ContentValues values, String selection, argument
/frameworks/base/core/java/android/view/
H A DOrientationListener.java96 public void onSensorChanged(int sensor, float[] values) { argument
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DEncodedStringValue.java232 String[] values = src.split(";");
235 for (int i = 0; i < values.length; i++) {
236 if (values[i].length() > 0) {
237 list.add(new EncodedStringValue(values[i]));
/frameworks/base/media/libstagefright/codecs/aacenc/inc/
H A Dbit_cnt.h99 Word16 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream);
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java115 public int update(SQLiteDatabase db, String table, ContentValues values) { argument
116 return db.update(table, values, getSelection(), getSelectionArgs());
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java285 private void assertVertMetrics(Layout l, int topPad, int botPad, int... values) { argument
287 assertLinesMetrics(l, values);
290 private void assertLinesMetrics(Layout l, int... values) { argument
292 if ((values.length & 0x1) != 0) {
293 throw new IllegalArgumentException(String.valueOf(values.length));
296 int lines = values.length >> 1;
301 int a = values[n];
302 int d = values[n+1];

Completed in 581 milliseconds

123456789