/frameworks/base/core/java/android/provider/ |
DrmStore.java | 162 ContentValues values = new ContentValues(3); local 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);
|
Telephony.java | 243 ContentValues values = new ContentValues(7); local 245 values.put(ADDRESS, address); 247 values.put(DATE, date); 249 values.put(READ, read ? Integer.valueOf(1) : Integer.valueOf(0)); 250 values.put(SUBJECT, subject); 251 values.put(BODY, body); 253 values.put(STATUS, STATUS_PENDING); 256 values.put(THREAD_ID, threadId); 258 return resolver.insert(uri, values); 293 ContentValues values = new ContentValues(3) local 425 ContentValues values = new ContentValues(2); local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
PowerProfile.java | 33 * Reports power consumption values for various device activities. Reads values from an XML file. 244 final Double[] values = (Double[]) data; local 245 if (values.length > level && level >= 0) { 246 return values[level]; 250 return values[values.length - 1];
|
/frameworks/base/media/mtp/ |
MtpDataPacket.cpp | 255 void MtpDataPacket::putAInt8(const int8_t* values, int count) { 258 putInt8(*values++); 261 void MtpDataPacket::putAUInt8(const uint8_t* values, int count) { 264 putUInt8(*values++); 267 void MtpDataPacket::putAInt16(const int16_t* values, int count) { 270 putInt16(*values++); 273 void MtpDataPacket::putAUInt16(const uint16_t* values, int count) { 276 putUInt16(*values++); 279 void MtpDataPacket::putAUInt16(const UInt16List* values) { 280 size_t count = (values ? values->size() : 0) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
AutofillHandler.java | 169 abstract protected Void doInBackground(T... values); 179 protected Void doInBackground(AutoFillProfile... values) { 182 AutoFillProfile newProfile = values[0]; 194 protected Void doInBackground(Integer... values) { 196 int id = values[0];
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PhotoEditorView.java | 90 public void setValues(DataKind kind, ValuesDelta values, EntityDelta state, boolean readOnly, 92 mEntry = values; 95 setId(vig.getId(state, kind, values, 0)); 97 if (values != null) { 99 final byte[] photoBytes = values.getAsByteArray(Photo.PHOTO);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
EntityDelta.java | 63 * Direct values from {@link Entity#getEntityValues()}. 68 * Internal map of children values from {@link Entity#getSubValues()}, which 76 public EntityDelta(ValuesDelta values) { 77 mValues = values; 89 entity.addEntry(ValuesDelta.fromBefore(namedValues.values)); 95 * Merge the "after" values from the given {@link EntityDelta} onto the 116 // Create values if needed, and merge "after" changes 119 // Find matching local entry for each remote values, or create 120 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) { 252 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { 697 final ContentValues values = new ContentValues(); local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarCache.java | 185 ContentValues values = new ContentValues(); local 186 values.put(COLUMN_NAME_ID, key.hashCode()); 187 values.put(COLUMN_NAME_KEY, key); 188 values.put(COLUMN_NAME_VALUE, value); 190 db.replace(DATABASE_NAME, null /* null column hack */, values);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
SmsProvider.java | 64 * have either "true" or "false" as their values. 339 ContentValues values; local 410 values = new ContentValues(1); 414 values = new ContentValues(initialValues); 426 values.put(Sms.DATE, new Long(System.currentTimeMillis())); 430 values.put(Sms.TYPE, Integer.valueOf(type)); 434 Long threadId = values.getAsLong(Sms.THREAD_ID); 435 String address = values.getAsString(Sms.ADDRESS); 438 values.put(Sms.THREAD_ID, Threads.getOrCreateThreadId( 447 if (values.getAsInteger(Sms.TYPE) == Sms.MESSAGE_TYPE_DRAFT) [all...] |
/external/chromium/net/proxy/ |
proxy_config_service_linux_unittest.cc | 28 // Set of values for all environment variables that we might 51 // Set of values for all gconf settings that we might query. 85 #define ENTRY(x) table.settings[#x] = &values.x 102 // Zeros all environment values. 105 values = zero_values; 131 EnvVarValues values; member in class:net::__anon3672::MockEnvironment 142 strings_table.settings["/system/" key] = &values.field 151 ints_table.settings["/system/" key] = &values.field 158 bools_table.settings["/system/" key] = &values.field 164 &values.ignore_hosts 238 GConfValues values; member in class:net::__anon3672::MockGConfSettingGetter 398 GConfValues values; member in struct:net::__anon3673 652 EnvVarValues values; member in struct:net::__anon3674 [all...] |
/system/media/mca/filterfw/native/core/ |
shader_program.cpp | 72 values(NULL), 703 const int* values, 708 // Make sure we have values at all 720 // Make sure passed values are compatible 730 glUniform1iv(var, n, values); 734 glUniform2iv(var, n, values); 738 glUniform3iv(var, n, values); 742 glUniform4iv(var, n, values); 754 const float* values, 759 // Make sure we have values at al 1060 const float* values = reinterpret_cast<const float*>(attrib.values); local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
CallLogGroupBuilderTest.java | 40 /** Cursor to store the values. */ 224 Object[] values = CallLogQueryTestUtils.createTestExtendedValues(); local 225 values[CallLogQuery.ID] = mCursor.getPosition(); 226 values[CallLogQuery.NUMBER] = number; 227 values[CallLogQuery.CALL_TYPE] = type; 228 values[CallLogQuery.SECTION] = section; 229 mCursor.addRow(values); 249 Object[] values = CallLogQueryTestUtils.createTestExtendedValues(); local 250 values[CallLogQuery.ID] = mCursor.getPosition(); 251 values[CallLogQuery.SECTION] = section [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentTable.java | 99 public Uri insert(UriData uriData, ContentValues values) { 100 checkForSupportedColumns(mVoicemailProjectionMap, values); 101 ContentValues copiedValues = new ContentValues(values); 105 // Add the computed fields to the copied values. 115 if (!values.containsKey(Calls.NEW)) { 150 ContentValues values = new ContentValues(); local 151 values.put(Calls.VOICEMAIL_URI, newUri.toString()); 155 db.update(mTableName, values, UriData.createUriData(newUri).getWhereClause(), null); 211 public int update(UriData uriData, ContentValues values, String selection, 213 checkForSupportedColumns(mVoicemailProjectionMap, values); [all...] |
/libcore/json/src/test/java/org/json/ |
JSONArrayTest.java | 206 // toString() and getString(int) return different values for -0d 328 JSONArray values = new JSONArray(); local 329 values.put(5.5d); 330 values.put(false); 332 JSONObject object = values.toJSONObject(keys); 337 values.put(0, 11.0d); 346 JSONArray values = new JSONArray(); local 347 values.put(5.5d); 348 values.put(null); 350 // null values are stripped 361 JSONArray values = new JSONArray(); local 371 JSONArray values = new JSONArray(); local 382 JSONArray values = new JSONArray(); local [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Mailbox.java | 124 // Sentinel values for the mSyncInterval field of both Mailbox records 127 // The following two sentinel values are used by EAS 315 ContentValues values = new ContentValues(); local 316 values.put(MailboxColumns.DISPLAY_NAME, mDisplayName); 317 values.put(MailboxColumns.SERVER_ID, mServerId); 318 values.put(MailboxColumns.PARENT_SERVER_ID, mParentServerId); 319 values.put(MailboxColumns.PARENT_KEY, mParentKey); 320 values.put(MailboxColumns.ACCOUNT_KEY, mAccountKey); 321 values.put(MailboxColumns.TYPE, mType); 322 values.put(MailboxColumns.DELIMITER, mDelimiter) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SortedMapTestBase.java | 167 assertEquals(ref.values().size(), map.values().size()); 168 assertTrue(ref.values().containsAll(map.values())); 169 assertTrue(map.values().containsAll(ref.values())); 171 Iterator<Integer> i = ref.values().iterator(); 172 Iterator<Integer> j = map.values().iterator(); 284 assertFalse(map.values().iterator().hasNext()); 329 assertEquals(ref.values().size(), map.values().size()) [all...] |
/external/dbus/dbus/ |
dbus-address.c | 48 DBusList *values; /**< List of values */ member in struct:DBusAddressEntry 162 link = _dbus_list_get_first_link (&entry->values); 168 link = _dbus_list_get_next_link (&entry->values, link); 170 _dbus_list_clear (&entry->values); 247 DBusList *values, *keys; local 250 values = _dbus_list_get_first_link (&entry->values); 254 _dbus_assert (values != NULL); 257 return _dbus_string_get_const_data (values->data) [all...] |
/external/skia/src/animator/ |
SkDisplayable.cpp | 111 elementType = dispArray->values.getType(); 167 SkOperand values[2]; local 201 elementType = dispArray->values.getType(); 246 info->getValue(this, values, i); 248 dumpValues(info, info->fType, values[0], blankValues[0], values[1], blankValues[1]); 319 //should make this a separate case in dump attrs, rather than make dump values have a larger signature 426 const SkMemberInfo* info, SkTypedArray* values, SkScriptValue* value) { 428 for (SkOperand* op = values->begin(); op < values->end(); op++) [all...] |
/frameworks/base/core/java/android/content/ |
ContentProviderOperation.java | 165 * {@link ContentProviderOperation} to assert a set of values as provided 209 ContentValues values = resolveValueBackReferences(backRefs, numBackRefs); local 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 don't matc 289 final ContentValues values; local [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...] |