/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForPhoneNumber.java | 43 ContentValues values) { 44 fillNormalizedNumber(values); 46 final long dataId = super.insert(db, txContext, rawContactId, values); 47 if (values.containsKey(Phone.NUMBER)) { 48 final String number = values.getAsString(Phone.NUMBER); 49 final String normalizedNumber = values.getAsString(Phone.NORMALIZED_NUMBER); 60 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 62 fillNormalizedNumber(values); 64 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 68 if (values.containsKey(Phone.NUMBER)) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VoicemailProviderTest.java | 92 ContentValues values = getTestReadVoicemailValues(); local 93 Uri uri = mResolver.insert(voicemailUri(), values); 104 assertCursorValues(c, values); 133 ContentValues values = new ContentValues(); local 134 values.put(Voicemails.NUMBER, "1-800-263-7643"); 135 values.put(Voicemails.DATE, 2000); 136 values.put(Voicemails.DURATION, 40); 137 values.put(Voicemails.TRANSCRIPTION, "Testing 123"); 138 values.put(Voicemails.STATE, 2); 139 values.put(Voicemails.HAS_CONTENT, 1) 153 ContentValues values = getTestVoicemailValues(); local 159 ContentValues values = getTestVoicemailValues(); local 189 ContentValues values = getTestVoicemailValues(); local 210 ContentValues values = getTestVoicemailValues(); local 512 final ContentValues values = getTestVoicemailValues(); local 543 final ContentValues values = getTestVoicemailValues(); local 558 ContentValues values = getTestStatusValues(); local 567 ContentValues values = getTestStatusValues(); local 568 assertNotNull(mResolver.insert(statusUri(), values)); local 573 assertNull(mResolver.insert(statusUri(), values)); local 578 assertNotNull(mResolver.insert(statusUri(), values)); local 584 ContentValues values = getTestStatusValues(); local 613 final ContentValues values = getTestStatusValues(); local 680 ContentValues values = getTestVoicemailValues(); local 686 ContentValues values = new ContentValues(); local 699 ContentValues values = getTestVoicemailValues(); local 709 ContentValues values = new ContentValues(); local [all...] |
BaseContactsProvider2Test.java | 180 ContentValues values = new ContentValues(); local 181 CommonDatabaseUtils.extrasVarArgsToValues(values, extras); 182 return mResolver.update(uri, values, null, null); 200 ContentValues values = new ContentValues(); local 201 values.put(Groups.SOURCE_ID, sourceId); 202 values.put(Groups.TITLE, title); 203 values.put(Groups.GROUP_VISIBLE, visible); 204 values.put(Groups.AUTO_ADD, autoAdd ? 1 : 0); 205 values.put(Groups.FAVORITES, favorite ? 1 : 0); 207 return ContentUris.parseId(mResolver.insert(uri, values)); 217 ContentValues values = new ContentValues(); local 272 ContentValues values = new ContentValues(); local 308 ContentValues values = new ContentValues(); local 330 ContentValues values = new ContentValues(); local 343 ContentValues values = new ContentValues(); local 354 ContentValues values = new ContentValues(); local 371 ContentValues values = new ContentValues(); local 380 ContentValues values = new ContentValues(); local 389 ContentValues values = new ContentValues(); local 397 ContentValues values = new ContentValues(); local 424 ContentValues values = new ContentValues(); local 439 ContentValues values = new ContentValues(); local 483 ContentValues values = new ContentValues(); local 496 ContentValues values = new ContentValues(); local 506 ContentValues values = new ContentValues(); local 515 ContentValues values = new ContentValues(); local 526 ContentValues values = new ContentValues(); local 531 RawContacts.CONTENT_URI, rawContactId), values, null, null); local 535 ContentValues values = new ContentValues(); local 543 ContentValues values = new ContentValues(); local 830 ContentValues values = new ContentValues(); local 840 ContentValues values = new ContentValues(); local 851 ContentValues values = new ContentValues(); local 1568 ContentValues values = new ContentValues(); local 1577 ContentValues values = new ContentValues(); local 1592 ContentValues values = new ContentValues(); local 1612 ContentValues values = new ContentValues(); local [all...] |
/external/v8/test/webkit/ |
equality.js | 28 var values = [ '0', '1', '0.1', '2', '3', '4', '5', '6', '7', '-0', '"0"', '"1"', '"0.1"', '"-0"', 'null', 'undefined', 'false', 'true', 'new String("0")', 'new Object' ]; variable 63 for (i = 0; i < values.length; ++i) { 64 for (j = 0; j < values.length; ++j) { 65 var expression = values[i] + " == " + values[j]; 66 var reversed = values[j] + " == " + values[i]; 71 for (i = 0; i < values.length; ++i) { 72 for (j = 0; j < values.length; ++j) { 73 var expression = values[i] + " === " + values[j] [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtils_InsertHelperTest.java | 146 ContentValues values = new ContentValues(); local 147 values.put("boolean_value", false); 148 values.put("int_value", 123); 149 values.put("long_value", 987654L); 150 values.put("double_value", 654.321); 151 values.put("float_value", 21.1f); 152 values.put("string_value", "insert another row"); 153 values.put("blob_value", blob); 154 values.putNull("null_value"); 155 id = mInsertHelper.insert(values); 254 ContentValues values = new ContentValues(); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
TBSCertList.java | 176 Object[] values = (Object[]) in.content; 178 new BigInteger((byte[]) values[0]), 179 (Date) values[1], 180 (Extensions) values[2] 184 @Override protected void getValues(Object object, Object[] values) { 186 values[0] = rcert.userCertificate.toByteArray(); 187 values[1] = rcert.revocationDate; 188 values[2] = rcert.crlEntryExtensions; 340 Object[] values = (Object[]) in.content; 342 (values[0] == null [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StreamItemsTest.java | 72 ContentValues values = new ContentValues(); local 73 values.put(Data.RAW_CONTACT_ID, rawContactId); 74 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE); 75 values.put(RawContacts.ACCOUNT_NAME, ACCOUNT_NAME); 76 values.put(StreamItems.TEXT, UPDATE_TEXT); 77 values.put(StreamItems.TIMESTAMP, UPDATE_TIMESTAMP); 78 values.put(StreamItems.COMMENTS, UPDATE_COMMENTS); 80 assertEquals(1, mResolver.update(streamItemUri, values, null, null)); 86 ContentValues values = new ContentValues(); local 87 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) 98 ContentValues values = new ContentValues(); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vec4_copy_propagation.cpp | 27 * Implements tracking of values copied between registers, and 61 try_constant_propagation(vec4_instruction *inst, int arg, src_reg *values[4]) 68 src_reg value = *values[0]; 70 if (!value.equals(values[i])) 164 vec4_instruction *inst, int arg, src_reg *values[4]) 171 src_reg value = *values[0]; 174 if (value.file != values[i]->file || 175 value.reg != values[i]->reg || 176 value.reg_offset != values[i]->reg_offset || 177 value.type != values[i]->type | 272 src_reg *values[4]; local [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
VpnProfile.java | 120 String[] values = new String(value, StandardCharsets.UTF_8).split("\0", -1); local 121 // There can be 14 or 15 values in ICS MR1. 122 if (values.length < 14 || values.length > 15) { 127 profile.name = values[0]; 128 profile.type = Integer.valueOf(values[1]); 132 profile.server = values[2]; 133 profile.username = values[3]; 134 profile.password = values[4]; 135 profile.dnsServers = values[5] [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
SignerInfo.java | 165 @Override public void getValues(Object object, Object[] values) { 167 values[0] = issAndSerial[0]; 168 values[1] = issAndSerial[1]; 188 @Override protected void getValues(Object object, Object[] values) { 190 values[0] = new byte[] {(byte)si.version}; 192 values[1] = new Object[] { new Name(si.issuer.getName()), 200 values[2] = si.digestAlgorithm; 201 values[3] = si.authenticatedAttributes; 202 values[4] = si.digestEncryptionAlgorithm; 203 values[5] = si.encryptedDigest [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
DspBufferComplex.java | 39 public void setValues(int index, double... values) { 40 mReal[index] = values[0]; 41 mImag[index] = values[1];
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
AbstractMeanVerification.java | 24 * Abstract class that calculates of the mean event values. 36 mSums = new float[event.values.length]; 38 Assert.assertEquals(mSums.length, event.values.length); 40 mSums[i] += event.values[i]; 53 * Return the means of the event values.
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
ListMultimapReplaceValuesTester.java | 37 List<V> values = Arrays.asList( local 44 multimap().replaceValues(k, values); 45 assertGet(k, values);
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/structure/ |
FirstFunction.java | 21 import com.google.clearsilver.jsilver.values.Value; 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 23 import com.google.clearsilver.jsilver.values.VariableValue;
|
LastFunction.java | 21 import com.google.clearsilver.jsilver.values.Value; 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 23 import com.google.clearsilver.jsilver.values.VariableValue;
|
SubcountFunction.java | 21 import com.google.clearsilver.jsilver.values.Value; 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 23 import com.google.clearsilver.jsilver.values.VariableValue;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
ErrorCode.java | 72 for (ErrorCode errorCode : ErrorCode.values()) { 79 for (ErrorCode errorCode : ErrorCode.values()) { 86 for (ErrorCode errorCode : ErrorCode.values()) {
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/ |
ArrayEncodedValueAdaptor.java | 45 Collection<? extends EncodedValue> values = arrayEncodedValue.getValue(); local 46 if (values.size() == 0) { 54 for (EncodedValue encodedValue: values) {
|
/external/webrtc/src/system_wrappers/source/ |
data_log_c.cc | 61 const int* values, 64 return webrtc::DataLog::InsertCell(table_name, column_name, values, length); 76 const float* values, 79 return webrtc::DataLog::InsertCell(table_name, column_name, values, length); 91 const double* values, 94 return webrtc::DataLog::InsertCell(table_name, column_name, values, length); 106 const int32_t* values, 109 return webrtc::DataLog::InsertCell(table_name, column_name, values, length); 121 const uint32_t* values, 124 return webrtc::DataLog::InsertCell(table_name, column_name, values, length) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridInHorizontal.java | 42 String values[] = new String[1000]; local 45 values[i] = ((Integer)i).toString(); 51 android.R.layout.simple_list_item_1, values));
|
GridInVertical.java | 42 String values[] = new String[1000]; local 45 values[i] = ((Integer)i).toString(); 51 android.R.layout.simple_list_item_1, values));
|
GridPadding.java | 38 String values[] = new String[1000]; local 40 values[i] = String.valueOf(i); 45 android.R.layout.simple_list_item_1, values));
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListDividers.java | 38 String values[] = new String[1000]; local 40 values[i] = ((Integer) i).toString(); 45 android.R.layout.simple_list_item_1, values));
|
ListInHorizontal.java | 41 String values[] = new String[1000]; local 43 values[i] = ((Integer) i).toString(); 48 android.R.layout.simple_list_item_1, values));
|
ListInVertical.java | 41 String values[] = new String[1000]; local 43 values[i] = ((Integer) i).toString(); 48 android.R.layout.simple_list_item_1, values));
|