/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
PolicyInformation.java | 92 Object[] values = (Object[]) in.content; 93 return new PolicyInformation(ObjectIdentifier.toString((int[]) values[0])); 96 @Override protected void getValues(Object object, Object[] values) { 98 values[0] = ObjectIdentifier.toIntArray(pi.policyIdentifier);
|
SubjectPublicKeyInfo.java | 157 Object[] values = (Object[]) in.content; 159 (AlgorithmIdentifier) values[0], 160 ((BitString) values[1]).bytes, 161 ((BitString) values[1]).unusedBits, 165 @Override protected void getValues(Object object, Object[] values) { 167 values[0] = spki.algorithmID; 168 values[1] = new BitString(spki.subjectPublicKey, spki.unusedBits);
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
ImDataItem.java | 32 /* package */ ImDataItem(ContentValues values) { 33 super(values); 37 private ImDataItem(ContentValues values, boolean createdFromEmail) { 38 super(values); 61 * Values are one of Im.PROTOCOL_
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestSyncAdapter.java | 55 ContentValues values = new ContentValues(); local 56 values.put(RawContacts.ACCOUNT_NAME, account.name); 57 values.put(RawContacts.ACCOUNT_TYPE, account.type); 58 final int count = cr.update(RawContacts.CONTENT_URI, values,
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetInfo.java | 58 // Since the widget isn't instantiated yet, we don't know these values. Set them to -1 65 void onAddToDatabase(ContentValues values) { 66 super.onAddToDatabase(values); 67 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId); 68 values.put(LauncherSettings.Favorites.APPWIDGET_PROVIDER, providerName.flattenToString());
|
ShortcutInfo.java | 150 void onAddToDatabase(ContentValues values) { 151 super.onAddToDatabase(values); 154 values.put(LauncherSettings.BaseLauncherColumns.TITLE, titleStr); 157 values.put(LauncherSettings.BaseLauncherColumns.INTENT, uri); 160 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE, 162 writeBitmap(values, mIcon); 165 writeBitmap(values, mIcon); 167 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE, 170 values.put(LauncherSettings.BaseLauncherColumns.ICON_PACKAGE, 172 values.put(LauncherSettings.BaseLauncherColumns.ICON_RESOURCE [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ClassZeroActivity.java | 186 ContentValues values = new ContentValues(); local 188 values.put(Inbox.ADDRESS, sms.getDisplayOriginatingAddress()); 192 values.put(Inbox.DATE, new Long(System.currentTimeMillis())); 193 values.put(Inbox.PROTOCOL, sms.getProtocolIdentifier()); 194 values.put(Inbox.READ, Integer.valueOf(mRead ? 1 : 0)); 195 values.put(Inbox.SEEN, Integer.valueOf(mRead ? 1 : 0)); 198 values.put(Inbox.SUBJECT, sms.getPseudoSubject()); 200 values.put(Inbox.REPLY_PATH_PRESENT, sms.isReplyPathPresent() ? 1 : 0); 201 values.put(Inbox.SERVICE_CENTER, sms.getServiceCenterAddress()); 202 return values; 206 ContentValues values = extractContentValues(sms); local 238 ContentValues values = extractContentValues(sms); local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileDatabaseHelper.java | 69 ContentValues values = new ContentValues(); local 70 values.put(SEQUENCE_NAME, table); 71 values.put(SEQUENCE_SEQ, Profile.MIN_ID); 72 db.insert(SEQUENCE_TABLE, null, values);
|
DataRowHandler.java | 110 ContentValues values) { 111 final long dataId = db.insert(Tables.DATA, null, values); 113 final Integer primary = values.getAsInteger(Data.IS_PRIMARY); 114 final Integer superPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY); 136 if (containsSearchableColumns(values)) { 150 ContentValues values, Cursor c, boolean callerIsSyncAdapter) { 154 handlePrimaryAndSuperPrimary(values, dataId, rawContactId); 156 if (values.size() > 0) { 158 db.update(Tables.DATA, values, Data._ID + " =?", mSelectionArgs1); 161 if (containsSearchableColumns(values)) { 322 final ContentValues values = new ContentValues(); local [all...] |
DefaultCallLogInsertionHelper.java | 64 public void addComputedValues(ContentValues values) { 67 values.put(Calls.COUNTRY_ISO, countryIso); 69 values.put(Calls.GEOCODED_LOCATION, 70 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso)); 72 final String number = values.getAsString(Calls.NUMBER); 74 values.put(Calls.NUMBER_PRESENTATION, Calls.PRESENTATION_UNKNOWN); 75 values.put(Calls.NUMBER, "");
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
DeletedContactsTableUtil.java | 57 ContentValues values = new ContentValues(); local 58 values.put(ContactsContract.DeletedContacts.CONTACT_ID, contactId); 59 values.put(ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP, 62 return db.insertWithOnConflict(ContactsDatabaseHelper.Tables.DELETED_CONTACTS, null, values,
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallerInfoIntegrationTest.java | 41 ContentValues values = new ContentValues(); local 42 values.put(RawContacts.CUSTOM_RINGTONE, "ring"); 43 values.put(RawContacts.SEND_TO_VOICEMAIL, 1); 45 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values);
|
ContactsProvider2TransactionTest.java | 63 final ContentValues values = cv(RawContacts.LAST_TIME_CONTACTED, 12345); local 67 mResolver.insert(RawContacts.CONTENT_URI, values); 77 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values); 90 final ContentValues values = cv(RawContacts.LAST_TIME_CONTACTED, 12345); local 93 mResolver.insert(RawContacts.CONTENT_URI, values); 94 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values); 96 values.clear(); 97 values.put(RawContacts.LAST_TIME_CONTACTED, 99999); 101 assertTrue(mResolver.update(RawContacts.CONTENT_URI, values, null, null) > 0); 111 assertTrue(mResolver.update(Profile.CONTENT_RAW_CONTACTS_URI, values, null, null) > 0) 124 final ContentValues values = cv(RawContacts.LAST_TIME_CONTACTED, 12345); local 153 final ContentValues values = cv(RawContacts.LAST_TIME_CONTACTED, 12345); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_array_in_pointer.py | 21 # create an array of 4 values 31 # set the values of the array through the pointer: 35 values = [c.pvalues[i].val for i in range(4)] 39 (values, dump(val_array)), 51 # set the values of the array through the pointer: 55 values = [ptr[i].val for i in range(4)] 59 (values, dump(val_array)),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_array_in_pointer.py | 21 # create an array of 4 values 31 # set the values of the array through the pointer: 35 values = [c.pvalues[i].val for i in range(4)] 39 (values, dump(val_array)), 51 # set the values of the array through the pointer: 55 values = [ptr[i].val for i in range(4)] 59 (values, dump(val_array)),
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
IUnknownDescriptorProvider.java | 19 import com.android.ide.eclipse.adt.internal.editors.values.uimodel.UiItemElementNode;
|
/system/media/camera/docs/ |
metadata_helpers_test.py | 12 enum_calculate_value_string(list(enum.values)[idx])) 14 plain_enum = Enum(parent=None, values=['ON', 'OFF']) 20 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={ 31 values=['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H'],
|
/external/chromium_org/chrome/browser/task_manager/ |
task_manager.cc | 310 PerResourceValues& values(GetPerResourceValues(index)); 311 if (!values.is_process_id_valid) { 312 values.is_process_id_valid = true; 313 values.process_id = base::GetProcId(GetResource(index)->GetProcess()); 315 return values.process_id; 401 PerResourceValues& values = GetPerResourceValues(index); local 402 if (!values.is_title_valid) { 403 values.is_title_valid = true; 404 values.title = GetResource(index)->GetTitle(); 406 return values.title 1294 PerResourceValues* values = &(per_resource_cache_[iter->first]); local [all...] |
/bionic/tests/ |
property_benchmark.cpp | 53 values = new char* [nprops]; 66 values[i] = new char[PROP_VALUE_MAX]; 68 values[i][j] = prop_name_chars[random() % (sizeof(prop_name_chars) - 1)]; 70 __system_property_add(names[i], name_lens[i], values[i], value_lens[i]); 88 delete values[i]; 92 delete[] values; 99 char **values; member in struct:LocalPropertyTestState
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentQueryMapTest.java | 145 ContentValues values = new ContentValues(); local 146 values.put(DummyProvider.NAME, NAME2); 147 values.put(DummyProvider.VALUE, VALUE2); 148 mResolver.update(DummyProvider.CONTENT_URI, values, 179 ContentValues values = new ContentValues(); local 180 values.put(DummyProvider.NAME, NAME2); 181 values.put(DummyProvider.VALUE, VALUE2); 182 mResolver.update(DummyProvider.CONTENT_URI, values, 185 // values have not been updated 223 values = new ContentValues() 281 ContentValues values = new ContentValues(); local [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
EmptyCachesTest.java | 176 // values of these removes, but the cache should be empty after the removes, regardless. 189 /* ---------------- Values -------------- */ 193 Collection<Object> values = cache.asMap().values(); local 195 values.toArray(null); 207 cache.asMap().values().add(1); 214 cache.asMap().values().addAll(asList(1, 2)); 226 Collection<Object> values = cache.asMap().values(); local 227 values.clear() 235 Collection<Object> values = cache.asMap().values(); local 251 Collection<Object> values = cache.asMap().keySet(); local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg_exif.c | 79 uint8_t *values = (uint8_t *)malloc(count); local 80 if (values == NULL) { 84 memcpy(values, data, count); 85 p_info_data[numOfEntries].tag_entry.data._bytes = values; 107 uint16_t *values = (uint16_t *)malloc(count * sizeof(uint16_t)); local 108 if (values == NULL) { 112 memcpy(values, data, count * sizeof(uint16_t)); 113 p_info_data[numOfEntries].tag_entry.data._shorts = values; 122 uint32_t *values = (uint32_t *)malloc(count * sizeof(uint32_t)); local 123 if (values == NULL) 137 rat_t *values = (rat_t *)malloc(count * sizeof(rat_t)); local 151 uint8_t *values = (uint8_t *)malloc(count); local 163 int32_t *values = (int32_t *)malloc(count * sizeof(int32_t)); local 178 srat_t *values = (srat_t *)malloc(count * sizeof(srat_t)); local [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsProvider.java | 270 public Uri insert(Uri uri, ContentValues values) { 272 if (values != null && values.containsKey(Part._DATA)) { 286 Object msgBoxObj = values.getAsInteger(Mms.MESSAGE_BOX); 334 boolean addDate = !values.containsKey(Mms.DATE); 335 boolean addMsgBox = !values.containsKey(Mms.MESSAGE_BOX); 338 filterUnsupportedKeys(values); 342 finalValues = new ContentValues(values); 360 Long threadId = values.getAsLong(Mms.THREAD_ID); 361 String address = values.getAsString(CanonicalAddressesColumns.ADDRESS) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
City.java | 49 ContentValues values = new ContentValues(COLUMN_COUNT); local 50 values.put(CITY_ID, city.mCityId); 51 values.put(CITY_NAME, city.mCityName); 52 values.put(TIMEZONE_NAME, city.mTimezoneName); 53 values.put(TIMEZONE_OFFSET, city.mTimezoneOffset); 54 return values; 107 * replaced by the values from selectionArgs, in the order that they 108 * appear in the selection. The values will be bound as Strings. 134 ContentValues values = createContentValues(city); local 135 Uri uri = contentResolver.insert(CONTENT_URI, values); 141 ContentValues values = createContentValues(city); local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutInfo.java | 117 void onAddToDatabase(ContentValues values) { 118 super.onAddToDatabase(values); 121 values.put(LauncherSettings.BaseLauncherColumns.TITLE, titleStr); 124 values.put(LauncherSettings.BaseLauncherColumns.INTENT, uri); 127 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE, 129 writeBitmap(values, mIcon); 132 writeBitmap(values, mIcon); 134 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE, 137 values.put(LauncherSettings.BaseLauncherColumns.ICON_PACKAGE, 139 values.put(LauncherSettings.BaseLauncherColumns.ICON_RESOURCE [all...] |