/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityTest.java | 17 package com.android.emailcommon.utility; 25 import com.android.emailcommon.utility.Utility.NewFileCreator; 38 GregorianCalendar cal = Utility.parseDateTimeToCalendar(date); 64 long timeInMillis = Utility.parseEmailDateTimeToMillis(date); 109 Utility.createUniqueFileInternal(getCountdownFileCreator(), directory, "file"); 114 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file"); 119 Utility.createUniqueFileInternal(getCountdownFileCreator(), directory, "file.ext"); 124 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file.ext"); 135 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file%s") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestCharFromDirProp.java | 10 import com.ibm.icu.impl.Utility; 31 + "] == U+" + Utility.hex(c) + ") failed", i, dir);
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
TagUtilities.java | 13 import com.ibm.icu.impl.Utility; 16 * This class contains utility methods for dealing with 37 return "0x" + Utility.hex(tagValue, 8);
|
ScriptRunModuleWriter.java | 11 import com.ibm.icu.impl.Utility; 34 output.print(Utility.hex(scriptData.getRecord(record).startChar(), 6)); 36 output.print(Utility.hex(scriptData.getRecord(record).endChar(), 6)); 47 int power = 1 << Utility.highBit(recordCount); 51 output.print(Utility.hex(power, 4)); 56 output.print(Utility.hex(extra, 4));
|
OpenTypeTableWriter.java | 16 import com.ibm.icu.impl.Utility; 41 line.append(Utility.hex((value >> 8) & 0xFF, 2)); 45 line.append(Utility.hex(value & 0xFF, 2));
|
TaggedRecord.java | 14 import com.ibm.icu.impl.Utility; 54 int log2 = Utility.highBit(count);
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapSimpleString.java | 19 import com.android.emailcommon.utility.Utility; 47 return new ByteArrayInputStream(Utility.toAscii(mString));
|
/external/avahi/avahi-sharp/ |
Client.cs | 198 return Utility.PtrToString (avahi_client_get_version_string (handle)); 207 return Utility.PtrToString (avahi_client_get_host_name (handle)); 216 return Utility.PtrToString (avahi_client_get_domain_name (handle)); 225 return Utility.PtrToString (avahi_client_get_host_name_fqdn (handle)); 305 Utility.StringToBytes (name), 306 Utility.StringToBytes (type), 307 Utility.StringToBytes (domain)); 310 Utility.Free (buf); 314 string service = Utility.PtrToString (buf); 315 Utility.Free (buf) [all...] |
Utility.cs | 31 internal class Utility 76 byte[] bytes = Utility.StringToBytes (str); 90 IntPtr straddr = Utility.StringToPtr (address.ToString ()); 93 Utility.Free (straddr); 105 address = IPAddress.Parse (Utility.PtrToString (addrPtr)); 106 Utility.Free (addrPtr);
|
EntryGroup.cs | 213 list = avahi_string_list_add (list, Utility.StringToBytes (item)); 241 Utility.StringToBytes (name), 242 Utility.StringToBytes (type), 243 Utility.StringToBytes (domain), 244 Utility.StringToBytes (host), port, list); 266 list = avahi_string_list_add (list, Utility.StringToBytes (item)); 292 Utility.StringToBytes (name), 293 Utility.StringToBytes (type), 294 Utility.StringToBytes (domain), 315 Utility.StringToBytes (name) [all...] |
ServiceResolver.cs | 149 Utility.StringToBytes (name), Utility.StringToBytes (type), 150 Utility.StringToBytes (domain), aproto, flags, cb, IntPtr.Zero); 178 info.Domain = Utility.PtrToString (domain); 179 info.ServiceType = Utility.PtrToString (type); 180 info.Name = Utility.PtrToString (name); 181 info.HostName = Utility.PtrToString (host); 182 info.Address = Utility.PtrToAddress (address);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
TestCharFromDirProp.java | 11 import android.icu.impl.Utility; 35 + "] == U+" + Utility.hex(c) + ") failed", i, dir);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
Quoter.java | 10 import android.icu.impl.Utility; 52 Utility.appendToRule(output, (int)-1, true, false, quoteBuffer); // close previous quote 59 Utility.appendToRule(output, s, false, false, quoteBuffer);
|
UnicodeLabel.java | 10 import android.icu.impl.Utility; 41 if (isShort) return Utility.hex(codepoint,4); 42 return "U+" + Utility.hex(codepoint,4);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Quoter.java | 9 import com.ibm.icu.impl.Utility; 51 Utility.appendToRule(output, (int)-1, true, false, quoteBuffer); // close previous quote 58 Utility.appendToRule(output, s, false, false, quoteBuffer);
|
UnicodeLabel.java | 9 import com.ibm.icu.impl.Utility; 40 if (isShort) return Utility.hex(codepoint,4); 41 return "U+" + Utility.hex(codepoint,4);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationTest.java | 22 import android.icu.impl.Utility; 142 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o)); 160 String hexString = "0x" + Utility.hex(o) + " "; 166 String hexString = "0x" + Utility.hex(o) + " "; 225 test.errln("Comparing \"" + Utility.hex(source) + "\" with \"" 226 + Utility.hex(target) + "\" expected " + result 238 test.errln("Comparing CollationKeys of \"" + Utility.hex(source) 239 + "\" with \"" + Utility.hex(target) 255 + Utility.hex(source) [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationTest.java | 21 import com.ibm.icu.impl.Utility; 138 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o)); 156 String hexString = "0x" + Utility.hex(o) + " "; 162 String hexString = "0x" + Utility.hex(o) + " "; 221 test.errln("Comparing \"" + Utility.hex(source) + "\" with \"" 222 + Utility.hex(target) + "\" expected " + result 234 test.errln("Comparing CollationKeys of \"" + Utility.hex(source) 235 + "\" with \"" + Utility.hex(target) 251 + Utility.hex(source) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
Quantifier.java | 9 import android.icu.impl.Utility; 86 result.append(Utility.hex(minCount,1)); 89 result.append(Utility.hex(maxCount,1));
|
StringReplacer.java | 13 import android.icu.impl.Utility; 275 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); 282 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); 288 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); 293 Utility.appendToRule(rule, buf.toString(), 304 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); 306 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); 309 Utility.appendToRule(rule, -1,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
Quantifier.java | 8 import com.ibm.icu.impl.Utility; 85 result.append(Utility.hex(minCount,1)); 88 result.append(Utility.hex(maxCount,1));
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/ |
CurrencyDemo.java | 16 import com.ibm.icu.impl.Utility; 94 System.out.print("\t" + Utility.escape(str26)); 104 System.out.print("\t" + Utility.escape(str26)); 106 System.out.print(" (" + Utility.escape(str24) + ")");
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 42 * Utility class used to extract the value from the provided java object. 43 * May need to add some utility function to create java object. 45 class Utility { 60 String8 Utility::getStringValue(JNIEnv* env, jobject object, const char* fieldName) { 67 return Utility::getStringValue(env, valueString); 74 String8 Utility::getStringValue(JNIEnv* env, jstring string) { 91 char* Utility::getByteArrayValue( 100 return Utility::getByteArrayValue(env, byteArray, dataLength); 105 char* Utility::getByteArrayValue(JNIEnv* env, jbyteArray byteArray, int* dataLength) { 119 int Utility::getIntValue(JNIEnv* env, jobject object, const char* fieldName) [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
StringReplacer.java | 12 import com.ibm.icu.impl.Utility; 274 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); 281 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); 287 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); 292 Utility.appendToRule(rule, buf.toString(), 303 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); 305 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); 308 Utility.appendToRule(rule, -1,
|
/packages/apps/Email/provider_src/com/android/email/ |
DebugUtils.java | 7 import com.android.emailcommon.utility.Utility; 45 Utility.enableStrictMode(enable);
|