Home
last modified time | relevance | path

Searched refs:stringBuilder (Results 1 – 4 of 4) sorted by relevance

/development/tools/idegen/src/com/android/idegen/
DFrameworkModule.java60 private void appendContentRoot(StringBuilder stringBuilder, String rootPath) in appendContentRoot() argument
64 stringBuilder.append(" <content url=\"file://").append(intermediates).append("\">\n"); in appendContentRoot()
66 stringBuilder.append(" <sourceFolder url=\"file://") in appendContentRoot()
69 stringBuilder.append(" </content>\n"); in appendContentRoot()
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestPhoneService.java112 StringBuilder stringBuilder = new StringBuilder(); in respondWithStorageInformation() local
119 stringBuilder.append("List of directories on phone:\n"); in respondWithStorageInformation()
121 stringBuilder.append(" - " + file + "\n"); in respondWithStorageInformation()
124 stringBuilder.append("No files in external storage."); in respondWithStorageInformation()
127 stringBuilder.append("No external media is available."); in respondWithStorageInformation()
134 dataMap.putString(Constants.KEY_PAYLOAD, stringBuilder.toString()); in respondWithStorageInformation()
DMainPhoneActivity.java397 StringBuilder stringBuilder = new StringBuilder(); in getPhoneStorageInformation() local
409 stringBuilder.append("List of files\n"); in getPhoneStorageInformation()
411 stringBuilder.append(" - " + file + "\n"); in getPhoneStorageInformation()
415 stringBuilder.append("No files in external storage."); in getPhoneStorageInformation()
419 stringBuilder.append("No external media is available."); in getPhoneStorageInformation()
422 return stringBuilder.toString(); in getPhoneStorageInformation()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DBluetoothLeService.java146 final StringBuilder stringBuilder = new StringBuilder(data.length); in broadcastUpdate() local
148 stringBuilder.append(String.format("%02X ", byteChar)); in broadcastUpdate()
149 intent.putExtra(EXTRA_DATA, new String(data) + "\n" + stringBuilder.toString()); in broadcastUpdate()