Lines Matching refs:str
128 def __init__(self, files, trace_start: str, trace_stop: str) -> None: argument
197 def add(self, config: str) -> None: argument
200 def is_valid(self, config: str) -> bool: argument
203 def command(self) -> str:
222 def setBufferSize(self) -> str:
243 def setBufferSize(self) -> str:
246 def setTracingLevel(self) -> str:
249 def setTracingType(self) -> str:
279 def __init__(self, files, dump_command: str) -> None: argument
301 def get_token() -> str:
370 def register_endpoint(self, method: RequestType, name: str, endpoint: RequestEndpoint): argument
373 def __bad_request(self, error: str): argument
378 def __internal_error(self, error: str): argument
400 return self.__internal_error(str(ex))
402 return self.__bad_request(str(ex))
408 def call_adb(params: str, device: str = None, stdin: bytes = None): argument
425 def call_adb_outfile(params: str, outfile, device: str = None, stdin: bytes = None): argument
449 'authorised': str(m.group(2)) != 'unauthorized',
468 def get_request(self, server) -> str:
472 raise BadRequest("Missing Content-Length header\n" + str(err))
474 raise BadRequest("Content length unreadable\n" + str(err))
630 raise BadRequest("Unsupported trace target\n" + str(err))
693 raise BadRequest("Unsupported trace target\n" + str(err))
715 raise BadRequest("Unsupported trace target\n" + str(err))
753 server.respond(HTTPStatus.OK, str(
763 raise BadRequest("Unsupported trace target\n" + str(err))
804 def respond(self, code: int, data: bytes, mime: str) -> None: argument
824 log.info('{} {} {}'.format(self.requestline, str(code), str(size)))