Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 12 of 12) 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/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/header-checker/utils/
Dutils.py304 print("error: %s" % err.decode('utf-8'), file=sys.stderr)
307 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/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'))
3081 def decode(string): # PY2 function
3082 return string.decode('mutf-8').encode('utf-8')
3084 def decode(string): # PY3 function
3085 return string.decode('mutf-8')
3097 strings.add(decode(string))
/development/vndk/tools/sourcedr/ninja/
Dninja.py912 return intern(s[0:pos].decode(encoding))