/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactLookupKeyTest.java | 223 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, argument 227 assertEquals(types.length, list.size()); 232 assertEquals(types[i], segment.lookupType);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
H A D | MockAccountTypeManager.java | 38 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { argument 39 this.mTypes = types;
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
H A D | AccountTypeManagerTest.java | 45 // 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/Mms/src/com/android/mms/transaction/ |
H A D | TransactionSettings.java | 158 static private boolean isValidApnType(String types, String requestType) { argument 160 if (TextUtils.isEmpty(types)) { 164 for (String t : types.split(",")) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | JniCallbacks.java | 52 void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] val) { argument 53 mRemoteDevices.devicePropertyChangedCallback(address, types, val); 80 void adapterPropertyChangedCallback(int[] types, byte[][] val) { argument 81 mAdapterProperties.adapterPropertyChangedCallback(types, val);
|
H A D | RemoteDevices.java | 235 void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] values) { argument 248 for (int j = 0; j < types.length; j++) { 249 type = types[j];
|
H A D | AdapterProperties.java | 433 void adapterPropertyChangedCallback(int[] types, byte[][] values) { argument 437 for (int i = 0; i < types.length; i++) { 439 type = types[i];
|
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
H A D | CallLogListItemHelperTest.java | 137 private void setPhoneCallDetailsWithTypes(int... types) { argument 140 TEST_GEOCODE, types, TEST_DATE, TEST_DURATION), 145 private void setUnreadPhoneCallDetailsWithTypes(int... types) { argument 148 TEST_GEOCODE, types, TEST_DATE, TEST_DURATION),
|
H A D | CallLogGroupBuilderTest.java | 111 // Does not group with other types of calls, include voicemail themselves. 123 // Does not group with other types of calls. 237 /** Asserts that calls of the given types are grouped together into a single group. */ 238 private void assertCallsAreGrouped(int... types) { argument 241 addMultipleOldCallLogEntries(TEST_NUMBER1, types); 244 assertGroupIs(0, types.length, false, mFakeGroupCreator.groups.get(0)); 248 /** Asserts that calls of the given types are not grouped together at all. */ 249 private void assertCallsAreNotGrouped(int... types) { argument 252 addMultipleOldCallLogEntries(TEST_NUMBER1, types); 257 /** Adds a set of calls with the given types, al 258 addMultipleOldCallLogEntries(String number, int... types) argument [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
H A D | ContactEditorUtilsTest.java | 64 // 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 D | CompatUtils.java | 81 public static Constructor<?> getConstructor(Class<?> targetClass, Class<?> ... types) { argument 82 if (targetClass == null || types == null) return null; 84 return targetClass.getConstructor(types);
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | RawContactModifierTests.java | 168 protected AccountTypeManager getAccountTypes(AccountType... types) { argument 169 return new MockAccountTypeManager(types, null); 209 // Build a source and pull specific types 254 // Build a source and pull specific types 283 // Build a source and pull specific types 751 // We should silently ignore types unsupported by account type
|
/packages/apps/Nfc/nci/jni/ |
H A D | NfcTag.cpp | 580 jint* types = e->GetIntArrayElements (typeList, NULL); local 587 types [i] = mTechLibNfcTypes [i]; 591 e->ReleaseIntArrayElements (typeList, types, 0);
|
/packages/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc.cpp | 315 jint* types = e->GetIntArrayElements(libNfcTypes, 0); local 316 if (types != NULL) { 317 connectedLibNfcType = types[connectedTechIndex]; 318 e->ReleaseIntArrayElements(libNfcTypes, types, JNI_ABORT);
|
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_btservice_AdapterService.cpp | 90 static int get_properties(int num_properties, bt_property_t *properties, jintArray *types, argument 113 callbackEnv->SetIntArrayRegion(*types, i, 1, (jint *)&properties[i].type); 125 jintArray types; local 159 types = (jintArray)callbackEnv->NewIntArray(num_properties); 161 if (types == NULL) { 169 if (get_properties(num_properties, properties, &types, &props) < 0) { 171 if (types) callbackEnv->DeleteLocalRef(types); 175 callbackEnv->CallVoidMethod(sJniCallbacksObj, method_adapterPropertyChangedCallback, types, 179 callbackEnv->DeleteLocalRef(types); 202 jintArray types; local [all...] |