/development/tools/repo_diff/service/repodiff/persistence/filesystem/ |
D | unix.go | 58 for _, str := range strings { 59 if str != "" { 60 filtered[copyToIndex] = str 69 for _, str := range strings { 70 if str == "" {
|
/development/tools/apkcheck/src/com/android/apkcheck/ |
D | TypeUtils.java | 259 private static String stripAngleBrackets(String str) { in stripAngleBrackets() argument 266 int ltIndex = str.indexOf('<'); in stripAngleBrackets() 268 return str; in stripAngleBrackets() 270 int gtIndex = str.lastIndexOf('>'); in stripAngleBrackets() 272 System.err.println("ERROR: found '<' without '>': " + str); in stripAngleBrackets() 273 return str; // not much we can do in stripAngleBrackets() 276 return str.substring(0, ltIndex) + str.substring(gtIndex+1); in stripAngleBrackets()
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
D | web_services.py | 159 logging.info('Returning ' + str(len(updated_contacts)) + ' contact records') 193 high_water_mark = str(long(_time.mktime(high_water_date.utctimetuple())) + 1) 215 logging.info('Server-side updates: ' + str(update_count)) 216 logging.info('Server-side deletes: ' + str(delete_count)) 227 logging.info('Client-side updates: ' + str(len(json_list))) 237 logging.info('Updating contact: ' + str(id)) 276 high_water = str(long(_time.mktime(contact.updated.utctimetuple())) + 1) 285 logging.info('Client-side adds: ' + str(new_contact_count)) 290 contact_id = str(contact.key().id()) 371 contact[json_name] = str(v) [all …]
|
/development/apps/Development/src/com/android/development/ |
D | AppHwPref.java | 134 String str = null; in displayTextView() local 137 str = getTouchScreenStr(config[i]); in displayTextView() 140 str = getKeyboardTypeStr(config[i]); in displayTextView() 143 str = getNavigationStr(config[i]); in displayTextView() 146 str = config[i].getGlEsVersion(); in displayTextView() 149 if(str != null) { in displayTextView() 150 list.add(str); in displayTextView() 155 for(String str : list) { in displayTextView() 157 listStr += str+","; in displayTextView()
|
D | Details.java | 95 TextView makeView(String str, boolean bold, int fontSize) in makeView() argument 97 if (str == null) { in makeView() 98 str = "(null)"; in makeView() 101 v.setText(str); in makeView() 123 String str = c.getString(i); 124 ColumnData cd = new ColumnData(columnNames[i], str);
|
D | DataList.java | 91 String str = mCursor.getString(i); in onListItemClick() local 92 ColumnData cd = new ColumnData(columnNames[i], str); in onListItemClick()
|
/development/tools/bugreport/src/com/android/bugreport/util/ |
D | Utils.java | 71 final String str = matcher.group(group); in getInt() local 72 if (str == null || str.length() == 0) { in getInt() 75 return Integer.parseInt(str); in getInt()
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ResourcesSample.java | 51 String str; in onCreate() local 64 str = getString(R.string.styled_text); in onCreate() 66 tv.setText(str); in onCreate()
|
D | StyledText.java | 46 CharSequence str = getText(R.string.styled_text); in onCreate() local 48 tv.setText(str); in onCreate()
|
D | TextUndoActivity.java | 104 private static String addSpaces(CharSequence str) { in addSpaces() argument 106 int len = str.length(); in addSpaces() 109 builder.append(str.subSequence(i, i + 4)); in addSpaces() 113 builder.append(str.subSequence(i, len)); in addSpaces()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | LogHelper.java | 28 public static String makeLogTag(String str) { in makeLogTag() argument 29 if (str.length() > MAX_LOG_TAG_LENGTH - LOG_PREFIX_LENGTH) { in makeLogTag() 30 return LOG_PREFIX + str.substring(0, MAX_LOG_TAG_LENGTH - LOG_PREFIX_LENGTH - 1); in makeLogTag() 33 return LOG_PREFIX + str; in makeLogTag()
|
/development/scripts/ |
D | boardconfig_usage_analysis.py | 183 str(len(locations)), 184 str(len(usage_in_sfe)), 185 str(len(usage_of_system_modules))]) + '\n' 190 print('Defined in (' + str(len(locations)) + ') :') 194 print('Used in (' + str(len(usage)) + ') :')
|
/development/gsi/gsi_util/gsi_util/commands/ |
D | pull.py | 69 type=str, 75 type=str,
|
D | flash_gsi.py | 62 help='the GSI image to flash', type=str)
|
/development/tools/axl/ |
D | log.py | 27 if type(file) is str: 40 for ln in " ".join(map(str, logstrs)).split("\n"):
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | MorseCodeConverter.java | 90 static long[] pattern(String str) { in pattern() argument 92 int strlen = str.length(); in pattern() 98 char c = str.charAt(i); in pattern() 121 char c = str.charAt(i); in pattern()
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
D | SecureWebServer.java | 122 String str = "."; in start() 123 while (!str.equals("")) in start() 124 str = in.readLine(); in start()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Regions.java | 62 private void drawRgn(Canvas canvas, int color, String str, Region.Op op) { in drawRgn() argument 63 if (str != null) { in drawRgn() 65 canvas.drawText(str, 80, 24, mPaint); in drawRgn()
|
/development/tools/logblame/ |
D | test_logs.py | 159 ", ".join([str(r) for r in expected]), 160 ", ".join([str(r) for r in result])))
|
/development/samples/RSSReader/src/com/example/android/rssreader/ |
D | RssReader.java | 204 public String removeTags(String str) { in removeTags() argument 205 str = str.replaceAll("<.*?>", " "); in removeTags() 206 str = str.replaceAll("\\s+", " "); in removeTags() 207 return str; in removeTags()
|
/development/tools/winscope/src/ |
D | transform.js | 141 units.some(([div, str], i) => { 143 if (!str.startsWith('(')) { 144 parts.push(part + str);
|
/development/samples/Snake/src/com/example/android/snake/ |
D | SnakeView.java | 344 CharSequence str = ""; in setMode() local 348 str = res.getText(R.string.mode_pause); in setMode() 354 str = res.getText(R.string.mode_ready); in setMode() 359 str = res.getString(R.string.mode_lose, mScore); in setMode() 362 mStatusText.setText(str); in setMode()
|
/development/gsi/gsi_util/gsi_util/commands/common/ |
D | image_sources.py | 65 type=str,
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 488 CharSequence str = ""; in setState() local 490 str = res.getText(R.string.mode_ready); in setState() 492 str = res.getText(R.string.mode_pause); in setState() 494 str = res.getText(R.string.mode_lose); in setState() 496 str = res.getString(R.string.mode_win_prefix) in setState() 501 str = message + "\n" + str; in setState() 508 b.putString("text", str.toString()); in setState()
|
/development/testrunner/ |
D | logger.py | 56 file_handle.write('\n' + str(msg))
|