/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyNetworkMonitor.java | 48 + "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/ |
D | SoundAlarmListenerService.java | 71 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/ |
D | MainActivity.java | 99 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/ |
D | ReceiveShare.java | 48 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/ |
D | Injector.java | 79 Class<?> fieldType = field.getType(); in inject()
|
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 134 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/ |
D | MmsFileProvider.java | 69 public String getType(Uri uri) { in getType() method in MmsFileProvider
|
D | MmsWapPushReceiver.java | 40 && ContentType.MMS_MESSAGE.equals(intent.getType())) { in onReceive()
|
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/ |
D | NotificationUpdateService.java | 93 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/ |
D | HomeListenerService.java | 73 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/ |
D | FieldSourcer.java | 66 mOutput.write(" %s", Type.getType(mDesc).getClassName()); in visitEnd()
|
/development/samples/NotePad/tests/src/com/example/android/notepad/ |
D | NotePadProviderTest.java | 165 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/ |
D | AssetProvider.java | 60 public String getType(Uri uri){ in getType() method in AssetProvider
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/ |
D | AssetProvider.java | 52 public String getType(@NonNull Uri uri) { in getType() method in AssetProvider
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | ComplicationSimpleWatchFaceService.java | 321 && (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/ |
D | Main.java | 149 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/ |
D | NetworkFragment.java | 149 (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/ |
D | MidiPortWrapper.java | 77 && portInfo.getType() == mType) { in findPortInfo()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiPortWrapper.java | 77 && portInfo.getType() == mType) { in findPortInfo()
|
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/ |
D | MidiPrinter.java | 100 sb.append((port.getType() == PortInfo.TYPE_INPUT) ? "input" in formatDeviceInfo()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
D | AddVoicemailActivity.java | 177 mMimeType.setText(getContentResolver().getType(uri)); in handleRecordingResult() 211 getContentResolver().getType(recordingUri)); in insertVoicemail()
|
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/ |
D | HomeListenerService.java | 80 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/ |
D | MainActivity.java | 151 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/ |
D | SendMessageActivity.java | 104 "text/plain".equals(intent.getType())) { in resolveIntent()
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
D | ContactAdder.java | 187 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, mSelectedAccount.getType()) in createContactEntry() 213 mSelectedAccount.getType() + ")"); in createContactEntry() 342 public String getType() { in getType() method in ContactAdder.AccountData
|