Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 27) sorted by relevance

12

/development/vndk/tools/definition-tool/tests/
Dtest_dex_file.py20 self.assertEqual(b'\xc0\x80', u'\u0000'.encode('mutf-8'))
21 self.assertEqual(b'\x09', u'\u0009'.encode('mutf-8'))
22 self.assertEqual(b'\x7f', u'\u007f'.encode('mutf-8'))
23 self.assertEqual(b'\xc2\x80', u'\u0080'.encode('mutf-8'))
24 self.assertEqual(b'\xdf\xbf', u'\u07ff'.encode('mutf-8'))
25 self.assertEqual(b'\xe0\xa0\x80', u'\u0800'.encode('mutf-8'))
26 self.assertEqual(b'\xe7\xbf\xbf', u'\u7fff'.encode('mutf-8'))
28 u'\U00010400'.encode('mutf-8'))
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py207 + error.encode("utf-8"), 'text/txt')
211 self.request.respond(HTTPStatus.INTERNAL_SERVER_ERROR, error.encode("utf-8"), 'text/txt')
278 server.respond(HTTPStatus.OK, j.encode("utf-8"), "text/json")
443 TRACE_THREADS[device_id] = TraceThread(device_id, command.encode('utf-8'))
473 …server.respond(HTTPStatus.OK, str(TRACE_THREADS[device_id].is_alive()).encode("utf-8"), "text/plai…
501 out, err = process.communicate(command.encode('utf-8'))
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DPhotosListActivity.java37 "content://xmldocument/?url=" + Uri.encode(PICASA_FEED_URL))); in onCreate()
DRssReaderActivity.java39 "content://xmldocument/?url=" + Uri.encode(FEED_URI))); in onCreate()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DListenerService.java53 Uri uri = Uri.parse(Constants.MAPS_NAVIGATION_INTENT_URI + Uri.encode(attractionQuery)); in onMessageReceived()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessageReceiver.java53 Uri.encode(fromAddress)); in onReceive()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DAutoComplete4.java90 Uri.encode(constraint.toString())); in runQueryOnBackgroundThread()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java147 String encodedTitle = Uri.encode(title); in getPageContent()
DWordWidget.java106 Uri.encode(wordTitle)); in buildUpdate()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java140 String encodedTitle = Uri.encode(title); in getPageContent()
/development/python-packages/fastboot/
Ddevice.py218 ps_code = ps_code.encode('utf-16le')
/development/tools/etc1tool/
Detc1tool.cpp313 int encode(const char* pInput, const char* pOutput, bool bEmitHeader, const char* pDiffFile) { in encode() function
575 encode(pInput, pOutput, bEncodeHeader, pDiffFile); in main()
/development/scripts/
Dnative_heapdump_viewer_tests.py30 os.write(fd, contents.encode())
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderRetained.java186 Uri.encode(mCurFilter)); in onCreateLoader()
DLoaderCursor.java181 Uri.encode(mCurFilter)); in onCreateLoader()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailFragment.java111 Uri.encode(mAttraction.name + ", " + mAttraction.city))); in onCreateView()
/development/tools/repo_pull/
Dgerrit.py200 data = json.dumps(data).encode('utf-8')
Drepo_pull.py296 err_msg = err_msg.format(change.project).encode('utf-8')
/development/vndk/tools/image-diff-tool/
Ddiff.py38 return hashlib.sha1(",".join(l).encode()).hexdigest()
/development/python-packages/adb/
Ddevice.py191 ps_code = ps_code.encode('utf-16le')
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailFragment.java507 return Uri.parse(GEO_URI_SCHEME_PREFIX + Uri.encode(postalAddress)); in constructGeoUri()
DContactsListFragment.java471 Uri.withAppendedPath(ContactsQuery.FILTER_URI, Uri.encode(mSearchTerm)); in onCreateLoader()
/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py36 return unicode(string).encode('utf-8')
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py38 return unichr(codepoint).encode('utf-8')
/development/tools/winscope/
Dyarn.lock4196 strict-uri-encode "^1.0.0"
4842 strict-uri-encode@^1.0.0:
4844 …resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d…

12