/frameworks/base/media/jni/ |
android_media_Utils.cpp | 26 JNIEnv *env, jobjectArray keys, jobjectArray values, 31 if (keys != NULL && values != NULL) { 33 failed = (nKeyValuePairs != env->GetArrayLength(values)); 37 failed = ((keys != NULL && values == NULL) || 38 (keys == NULL && values != NULL)); 42 LOGE("keys and values arrays have different length"); 51 jstring value = (jstring) env->GetObjectArrayElement(values, i);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
AccessDescription.java | 83 Object[] values = (Object[]) in.content; 85 ObjectIdentifier.toString((int[]) values[0]), 86 (GeneralName) values[1], in.getEncoded()); 89 @Override protected void getValues(Object object, Object[] values) { 91 values[0] = ObjectIdentifier.toIntArray(ad.accessMethod); 92 values[1] = ad.accessLocation;
|
EDIPartyName.java | 91 Object[] values = (Object[]) in.content; 92 return new EDIPartyName((String) values[0], (String) values[1], 96 @Override protected void getValues(Object object, Object[] values) { 98 values[0] = epn.nameAssigner; 99 values[1] = epn.partyName;
|
OtherName.java | 91 Object[] values = (Object[]) in.content; 92 return new OtherName(ObjectIdentifier.toString((int[]) values[0]), 93 (byte[]) values[1], in.getEncoded()); 96 @Override protected void getValues(Object object, Object[] values) { 98 values[0] = ObjectIdentifier.toIntArray(on.typeID); 99 values[1] = on.value;
|
PrivateKeyUsagePeriod.java | 101 Object[] values = (Object[])in.content; 102 return new PrivateKeyUsagePeriod((Date) values[0], (Date) values[1], in.getEncoded()); 105 @Override protected void getValues(Object object, Object[] values) { 107 values[0] = pkup.notBeforeDate; 108 values[1] = pkup.notAfterDate;
|
TBSCertificate.java | 247 Object[] values = (Object[]) in.content; 249 boolean[] issuerUniqueID = (values[7] == null) 250 ? null : ((BitString) values[7]).toBooleanArray(); 251 boolean[] subjectUniqueID = (values[8] == null) 252 ? null : ((BitString) values[8]).toBooleanArray(); 254 ASN1Integer.toIntValue(values[0]), 255 new BigInteger((byte[]) values[1]), 256 (AlgorithmIdentifier) values[2], 257 (Name) values[3], 258 (Validity) values[4] [all...] |
Validity.java | 89 Object[] values = (Object[]) in.content; 90 return new Validity((Date) values[0], (Date) values[1]); 93 @Override protected void getValues(Object object, Object[] values) { 95 values[0] = validity.notBefore; 96 values[1] = validity.notAfter;
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
MessageImprint.java | 52 Object[] values = (Object[]) in.content; 54 (AlgorithmIdentifier)values[0], 55 (byte[])values[1]); 58 protected void getValues(Object object, Object[] values) { 60 values[0] = mi.algId; 61 values[1] = mi.hashedMessage;
|
TimeStampResp.java | 82 Object[] values = (Object[]) in.content; 84 (PKIStatusInfo) values[0], 85 (ContentInfo) values[1]); 88 protected void getValues(Object object, Object[] values) { 91 values[0] = resp.status; 92 values[1] = resp.timeStampToken;
|
PKIStatusInfo.java | 103 protected void getValues(Object object, Object[] values) { 105 values[0] = BigInteger.valueOf(psi.status.getStatus()) 107 values[1] = psi.statusString; 113 values[2] = new BitString(failInfoBoolArray); 115 values[2] = null; 120 Object[] values = (Object[]) in.content; 123 if (values[2] != null) { 124 boolean[] failInfoBoolArray = ((BitString) values[2]).toBooleanArray(); 133 PKIStatus.getInstance(ASN1Integer.toIntValue(values[0])), 134 (List)values[1] [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
StructuredNameEditorView.java | 108 ValuesDelta values = getValues(); local 112 values.put(field, mSnapshot.getAsString(field)); 117 String displayName = values.getAsString(StructuredName.DISPLAY_NAME); 121 eraseFullName(values); 123 values.put(field, structuredNameMap.get(field)); 128 mSnapshot.putAll(values.getCompleteValues()); 133 ValuesDelta values = getValues(); local 136 values.put(StructuredName.DISPLAY_NAME, 141 Map<String, String> structuredNameMap = valuesToStructuredNameMap(values); 145 eraseStructuredName(values); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForCommonDataKind.java | 43 ContentValues values) { 44 enforceTypeAndLabel(values); 45 return super.insert(db, txContext, rawContactId, values); 49 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 52 final ContentValues augmented = getAugmentedValues(db, dataId, values); 57 return super.update(db, txContext, values, c, callerIsSyncAdapter);
|
DataRowHandlerForStructuredPostal.java | 55 ContentValues values) { 56 fixStructuredPostalComponents(values, values); 57 return super.insert(db, txContext, rawContactId, values); 61 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 64 final ContentValues augmented = getAugmentedValues(db, dataId, values); 69 fixStructuredPostalComponents(augmented, values); 70 super.update(db, txContext, values, c, callerIsSyncAdapter); 77 * values when missing. When structured components are missing, the 106 public boolean containsSearchableColumns(ContentValues values) { [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
DBQueryUtilsTest.java | 60 final ContentValues values = new ContentValues(); local 61 values.put("A", "?"); 62 values.put("C", "?"); 64 checkForSupportedColumns(projectionMap, values); 69 values.put("D", "?"); 70 checkForSupportedColumns(projectionMap, values);
|
/sdk/common/src/com/android/resources/ |
ResourceType.java | 80 for (ResourceType rType : values()) { 99 ResourceType[] values = values(); local 100 String[] names = new String[values.length]; 101 for (int i = values.length - 1; i >= 0; --i) { 102 names[i] = values[i].getName();
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VoicemailProviderTest.java | 108 ContentValues values = new ContentValues(); local 109 values.put(Voicemails.NUMBER, "1-800-263-7643"); 110 values.put(Voicemails.DATE, 2000); 111 values.put(Voicemails.DURATION, 40); 112 values.put(Voicemails.STATE, 2); 113 values.put(Voicemails.HAS_CONTENT, 1); 114 values.put(Voicemails.SOURCE_DATA, "foo"); 115 int count = mResolver.update(uri, values, null, null); 117 assertStoredValues(uri, values); 133 ContentValues values = getTestVoicemailValues() local 367 final ContentValues values = getTestVoicemailValues(); local 398 final ContentValues values = getTestVoicemailValues(); local 413 ContentValues values = getTestStatusValues(); local 422 ContentValues values = getTestStatusValues(); local 423 assertNotNull(mResolver.insert(statusUri(), values)); local 428 assertNull(mResolver.insert(statusUri(), values)); local 433 assertNotNull(mResolver.insert(statusUri(), values)); local 439 ContentValues values = getTestStatusValues(); local 468 final ContentValues values = getTestStatusValues(); local 535 ContentValues values = getTestVoicemailValues(); local 541 ContentValues values = new ContentValues(); local 557 ContentValues values = new ContentValues(); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 76 ContentValues values = new ContentValues(); local 77 values.put(Playlists.NAME, "My favourites"); 78 values.put(Playlists.DATA, externalPlaylistPath); 81 values.put(Playlists.DATE_MODIFIED, dateModified); 83 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); 102 values.clear(); 103 values.put(Playlists.NAME, "xxx"); 105 values.put(Playlists.DATE_MODIFIED, dateModified); 106 assertEquals(1, mContentResolver.update(uri, values, null, null)); 122 ContentValues values = new ContentValues() local [all...] |
/frameworks/base/core/java/android/database/ |
CursorJoiner.java | 24 * supports the case where the tuple of key column values is unique. 149 * next() are guaranteed to point to the row that was indicated. Reading values 196 * array and saves them in values beginning at startingIndex, skipping a slot 198 * values will be stored in slots 1, 3, and 5. 199 * @param values the String[] to populate 201 * @param columnIndicies the indicies of the values to read from the cursor 202 * @param startingIndex the slot in which to start storing values, and must be either 0 or 1. 204 private static void populateValues(String[] values, Cursor cursor, int[] columnIndicies, 208 values[startingIndex + i*2] = cursor.getString(columnIndicies[i]); 235 * Compare the values. Values contains n pairs of strings. If all the pairs of strings matc [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/ |
CertificationRequestInfo.java | 116 Object[] values = (Object[]) in.content; 118 ASN1Integer.toIntValue(values[0]), 119 (Name) values[1], 120 (SubjectPublicKeyInfo) values[2], 121 (List<?>) values[3], 125 @Override protected void getValues(Object object, Object[] values) { 127 values[0] = ASN1Integer.fromIntValue(certReqInfo.version); 128 values[1] = certReqInfo.subject; 129 values[2] = certReqInfo.subjectPublicKeyInfo; 130 values[3] = certReqInfo.attributes [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs8/ |
PrivateKeyInfo.java | 115 Object[] values = (Object[]) in.content; 116 return new PrivateKeyInfo(ASN1Integer.toIntValue(values[0]), 117 (AlgorithmIdentifier) values[1], (byte[]) values[2], 118 (List) values[3], in.getEncoded()); 121 protected void getValues(Object object, Object[] values) { 123 values[0] = ASN1Integer.fromIntValue(privateKeyInfo.version); 124 values[1] = privateKeyInfo.privateKeyAlgorithm; 125 values[2] = privateKeyInfo.privateKey; 126 values[3] = privateKeyInfo.attributes [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
TranslateAnimationTest.java | 102 // Test negative input values 109 // Test negative input values 141 float values[] = new float[9]; local 144 transformation.getMatrix().getValues(values); 145 assertEquals(FROM_X_DETLTA, values[Matrix.MTRANS_X], POSITION_DELTA); 146 assertEquals(FROM_Y_DELTA, values[Matrix.MTRANS_Y], POSITION_DELTA); 150 transformation.getMatrix().getValues(values); 151 assertEquals((TO_X_DELTA + FROM_X_DETLTA) / 2, values[Matrix.MTRANS_X], POSITION_DELTA); 152 assertEquals((TO_Y_DELTA + FROM_Y_DELTA) / 2, values[Matrix.MTRANS_Y], POSITION_DELTA); 156 transformation.getMatrix().getValues(values); 214 float values[] = new float[9]; local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/calllog/ |
FillCallLogTestActivity.java | 102 * Creates a {@link ContentValues} object containing values corresponding to the given cursor. 104 * @param cursor the cursor from which to get the values 105 * @return a newly created content values object 108 ContentValues values = new ContentValues(); local 114 values.put(name, cursor.getString(column)); 117 values.put(name, cursor.getLong(column)); 120 values.put(name, cursor.getDouble(column)); 123 values.put(name, cursor.getBlob(column)); 126 values.putNull(name); 133 return values; 166 ContentValues[] values = new ContentValues[dataCount]; local 225 ContentValues values = mValues[index % mValues.length]; local [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_sample_files.c | 71 struct mangle_values values; local 74 values.flags = 0; 76 values.flags |= MANGLE_KERNEL; 79 values.flags |= MANGLE_TGID | MANGLE_TID; 80 values.tid = image->tid; 81 values.tgid = image->tgid; 85 values.flags |= MANGLE_CPU; 86 values.cpu = cpu_nr; 89 values.event_name = event->name; 90 values.count = event->count [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
ContentInfo.java | 115 @Override protected void getValues(Object object, Object[] values) { 117 values[0] = ci.oid; 121 values[1] = 125 values[1] = SignedData.ASN1.encode(ci.content); 127 values[1] = ci.content; 133 Object[] values = (Object[]) in.content; 134 int[] oid = (int[]) values[0]; 136 if (values[1] != null) { 138 ASN1OctetString.getInstance().decode((byte[])values[1]), 141 return new ContentInfo((int[])values[0], null [all...] |
SignedData.java | 121 @Override protected void getValues(Object object, Object[] values) { 123 values[0] = new byte[] {(byte)sd.version}; 124 values[1] = sd.digestAlgorithms; 125 values[2] = sd.contentInfo; 126 values[3] = sd.certificates; 127 values[4] = sd.crls; 128 values[5] = sd.signerInfos; 132 Object[] values = (Object[]) in.content; 134 ASN1Integer.toIntValue(values[0]), 135 (List<?>) values[1] [all...] |