/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 94 * Parse and return interface-level summary {@link NetworkStats}. Values 117 final ArrayList<String> values = Lists.newArrayList(); local 126 splitLine(line, values); 127 parseLine(keys, values, parsed); 134 // always include snapshot values 200 final ArrayList<String> values = Lists.newArrayList(); local 213 splitLine(line, values); 216 entry.iface = values.get(0); 220 entry.rxBytes = Long.parseLong(values.get(1)); 221 entry.rxPackets = Long.parseLong(values.get(2)) [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactSaveService.java | 209 ArrayList<ContentValues> values, AccountWithDataSet account, 220 ContactSaveService.EXTRA_CONTENT_VALUES, values); 247 ContentValues values = valueList.get(i); local 248 values.keySet().retainAll(ALLOWED_DATA_COLUMNS); 251 .withValues(values) 462 ContentValues values = new ContentValues(); local 463 values.put(Groups.ACCOUNT_TYPE, accountType); 464 values.put(Groups.ACCOUNT_NAME, accountName); 465 values.put(Groups.DATA_SET, dataSet); 466 values.put(Groups.TITLE, label) 523 ContentValues values = new ContentValues(); local 604 ContentValues values = new ContentValues(); local 707 final ContentValues values = new ContentValues(1); local 733 final ContentValues values = new ContentValues(1); local 758 ContentValues values = new ContentValues(1); local 781 ContentValues values = new ContentValues(1); local 786 values, null, null); local 809 ContentValues values = new ContentValues(1); local 814 values, null, null); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
X509Name.java | 218 * default look up table translating OID values into their common symbols following 224 * look up table translating OID values into their common symbols following the convention in RFC 2253 230 * look up table translating OID values into their common symbols following the convention in RFC 1779 241 * look up table translating OID values into their common symbols 247 * look up table translating string values into their OIDS - 348 private Vector values = new Vector(); field in class:X509Name 426 values.addElement("\\" + v); 430 values.addElement(v); 435 values.addElement("#" + bytesToString(Hex.encode(value.getDERObject().getDEREncoded()))); 523 this.values.addElement(attributes.get(oid)); // copy the hash tabl [all...] |
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
GLServerVertex.java | 56 public int size; // number of values per vertex 475 // void glVertexAttrib1fv(GLuint indx, const GLfloat* values) 477 final ByteBuffer values = msg.getData().asReadOnlyByteBuffer(); local 478 values.order(SampleView.targetByteOrder); 480 Float.intBitsToFloat(values.getInt()), 490 // void glVertexAttrib2fv(GLuint indx, const GLfloat* values) 492 final ByteBuffer values = msg.getData().asReadOnlyByteBuffer(); local 493 values.order(SampleView.targetByteOrder); 495 Float.intBitsToFloat(values.getInt()), 496 Float.intBitsToFloat(values.getInt()), 0, 1) 508 final ByteBuffer values = msg.getData().asReadOnlyByteBuffer(); local 534 final ByteBuffer values = msg.getData().asReadOnlyByteBuffer(); local [all...] |
/external/chromium/testing/gtest/test/ |
gtest-param-test_test.cc | 62 using ::testing::Values; 137 // We cannot use EXPECT_EQ() here as the values may be tuples, 181 // generates an expected sequence of values. The general test pattern 364 ContainerType values; local 365 values.push_back(3); 366 values.push_back(5); 367 values.push_back(8); 368 const ParamGenerator<int> gen = ValuesIn(values); 377 ContainerType values; local 378 values.push_back(3) 391 ContainerType values; local 403 ContainerType values; local [all...] |
/external/gtest/test/ |
gtest-param-test_test.cc | 60 using ::testing::Values; 122 // generates an expected sequence of values. The general test pattern 305 ContainerType values; local 306 values.push_back(3); 307 values.push_back(5); 308 values.push_back(8); 309 const ParamGenerator<int> gen = ValuesIn(values); 318 ContainerType values; local 319 values.push_back(3); 320 values.push_back(5) 332 ContainerType values; local 344 ContainerType values; local [all...] |
/external/protobuf/gtest/test/ |
gtest-param-test_test.cc | 60 using ::testing::Values; 122 // generates an expected sequence of values. The general test pattern 305 ContainerType values; local 306 values.push_back(3); 307 values.push_back(5); 308 values.push_back(8); 309 const ParamGenerator<int> gen = ValuesIn(values); 318 ContainerType values; local 319 values.push_back(3); 320 values.push_back(5) 332 ContainerType values; local 344 ContainerType values; local [all...] |
/external/skia/src/animator/ |
SkAnimateActive.cpp | 178 SkTDOperandArray values; local 179 values.setCount(count); 180 bool success = animate->fFieldInfo->setValue(fMaker, &values, 0, 0, NULL, 183 fApply.applyValues(index, values.begin(), count, animate->getValuesType(), time); 185 SkAutoSTMalloc<16, SkOperand> values(count); 186 interpolator.timeToValues(time, values.get()); 187 fApply.applyValues(index, values.get(), count, animate->getValuesType(), time); 216 SkTDOperandArray values; local 217 values.setCount(count); 218 bool success = animate->fFieldInfo->setValue(fMaker, &values, 0, 0, NULL, 243 SkOperand* values = animate->getValues(); local 336 SkOperand* values = animate->getValues(); local [all...] |
/frameworks/base/libs/ui/tests/ |
InputEvent_test.cpp | 58 ASSERT_EQ(5, coords.values[0]); 68 ASSERT_EQ(5, coords.values[0]); 69 ASSERT_EQ(2, coords.values[1]); 83 ASSERT_EQ(4, coords.values[0]); 84 ASSERT_EQ(5, coords.values[1]); 85 ASSERT_EQ(2, coords.values[2]); 99 ASSERT_EQ(4, coords.values[0]); 100 ASSERT_EQ(5, coords.values[1]); 101 ASSERT_EQ(1, coords.values[2]); 102 ASSERT_EQ(2, coords.values[3]) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
Alarms.java | 100 ContentValues values = createContentValues(alarm); local 102 Alarm.Columns.CONTENT_URI, values); 149 ContentValues values = new ContentValues(8); local 157 values.put(Alarm.Columns.ENABLED, alarm.enabled ? 1 : 0); 158 values.put(Alarm.Columns.HOUR, alarm.hour); 159 values.put(Alarm.Columns.MINUTES, alarm.minutes); 160 values.put(Alarm.Columns.ALARM_TIME, time); 161 values.put(Alarm.Columns.DAYS_OF_WEEK, alarm.daysOfWeek.getCoded()); 162 values.put(Alarm.Columns.VIBRATE, alarm.vibrate); 163 values.put(Alarm.Columns.MESSAGE, alarm.label) 214 ContentValues values = createContentValues(alarm); local 218 values, null, null); local 266 ContentValues values = new ContentValues(2); local 283 Alarm.Columns.CONTENT_URI, alarm.id), values, null, null); local [all...] |
/packages/experimental/procstatlog/ |
procstatreport.py | 146 for when, values in sorted(merged_rows.iteritems()): 148 writer.writerow([msec] + [values.get(n, "") for n in range(num_cols)]) 272 total_switches = sum(context_switches.values()) 340 "label_html": FAULTS_LABEL % {"major": sum(total_faults.values())}, 371 "label_html": BINDER_LABEL % {"calls": sum(binder_calls.values())}, 413 total_rx, total_tx = sum(rx.values()), sum(tx.values()) 465 totals = [sum(ops.get(var, {}).values()) for var in yaffs_vars] 473 values = {"partition": partition} 474 values.update(zip(yaffs_vars, totals) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
GLServerVertex.java | 56 public int size; // number of values per vertex 475 // void glVertexAttrib1fv(GLuint indx, const GLfloat* values) 477 final ByteBuffer values = msg.getData().asReadOnlyByteBuffer(); local 478 values.order(GLFramesView.TARGET_BYTE_ORDER); 480 Float.intBitsToFloat(values.getInt()), 490 // void glVertexAttrib2fv(GLuint indx, const GLfloat* values) 492 final ByteBuffer values = msg.getData().asReadOnlyByteBuffer(); local 493 values.order(GLFramesView.TARGET_BYTE_ORDER); 495 Float.intBitsToFloat(values.getInt()), 496 Float.intBitsToFloat(values.getInt()), 0, 1) 508 final ByteBuffer values = msg.getData().asReadOnlyByteBuffer(); local 534 final ByteBuffer values = msg.getData().asReadOnlyByteBuffer(); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x500/style/ |
IETFUtils.java | 47 Vector values = new Vector(); local 50 values.addElement(v); 61 values.addElement(vl); 64 builder.addMultiValuedRDN(toOIDArray(oids), toValueArray(values)); 75 private static String[] toValueArray(Vector values) 77 String[] tmp = new String[values.size()]; 81 tmp[i] = (String)values.elementAt(i);
|
/frameworks/base/core/java/android/content/ |
AsyncQueryHandler.java | 57 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 = values [all...] |
/frameworks/base/core/java/android/widget/ |
ArrayAdapter.java | 90 // the mFilter ArrayFilter is used. mObjects will then only contain the filtered values. 465 results.values = list; 470 ArrayList<T> values; local 472 values = new ArrayList<T>(mOriginalValues); 475 final int count = values.size(); 479 final T value = values.get(i); 499 results.values = newValues; 509 mObjects = (List<T>) results.values;
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 166 ContentValues values = new ContentValues(); local 167 values.put(Bookmarks.TITLE, mark.title); 168 values.put(Bookmarks.URL, mark.url); 169 values.put(Bookmarks.IS_FOLDER, 0); 170 values.put(Bookmarks.DATE_CREATED, mark.created); 171 values.put(Bookmarks.DATE_MODIFIED, mark.date); 172 getContentResolver().insert(Bookmarks.CONTENT_URI, values);
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
MailboxUtilities.java | 151 ContentValues values = new ContentValues(); local 152 values.clear(); 153 values.put(Mailbox.PARENT_KEY, Mailbox.NO_MAILBOX); 154 resolver.update(Mailbox.CONTENT_URI, values, noParentKeySelection, null); 201 ContentValues values = new ContentValues(); local 202 values.put(Mailbox.PARENT_KEY, Mailbox.PARENT_KEY_UNINITIALIZED); 205 resolver.update(Mailbox.CONTENT_URI, values, accountSelector, null);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
RetrieveTransaction.java | 153 ContentValues values = new ContentValues(1); local 154 values.put(Mms.DATE, System.currentTimeMillis() / 1000L); 156 msgUri, values, null, null); 246 ContentValues values = new ContentValues(2); local 247 values.put(Mms.CONTENT_LOCATION, contentLocation); 248 values.put(Mms.LOCKED, locked); // preserve the state of the M-Notification.ind lock. 250 uri, values, null, null);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatterySipper.java | 43 double[] values; field in class:BatterySipper 65 int iconId, Uid uid, double[] values) { 69 this.values = values; 75 if (values != null) value = values[0]; 87 return values;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserDictionary.java | 169 final ContentValues values = new ContentValues(5); local 170 values.put(Words.WORD, word); 171 values.put(Words.FREQUENCY, frequency); 172 values.put(Words.LOCALE, mLocale); 173 values.put(Words.APP_ID, 0); 195 client.update(uri, values, null, null); 199 client.insert(Words.CONTENT_URI, values);
|
UserBigramDictionary.java | 384 ContentValues values = new ContentValues(3); local 385 values.put(MAIN_COLUMN_WORD1, word1); 386 values.put(MAIN_COLUMN_WORD2, word2); 387 values.put(MAIN_COLUMN_LOCALE, locale); 388 return values; 392 ContentValues values = new ContentValues(2); local 393 values.put(FREQ_COLUMN_PAIR_ID, pairId); 394 values.put(FREQ_COLUMN_FREQUENCY, frequency); 395 return values;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 416 ContentValues values = new ContentValues(); local 417 values.put(Downloads.Impl.COLUMN_CURRENT_BYTES, state.mCurrentBytes); 418 mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), values, null, null); local 470 ContentValues values = new ContentValues(); local 471 values.put(Downloads.Impl.COLUMN_CURRENT_BYTES, state.mCurrentBytes); 473 values.put(Downloads.Impl.COLUMN_TOTAL_BYTES, state.mCurrentBytes); 475 mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), values, null, null); local 506 ContentValues values = new ContentValues(); local 507 values.put(Downloads.Impl.COLUMN_CURRENT_BYTES, state.mCurrentBytes); 508 mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), values, null, null) local 594 ContentValues values = new ContentValues(); local 603 mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), values, null, null); local 935 ContentValues values = new ContentValues(); local 955 mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), values, null, null); local [all...] |
/prebuilt/common/tools-common/ |
tools-common-prebuilt.jar | |
/development/samples/NotePad/src/com/example/android/notepad/ |
NoteEditor.java | 212 null, // No "where" clause selection values. 368 // Creates a map to contain the new values for the columns 526 // Sets up a map to contain values to be updated in the provider. 527 ContentValues values = new ContentValues(); local 528 values.put(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE, System.currentTimeMillis()); 552 // In the values map, sets the value of the title 553 values.put(NotePad.Notes.COLUMN_NAME_TITLE, title); 555 // In the values map, sets the value of the title 556 values.put(NotePad.Notes.COLUMN_NAME_TITLE, title); 560 values.put(NotePad.Notes.COLUMN_NAME_NOTE, text) 593 ContentValues values = new ContentValues(); local [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
WeakHashMapTest.java | 191 List values = Arrays.asList(valueArray); local 200 assertTrue("Invalid map entry returned--bad key", values 204 values = null; 300 List values = Arrays.asList(valueArray); local 311 values = null; 327 * java.util.WeakHashMap#values() 330 // Test for method java.util.Set java.util.WeakHashMap.values() 336 List values = Arrays.asList(valueArray); local 338 Collection valuesCollection = whm.values(); 344 assertTrue("Invalid map entry returned--bad value", values [all...] |