Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 17 of 17) sorted by relevance

/development/vndk/tools/definition-tool/tests/
Dtest_dex_file.py32 self.assertEqual(u'\u0000', b'\xc0\x80'.decode('mutf-8'))
33 self.assertEqual(u'\u0009', b'\x09'.decode('mutf-8'))
34 self.assertEqual(u'\u007f', b'\x7f'.decode('mutf-8'))
35 self.assertEqual(u'\u0080', b'\xc2\x80'.decode('mutf-8'))
36 self.assertEqual(u'\u07ff', b'\xdf\xbf'.decode('mutf-8'))
37 self.assertEqual(u'\u0800', b'\xe0\xa0\x80'.decode('mutf-8'))
38 self.assertEqual(u'\u7fff', b'\xe7\xbf\xbf'.decode('mutf-8'))
40 b'\xed\xa0\x81\xed\xb0\x80'.decode('mutf-8'))
46 b'\xed\xa0\x81\x40'.decode('mutf-8')
50 b'\xed\xb0\x80\x40'.decode('mutf-8')
[all …]
/development/vndk/tools/elfcheck/elfcheck/
Dreadobj.py39 for line in stdout.decode('utf-8').splitlines():
51 for line in stdout.decode('utf-8').splitlines():
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py242 … return subprocess.check_output(command, stderr=subprocess.STDOUT, input=stdin).decode('utf-8')
247 …log.debug('Error executing adb command: {}\n{}'.format(' '.join(command), ex.output.decode("utf-8"…
248 …raise AdbError('Error executing adb command: adb {}\n{}'.format(params, ex.output.decode("utf-8")))
258 log.debug('Error executing adb command: adb {}\n'.format(params) + err.decode(
259 'utf-8') + '\n' + outfile.read().decode('utf-8'))
260 raise AdbError('Error executing adb command: adb {}\n'.format(params) + err.decode(
261 'utf-8') + '\n' + outfile.read().decode('utf-8'))
428 requested_types = json.loads(server.rfile.read(length).decode("utf-8"))
463 "Error tracing the device\n### Output ###\n" + out.decode(
464 …utf-8") + "\n### Command: adb -s {} shell ###\n### Input ###\n".format(device_id) + command.decode(
[all …]
/development/python-packages/adb/
Ddevice.py55 subprocess.check_output([adb_path, 'devices']).decode('utf-8'))
122 [adb_path, flag, 'get-serialno']).decode('utf-8').strip()
237 version_output = version_output.decode('utf-8')
279 self.adb_cmd + ['shell', 'echo']).decode('utf-8')
331 self.adb_cmd + cmd, stderr=subprocess.STDOUT).decode('utf-8')
366 stdout = stdout.decode('utf-8')
367 stderr = stderr.decode('utf-8')
/development/scripts/
Dusb-reset-by-serial.py98 decoded_err = perr.decode(encoding)
103 decoded = pout.decode(encoding)
/development/vndk/tools/image-diff-tool/
Ddiff.py95 pat = line.strip().decode()
124 line_text = line.decode()
/development/vndk/tools/header-checker/utils/
Dutils.py338 print("error: %s" % err.decode('utf-8'), file=sys.stderr)
341 build_vars = out.decode('utf-8').strip().splitlines()
/development/tools/privapp_permissions/
Dprivapp_permissions.py126 return output.decode(encoding='UTF-8')
342 return output.decode(encoding='UTF-8')
/development/tools/repo_pull/
Dgerrit.py113 data = data.decode('utf-8')
/development/tools/etc1tool/
Detc1tool.cpp453 int decode(const char* pInput, const char* pOutput) { in decode() function
577 decode(pInput, pOutput); in main()
/development/vndk/tools/definition-tool/tools/
Dremove_dt_needed.py98 return buf_slice.decode('utf-8')
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java304 signature = Base64.decode(signatureStr, Base64.DEFAULT); in verifyData()
/development/tools/winscope/src/
Ddecode.js250 var decoded = fileType.decoderParams.protoType.decode(buffer);
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java420 signature = Base64.decode(signatureString, Base64.DEFAULT); in doInBackground()
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py628 return intern(buf_slice.decode('utf-8'))
3242 def decode(string): # PY2 function
3243 return string.decode('mutf-8').encode('utf-8')
3245 def decode(string): # PY3 function
3246 return string.decode('mutf-8')
3259 strings.add(decode(string))
/development/vndk/tools/sourcedr/ninja/
Dninja.py912 return intern(s[0:pos].decode(encoding))
/development/tools/winscope/
Dyarn.lock1655 decode-uri-component@^0.2.0:
1657 …resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb391…
4722 decode-uri-component "^0.2.0"