Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 71) sorted by relevance

123

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java73 private void setAccountTypes(AccountType... types) { in setAccountTypes() argument
74 mAccountTypes.mTypes = types; in setAccountTypes()
82 String[] types; in testGetWritableAccountTypeStrings() local
87 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
88 MoreAsserts.assertEquals(types, new String[0]); in testGetWritableAccountTypeStrings()
93 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types)); in testGetWritableAccountTypeStrings()
99 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
101 Sets.newHashSet(types)); in testGetWritableAccountTypeStrings()
106 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp96 static int get_properties(int num_properties, bt_property_t *properties, jintArray *types, in get_properties() argument
108 callbackEnv->SetIntArrayRegion(*types, i, 1, (jint *)&properties[i].type); in get_properties()
120 jintArray types; in adapter_properties_callback() local
154 types = (jintArray)callbackEnv->NewIntArray(num_properties); in adapter_properties_callback()
156 if (types == NULL) { in adapter_properties_callback()
164 if (get_properties(num_properties, properties, &types, &props) < 0) { in adapter_properties_callback()
166 if (types) callbackEnv->DeleteLocalRef(types); in adapter_properties_callback()
170 callbackEnv->CallVoidMethod(sJniCallbacksObj, method_adapterPropertyChangedCallback, types, in adapter_properties_callback()
174 callbackEnv->DeleteLocalRef(types); in adapter_properties_callback()
197 jintArray types; in remote_device_properties_callback() local
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
DAccountTypeManagerTest.java58 Map<AccountTypeWithDataSet, AccountType> types = in testFindAllInvitableAccountTypes() local
61 assertEquals(0, types.size()); in testFindAllInvitableAccountTypes()
63 types.clear(); in testFindAllInvitableAccountTypes()
136 … private static Map<AccountTypeWithDataSet, AccountType> buildAccountTypes(AccountType... types) { in buildAccountTypes() argument
138 for (AccountType type : types) { in buildAccountTypes()
161 Map<AccountTypeWithDataSet, AccountType> types, in verifyAccountTypes() argument
165 AccountTypeManagerImpl.findAllInvitableAccountTypes(getContext(), accounts, types); in verifyAccountTypes()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogGroupBuilderTest.java225 private void assertCallsAreGrouped(int... types) { in assertCallsAreGrouped() argument
228 addMultipleCallLogEntries(TEST_NUMBER1, types); in assertCallsAreGrouped()
231 assertGroupIs(0, types.length, false, mFakeGroupCreator.groups.get(0)); in assertCallsAreGrouped()
236 private void assertCallsAreNotGrouped(int... types) { in assertCallsAreNotGrouped() argument
239 addMultipleCallLogEntries(TEST_NUMBER1, types); in assertCallsAreNotGrouped()
245 private void addMultipleCallLogEntries(String number, int... types) { in addMultipleCallLogEntries() argument
246 for (int type : types) { in addMultipleCallLogEntries()
DCallLogListItemHelperTest.java303 private PhoneCallDetails getPhoneCallDetailsWithTypes(int... types) { in getPhoneCallDetailsWithTypes() argument
311 details.callTypes = types; in getPhoneCallDetailsWithTypes()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeDrawingPoints.java95 final ResizableIntArray types) { in appendPreviewStroke() argument
104 types.fill(GestureTrailDrawingPoints.POINT_TYPE_SAMPLED, types.getLength(), length); in appendPreviewStroke()
126 final ResizableIntArray yCoords, final ResizableIntArray types) { in interpolateStrokeAndReturnStartIndexOfLastSegment() argument
164 types.addAt(d1, GestureTrailDrawingPoints.POINT_TYPE_INTERPOLATED); in interpolateStrokeAndReturnStartIndexOfLastSegment()
172 types.addAt(d1, GestureTrailDrawingPoints.POINT_TYPE_SAMPLED); in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java109 int[] types; in startBatteryDetailPage() local
116 types = new int[] { in startBatteryDetailPage()
174 types = new int[] { in startBatteryDetailPage()
190 types = new int[] { in startBatteryDetailPage()
215 types = new int[] { in startBatteryDetailPage()
240 types = new int[] { in startBatteryDetailPage()
253 types = new int[] { in startBatteryDetailPage()
266 types = new int[] { in startBatteryDetailPage()
276 args.putIntArray(PowerUsageDetail.EXTRA_DETAIL_TYPES, types); in startBatteryDetailPage()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DJniCallbacks.java53 void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] val) { in devicePropertyChangedCallback() argument
54 mRemoteDevices.devicePropertyChangedCallback(address, types, val); in devicePropertyChangedCallback()
81 void adapterPropertyChangedCallback(int[] types, byte[][] val) { in adapterPropertyChangedCallback() argument
82 mAdapterProperties.adapterPropertyChangedCallback(types, val); in adapterPropertyChangedCallback()
DRemoteDevices.java229 void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] values) { in devicePropertyChangedCallback() argument
242 for (int j = 0; j < types.length; j++) { in devicePropertyChangedCallback()
243 type = types[j]; in devicePropertyChangedCallback()
DAdapterProperties.java495 void adapterPropertyChangedCallback(int[] types, byte[][] values) { in adapterPropertyChangedCallback() argument
499 for (int i = 0; i < types.length; i++) { in adapterPropertyChangedCallback()
501 type = types[i]; in adapterPropertyChangedCallback()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java243 final Set<String> types = Sets.newHashSet(); in getWritableAccountTypeStrings() local
245 types.add(type.accountType); in getWritableAccountTypeStrings()
247 return types.toArray(new String[types.size()]); in getWritableAccountTypeStrings()
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc.cpp282 jint* types = e->GetIntArrayElements(libNfcTypes.get(), 0); in nfc_jni_get_connected_technology_libnfc_type() local
283 if (types != NULL) { in nfc_jni_get_connected_technology_libnfc_type()
284 connectedLibNfcType = types[connectedTechIndex]; in nfc_jni_get_connected_technology_libnfc_type()
285 e->ReleaseIntArrayElements(libNfcTypes.get(), types, JNI_ABORT); in nfc_jni_get_connected_technology_libnfc_type()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java68 final Class<?> ... types) { in getConstructor() argument
69 if (targetClass == null || types == null) { in getConstructor()
73 return targetClass.getConstructor(types); in getConstructor()
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java204 private static boolean isValidApnType(String types, String requestType) { in isValidApnType() argument
206 if (TextUtils.isEmpty(types)) { in isValidApnType()
209 for (String type : types.split(",")) { in isValidApnType()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java224 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, in assertLookupKey() argument
228 assertEquals(types.length, list.size()); in assertLookupKey()
233 assertEquals(types[i], segment.lookupType); in assertLookupKey()
/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultApnSettingsLoader.java485 public static boolean isValidApnType(final String types, final String requestType) { in isValidApnType() argument
487 if (TextUtils.isEmpty(types)) { in isValidApnType()
490 for (final String t : types.split(",")) { in isValidApnType()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockAccountTypeManager.java39 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { in MockAccountTypeManager() argument
40 this.mTypes = types; in MockAccountTypeManager()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java613 public static boolean isValidApnType(final String types, final String requestType) { in isValidApnType() argument
615 if (TextUtils.isEmpty(types)) { in isValidApnType()
618 for (final String t : types.split(",")) { in isValidApnType()
/packages/apps/Nfc/nci/jni/
DNfcTag.cpp648 ScopedIntArrayRW types(e, typeList.get()); in fillNativeNfcTagMembers1() local
654 types [i] = mTechLibNfcTypes [i]; in fillNativeNfcTagMembers1()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java165 protected AccountTypeManager getAccountTypes(AccountType... types) { in getAccountTypes() argument
166 return new MockAccountTypeManager(types, null); in getAccountTypes()
/packages/providers/TelephonyProvider/
DNOTICE46 and conversions to other media types.
/packages/apps/Camera2/jni/
DNOTICE46 and conversions to other media types.
/packages/wallpapers/LivePicker/
DNOTICE46 and conversions to other media types.
/packages/services/Telephony/
DNOTICE46 and conversions to other media types.
/packages/apps/SpareParts/
DNOTICE46 and conversions to other media types.

123