/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactLookupKeyTest.java | 224 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 D | MockAccountTypeManager.java | 39 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { argument 40 this.mTypes = types;
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/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/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | JniCallbacks.java | 53 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 D | RemoteDevices.java | 229 void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] values) { argument 242 for (int j = 0; j < types.length; j++) { 243 type = types[j];
|
H A D | AdapterProperties.java | 467 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 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 | 68 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 D | GestureStrokeDrawingPoints.java | 90 * @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 D | CallLogGroupBuilderTest.java | 142 // 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 D | CallLogListItemHelperTest.java | 284 private PhoneCallDetails getPhoneCallDetailsWithTypes(int... types) { argument 293 details.callTypes = types;
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
H A D | DefaultApnSettingsLoader.java | 481 * @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 D | DvbManager.cpp | 160 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 D | ApnSettings.java | 204 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 D | RawContactModifierTests.java | 166 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 D | BugleApnSettingsLoader.java | 609 * @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 D | com_android_nfc.cpp | 282 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 D | com_android_bluetooth_btservice_AdapterService.cpp | 103 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 D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |