Home
last modified time | relevance | path

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

/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/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/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCursor.java181 Uri.encode(mCurFilter)); in onCreateLoader()
DLoaderRetained.java186 Uri.encode(mCurFilter)); in onCreateLoader()
/development/scripts/
Dnative_heapdump_viewer_tests.py30 os.write(fd, contents.encode())
/development/tools/repo_pull/
Dgerrit.py142 data = json.dumps(data).encode('utf-8')
Drepo_pull.py327 err_msg = err_msg.format(change.project).encode('utf-8')
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailFragment.java111 Uri.encode(mAttraction.name + ", " + mAttraction.city))); in onCreateView()
/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/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.lock3360 strict-uri-encode "^1.0.0"
3862 strict-uri-encode@^1.0.0:
3864 …resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d…
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py3082 return string.decode('mutf-8').encode('utf-8')