Searched refs:decode (Results 1 – 12 of 12) sorted by relevance
/development/vndk/tools/definition-tool/tests/ |
D | test_dex_file.py | 32 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/ |
D | device.py | 55 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/ |
D | usb-reset-by-serial.py | 98 decoded_err = perr.decode(encoding) 103 decoded = pout.decode(encoding)
|
/development/vndk/tools/header-checker/utils/ |
D | utils.py | 304 print("error: %s" % err.decode('utf-8'), file=sys.stderr) 307 build_vars = out.decode('utf-8').strip().splitlines()
|
/development/tools/privapp_permissions/ |
D | privapp_permissions.py | 126 return output.decode(encoding='UTF-8') 342 return output.decode(encoding='UTF-8')
|
/development/tools/repo_pull/ |
D | gerrit.py | 113 data = data.decode('utf-8')
|
/development/tools/etc1tool/ |
D | etc1tool.cpp | 453 int decode(const char* pInput, const char* pOutput) { in decode() function 577 decode(pInput, pOutput); in main()
|
/development/vndk/tools/definition-tool/tools/ |
D | remove_dt_needed.py | 98 return buf_slice.decode('utf-8')
|
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
D | BasicAndroidKeyStoreFragment.java | 304 signature = Base64.decode(signatureStr, Base64.DEFAULT); in verifyData()
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 420 signature = Base64.decode(signatureString, Base64.DEFAULT); in doInBackground()
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 628 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/ |
D | ninja.py | 912 return intern(s[0:pos].decode(encoding))
|