Home
last modified time | relevance | path

Searched refs:getType (Results 1 – 25 of 102) sorted by relevance

12345

/packages/apps/Contacts/tests/src/com/android/contacts/
DEntityModifierTests.java197 final EditType typeHome = EntityModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypes()
198 final EditType typeWork = EntityModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypes()
199 final EditType typeOther = EntityModifier.getType(kindPhone, Phone.TYPE_OTHER); in testValidTypes()
242 final EditType typeHome = EntityModifier.getType(kindPhone, Phone.TYPE_HOME); in testCanInsert()
243 final EditType typeWork = EntityModifier.getType(kindPhone, Phone.TYPE_WORK); in testCanInsert()
244 final EditType typeOther = EntityModifier.getType(kindPhone, Phone.TYPE_OTHER); in testCanInsert()
271 final EditType typeHome = EntityModifier.getType(kindPhone, Phone.TYPE_HOME); in testBestValidType()
272 final EditType typeWork = EntityModifier.getType(kindPhone, Phone.TYPE_WORK); in testBestValidType()
273 final EditType typeFaxWork = EntityModifier.getType(kindPhone, Phone.TYPE_FAX_WORK); in testBestValidType()
274 final EditType typeOther = EntityModifier.getType(kindPhone, Phone.TYPE_OTHER); in testBestValidType()
[all …]
DEntityDeltaTests.java170 final int type = builder.build().getType(); in testValuesDiffInsert()
184 final int type = builder.build().getType(); in testValuesDiffUpdate()
198 final int type = builder.build().getType(); in testValuesDiffDelete()
236 assertEquals("Expected version enforcement", TYPE_ASSERT, oper.getType()); in testEntityDiffNoneInsert()
240 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffNoneInsert()
245 assertEquals("Incorrect type", TYPE_INSERT, oper.getType()); in testEntityDiffNoneInsert()
250 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffNoneInsert()
276 assertEquals("Expected version enforcement", TYPE_ASSERT, oper.getType()); in testEntityDiffUpdateInsert()
280 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffUpdateInsert()
285 assertEquals("Incorrect type", TYPE_UPDATE, oper.getType()); in testEntityDiffUpdateInsert()
[all …]
/packages/apps/Mms/src/com/android/mms/dom/events/
DEventTargetImpl.java73 } else if ((eventImpl.getType() == null) || eventImpl.getType().equals("")) { in dispatchEvent()
95 && listenerEntry.mType.equals(eventImpl.getType())) { in dispatchEvent()
DEventImpl.java70 public String getType() { in getType() method in EventImpl
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java209 String type = mMockResolver.getType(attachment1Uri); in testGetType()
214 type = mMockResolver.getType(attachment1Uri); in testGetType()
246 type = mMockResolver.getType(uri); in testGetType()
249 type = mMockResolver.getType(uri); in testGetType()
252 type = mMockResolver.getType(uri); in testGetType()
255 type = mMockResolver.getType(uri); in testGetType()
258 type = mMockResolver.getType(uri); in testGetType()
263 type = mMockResolver.getType(uri); in testGetType()
266 type = mMockResolver.getType(uri); in testGetType()
/packages/apps/Mms/src/org/w3c/dom/smil/
DSMILLayoutElement.java30 public String getType(); in getType() method
DSMILMediaElement.java152 public String getType(); in getType() method
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java44 return activeInfo.getType(); in getActiveNetworkType()
56 boolean isMobile = (info != null && info.getType() == ConnectivityManager.TYPE_MOBILE); in isNetworkRoaming()
/packages/apps/Mms/src/com/android/mms/layout/
DLayoutParameters.java51 int getType(); in getType() method
DHVGALayoutParameters.java67 public int getType() { in getType() method in HVGALayoutParameters
DLayoutManager.java95 return mLayoutParams.getType(); in getLayoutType()
/packages/apps/Mms/src/org/w3c/dom/events/
DEvent.java46 public String getType(); in getType() method
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DProvider.java51 public String getType(Uri uri) { in getType() method in Provider
/packages/apps/Mms/src/com/android/mms/model/
DVideoModel.java120 String evtType = evt.getType(); in handleEvent()
122 Log.v(TAG, "[VideoModel] handleEvent " + evt.getType() + " on " + this); in handleEvent()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilLayoutElementImpl.java37 public String getType() { in getType() method in SmilLayoutElementImpl
/packages/apps/Settings/src/com/android/settings/vpn/
DVpnEditor.java130 profile.getType().getDisplayName())); in setTitle()
156 switch (p.getType()) { in getEditor()
/packages/providers/DrmProvider/src/com/android/providers/drm/
DDrmPushReceiver.java39 String rightMimeType = intent.getType(); in onReceive()
/packages/apps/Tag/src/com/android/apps/tag/record/
DSmartPoster.java126 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_SMART_POSTER)); in parse()
226 if (Arrays.equals(type, record.getType())) { in getByType()
DRecordEditInfo.java56 public String getType() { in getType() method in RecordEditInfo
DMimeRecord.java72 String type = new String(record.getType(), Charset.forName("US-ASCII")); in parse()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java77 String type = intent.getType(); in onCreate()
108 String mimeType = intent.getType(); in onCreate()
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/
DSpammySuggestionProvider.java64 public String getType(Uri uri) { in getType() method in SpammySuggestionProvider
/packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/
DSlowSuggestionProvider.java70 public String getType(Uri uri) { in getType() method in SlowSuggestionProvider
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DFileContentProvider.java44 public String getType(Uri uri) { in getType() method in FileContentProvider
/packages/apps/Contacts/src/com/android/contacts/model/
DEntityModifier.java211 return getType(kind, rawValue.intValue()); in getCurrentType()
222 return getType(kind, rawValue); in getCurrentType()
234 return getType(kind, rawValue); in getCurrentType()
240 public static EditType getType(DataKind kind, int rawValue) { in getType() method in EntityModifier

12345