Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 25 of 195) sorted by relevance

12345678

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java57 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
159 private TYPE mSmsType;
186 Sms.TYPE,
195 Sms.TYPE,
206 Sms.TYPE,
284 if (mAccount.getType() == TYPE.IM) { in BluetoothMapContentObserver()
457 private TYPE getSmsType() { in getSmsType()
458 TYPE smsType = null; in getSmsType()
463 smsType = TYPE.SMS_CDMA; in getSmsType()
465 smsType = TYPE.SMS_GSM; in getSmsType()
[all …]
DBluetoothMapUtils.java103 public enum TYPE{ enum in BluetoothMapUtils
110 private static TYPE[] allValues = values();
111 public static TYPE fromOrdinal(int n) { in fromOrdinal()
252 public static String getMapHandle(long cpHandle, TYPE messageType){ in getMapHandle()
291 public static String getMapConvoHandle(long cpHandle, TYPE messageType){ in getMapConvoHandle()
340 static public TYPE getMsgTypeFromHandle(String mapHandle) { in getMsgTypeFromHandle()
344 return TYPE.MMS; in getMsgTypeFromHandle()
346 return TYPE.EMAIL; in getMsgTypeFromHandle()
348 return TYPE.SMS_GSM; in getMsgTypeFromHandle()
350 return TYPE.SMS_CDMA; in getMsgTypeFromHandle()
[all …]
DBluetoothMapAccountLoader.java23 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
91 BluetoothMapUtils.TYPE msgType = (searchIntent.getAction().toString() == in parsePackages()
93 BluetoothMapUtils.TYPE.EMAIL : BluetoothMapUtils.TYPE.IM; in parsePackages()
133 BluetoothMapUtils.TYPE type) { in createAppItem()
174 if(app.getType() == TYPE.IM) { in parseAccounts()
204 if(app.getType() == TYPE.IM){ in parseAccounts()
DBluetoothMapAccountItem.java38 private final BluetoothMapUtils.TYPE mType;
45 Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) { in BluetoothMapAccountItem()
59 String authority, Drawable icon, BluetoothMapUtils.TYPE appType) { in create()
65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, in create()
200 public BluetoothMapUtils.TYPE getType() { in getType()
DBluetoothMapObexServer.java31 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
138 if (account.getType() == TYPE.EMAIL) { in BluetoothMapObexServer()
176 if (mAccount.getType() == TYPE.IM) in buildFolderStructure()
178 if( mAccount.getType() == TYPE.EMAIL) in buildFolderStructure()
413 type = (String)request.getHeader(HeaderSet.TYPE); in onPut()
595 if ((message.getType().equals(TYPE.EMAIL) && (folderElement.getFolderId() == -1)) in pushMessage()
596 || ((message.getType().equals(TYPE.SMS_GSM) || in pushMessage()
597 message.getType().equals(TYPE.SMS_CDMA) || in pushMessage()
598 message.getType().equals(TYPE.MMS)) in pushMessage()
656 BluetoothMapUtils.TYPE msgType; in setMessageStatus()
[all …]
DBluetoothMapMessageListingElement.java29 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
46 private TYPE mType = null;
145 public TYPE getType() { in getType()
149 public void setType(TYPE type, boolean appParamSet) { in setType()
237 public void setThreadId(long threadId, TYPE type) { in setThreadId()
DBluetoothMapMasInstance.java29 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
318 if(mAccount.getType() == TYPE.EMAIL) { in createMasSdpRecord()
320 } else if(mAccount.getType() == TYPE.IM) { in createMasSdpRecord()
327 if(mAccount.getType() == TYPE.EMAIL) { in createMasSdpRecord()
329 } else if(mAccount.getType() == TYPE.IM) { in createMasSdpRecord()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/
DDataItemTests.java125 mValues1.put(Email.TYPE, Email.TYPE_MOBILE); in testDataItemCollapsing_email()
126 mValues2.put(Email.TYPE, Email.TYPE_HOME); in testDataItemCollapsing_email()
127 mValues3.put(Email.TYPE, Email.TYPE_WORK); in testDataItemCollapsing_email()
157 mValues1.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
158 mValues2.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
159 mValues3.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
160 mValues4.put(Event.TYPE, Event.TYPE_ANNIVERSARY); in testDataItemCollapsing_event()
310 mValues1.put(Phone.TYPE, Phone.TYPE_MOBILE); in testDataItemCollapsing_phone()
311 mValues2.put(Phone.TYPE, Phone.TYPE_HOME); in testDataItemCollapsing_phone()
312 mValues3.put(Phone.TYPE, Phone.TYPE_WORK); in testDataItemCollapsing_phone()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java148 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization()
155 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization()
191 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone()
198 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone()
239 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testEmailCrud()
262 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testPrimaryEmail()
271 values.put(ContactMethods.TYPE, ContactMethods.TYPE_WORK); in testPrimaryEmail()
330 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsInsert()
340 assertPersonIdConstraint(Organizations.CONTENT_URI, Organizations.TYPE, in testOrganizationsInsert()
344 Organizations.TYPE, Organizations.TYPE_CUSTOM, Organizations.TYPE_OTHER, in testOrganizationsInsert()
[all …]
DCallLogProviderTest.java109 values.put(Calls.TYPE, Calls.VOICEMAIL_TYPE); in testInsert_VoicemailCallRecord()
130 values.put(Calls.TYPE, Calls.OUTGOING_TYPE); in testUpdate()
195 values.put(Calls.TYPE, Calls.OUTGOING_TYPE); in testAddCall()
252 String[] projection = new String[] {Calls._ID, Calls.TYPE}; in testLimitAndOffsetParamReturnsCorrectEntries()
435 values.put(Calls.TYPE, callType); in getDefaultValues()
479 values.put(Calls.TYPE, Calls.MISSED_TYPE); in getTestCallLogValues()
490 values.put(Calls.TYPE, Calls.INCOMING_TYPE); in getTestCallLogValues()
501 values.put(Calls.TYPE, Calls.OUTGOING_TYPE); in getTestCallLogValues()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/compat/
DCompatUtilsTest.java75 Integer.TYPE)); in testIsMethodAvailable_OverloadedMethod()
80 Boolean.TYPE)); in testIsMethodAvailable_NonexistentOverload()
105 new Class<?>[] {Integer.TYPE}, new Object[] {1})); in testInvokeMethod_MethodWithNoParameters_WithParameters()
110 new Class<?>[] {Integer.TYPE}, new Object[] {})); in testInvokeMethod_MethodWithParameters_WithEmptyParameterList()
115 new Class<?>[] {Integer.TYPE}, new Object[] {2})); in testInvokeMethod_InvokeSimpleMethod()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java105 phoneKind.typeColumn = Phone.TYPE; in MockContactsSource()
1028 mockNameValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in testMigrateEventCommon()
1040 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventCommon()
1053 mockNameValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in testMigrateEventFromGoogleToExchange2()
1059 mockNameValues.put(Event.TYPE, Event.TYPE_ANNIVERSARY); in testMigrateEventFromGoogleToExchange2()
1072 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventFromGoogleToExchange2()
1083 mockNameValues.put(Email.TYPE, Email.TYPE_CUSTOM); in testMigrateEmailFromGoogleToExchange()
1089 mockNameValues.put(Email.TYPE, Email.TYPE_HOME); in testMigrateEmailFromGoogleToExchange()
1094 mockNameValues.put(Email.TYPE, Email.TYPE_WORK); in testMigrateEmailFromGoogleToExchange()
1100 mockNameValues.put(Email.TYPE, Email.TYPE_OTHER); in testMigrateEmailFromGoogleToExchange()
[all …]
DContactsUtilsTests.java84 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentCustom()
107 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntent()
125 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentWithAudio()
146 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentWithVideo()
171 values.put(Email.TYPE, Email.TYPE_HOME); in testImEmailIntent()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DSamsungAccountType.java94 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
132 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
156 kind.typeColumn = Email.TYPE; in addDataKindEmail()
176 kind.typeColumn = Relation.TYPE; in addDataKindRelation()
196 kind.defaultValues.put(Relation.TYPE, Relation.TYPE_SPOUSE); in addDataKindRelation()
211 kind.typeColumn = Event.TYPE; in addDataKindEvent()
222 kind.defaultValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in addDataKindEvent()
DGoogleAccountType.java87 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
110 kind.typeColumn = Email.TYPE; in addDataKindEmail()
130 kind.typeColumn = Relation.TYPE; in addDataKindRelation()
150 kind.defaultValues.put(Relation.TYPE, Relation.TYPE_SPOUSE); in addDataKindRelation()
165 kind.typeColumn = Event.TYPE; in addDataKindEvent()
176 kind.defaultValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in addDataKindEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequestPullVcardListingSize.java29 private static final String TYPE = "x-bt/vcard-listing"; field in BluetoothPbapRequestPullVcardListingSize
36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullVcardListingSize()
DBluetoothPbapRequestPullPhoneBookSize.java29 private static final String TYPE = "x-bt/phonebook"; field in BluetoothPbapRequestPullPhoneBookSize
36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullPhoneBookSize()
DBluetoothPbapRequestPullVcardEntry.java35 private static final String TYPE = "x-bt/vcard"; field in BluetoothPbapRequestPullVcardEntry
49 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullVcardEntry()
DBluetoothPbapRequestPullVcardListing.java34 private static final String TYPE = "x-bt/vcard-listing"; field in BluetoothPbapRequestPullVcardListing
57 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullVcardListing()
DBluetoothPbapRequestPullPhoneBook.java37 private static final String TYPE = "x-bt/phonebook"; field in BluetoothPbapRequestPullPhoneBook
61 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullPhoneBook()
/packages/apps/TV/src/com/android/tv/util/
DSearchManagerHelper.java57 "launchLegacyAssist", String.class, Integer.TYPE, Bundle.class).invoke( in launchAssistAction()
61 "launchAssistAction", Integer.TYPE, String.class, Integer.TYPE).invoke( in launchAssistAction()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapbMessageTest.java17 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
103 msg.setType(TYPE.SMS_GSM); in testSmsEncodeText()
205 msg.setType(TYPE.SMS_GSM); in testSmsEncodeNativeDeliverPdu()
275 msg.setType(TYPE.SMS_GSM); in testSmsEncodeDecodeNativeSubmitPdu()
367 msg.setType(TYPE.SMS_GSM); in testFolderLengthTruncation()
508 msg.setType(TYPE.MMS); in testMmsEncodeText()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java237 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoing()
261 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncoming()
286 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionMissed()
414 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapability()
417 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapability()
446 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncomingWithMultiUserCapability()
449 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncomingWithMultiUserCapability()
479 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapabilityFromManagedProfile()
508 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingFromManagedProfile()
537 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIngoingFromManagedProfile()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleDaltonizerPreferenceFragment.java34 private static final String TYPE = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER; field in ToggleDaltonizerPreferenceFragment
63 Settings.Secure.putInt(getContentResolver(), TYPE, Integer.parseInt((String) newValue)); in onPreferenceChange() local
94 Settings.Secure.getInt(getContentResolver(), TYPE, DEFAULT_TYPE)); in initPreferences()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DTest.java62 if (m.getName().startsWith("test") && Void.TYPE == m.getReturnType() in Test()
124 twoArgsConstructor = declaringClass.getDeclaredConstructor(Long.TYPE, Integer.TYPE); in runChosenTests()

12345678