/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetworkVars.java | 74 VAR_MAP.put("build.brand", new StaticVarGetter(Long.toString(Build.TIME))); 81 … VAR_MAP.put("build.version.sdk", new StaticVarGetter(Integer.toString(Build.VERSION.SDK_INT))); 86 VAR_MAP.put("display.width", new StaticVarGetter(Integer.toString(display.getWidth()))); 87 VAR_MAP.put("display.height", new StaticVarGetter(Integer.toString(display.getHeight()))); 91 VAR_MAP.put("display.density", new StaticVarGetter(Float.toString(dm.density))); 142 return sb.toString(); 149 return Long.toString(SystemClock.elapsedRealtime()); 154 return Long.toString(SystemClock.uptimeMillis()); 159 return Long.toString(System.currentTimeMillis()); 164 return Integer.toString(MonkeySourceNetwork.MONKEY_NETWORK_VERSION); [all …]
|
D | MonkeySourceNetworkViews.java | 169 String packageName = node.getPackageName().toString(); in translateCommand() 180 return new MonkeyCommandReturn(true, fieldBuilder.toString()); in translateCommand() 276 return new MonkeyCommandReturn(true, ids.toString()); in translateCommand() 298 return new MonkeyCommandReturn(true, positions.toString()); in query() 322 return new MonkeyCommandReturn(true, node.getText().toString()); in query() 338 return new MonkeyCommandReturn(true, node.getClassName().toString()); in query() 352 return new MonkeyCommandReturn(true, Boolean.toString(node.isChecked())); in query() 367 return new MonkeyCommandReturn(true, Boolean.toString(node.isEnabled())); in query() 382 return new MonkeyCommandReturn(true, Boolean.toString(node.isSelected())); in query() 422 return new MonkeyCommandReturn(true, Boolean.toString(node.isFocused())); in query() [all …]
|
/development/tools/idegen/src/ |
D | IntelliJ.java | 34 String ipr = Files.toString(new File(templatesDirectory, IDEA_IPR)); in generateFrom() 37 String iml = Files.toString(new File(templatesDirectory, IDEA_IML)); in generateFrom() 86 sourceRootsXml.toString() + excludeXml.toString()); in generateFrom() 87 iml = iml.replace("JAR_ENTRIES", jarsXml.toString()); in generateFrom()
|
D | Files.java | 28 static String toString(File file) throws IOException { in toString() method in Files 37 return builder.toString(); in toString()
|
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/ |
D | ReceiveShare.java | 61 sb.append("Uri: "); sb.append(uri.toString()); sb.append("\n"); in buildShareInfo() 66 sb.append(Long.toString(afd.getStartOffset())); in buildShareInfo() 69 sb.append(Long.toString(afd.getLength())); in buildShareInfo() 73 sb.append(e.toString()); in buildShareInfo() 75 sb.append(e.toString()); in buildShareInfo() 77 sb.append(e.toString()); in buildShareInfo()
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
D | MethodSourcerTest.java | 59 mWriter.toString()); in testVoid() 75 mWriter.toString()); in testVoidThrow() 91 mWriter.toString()); in testReturnMap()
|
D | ClassSourcerTest.java | 73 sw.toString()); in testBaseClassSource() 101 sw.toString()); in testInnerClassSource() 136 sw.toString()); in testTemplateClassSource()
|
D | SignatureSourcerTest.java | 49 String result = mSourcer.getReturnType().toString(); in testReturnMapNoArgs() 61 String result = mSourcer.getReturnType().toString(); in testReturnVoid() 122 String result = mSourcer.getReturnType().toString(); in testManyArgs() 142 array[i] = params.get(i).toString(); in toStringArray()
|
D | FieldSourcerTest.java | 56 String s = mWriter.toString(); in testStringField() 71 String s = mWriter.toString(); in testTemplateTypeField()
|
D | AccessSourcerTest.java | 50 String s = mWriter.toString(); in testAbstractPublic() 59 String s = mWriter.toString(); in testPrivateFinalStatic()
|
/development/apps/Development/src/com/android/development/ |
D | Connectivity.java | 180 mSCCycleCountView.setText(Integer.toString(mSCCycleCount)); 215 mDCCycleCountView.setText(Integer.toString(mDCCycleCount)); 245 mScanResults.setText("Current scan = " + Long.toString(wifiScanResults.size())); in onReceive() 251 mScanCyclesEdit.setText(Long.toString(mScanCur)); in onReceive() 277 Log.d(TAG, "onCapabilitiesChanged: " + network.netId + " " + nc.toString()); in onCapabilitiesChanged() 281 Log.d(TAG, "onLinkPropertiesChanged: " + network.netId + " " + lp.toString()); in onLinkPropertiesChanged() 424 mDCOnDurationEdit.setText(Long.toString(mDCOnDuration)); in onCreate() 426 mDCOffDurationEdit.setText(Long.toString(mDCOffDuration)); in onCreate() 428 mDCCycleCountView.setText(Integer.toString(mDCCycleCount)); in onCreate() 433 mSCOnDurationEdit.setText(Long.toString(mSCOnDuration)); in onCreate() [all …]
|
/development/tools/idegen/src/com/android/idegen/ |
D | Module.java | 129 return sb.toString(); in calculateRelativePartToRepoRoot() 137 logger.info(toString()); in build() 219 String imlTemplate = Files.toString( in buildImlFile() 256 imlTemplate = imlTemplate.replace("@SOURCES@", sourceDirectories.toString()); in buildImlFile() 264 imlTemplate = imlTemplate.replace("@MODULE_DEPENDENCIES@", moduleDependencies.toString()); in buildImlFile() 281 return sb.toString(); in buildIntermediates() 382 public String toString() { in toString() method in Module 388 .add("explicitModuleNameDependencies", Iterables.toString( in toString() 390 .add("implicitModulePathDependencies", Iterables.toString( in toString() 392 .toString(); in toString()
|
D | MakeFileParser.java | 82 public String toString() { in toString() function 83 return Objects.toStringHelper(this).add("values", values).toString(); in toString() 107 String completeLine = lineBuffer.toString().trim(); in lineBuffer.toString() 195 value = sb.toString(); in sb.toString() 274 System.out.println(parser.toString()); in parser.toString()
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnClient.java | 60 .putExtra(prefix + ".ADDRESS", mServerAddress.getText().toString()) in onActivityResult() 61 .putExtra(prefix + ".PORT", mServerPort.getText().toString()) in onActivityResult() 62 .putExtra(prefix + ".SECRET", mSharedSecret.getText().toString()); in onActivityResult()
|
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
D | Output.java | 65 write(Character.toString(c)); in write() 74 write(sb.toString()); in write()
|
D | SignatureSourcer.java | 112 public String toString() { in toString() method in SignatureSourcer 113 return mBuf.toString(); in toString() 141 return mFormalsBuf.toString(); in formalsToString() 219 getBuf().append(Type.getType(Character.toString(descriptor)).getClassName()); in visitBaseType()
|
D | AccessSourcer.java | 76 public String toString() { in toString() method in AccessSourcer.Flag 77 return super.toString().substring(4).toLowerCase(); in toString() 105 mOutput.write(f.toString()); in write()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/ |
D | SelectionBuilder.java | 237 return mSelection.toString(); in getSelection() 278 public String toString() { in toString() method in SelectionBuilder 280 + ", selectionArgs=" + Arrays.toString(getSelectionArgs()) + "]"; in toString() 326 Log.v(TAG, "query(columns=" + Arrays.toString(columns) + ") " + this); in query()
|
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/ |
D | MidiPrinter.java | 67 return sb.toString(); in formatBytes() 88 return sb.toString(); in formatMessage() 106 return sb.toString(); in formatDeviceInfo()
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/ |
D | Utils.java | 47 viewMethods.setText(sbMethods.toString()); in printStatus() 56 viewStatus.setText(sbStatus.toString()); in printStatus()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 158 Log.e(TAG, "Error reading from network: " + e.toString()); in onPerformSync() 162 Log.e(TAG, "Error parsing feed: " + e.toString()); in onPerformSync() 166 Log.e(TAG, "Error parsing feed: " + e.toString()); in onPerformSync() 170 Log.e(TAG, "Error updating database: " + e.toString()); in onPerformSync() 174 Log.e(TAG, "Error updating database: " + e.toString()); in onPerformSync() 246 .appendPath(Integer.toString(id)).build(); in updateLocalFeedData() 264 .appendPath(Integer.toString(id)).build(); in updateLocalFeedData()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/ |
D | DbQueryUtils.java | 41 return clause.toString(); in getEqualityClause() 75 return builder.toString(); in concatenateClausesWithOperation()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
D | VoicemailFilterFactory.java | 57 public String toString() { in createWithWhereClause() method in VoicemailFilterFactory 113 Long.toString(fieldMatch.getDuration()))); 117 Long.toString(fieldMatch.getTimestampMillis())));
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
D | AddVoicemailActivity.java | 124 String sender = mSenderNumber.getText().toString(); in buildVoicemailObjectFromUiElements() 125 String dateStr = mTime.getText().toString(); in buildVoicemailObjectFromUiElements() 126 String durationStr = mDuration.getText().toString(); in buildVoicemailObjectFromUiElements() 127 String mimeType = mMimeType.getText().toString(); in buildVoicemailObjectFromUiElements() 128 String sourcePackageName = mProviderPackage.getText().toString(); in buildVoicemailObjectFromUiElements()
|
/development/samples/training/notify-user/src/com/example/android/pingme/ |
D | MainActivity.java | 48 String message = msgText.getText().toString(); in onPingClick() 56 String input = editText.getText().toString(); in onPingClick()
|