HomeSort by relevance Sort by last modified time
    Searched refs:values (Results 151 - 175 of 10326) sorted by null

1 2 3 4 5 67 8 91011>>

  /frameworks/ml/bordeaux/learning/multiclass_pa/jni/
jni_multiclass_pa.cpp 26 void CreateIndexValuePairs(const int* indices, const float* values,
31 pair<int, float> new_pair(indices[i], values[i]);
66 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
71 if (values && indices && value_len == index_len) {
74 CreateIndexValuePairs(indices, values, value_len, &inputs);
77 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT);
82 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT);
99 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
104 if (values && indices && value_len == index_len) {
106 CreateIndexValuePairs(indices, values, value_len, &inputs)
    [all...]
  /frameworks/support/transition/src/android/support/transition/
ChangeClipBounds.java 57 private void captureValues(TransitionValues values) {
58 View view = values.view;
64 values.values.put(PROPNAME_CLIP, clip);
67 values.values.put(PROPNAME_BOUNDS, bounds);
85 || !startValues.values.containsKey(PROPNAME_CLIP)
86 || !endValues.values.containsKey(PROPNAME_CLIP)) {
89 Rect start = (Rect) startValues.values.get(PROPNAME_CLIP);
90 Rect end = (Rect) endValues.values.get(PROPNAME_CLIP)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DatabaseModifier.java 35 public abstract long insert(String table, String nullColumnHack, ContentValues values);
40 public abstract long insert(ContentValues values);
45 public abstract int update(Uri uri, String table, ContentValues values,
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
VoicemailProviderTest.java 98 ContentValues values = getTestReadVoicemailValues(); local
99 Uri uri = mResolver.insert(voicemailUri(), values);
112 assertCursorValues(c, values);
142 ContentValues values = new ContentValues(); local
143 values.put(Voicemails.NUMBER, "1-800-263-7643");
144 values.put(Voicemails.DATE, 2000);
145 values.put(Voicemails.DURATION, 40);
146 values.put(Voicemails.TRANSCRIPTION, "Testing 123");
147 values.put(Voicemails.STATE, 2);
148 values.put(Voicemails.HAS_CONTENT, 1)
167 ContentValues values = getTestVoicemailValues(); local
173 ContentValues values = getTestVoicemailValues(); local
204 ContentValues values = getTestVoicemailValues(); local
238 ContentValues values = new ContentValues(); local
249 ContentValues values = getTestVoicemailValues(); local
551 final ContentValues values = getTestVoicemailValues(); local
582 final ContentValues values = getTestVoicemailValues(); local
597 ContentValues values = getTestStatusValues(); local
605 ContentValues values = getTestStatusValues(); local
617 ContentValues values = getTestStatusValues(); local
618 mResolver.insert(statusUri(), values); local
636 ContentValues values = new ContentValues(); local
647 ContentValues values = new ContentValues(); local
662 ContentValues values = new ContentValues(); local
689 final ContentValues values = getTestStatusValues(); local
756 ContentValues values = getTestVoicemailValues(); local
762 ContentValues values = new ContentValues(); local
779 ContentValues values = getTestVoicemailValues(); local
789 ContentValues values = new ContentValues(); local
    [all...]
GroupsTest.java 162 ContentValues values = new ContentValues(); local
163 values.put(Groups.NOTES, "New notes");
164 mResolver.update(updateUri, values, null, null);
173 ContentValues values = new ContentValues(); local
174 values.put(Groups.DIRTY, 0);
175 values.put(Groups.NOTES, "other notes");
176 assertEquals(1, mResolver.update(uri, values, null, null));
209 ContentValues values = new ContentValues(); local
210 values.put(Groups.TITLE, "title2");
211 mResolver.update(uri, values, null, null)
253 final ContentValues values = new ContentValues(); local
302 final ContentValues values = new ContentValues(); local
315 final ContentValues values = new ContentValues(); local
345 final ContentValues values = new ContentValues(); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_GenresTest.java 64 ContentValues values = new ContentValues(); local
65 values.put(Genres.NAME, "POP");
66 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values);
79 values.clear();
80 values.put(Genres.NAME, "ROCK");
81 assertEquals(1, mContentResolver.update(uri, values, null, null));
93 ContentValues values = new ContentValues(); local
94 values.put(Genres.NAME, "POP");
95 Uri uri = mContentResolver.insert(Genres.INTERNAL_CONTENT_URI, values);
101 ContentValues values = Audio1.getInstance().getContentValues(true) local
    [all...]
MediaStore_Video_MediaTest.java 82 ContentValues values = new ContentValues(); local
83 values.put(Media.ALBUM, "cts");
84 values.put(Media.ARTIST, "cts team");
85 values.put(Media.CATEGORY, "test");
87 values.put(Media.DATE_TAKEN, dateTaken);
88 values.put(Media.DESCRIPTION, "This is a video");
89 values.put(Media.DURATION, 8480);
90 values.put(Media.LANGUAGE, "en");
91 values.put(Media.LATITUDE, 40.689060d);
92 values.put(Media.LONGITUDE, -74.044636d)
237 ContentValues values = new ContentValues(); local
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
ArrayData.java 38 /** {@code non-null;} initial values to be filled into an array */
39 private final ArrayList<Constant> values; field in class:ArrayData
57 * @param values {@code non-null;} initial values to be filled into an array
60 ArrayList<Constant> values,
68 if (values == null) {
69 throw new NullPointerException("values == null");
72 int sz = values.size();
75 throw new IllegalArgumentException("Illegal number of init values");
96 this.values = values
    [all...]
  /dalvik/dx/src/com/android/dx/dex/code/
ArrayData.java 40 /** {@code non-null;} initial values to be filled into an array */
41 private final ArrayList<Constant> values; field in class:ArrayData
59 * @param values {@code non-null;} initial values to be filled into an array
62 ArrayList<Constant> values,
70 if (values == null) {
71 throw new NullPointerException("values == null");
74 int sz = values.size();
77 throw new IllegalArgumentException("Illegal number of init values");
98 this.values = values
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/util/
perf_tests_results_helper.py 27 def FlattenList(values):
30 for entry in values:
73 def _MeanAndStdDevFromList(values):
76 if len(values) > 1:
78 value = '[%s]' % ','.join([_ValueToString(v) for v in values])
79 avg = sum([float(v) for v in values]) / len(values)
80 sqdiffs = [(float(v) - avg) ** 2 for v in values]
81 variance = sum(sqdiffs) / (len(values) - 1)
84 value = ', '.join(values)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/simulator/impl/
SimulatorVoicemail.java 97 ContentValues values = new ContentValues(); local
98 values.put(Status.SOURCE_PACKAGE, handle.getComponentName().getPackageName());
99 values.put(Status.SOURCE_TYPE, TelephonyManager.VVM_TYPE_OMTP);
100 values.put(Status.PHONE_ACCOUNT_COMPONENT_NAME, handle.getComponentName().flattenToString());
101 values.put(Status.PHONE_ACCOUNT_ID, handle.getId());
102 values.put(Status.CONFIGURATION_STATE, Status.CONFIGURATION_STATE_OK);
103 values.put(Status.DATA_CHANNEL_STATE, Status.DATA_CHANNEL_STATE_OK);
104 values.put(Status.NOTIFICATION_CHANNEL_STATE, Status.NOTIFICATION_CHANNEL_STATE_OK);
105 context.getContentResolver().insert(Status.buildSourceUri(context.getPackageName()), values); local
127 ContentValues values = new ContentValues() local
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentValues.java 40 private HashMap<String, Object> values = new HashMap<String, Object>(); field in class:ShadowContentValues
43 values = new HashMap<String, Object>(shadowOf(from).values);
48 values.put(key, value);
53 values.putAll(shadowOf(other).values);
58 values.put(key, value);
63 values.put(key, value);
68 values.put(key, value);
73 values.put(key, value)
    [all...]
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
RecurrenceSetTest.java 43 final ContentValues values = verifyPopulateContentValues(recurrence, local
46 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
56 final ContentValues values = verifyPopulateContentValues(recurrence, local
58 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
67 final ContentValues values = verifyPopulateContentValues(recurrence, local
69 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
80 final ContentValues values = verifyPopulateContentValues(recurrence, local
84 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
95 final ContentValues values = verifyPopulateContentValues(recurrence, null, local
100 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
110 final ContentValues values = verifyPopulateContentValues(recurrence, "FREQ=YEARLY", null, local
138 final ContentValues values = verifyPopulateContentValues(recurrence, local
244 ContentValues values = new ContentValues(); local
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java 262 int[] values = {0, 0, 0, SmsConstants.ENCODING_7BIT, 0, 0}; local
280 values[0] = sTestMsgCounts[i];
281 values[1] = len;
282 values[2] = sSeptetUnitsRemaining[i];
284 callGsmLengthMethods(testStr, false, values);
285 callGsmLengthMethods(testStr, true, values);
286 callCdmaLengthMethods(testStr, false, values);
287 callCdmaLengthMethods(testStr, true, values);
294 int[] values = {0, 0, 0, SmsConstants.ENCODING_16BIT, 0, 0}; local
314 values[0] = sTestMsgCounts[i]
558 int[] values = android.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); local
588 int[] values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); local
    [all...]
  /developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
ProvisioningValuesLoader.java 43 * Loads default values for NFC provisioning.
45 * This loader first tries to load values from a config file in SD card. Then it fills in missing
46 * values using constants and settings on the programming device.
61 HashMap<String, String> values = new HashMap<>(); local
62 loadFromDisk(values);
63 gatherAdminExtras(values);
64 loadSystemValues(values);
65 return values;
69 public void deliverResult(Map<String, String> values) {
73 mValues = values;
    [all...]
  /developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
ProvisioningValuesLoader.java 43 * Loads default values for NFC provisioning.
45 * This loader first tries to load values from a config file in SD card. Then it fills in missing
46 * values using constants and settings on the programming device.
61 HashMap<String, String> values = new HashMap<>(); local
62 loadFromDisk(values);
63 gatherAdminExtras(values);
64 loadSystemValues(values);
65 return values;
69 public void deliverResult(Map<String, String> values) {
73 mValues = values;
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultimapReplaceValuesTester.java 52 List<V> values = Arrays.asList(sampleValues().e0, null, sampleValues().e3); local
53 multimap().replaceValues(key, values);
54 assertGet(key, values);
62 List<V> values = Arrays.asList(sampleValues().e0, sampleValues().e2, sampleValues().e3); local
63 multimap().replaceValues(key, values);
64 assertGet(key, values);
72 List<V> values = Arrays.asList(sampleValues().e0, sampleValues().e2, sampleValues().e3); local
73 multimap().replaceValues(key, values);
74 assertGet(key, values);
75 assertEquals(size + values.size(), multimap().size())
84 List<V> values = Collections.emptyList(); local
95 List<V> values = Arrays.asList( local
111 List<V> values = Arrays.asList(sampleValues().e0, sampleValues().e2, sampleValues().e3); local
129 List<V> values = Arrays.asList(sampleValues().e0, sampleValues().e2, sampleValues().e3); local
138 List<V> values = Collections.singletonList(sampleValues().e3); local
140 multimap().replaceValues(sampleKeys().e0, values); local
149 List<V> values = Collections.singletonList(sampleValues().e3); local
151 multimap().replaceValues(sampleKeys().e0, values); local
    [all...]
  /external/clang/test/CodeGenCXX/
variadic-templates.cpp 15 int values[sizeof...(T)+1] = { T::value... }; local
  /external/guava/guava-tests/test/com/google/common/base/
StandardSystemPropertyTest.java 29 for (StandardSystemProperty property : StandardSystemProperty.values()) {
37 for (StandardSystemProperty property : StandardSystemProperty.values()) {
43 for (StandardSystemProperty property : StandardSystemProperty.values()) {
49 for (StandardSystemProperty property : StandardSystemProperty.values()) {
  /external/harfbuzz_ng/src/
hb-gobject-enums.cc.tmpl 55 static const G@Type@Value values[] = {
66 g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
  /external/icu/icu4c/source/tools/toolutil/
denseranges.h 27 * @param values Sorted array of signed-integer values.
28 * @param length Number of values.
37 uprv_makeDenseRanges(const int32_t values[], int32_t length,
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/
Function.java 19 import com.google.clearsilver.jsilver.values.Value;
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/structure/
NameFunction.java 21 import com.google.clearsilver.jsilver.values.Value;
22 import static com.google.clearsilver.jsilver.values.Value.literalConstant;
23 import static com.google.clearsilver.jsilver.values.Value.literalValue;
24 import com.google.clearsilver.jsilver.values.VariableValue;
  /frameworks/base/core/tests/coretests/src/android/content/
CrossUserContentService.java 34 final ContentValues values = new ContentValues();
35 values.put(LocalProvider.COLUMN_TEXT_NAME, key);
36 values.put(LocalProvider.COLUMN_INTEGER_NAME, value);
37 getContentResolver().update(uri, values, null, null);
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
ConverterTest.java 33 ArrayList<String> values = new ArrayList<String>(); local
35 values.add("Hello");
36 values.add("World");
39 mBinder.setList(values);

Completed in 873 milliseconds

1 2 3 4 5 67 8 91011>>