Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 19 of 19) sorted by relevance

/development/tools/repo_diff/service/repodiff/persistence/filesystem/
Dunix.go49 filterEmptyStrings(strings.Split(string(out), "\n"))...,
55 func filterEmptyStrings(strings []string) []string {
56 filtered := make([]string, len(strings)-countEmpty(strings))
58 for _, str := range strings {
67 func countEmpty(strings []string) int {
69 for _, str := range strings {
/development/tools/findunused/
Dfind_unused_resources.rb108 strings = Hash.new
116 strings[id] = FilePosition.new(filename, file.lineno)
147 strings.delete(id)
152 strings.delete(id)
157 strings.delete(id)
163 result.unusedStringIds = strings
Dfindunusedstrings7 -p option prints out unused strings, otherwise a total count is printed
44 echo $app: $count unused strings
/development/samples/RSSReader/src/com/example/android/rssreader/
DRssReader.java412 ArrayList<CharSequence> strings = new ArrayList<CharSequence>(); in onSaveInstanceState() local
415 strings.add(item.getTitle()); in onSaveInstanceState()
416 strings.add(item.getLink()); in onSaveInstanceState()
417 strings.add(item.getDescription()); in onSaveInstanceState()
419 outState.putSerializable(STRINGS_KEY, strings); in onSaveInstanceState()
447 List<CharSequence> strings = (ArrayList<CharSequence>)state.getSerializable(STRINGS_KEY); in onRestoreInstanceState()
449 for (int i = 0; i < strings.size(); i += 3) { in onRestoreInstanceState()
450 items.add(new RssItem(strings.get(i), strings.get(i + 1), strings.get(i + 2))); in onRestoreInstanceState()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryDatabase.java211 String[] strings = TextUtils.split(line, "-"); in loadWords() local
212 if (strings.length < 2) continue; in loadWords()
213 long id = addWord(strings[0].trim(), strings[1].trim()); in loadWords()
215 Log.e(TAG, "unable to add word: " + strings[0].trim()); in loadWords()
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers_test.go14 columns := strings.Split(exampleLine, ",")
34 columns := strings.Split(exampleLine, ",")
/development/tools/repo_diff/service/repodiff/repositories/
Dcommit.go182 AND commit_ IN(?`+strings.Repeat(",?", len(commitHashes)-1)+`)
223 func asInterfaceSlice(strings []string) []interface{} {
224 casted := make([]interface{}, len(strings))
225 for i, s := range strings {
Dcommon.go22 startIndex := strings.Index(url, "//")
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/
DGenericAccountService.java88 String s, String s2, String[] strings, Bundle bundle) in addAccount() argument
121 Account account, String[] strings) in hasFeatures() argument
/development/samples/browseable/BasicContactables/
D_index.jd9 … \n\nQuery strings sent to the Contactables table will match both contact names and phone numbers,
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java927 private void setLengths(String[] strings) throws IOException { in setLengths() argument
928 if (strings.length != valueCount) { in setLengths()
929 throw invalidLengths(strings); in setLengths()
933 for (int i = 0; i < strings.length; i++) { in setLengths()
934 lengths[i] = Long.parseLong(strings[i]); in setLengths()
937 throw invalidLengths(strings); in setLengths()
941 private IOException invalidLengths(String[] strings) throws IOException { in invalidLengths() argument
942 throw new IOException("unexpected journal line: " + Arrays.toString(strings)); in invalidLengths()
/development/tools/repo_diff/service/repodiff/interactors/
Dstrings.go111 return strings.Join(
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
DAppUsageStatisticsFragment.java105 String[] strings = getResources().getStringArray(R.array.action_list); in onViewCreated()
110 .getValue(strings[position]); in onViewCreated()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java270 String[] strings = itemString.split(SEPARATOR, 2); in loadRestrictions() local
271 items.put(strings[0], strings[1]); in loadRestrictions()
/development/samples/SkeletonApp/
Dreadme.txt59 res/values/strings.xml
/development/tools/repo_diff/service/repodiff/controllers/
Ddifferential.go138 displayStr := strings.Join(cmd.Args, " ")
/development/build/
Dsdk.atree206 development/tools/templates/strings.template platforms/${PLATFORM_NAME}/templates/st…
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py3094 strings = set()
3097 strings.add(decode(string))
3107 if 'loadLibrary' not in strings:
3112 for string in strings:
/development/tools/winscope/
Dyarn.lock1135 console-control-strings@^1.0.0, console-control-strings@~1.1.0:
1137 …resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz…
1816 console-control-strings "^1.0.0"
2778 console-control-strings "~1.1.0"