/packages/apps/Contacts/src/com/android/contacts/util/ |
D | NameConverter.java | 110 String[] strings = phoneticName.split(" ", 3); in parsePhoneticName() local 111 switch (strings.length) { in parsePhoneticName() 113 family = strings[0]; in parsePhoneticName() 116 family = strings[0]; in parsePhoneticName() 117 given = strings[1]; in parsePhoneticName() 120 family = strings[0]; in parsePhoneticName() 121 middle = strings[1]; in parsePhoneticName() 122 given = strings[2]; in parsePhoneticName()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 107 Set<String> strings = prefs.getStringSet(APPS_PENDING_INSTALL, null); in addToQueue() local 108 strings = (strings != null) ? new HashSet<>(strings) : new HashSet<>(1); in addToQueue() 109 strings.add(encoded); in addToQueue() 110 prefs.edit().putStringSet(APPS_PENDING_INSTALL, strings).apply(); in addToQueue() 123 Set<String> strings = prefs.getStringSet(APPS_PENDING_INSTALL, null); in flushQueueInBackground() local 124 if (DBG) Log.d(TAG, "Getting and clearing APPS_PENDING_INSTALL: " + strings); in flushQueueInBackground() 125 if (strings == null) { in flushQueueInBackground() 130 for (String encoded : strings) { in flushQueueInBackground() 163 Set<String> strings = sp.getStringSet(APPS_PENDING_INSTALL, null); in removeFromInstallQueue() local 165 Log.d(TAG, "APPS_PENDING_INSTALL: " + strings in removeFromInstallQueue() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | MediaViewTest.java | 53 mResources.strings.put(R.string.metadata_dimensions_format, "%d x %d, %.1fMP"); in setUp() 54 mResources.strings.put(R.string.metadata_aperture_format, "f/%.1f"); in setUp() 55 mResources.strings.put(R.string.metadata_coordinates_format, "%.3f, %.3f"); in setUp() 56 mResources.strings.put(R.string.metadata_camera_format, "%s %s"); in setUp() 70 mResources.strings.put(R.string.metadata_focal_format, "%.2f mm"); in testShowExifData() 71 mResources.strings.put(R.string.metadata_iso_format, "ISO %d"); in testShowExifData()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestResources.java | 41 public SparseArray<String> strings; field in TestResources 52 res.strings = new SparseArray<>(); in create() 67 strings.put(R.string.trusted_quick_viewer_package, packageName); in setQuickViewerPackage() 71 strings.put(R.string.default_root_uri, uri); in setDefaultDocumentsUri() 85 return strings.get(id); in getString()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistanceTest.java | 59 private Token[] makeTokens(String[] strings) { in makeTokens() argument 60 Token[] tokens = new Token[strings.length]; in makeTokens() 61 for (int i = 0; i < strings.length; i++) { in makeTokens() 62 String str = strings[i]; in makeTokens()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 198 mActivity.resources.strings.put(R.string.share_via, "Sharezilla!"); in testShareSelectedDocuments_ShowsChooser() 206 mActivity.resources.strings.put(R.string.share_via, "Sharezilla!"); in testShareSelectedDocuments_Single() 221 mActivity.resources.strings.put(R.string.share_via, "Sharezilla!"); in testShareSelectedDocuments_ArchivedFile() 232 mActivity.resources.strings.put(R.string.share_via, "Sharezilla!"); in testShareSelectedDocuments_Multiple() 249 mActivity.resources.strings.put(R.string.share_via, "Sharezilla!"); in testShareSelectedDocuments_VirtualFiles() 263 mActivity.resources.strings.put(R.string.share_via, "Sharezilla!"); in testShareSelectedDocuments_RegularAndVirtualFiles() 282 mActivity.resources.strings.put(R.string.share_via, "Sharezilla!"); in testShareSelectedDocuments_OmitsPartialFiles() 441 mActivity.resources.strings.put(R.string.default_root_uri, in testInitLocation_forceDefaultsToRoot() 452 mActivity.resources.strings.put(R.string.default_root_uri, in testInitLocation_DocumentsRootEnabled() 474 mActivity.resources.strings.put(R.string.default_root_uri, in testInitLocation_BrowseRootWrongAuthority_ShowDefault()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | features.md | 33 …* For example, you can read a UTF-8 file and let RapidJSON transcode the JSON strings into UTF-16 … 35 …* For example, you can read a UTF-8 file, and let RapidJSON check whether all JSON strings are val… 54 …N string values in-place at the source JSON, and then the DOM points to addresses of those strings. 55 …* Faster than convention parsing: no allocation for strings, no copy (if string does not contain e… 67 * Optimization for "short" strings
|
D | dom.md | 36 …strings stored in JSON files. Unicode-enabled functions in Windows use UTF-16 (wide character) enc… 114 `kParseValidateEncodingFlag` | Validate encoding of JSON strings. 176 In normal parsing process, a large overhead is to decode JSON strings and copy them to other buffer… 211 The JSON strings are marked as const-string. But they may not be really "constant". The life cycle … 220 4. If the DOM need to be used for long period after parsing, and there are few JSON strings in the …
|
D | faq.md | 69 … It can handle corner cases, such as supporting null character and surrogate pairs in JSON strings. 91 …*in situ* parsing decodes the JSON strings directly into the input JSON. This is an optimization w… 193 …` pairing with `EndArray()`) will assert. Besides, `Writer` will escapes strings (e.g., `\n`). Fin…
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestInformationProvider.java | 34 public int update(Uri uri, ContentValues contentValues, String s, String[] strings) { in update() argument 39 public int delete(Uri uri, String s, String[] strings) { in delete() argument 54 public Cursor query(Uri uri, String[] strings, String s, String[] strings1, String s1) { in query() argument
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgInputAllowList.java | 94 private static ImmutableSet<String> toInputSet(List<String> strings) { in toInputSet() argument 95 if (strings.isEmpty()) { in toInputSet() 99 for (String s : strings) { in toInputSet()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | ClearMissedCalls.java | 164 String[] strings = new String[longs.size()]; 167 strings[i++] = Long.toString(value); 169 return strings;
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | Utils.java | 25 static int[] stringsToIntArray(String... strings) { in stringsToIntArray() argument 27 for (String string : strings) { in stringsToIntArray()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/ |
D | GarageModeServiceTest.java | 66 List<String> strings = mCaptorString.getAllValues(); in testDump_shouldSucceed() local 67 assertThat(strings.get(0)).isEqualTo("GarageModeInProgress true"); in testDump_shouldSucceed()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/accounts/ |
D | Authenticator.java | 38 public Bundle addAccount(AccountAuthenticatorResponse r, String s, String s2, String[] strings, in addAccount() argument 70 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] strings) in hasFeatures() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | Authenticator.java | 44 public Bundle addAccount(AccountAuthenticatorResponse r, String s, String s2, String[] strings, in addAccount() argument 84 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] strings) in hasFeatures() argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TextToSpeechFragment.java | 380 String[] strings = getActivity().getResources().getStringArray( in getDefaultSampleString() local 385 for (int i = 0; i < strings.length; ++i) { in getDefaultSampleString() 387 return strings[i]; in getDefaultSampleString()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 554 String[] strings = getActivity().getResources().getStringArray( in getDefaultSampleString() local 559 for (int i = 0; i < strings.length; ++i) { in getDefaultSampleString() 561 return strings[i]; in getDefaultSampleString()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/ |
D | TextToSpeechSettings.java | 554 String[] strings = getActivity().getResources().getStringArray( in getDefaultSampleString() local 559 for (int i = 0; i < strings.length; ++i) { in getDefaultSampleString() 561 return strings[i]; in getDefaultSampleString()
|
/packages/apps/TV/common/src/com/android/tv/common/flags/proto/ |
D | typed-features.proto | 17 // This message is to specify feature params that are a list of strings.
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupUtil.java | 268 private static String[] clearEmptyString(String[] strings) { in clearEmptyString() argument 270 for (String s : strings) { in clearEmptyString()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiCategory.java | 243 final String[] strings = name.split("-"); in getCategoryId() local 244 return mCategoryNameToIdMap.get(strings[0]); in getCategoryId()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 307 private static ArraySet<String> convertToSet(String strings) { in convertToSet() argument 309 if (strings != null) { in convertToSet() 310 String[] split = strings.split(","); in convertToSet()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | LauncherSearchIndexablesProvider.java | 50 public Cursor queryXmlResources(String[] strings) { in queryXmlResources() argument
|
/packages/inputmethods/LatinIME/native/dicttoolkit/ |
D | Android.bp | 26 "-Wwrite-strings",
|