/development/tools/winscope/adb_proxy/ |
D | winscope_proxy.py | 74 def __init__(self, file: str, trace_start: str, trace_stop: str) -> None: argument 117 def __init__(self, file: str, dump_command: str) -> None: argument 137 def get_token() -> str: 201 def register_endpoint(self, method: RequestType, name: str, endpoint: RequestEndpoint): argument 204 def __bad_request(self, error: str): argument 209 def __internal_error(self, error: str): argument 230 return self.__internal_error(str(ex)) 232 return self.__bad_request(str(ex)) 238 def call_adb(params: str, device: str = None, stdin: bytes = None): argument 251 def call_adb_outfile(params: str, outfile, device: str = None, stdin: bytes = None): argument [all …]
|
/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/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/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/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);
|
/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/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/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 | 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()
|
D | StyledText.java | 46 CharSequence str = getText(R.string.styled_text); in onCreate() local 48 tv.setText(str); in onCreate()
|
/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/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/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/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/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/gsi/gsi_util/gsi_util/commands/ |
D | pull.py | 69 type=str, 75 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/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/tools/winscope/src/ |
D | transform.js | 146 units.some(([div, str], i) => { 148 if (!str.startsWith('(')) { 149 parts.push(part + str);
|
/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/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduParser.java | 458 String str = new String(address); in parseHeaders() local 461 + " value: " + str); in parseHeaders() 463 int endIndex = str.indexOf("/"); in parseHeaders() 465 str = str.substring(0, endIndex); in parseHeaders() 468 value.setTextString(str.getBytes()); in parseHeaders() 544 String str = new String(address); in parseHeaders() local 545 int endIndex = str.indexOf("/"); in parseHeaders() 547 str = str.substring(0, endIndex); in parseHeaders() 550 from.setTextString(str.getBytes()); in parseHeaders()
|
/development/vndk/tools/header-checker/src/utils/ |
D | collect_exported_headers.cpp | 59 return llvm::sys::path::relative_path(norm_path.str()).str(); in NormalizePath()
|
/development/vendor_snapshot/ |
D | update.py | 60 elif type(val) == str: 132 'version': str(version), 212 install_dir = os.path.join('prebuilts', 'vendor', 'v'+str(args.snapshot_version))
|