Searched defs:types (Results 1 - 19 of 19) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactLookupKeyTest.java224 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, argument
228 assertEquals(types.length, list.size());
233 assertEquals(types[i], segment.lookupType);
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockAccountTypeManager.java39 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { argument
40 this.mTypes = types;
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
H A DAccountTypeManagerTest.java45 // Define account types.
58 Map<AccountTypeWithDataSet, AccountType> types =
61 assertEquals(0, types.size());
63 types.clear();
136 private static Map<AccountTypeWithDataSet, AccountType> buildAccountTypes(AccountType... types) { argument
138 for (AccountType type : types) {
161 Map<AccountTypeWithDataSet, AccountType> types,
165 AccountTypeManagerImpl.findAllInvitableAccountTypes(getContext(), accounts, types);
159 verifyAccountTypes( Collection<AccountWithDataSet> accounts, Map<AccountTypeWithDataSet, AccountType> types, AccountType... expectedInvitableTypes ) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DJniCallbacks.java53 void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] val) { argument
54 mRemoteDevices.devicePropertyChangedCallback(address, types, val);
81 void adapterPropertyChangedCallback(int[] types, byte[][] val) { argument
82 mAdapterProperties.adapterPropertyChangedCallback(types, val);
H A DRemoteDevices.java229 void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] values) { argument
242 for (int j = 0; j < types.length; j++) {
243 type = types[j];
H A DAdapterProperties.java467 void adapterPropertyChangedCallback(int[] types, byte[][] values) { argument
471 for (int i = 0; i < types.length; i++) {
473 type = types[i];
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DContactEditorUtilsTest.java64 // Initialize with 0 types, 0 accounts.
73 private void setAccountTypes(AccountType... types) { argument
74 mAccountTypes.mTypes = types;
82 String[] types;
84 // 0 writable types
87 types = mTarget.getWritableAccountTypeStrings();
88 MoreAsserts.assertEquals(types, new String[0]);
93 types = mTarget.getWritableAccountTypeStrings();
94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types));
96 // 2 writable types
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DCompatUtils.java68 final Class<?> ... types) {
69 if (targetClass == null || types == null) {
73 return targetClass.getConstructor(types);
67 getConstructor(final Class<?> targetClass, final Class<?> ... types) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureStrokeDrawingPoints.java90 * @param types the point types array of gesture trail. This is valid only when
95 final ResizableIntArray types) {
104 types.fill(GestureTrailDrawingPoints.POINT_TYPE_SAMPLED, types.getLength(), length);
120 * @param types the point types array of gesture trail. This is valid only when
126 final ResizableIntArray yCoords, final ResizableIntArray types) {
164 types.addAt(d1, GestureTrailDrawingPoints.POINT_TYPE_INTERPOLATED);
172 types
93 appendPreviewStroke(final ResizableIntArray eventTimes, final ResizableIntArray xCoords, final ResizableIntArray yCoords, final ResizableIntArray types) argument
124 interpolateStrokeAndReturnStartIndexOfLastSegment(final int lastInterpolatedIndex, final ResizableIntArray eventTimes, final ResizableIntArray xCoords, final ResizableIntArray yCoords, final ResizableIntArray types) argument
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogGroupBuilderTest.java142 // Does not group with other types of calls, include voicemail themselves.
154 // Does not group with other types of calls, include voicemail themselves.
173 // Does not group with other types of calls.
357 /** Asserts that calls of the given types are grouped together into a single group. */
358 private void assertCallsAreGrouped(int... types) { argument
361 addMultipleCallLogEntries(TEST_NUMBER1, types);
364 assertGroupIs(0, types.length, mFakeGroupCreator.groups.get(0));
368 /** Asserts that calls of the given types are not grouped together at all. */
369 private void assertCallsAreNotGrouped(int... types) { argument
372 addMultipleCallLogEntries(TEST_NUMBER1, types);
378 assertVoicemailsAreNotGrouped(int... types) argument
387 addMultipleCallLogEntries(String number, int... types) argument
[all...]
H A DCallLogListItemHelperTest.java284 private PhoneCallDetails getPhoneCallDetailsWithTypes(int... types) { argument
293 details.callTypes = types;
/packages/apps/Messaging/src/android/support/v7/mms/
H A DDefaultApnSettingsLoader.java481 * @param types The string encodes a list of supported types
483 * @return true if the input types string contains the requestType
485 public static boolean isValidApnType(final String types, final String requestType) { argument
487 if (TextUtils.isEmpty(types)) {
490 for (final String t : types.split(",")) {
/packages/apps/TV/usbtuner/jni/
H A DDvbManager.cpp160 const char *types; local
163 types = "DVB-S";
166 types = "DVB-C";
169 types = "DVB-T";
172 types = "ATSC";
175 types = "Unknown";
177 ALOGI("Using frontend \"%s\", type %s", info.name, types);
/packages/services/Mms/src/com/android/mms/service/
H A DApnSettings.java204 private static boolean isValidApnType(String types, String requestType) { argument
206 if (TextUtils.isEmpty(types)) {
209 for (String type : types.split(",")) {
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
H A DRawContactModifierTests.java166 protected AccountTypeManager getAccountTypes(AccountType... types) { argument
167 return new MockAccountTypeManager(types, null);
207 // Build a source and pull specific types
248 * Test which valid types there are when trying to update the editor type.
252 // Build a source and pull specific types
272 // Add another 3 types. Overall limit is 5.
289 // Build a source and pull specific types
318 // Build a source and pull specific types
811 // We should silently ignore types unsupported by account type
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DBugleApnSettingsLoader.java609 * @param types The string encodes a list of supported types
611 * @return true if the input types string contains the requestType
613 public static boolean isValidApnType(final String types, final String requestType) { argument
615 if (TextUtils.isEmpty(types)) {
618 for (final String t : types.split(",")) {
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc.cpp282 jint* types = e->GetIntArrayElements(libNfcTypes.get(), 0); local
283 if (types != NULL) {
284 connectedLibNfcType = types[connectedTechIndex];
285 e->ReleaseIntArrayElements(libNfcTypes.get(), types, JNI_ABORT);
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_btservice_AdapterService.cpp103 static int get_properties(int num_properties, bt_property_t *properties, jintArray *types, argument
115 callbackEnv->SetIntArrayRegion(*types, i, 1, (jint *)&properties[i].type);
127 jintArray types; local
161 types = (jintArray)callbackEnv->NewIntArray(num_properties);
163 if (types == NULL) {
171 if (get_properties(num_properties, properties, &types, &props) < 0) {
173 if (types) callbackEnv->DeleteLocalRef(types);
177 callbackEnv->CallVoidMethod(sJniCallbacksObj, method_adapterPropertyChangedCallback, types,
181 callbackEnv->DeleteLocalRef(types);
204 jintArray types; local
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 1022 milliseconds