/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_MediaTest.java | 70 ContentValues values = new ContentValues(); local 71 values.put(Media.ALBUM, "cts"); 72 values.put(Media.ARTIST, "cts team"); 73 values.put(Media.CATEGORY, "test"); 75 values.put(Media.DATE_TAKEN, dateTaken); 76 values.put(Media.DESCRIPTION, "This is a video"); 77 values.put(Media.DURATION, 8480); 78 values.put(Media.LANGUAGE, "en"); 79 values.put(Media.LATITUDE, 40.689060d); 80 values.put(Media.LONGITUDE, -74.044636d) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Interpolator.java | 36 * Reset the Interpolator to have the specified number of values and an 38 * values for each keyFrame must be assigned using setKeyFrame(). 45 * Reset the Interpolator to have the specified number of values and 46 * keyFrames. After this call the values for each keyFrame must be assigned 65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear 66 * transition to the next set of key values). 71 * @param values Array of values associated with theis key frame 73 public void setKeyFrame(int index, int msec, float[] values) { 74 setKeyFrame(index, msec, values, null) [all...] |
/frameworks/base/test-runner/src/junit/runner/ |
Sorter.java | 15 public void swap(Vector values, int left, int right); 18 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 21 String mid= (String)values.elementAt((left + right) / 2); 23 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 25 while (mid.compareTo((String)(values.elementAt(right))) < 0) 28 swapper.swap(values, left, right); 35 sortStrings(values, oleft, right, swapper); 37 sortStrings(values, left, oright, swapper);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
navigation1-expected-navigate1.txt | 2 Open Declaration in values/strings.xml : [@string/app_name] 3 L/PROJECTNAME/res/values/strings.xml
|
navigation1-expected-navigate2.txt | 2 Open Declaration in values/dimens.xml : [@android:dimen/app_icon_size] 3 data/res/values/dimens.xml
|
navigation1-expected-navigate3.txt | 2 Open Declaration in values/styles.xml : [@android:style/Widget.Button] 3 data/res/values/styles.xml
|
navigationstyles-expected-navigate5.txt | 2 Open Declaration in values/themes.xml : [android:Theme.Light] 3 data/res/values/themes.xml
|
navigationstyles-expected-navigate6.txt | 2 Open Declaration in values/themes.xml : [android:Theme] 3 data/res/values/themes.xml
|
navigationstyles-expected-navigate8.txt | 2 Open Declaration in values/navigationstyles.xml : [@color/custom_theme_color] 3 L/PROJECTNAME/res/values/navigationstyles.xml
|
/external/libffi/testsuite/libffi.call/ |
strlen.c | 19 void *values[MAX_ARGS]; local 24 values[0] = (void*) &s; 31 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); 35 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); 39 ffi_call(&cif, FFI_FN(my_strlen), &rint, values);
|
strlen_win32.c | 20 void *values[MAX_ARGS]; local 24 values[0] = (void*) &s; 31 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); 35 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); 39 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values);
|
/external/webkit/LayoutTests/storage/ |
null-callbacks.html | 22 tx.executeSql("INSERT INTO Test VALUES (?)", [1], null, null); 23 tx.executeSql("INSERT INTO Test VALUES (?)", [2], null); 24 tx.executeSql("INSERT INTO Test VALUES (3)", null, null, null); 25 tx.executeSql("INSERT INTO Test VALUES (?)", [4], null, 30 tx.executeSql("INSERT INTO Test VALUES (?)", [5]);
|
executesql-accepts-only-one-statement.html | 61 executeStatement(true, "INSERT INTO Test VALUES (1)"); 62 executeStatement(true, "INSERT INTO Test VALUES (2);"); 63 executeStatement(true, " INSERT INTO Test VALUES (3) "); 64 executeStatement(true, " INSERT INTO Test VALUES (4); "); 65 executeStatement(true, "INSERT INTO Test VALUES (5) ;"); 66 executeStatement(false, "INSERT INTO Test VALUES (6); garbage"); 67 executeStatement(false, "INSERT INTO Test VALUES (7); INSERT INTO Test VALUES (8)"); 68 executeStatement(false, " INSERT INTO Test VALUES (9); INSERT INTO Test VALUES (10); ") [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/ |
hlr_auc_gw.milenage_db | 2 # The example Ki, OPc, and AMF values here are from 3GPP TS 35.208 v6.0.0 4 # These values can be used for both UMTS (EAP-AKA) and GSM (EAP-SIM) 5 # authentication. In case of GSM/EAP-SIM, AMF and SQN values are not used, but 6 # dummy values will need to be included in this file. 11 # These values are from Test Set 19 which has the AMF separation bit set to 1
|
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.milenage_db | 2 # The example Ki, OPc, and AMF values here are from 3GPP TS 35.208 v6.0.0 4 # These values can be used for both UMTS (EAP-AKA) and GSM (EAP-SIM) 5 # authentication. In case of GSM/EAP-SIM, AMF and SQN values are not used, but 6 # dummy values will need to be included in this file. 11 # These values are from Test Set 19 which has the AMF separation bit set to 1
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnProfile.java | 69 String[] values = new String(value, Charsets.UTF_8).split("\0", -1); local 70 // There can be 14 or 15 values in ICS MR1. 71 if (values.length < 14 || values.length > 15) { 76 profile.name = values[0]; 77 profile.type = Integer.valueOf(values[1]); 81 profile.server = values[2]; 82 profile.username = values[3]; 83 profile.password = values[4]; 84 profile.dnsServers = values[5] [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerProcessErrorStateInfoTest.java | 79 ActivityManager.ProcessErrorStateInfo values = local 82 assertEquals(condition, values.condition); 83 assertEquals(processName, values.processName); 84 assertEquals(pid, values.pid); 85 assertEquals(uid, values.uid); 86 assertEquals(tag, values.tag); 88 assertEquals(shortMsg, values.shortMsg); 89 assertEquals(longMsg, values.longMsg); 90 assertNull(values.crashData); // Deprecated field: always null 119 ActivityManager.ProcessErrorStateInfo values = new ActivityManager.ProcessErrorStateInfo() local [all...] |
ActivityManagerRecentTaskInfoTest.java | 72 ActivityManager.RecentTaskInfo values = ActivityManager.RecentTaskInfo.CREATOR local 74 assertEquals(id, values.id); 75 assertEquals(null, values.baseIntent); 76 assertEquals(null, values.origActivity); 87 values = ActivityManager.RecentTaskInfo.CREATOR 89 assertEquals(-1, values.id); 90 assertNotNull(values.baseIntent); 91 assertEquals(Intent.ACTION_CALL, values.baseIntent.getAction()); 92 assertEquals(origActivity, values.origActivity); 111 ActivityManager.RecentTaskInfo values = new ActivityManager.RecentTaskInfo() local [all...] |
/development/tools/findunused/ |
findunusedtranslations | 4 print STDERR "Usage: findunusedtranslations values/strings.xml\n"; 6 print STDERR "Will read values/strings.xml and rewrite\n"; 7 print STDERR "values-xx/strings.xml and values-xx-rYY/strings.xml\n"; 18 unless ($ARGV[0] =~ /^(.*)\/values([^\/]*)\/(.*\.xml)/) { 28 $values = $2; 31 if ($values =~ /^(-mcc[^-]*)*(-mnc[^-]*)*(.*)$/) { 32 $pattern1 = "$prefix/values$1$2-??$3/$suffix"; 33 $pattern2 = "$prefix/values$1$2-??-r??$3/$suffix"; 35 $pattern1 = "$prefix/values-??$values/$suffix" [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogProviderTest.java | 92 ContentValues values = getDefaultCallValues(); local 93 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); 94 values.put(Calls.COUNTRY_ISO, "us"); 95 assertStoredValues(uri, values); 96 assertSelection(uri, values, Calls._ID, ContentUris.parseId(uri)); 111 final ContentValues values = getDefaultCallValues(); local 112 values.put(Calls.TYPE, Calls.VOICEMAIL_TYPE); 113 values.put(Calls.VOICEMAIL_URI, "content://foo/voicemail/2"); 119 mResolver.insert(Calls.CONTENT_URI, values); 124 Uri uri = mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, values); 131 ContentValues values = new ContentValues(); local 161 ContentValues values = getDefaultCallValues(); local 185 ContentValues values = new ContentValues(); local 216 final ContentValues values = getDefaultCallValues(); local 247 final ContentValues values = new ContentValues(); local 309 ContentValues values = new ContentValues(); local [all...] |
DirectoryTest.java | 45 ContentValues values = new ContentValues(); local 49 values.put(Directory.PACKAGE_NAME, "contactsTestPackage"); 50 values.put(Directory.DIRECTORY_AUTHORITY, ContactsContract.AUTHORITY); 51 values.put(Directory.TYPE_RESOURCE_ID, R.string.default_directory); 52 values.put(Directory.EXPORT_SUPPORT, Directory.EXPORT_SUPPORT_NONE); 53 values.putNull(Directory.ACCOUNT_NAME); 54 values.putNull(Directory.ACCOUNT_TYPE); 55 values.putNull(Directory.DISPLAY_NAME); 57 assertStoredValues(defaultDirectoryUri, values); 61 ContentValues values = new ContentValues() local [all...] |
/external/bluetooth/glib/gobject/ |
gvaluearray.c | 36 * generic values 41 * object property that holds an array of values. A #GValueArray wraps 71 return value_array->values + index; 87 value_array->values = g_renew (GValue, value_array->values, value_array->n_prealloced); 90 memset (value_array->values + i, 0, 91 (value_array->n_prealloced - i) * sizeof (value_array->values[0])); 102 value_array->values = g_renew (GValue, value_array->values, value_array->n_prealloced); 109 * @n_prealloced: number of values to preallocate space fo [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForPhoto.java | 55 ContentValues values) { 57 if (values.containsKey(SKIP_PROCESSING_KEY)) { 58 values.remove(SKIP_PROCESSING_KEY); 61 if (!preProcessPhoto(values)) { 66 long dataId = super.insert(db, txContext, rawContactId, values); 74 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 78 if (values.containsKey(SKIP_PROCESSING_KEY)) { 79 values.remove(SKIP_PROCESSING_KEY); 82 if (!preProcessPhoto(values)) { 88 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) [all...] |
DataRowHandlerForOrganization.java | 42 ContentValues values) { 43 String company = values.getAsString(Organization.COMPANY); 44 String title = values.getAsString(Organization.TITLE); 46 long dataId = super.insert(db, txContext, rawContactId, values); 53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 55 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 59 boolean containsCompany = values.containsKey(Organization.COMPANY); 60 boolean containsTitle = values.containsKey(Organization.TITLE); 68 company = values.getAsString(Organization.COMPANY); 79 title = values.getAsString(Organization.TITLE) [all...] |
/external/skia/src/core/ |
SkScalar.cpp | 20 const SkScalar values[], int length) { 23 SkASSERT(values != NULL); 31 // Could use sentinel values to eliminate conditionals, but since the 34 return values[length-1]; 36 return values[0]; 41 return SkScalarInterp(values[right-1], values[right], fract);
|