/packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/ |
StreamItemPopulatorActivity.java | 259 ContentValues values = new ContentValues(); 261 values.put(StreamItems.TEXT, 266 values.put(StreamItems.RES_PACKAGE, "com.android.contacts.tests"); 268 values.put(StreamItems.RES_LABEL, labelResources[sourceIndex]); 270 values.put(StreamItems.RES_ICON, iconResources[sourceIndex]); 274 values.put(StreamItems.COMMENTS, pickRandom(commentStrings)); 276 values.put(StreamItems.COMMENTS, ""); 279 values.put(StreamItems.TIMESTAMP, 281 values.put(RawContacts.ACCOUNT_TYPE, accountType); 282 values.put(RawContacts.ACCOUNT_NAME, accountName) [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 729 ContentValues values = new ContentValues(); local 730 values.put(Events.DTSTART, get2445ToMillis(timezone, dtStart2445)); 731 values.put(Events.DTEND, get2445ToMillis(timezone, dtEnd2445)); 733 int result = mDb.update(Tables.EVENTS, values, SQL_WHERE_ID, 737 Log.v(TAG, "Could not update Events table with values " + values); 1802 ContentValues values = new ContentValues(); local 2736 ContentValues values = new ContentValues(); local 2846 ContentValues values = new ContentValues(); local 2859 ContentValues values = new ContentValues(); local 3248 ContentValues values = new ContentValues(); local 3521 ContentValues values = new ContentValues(); local 3751 ContentValues values = new ContentValues(); local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentProvider.java | 101 public Uri insert(Uri uri, ContentValues values) { 102 UriData uriData = checkPermissionsAndCreateUriData(uri, values); 103 return getTableDelegate(uriData).insert(uriData, values); 117 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 118 UriData uriData = checkPermissionsAndCreateUriData(uri, values); 121 return getTableDelegate(uriData).update(uriData, values, selectionBuilder.build(), 237 VoicemailContract.AUTHORITY, VoicemailUriType.values()); 243 public void checkAndAddSourcePackageIntoValues(UriData uriData, ContentValues values) { 244 // If content values don't contain the provider, calculate the right provider to use. 245 if (!values.containsKey(SOURCE_PACKAGE_FIELD)) [all...] |
ContactDirectoryManager.java | 302 ContentValues values = new ContentValues(); local 303 values.put(Directory._ID, Directory.DEFAULT); 304 values.put(Directory.PACKAGE_NAME, mContext.getApplicationInfo().packageName); 305 values.put(Directory.DIRECTORY_AUTHORITY, ContactsContract.AUTHORITY); 306 values.put(Directory.TYPE_RESOURCE_ID, R.string.default_directory); 307 values.put(DirectoryColumns.TYPE_RESOURCE_NAME, 309 values.put(Directory.EXPORT_SUPPORT, Directory.EXPORT_SUPPORT_NONE); 310 values.put(Directory.SHORTCUT_SUPPORT, Directory.SHORTCUT_SUPPORT_FULL); 311 values.put(Directory.PHOTO_SUPPORT, Directory.PHOTO_SUPPORT_FULL); 312 db.replace(Tables.DIRECTORIES, null, values); 316 ContentValues values = new ContentValues(); local 493 ContentValues values = new ContentValues(); local [all...] |
LegacyApiSupport.java | [all...] |
/cts/suite/pts/utils/ |
get_csv_report.py | 80 values = [] 82 values.append(getText(c)) 83 details[d.getAttribute("message")] = values 158 values = [] 160 values.append(str(deviceResults[j].getInfoV(keys[i]))) 161 reportInfo[keys[i]] = values 176 values = {} 179 values["result"] = result.getResult() 180 values["summary"] = result.getSummary() 181 values["details"] = result.getDetails( [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_constants.c | 111 const float (*values)[4]) 143 values[i], 152 values[i][0], 153 values[i][1], 154 values[i][2], 155 values[i][3]); 163 values[j], 171 values[j][0], 172 values[j][1], 173 values[j][2] [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
SetNavigationTester.java | 45 private List<E> values; field in class:SetNavigationTester 53 values = Helpers.copyToList(getSubjectGenerator().getSampleElements( 55 Collections.sort(values, navigableSet.comparator()); 58 if (values.size() >= 1) { 59 a = values.get(0); 60 if (values.size() >= 3) { 61 b = values.get(1); 62 c = values.get(2); 156 values.subList(1, values.size()), Helpers.copyToList(navigableSet)) [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_constants.c | 111 const float (*values)[4]) 143 values[i], 152 values[i][0], 153 values[i][1], 154 values[i][2], 155 values[i][3]); 163 values[j], 171 values[j][0], 172 values[j][1], 173 values[j][2] [all...] |
/frameworks/base/core/java/android/preference/ |
MultiSelectListPreference.java | 35 * This set will contain one or more values from the 98 * @param entryValues The array to be used as values to save for the preference. 106 * @param entryValuesResId The entry values array as a resource. 113 * Returns the array of values to be saved for the preference. 115 * @return The array of values. 125 * @param values The values to set for the key. 127 public void setValues(Set<String> values) { 129 mValues.addAll(values); 131 persistStringSet(values); 186 final Set<String> values = mValues; local 201 final Set<String> values = mNewValues; local 241 Set<String> values; field in class:MultiSelectListPreference.SavedState [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
BuildResults.java | 41 double[][] values; field in class:BuildResults 60 * Clean values when several measures has been done for the same build. 63 int length = this.values.length; 65 int vLength = this.values[dim_id].length; 68 IStatus status = new Status(IStatus.WARNING, PerformanceTestPlugin.PLUGIN_ID, "Clean "+vLength+" values for "+this.parent+">"+this.name+" ("+this.count[dim_id]+" measures)..."); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$//$NON-NLS-4$ //$NON-NLS-5$ 74 this.average[dim_id] += this.values[dim_id][i]; 79 double deviation= this.average[dim_id] - this.values[dim_id][i]; 83 this.values[dim_id] = null; 86 if (this.values[i] != null) { 90 this.values = null [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MatrixTest.java | 181 float[] values = new float[9]; local 182 mMatrix.getValues(values); 201 float[] values = new float[9]; local 202 values[0] = 1000; 204 matrix.setValues(values); 256 float[] values = new float[9]; local 257 values[0] = 1000; 258 matrix.setValues(values); 301 float[] values = new float[9]; local 302 values[0] = 1000f 375 float[] values = new float[9]; local 465 float[] values = new float[9]; local [all...] |
CanvasTest.java | 709 final float[] values = new float[FLOAT_ARRAY_LEN]; local 710 mCanvas.getMatrix().getValues(values); 711 assertEquals(1.0f, values[0]); 712 assertEquals(0.0f, values[1]); 713 assertEquals(0.1f, values[2]); 714 assertEquals(0.0f, values[3]); 715 assertEquals(1.0f, values[4]); 716 assertEquals(0.28f, values[5]); 717 assertEquals(0.0f, values[6]); 718 assertEquals(0.0f, values[7]) 727 final float[] values = new float[FLOAT_ARRAY_LEN]; local 745 final float[] values = new float[FLOAT_ARRAY_LEN]; local 763 final float[] values = new float[FLOAT_ARRAY_LEN]; local 781 final float[] values = new float[FLOAT_ARRAY_LEN]; local 799 final float[] values = new float[FLOAT_ARRAY_LEN]; local 816 final float[] values = {0, 1, 2, 3, 4, 5, 6, 7, 8}; local 1718 final float[] values = new float[FLOAT_ARRAY_LEN]; local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_MediaTest.java | 219 ContentValues values = new ContentValues(); local 220 values.put(Media.ORIENTATION, 0); 221 values.put(Media.PICASA_ID, 0); 223 values.put(Media.DATE_TAKEN, dateTaken); 224 values.put(Media.DESCRIPTION, "This is a image"); 225 values.put(Media.LATITUDE, 40.689060d); 226 values.put(Media.LONGITUDE, -74.044636d); 227 values.put(Media.IS_PRIVATE, 1); 228 values.put(Media.MINI_THUMB_MAGIC, 0); 229 values.put(Media.DATA, externalPath) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiverService.java | 413 ContentValues values = new ContentValues(1); local 415 values.put(Sms.TYPE, Sms.MESSAGE_TYPE_QUEUED); 419 values, "type = " + Sms.MESSAGE_TYPE_OUTBOX, null); 431 ContentValues values = new ContentValues(3); local 433 values.put(Sms.TYPE, Sms.MESSAGE_TYPE_FAILED); 434 values.put(Sms.ERROR_CODE, SmsManager.RESULT_ERROR_GENERIC_FAILURE); 435 values.put(Sms.READ, Integer.valueOf(0)); 439 values, "type = " + Sms.MESSAGE_TYPE_OUTBOX, null); 490 ContentValues values = extractContentValues(sms); local 491 values.put(Sms.ERROR_CODE, error) 551 ContentValues values = extractContentValues(sms); local 620 ContentValues values = new ContentValues(); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapContentObserver.java | 360 for (Msg msg : mMsgListSms.values()) { 423 for (Msg msg : mMsgListMms.values()) { 773 ContentValues values = new ContentValues(); local 774 values.put("msg_box", folder); 776 values.put("read", 0); 777 values.put("seen", 0); 778 values.put("sub", msg.getSubject()); 779 values.put("sub_cs", 106); 780 values.put("ct_t", "application/vnd.wap.multipart.related"); 781 values.put("exp", 604800) 903 ContentValues values = new ContentValues(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateHandlerTest.java | 301 NewProjectWizardState values = new NewProjectWizardState(); local 302 values.applicationName = "My Application"; 303 values.packageName = "my.pkg2"; 305 values.isLibrary = false; 306 values.createIcon = false; 307 values.useDefaultLocation = true; 308 values.createActivity = false; 311 values.projectName = projectNameBase; 312 values.createActivity = false; 318 state.minSdkLevel = values.minSdkLevel 412 NewProjectWizardState values = new NewProjectWizardState(); local 531 NewTemplateWizardState values = local 679 NewTemplateWizardState values = local [all...] |
/dalvik/hit/src/com/android/hit/ |
State.java | 61 for (Heap heap: mHeaps.values()) { 112 for (Heap heap: mHeaps.values()) { 125 for (Heap heap: mHeaps.values()) { 137 for (Heap heap: mHeaps.values()) { 149 for (Heap heap: mHeaps.values()) { 157 for (Heap heap: mHeaps.values()) { 165 for (Heap heap: mHeaps.values()) { 173 for (Heap heap: mHeaps.values()) {
|
/dalvik/vm/mterp/x86/ |
stub.S | 6 LOAD_PC_FP_FROM_SELF # retrieve updated values
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_MapTest2.java | 46 assertTrue("Should not have values", !map.values().iterator() 60 assertTrue("Should not have values", !map.values().iterator()
|
/external/ceres-solver/include/ceres/ |
problem.h | 263 void AddParameterBlock(double* values, int size); 269 void AddParameterBlock(double* values, 287 void RemoveParameterBlock(double* values); 301 void SetParameterBlockConstant(double* values); 304 void SetParameterBlockVariable(double* values); 312 void SetParameterization(double* values, 332 int ParameterBlockSize(const double* values) const; 337 int ParameterBlockLocalSize(const double* values) const; 393 // Note 1: The evaluation will use the values stored in the memory
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/ |
controller.js | 78 var values, accumulator, operator, operand; 80 values = this.model.handle(input); 81 accumulator = values.accumulator; 82 operator = values.operator; 83 operand = values.operand; 90 this.view.addValues({operator: values.operator}); 98 Controller.prototype.updateValues_ = function(values) { 99 // Values which are "finalized" (which have an accumulator value) shouldn't 102 var after = !before.accumulator ? values : {};
|
/external/chromium_org/tools/gn/secondary/build/config/win/ |
get_msvc_config.py | 46 def WriteEnvFile(file_path, values): 48 f.write(_FormatAsEnvironmentBlock(values))
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
tcmalloc_heap_profiler.py | 38 for values in properties.itervalues(): 40 'getprop ' + values[0]) 43 print 'Setting device property ', values[0], values[1] 45 'setprop ' + values[0] + ' ' + str(values[1])) 82 for key, values in env_vars.iteritems(): 84 msg += '%s=%s ' % (key, str(values[1]))
|
/external/guava/guava/src/com/google/common/collect/ |
ForwardingListMultimap.java | 51 @Override public List<V> replaceValues(K key, Iterable<? extends V> values) { 52 return delegate().replaceValues(key, values);
|