Home
last modified time | relevance | path

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

/development/vndk/tools/definition-tool/tests/
Dtest_dex_file.py34 self.assertEqual(u'\u0000', b'\xc0\x80'.decode('mutf-8'))
35 self.assertEqual(u'\u0009', b'\x09'.decode('mutf-8'))
36 self.assertEqual(u'\u007f', b'\x7f'.decode('mutf-8'))
37 self.assertEqual(u'\u0080', b'\xc2\x80'.decode('mutf-8'))
38 self.assertEqual(u'\u07ff', b'\xdf\xbf'.decode('mutf-8'))
39 self.assertEqual(u'\u0800', b'\xe0\xa0\x80'.decode('mutf-8'))
40 self.assertEqual(u'\u7fff', b'\xe7\xbf\xbf'.decode('mutf-8'))
42 b'\xed\xa0\x81\xed\xb0\x80'.decode('mutf-8'))
/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/vndk/tools/sourcedr/sourcedr/
Dreview_db.py54 for line in processed.decode('utf-8').split('\n'):
72 for line in processed.decode('utf-8').split('\n'):
Dserver.py121 result = codesearch.raw_search(patt, is_regex).decode('utf-8')
Dninja.py915 return intern(s[0:pos].decode(encoding))
/development/scripts/
Dusb-reset-by-serial.py98 decoded_err = perr.decode(encoding)
103 decoded = pout.decode(encoding)
/development/tools/privapp_permissions/
Dprivapp_permissions.py126 return output.decode(encoding='UTF-8')
342 return output.decode(encoding='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/vndk/tools/header-checker/utils/
Dutils.py207 build_vars = out.decode('utf-8').strip().split('\n')
/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.py504 return intern(buf_slice.decode('utf-8'))
803 return res.decode('mutf-8', 'ignore')