Home
last modified time | relevance | path

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

123

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java48 + "type=" + ni.getType() + ", state=" + ni.getState()); in performReceive()
52 mLastNetworkType = ni.getType(); in performReceive()
/development/samples/browseable/FindMyPhone/Application/src/com.example.android.wearable.findphone/
DSoundAlarmListenerService.java71 if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
73 } else if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DMainActivity.java99 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in checkNetworkConnection()
100 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in checkNetworkConnection()
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShare.java48 if (intent.getType() != null) { in buildShareInfo()
49 sb.append("Type: "); sb.append(intent.getType()); sb.append("\n"); in buildShareInfo()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
DInjector.java79 Class<?> fieldType = field.getType(); in inject()
/development/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java134 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in updateConnectedFlags()
135 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in updateConnectedFlags()
299 && networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in onReceive()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsFileProvider.java69 public String getType(Uri uri) { in getType() method in MmsFileProvider
DMmsWapPushReceiver.java40 && ContentType.MMS_MESSAGE.equals(intent.getType())) { in onReceive()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java93 if (dataEvent.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
102 } else if (dataEvent.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java73 if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
75 } else if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DFieldSourcer.java66 mOutput.write(" %s", Type.getType(mDesc).getClassName()); in visitEnd()
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java165 String mimeType = mMockResolver.getType(NotePad.Notes.CONTENT_URI); in testUriAndGetType()
169 mimeType = mMockResolver.getType(NotePad.Notes.LIVE_FOLDER_URI); in testUriAndGetType()
176 mimeType = mMockResolver.getType(noteIdUri); in testUriAndGetType()
180 mimeType = mMockResolver.getType(INVALID_URI); in testUriAndGetType()
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
DAssetProvider.java60 public String getType(Uri uri){ in getType() method in AssetProvider
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DAssetProvider.java52 public String getType(@NonNull Uri uri) { in getType() method in AssetProvider
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleWatchFaceService.java321 && (complicationData.getType() != ComplicationData.TYPE_NOT_CONFIGURED) in getTappedComplicationId()
322 && (complicationData.getType() != ComplicationData.TYPE_EMPTY)) { in getTappedComplicationId()
380 } else if (complicationData.getType() == ComplicationData.TYPE_NO_PERMISSION) { in onComplicationTap()
580 if (complicationData.getType() == ComplicationData.TYPE_SHORT_TEXT in drawComplications()
581 || complicationData.getType() == ComplicationData.TYPE_NO_PERMISSION) { in drawComplications()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DMain.java149 private String getType(ShortcutInfo shortcut) { in getType() method in Main
237 line2.setText(getType(shortcut)); in bindView()
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DNetworkFragment.java149 (networkInfo.getType() != ConnectivityManager.TYPE_WIFI in onPreExecute()
150 && networkInfo.getType() != ConnectivityManager.TYPE_MOBILE)) { in onPreExecute()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortWrapper.java77 && portInfo.getType() == mType) { in findPortInfo()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortWrapper.java77 && portInfo.getType() == mType) { in findPortInfo()
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMidiPrinter.java100 sb.append((port.getType() == PortInfo.TYPE_INPUT) ? "input" in formatDeviceInfo()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java177 mMimeType.setText(getContentResolver().getType(uri)); in handleRecordingResult()
211 getContentResolver().getType(recordingUri)); in insertVoicemail()
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java80 if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
82 } else if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java151 if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
167 } else if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
170 mDataFragment.appendItem("Unknown data event type", "Type = " + event.getType()); in onDataChanged()
/development/samples/browseable/DirectShare/src/com.example.android.directshare/
DSendMessageActivity.java104 "text/plain".equals(intent.getType())) { in resolveIntent()
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java187 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, mSelectedAccount.getType()) in createContactEntry()
213 mSelectedAccount.getType() + ")"); in createContactEntry()
342 public String getType() { in getType() method in ContactAdder.AccountData

123