OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StringUtils
(Results
1 - 25
of
109
) sorted by null
1
2
3
4
5
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
StringUtilsTests.java
27
assertFalse("empty array",
StringUtils
.containsInArray("key", new String[0]));
28
assertFalse("not in 1 element",
StringUtils
.containsInArray("key", new String[] {
31
assertFalse("not in 2 elements",
StringUtils
.containsInArray("key", new String[] {
35
assertTrue("in 1 element",
StringUtils
.containsInArray("key", new String[] {
38
assertTrue("in 2 elements",
StringUtils
.containsInArray("key", new String[] {
44
assertFalse("null",
StringUtils
.containsInCsv("key", null));
45
assertFalse("empty",
StringUtils
.containsInCsv("key", ""));
46
assertFalse("not in 1 element",
StringUtils
.containsInCsv("key", "key1"));
47
assertFalse("not in 2 elements",
StringUtils
.containsInCsv("key", "key1,key2"));
49
assertTrue("in 1 element",
StringUtils
.containsInCsv("key", "key"))
[
all
...]
/libcore/luni/src/main/java/org/apache/harmony/kernel/vm/
StringUtils.java
22
public final class
StringUtils
{
26
private
StringUtils
() {
/external/smack/src/org/jivesoftware/smack/filter/
FromMatchesFilter.java
24
import org.jivesoftware.smack.util.
StringUtils
;
55
matchBareJID = "".equals(
StringUtils
.parseResource(address));
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
Socks5Utils.java
20
import org.jivesoftware.smack.util.
StringUtils
;
41
return
StringUtils
.hash(b.toString());
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyStyle.java
21
import com.android.inputmethod.latin.
StringUtils
;
45
return
StringUtils
.parseCsvString(text);
MoreKeySpec.java
22
import com.android.inputmethod.latin.
StringUtils
;
80
if (
StringUtils
.codePointCount(label) == 1 && label.codePointAt(0) == mCode) {
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/
SoundSettings.java
24
import org.jivesoftware.smack.util.
StringUtils
;
41
return
StringUtils
.decodeBase64(incomingSound);
45
return
StringUtils
.decodeBase64(outgoingSound);
/external/smack/src/org/jivesoftware/smackx/packet/
DiscoverItems.java
24
import org.jivesoftware.smack.util.
StringUtils
;
113
buf.append(
StringUtils
.escapeForXML(getNode()));
241
buf.append(" name=\"").append(
StringUtils
.escapeForXML(name)).append("\"");
244
buf.append(" node=\"").append(
StringUtils
.escapeForXML(node)).append("\"");
247
buf.append(" action=\"").append(
StringUtils
.escapeForXML(action)).append("\"");
DelayInfo.java
18
import org.jivesoftware.smack.util.
StringUtils
;
92
buf.append(
StringUtils
.formatXEP0082Date(getStamp()));
VCard.java
45
import org.jivesoftware.smack.util.
StringUtils
;
377
String encodedImage =
StringUtils
.encodeBase64(bytes);
420
return
StringUtils
.decodeBase64(photoBinval);
487
return
StringUtils
.encodeHex(digest.digest());
493
sb.append(
StringUtils
.escapeForXML(firstName)).append(' ');
496
sb.append(
StringUtils
.escapeForXML(middleName)).append(' ');
499
sb.append(
StringUtils
.escapeForXML(lastName));
754
appendTag("TYPE",
StringUtils
.escapeForXML(photoMimeType));
765
appendTag("USERID",
StringUtils
.escapeForXML(email));
779
appendTag("NUMBER",
StringUtils
.escapeForXML(entry.getValue()))
[
all
...]
StreamInitiation.java
26
import org.jivesoftware.smack.util.
StringUtils
;
342
buffer.append("name=\"").append(
StringUtils
.escapeForXML(getName())).append("\" ");
350
buffer.append("date=\"").append(
StringUtils
.formatXEP0082Date(date)).append("\" ");
360
buffer.append("<desc>").append(
StringUtils
.escapeForXML(getDesc())).append("</desc>");
DiscoverInfo.java
24
import org.jivesoftware.smack.util.
StringUtils
;
197
buf.append(
StringUtils
.escapeForXML(getNode()));
360
buf.append(" xml:lang=\"").append(
StringUtils
.escapeForXML(lang)).append("\"");
362
buf.append(" category=\"").append(
StringUtils
.escapeForXML(category)).append("\"");
364
buf.append(" name=\"").append(
StringUtils
.escapeForXML(name)).append("\"");
367
buf.append(" type=\"").append(
StringUtils
.escapeForXML(type)).append("\"");
486
buf.append("<feature var=\"").append(
StringUtils
.escapeForXML(variable)).append("\"/>");
/external/smack/src/org/jivesoftware/smack/packet/
Authentication.java
23
import org.jivesoftware.smack.util.
StringUtils
;
112
this.digest =
StringUtils
.hash(connectionID + password);
172
buf.append("<password>").append(
StringUtils
.escapeForXML(password)).append("</password>");
Presence.java
23
import org.jivesoftware.smack.util.
StringUtils
;
239
buf.append(" to=\"").append(
StringUtils
.escapeForXML(getTo())).append("\"");
242
buf.append(" from=\"").append(
StringUtils
.escapeForXML(getFrom())).append("\"");
249
buf.append("<status>").append(
StringUtils
.escapeForXML(status)).append("</status>");
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/packet/
DataPacketExtension.java
17
import org.jivesoftware.smack.util.
StringUtils
;
116
this.decodedData =
StringUtils
.decodeBase64(data);
/external/smack/src/org/jivesoftware/smackx/muc/
Occupant.java
26
import org.jivesoftware.smack.util.
StringUtils
;
59
this.nick =
StringUtils
.parseResource(presence.getFrom());
/external/smack/src/org/jivesoftware/smackx/provider/
DelayInformationProvider.java
29
import org.jivesoftware.smack.util.
StringUtils
;
46
stamp =
StringUtils
.parseDate(stampString);
XHTMLExtensionProvider.java
25
import org.jivesoftware.smack.util.
StringUtils
;
70
buffer.append(
StringUtils
.escapeForXML(parser.getText()));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionary.java
125
? null :
StringUtils
.toCodePointArray(prevWord);
179
return calcNormalizedScoreNative(
StringUtils
.toCodePointArray(before),
180
StringUtils
.toCodePointArray(after), score);
187
return editDistanceNative(
StringUtils
.toCodePointArray(before),
188
StringUtils
.toCodePointArray(after));
199
int[] codePoints =
StringUtils
.toCodePointArray(word);
207
final int[] codePoints1 =
StringUtils
.toCodePointArray(word1);
208
final int[] codePoints2 =
StringUtils
.toCodePointArray(word2);
RecapitalizeStatus.java
19
import com.android.inputmethod.latin.
StringUtils
;
43
if (
StringUtils
.isIdenticalAfterUpcase(string)) {
45
} else if (
StringUtils
.isIdenticalAfterDowncase(string)) {
47
} else if (
StringUtils
.isIdenticalAfterCapitalizeEachWord(string, separators)) {
136
mStringAfter =
StringUtils
.capitalizeEachWord(mStringBefore, mSeparators,
AdditionalSubtype.java
52
layoutDisplayNameExtraValue =
StringUtils
.appendToCsvIfNotExists(
57
final String additionalSubtypeExtraValue =
StringUtils
.appendToCsvIfNotExists(
69
final String extraValue =
StringUtils
.removeFromCsvIfExists(layoutExtraValue,
70
StringUtils
.removeFromCsvIfExists(IS_ADDITIONAL_SUBTYPE, subtype.getExtraValue()));
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/
AgentRoster.java
30
import org.jivesoftware.smack.util.
StringUtils
;
249
key =
StringUtils
.parseBareAddress(user).toLowerCase();
317
userPresences.put(
StringUtils
.parseResource(from), presence);
323
if (entry.toLowerCase().equals(
StringUtils
.parseBareAddress(key).toLowerCase())) {
334
userPresences.remove(
StringUtils
.parseResource(from));
344
if (entry.toLowerCase().equals(
StringUtils
.parseBareAddress(key).toLowerCase())) {
368
String key =
StringUtils
.parseName(
StringUtils
.parseName(agentJID) + "@" +
369
StringUtils
.parseServer(agentJID));
/external/smack/asmack-master/static-src/custom/de/measite/smack/
AndroidDebugger.java
154
boolean isAnonymous = "".equals(
StringUtils
.parseName(user));
157
+ (isAnonymous ? "" :
StringUtils
.parseBareAddress(user))
162
title += "/" +
StringUtils
.parseResource(user);
/external/smack/src/de/measite/smack/
AndroidDebugger.java
154
boolean isAnonymous = "".equals(
StringUtils
.parseName(user));
157
+ (isAnonymous ? "" :
StringUtils
.parseBareAddress(user))
162
title += "/" +
StringUtils
.parseResource(user);
/external/smack/src/org/jivesoftware/smack/debugger/
ConsoleDebugger.java
168
boolean isAnonymous = "".equals(
StringUtils
.parseName(user));
171
+ (isAnonymous ? "" :
StringUtils
.parseBareAddress(user))
176
title += "/" +
StringUtils
.parseResource(user);
Completed in 1588 milliseconds
1
2
3
4
5