Home
last modified time | relevance | path

Searched refs:prefixString (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneFilterTypeAdapter.java174 String prefixString = null; in performFiltering() local
176 prefixString = prefix.toString().trim().toLowerCase(); in performFiltering()
179 if (TextUtils.isEmpty(prefixString)) { in performFiltering()
194 if (prefixString.charAt(0) == '+' || prefixString.charAt(0) == '-') { in performFiltering()
198 if (prefixString.startsWith("gmt")) { in performFiltering()
203 int num = parseNum(prefixString, startParsePosition); in performFiltering()
205 boolean positiveOnly = prefixString.length() > startParsePosition in performFiltering()
206 && prefixString.charAt(startParsePosition) == '+'; in performFiltering()
219 if (lowerCaseCountry.startsWith(prefixString) in performFiltering()
220 || (lowerCaseCountry.charAt(0) == prefixString.charAt(0) && in performFiltering()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DSuggestedLocaleAdapter.java254 String prefixString = LocaleHelper.normalizeForSearch(prefix.toString(), locale); in performFiltering() local
265 if (wordMatches(nativeNameToCheck, prefixString) in performFiltering()
266 || wordMatches(nameToCheck, prefixString)) { in performFiltering()
279 boolean wordMatches(String valueText, String prefixString) { in wordMatches() argument
281 if (valueText.startsWith(prefixString)) { in wordMatches()
288 if (word.startsWith(prefixString)) { in wordMatches()
/frameworks/base/core/java/android/net/
DINetdEventCallback.aidl58 void onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, in onNat64PrefixEvent() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java35 public void onNat64PrefixEvent(int netId, boolean added, String prefixString, in onNat64PrefixEvent() argument
/frameworks/base/core/java/android/widget/
DArrayAdapter.java581 final String prefixString = prefix.toString().toLowerCase(); in performFiltering() local
596 if (valueText.startsWith(prefixString)) { in performFiltering()
601 if (word.startsWith(prefixString)) { in performFiltering()
DSimpleAdapter.java377 String prefixString = prefix.toString().toLowerCase(); in performFiltering() local
399 if (word.toLowerCase().startsWith(prefixString)) { in performFiltering()
/frameworks/base/core/java/android/app/
DLauncherActivity.java202 final String prefixString = prefix.toString().toLowerCase(); in performFiltering() local
218 if (word.startsWith(prefixString)) { in performFiltering()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java219 boolean added, String prefixString, int prefixLength) in onNat64PrefixEvent() argument
223 callback.onNat64PrefixEvent(netId, added, prefixString, prefixLength); in onNat64PrefixEvent()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1797 String prefixString, int prefixLength) {
1798 mHandler.post(() -> handleNat64PrefixEvent(netId, added, prefixString, prefixLength));
2890 private void handleNat64PrefixEvent(int netId, boolean added, String prefixString, in handleNat64PrefixEvent() argument
2896 (added ? "added" : "removed"), netId, prefixString, prefixLength)); in handleNat64PrefixEvent()
2901 prefix = new IpPrefix(InetAddresses.parseNumericAddress(prefixString), in handleNat64PrefixEvent()
2904 loge("Invalid NAT64 prefix " + prefixString + "/" + prefixLength); in handleNat64PrefixEvent()