| /development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ |
| WearableMainActivity.java | 69 private static final String TAG = "WearableActivity"; 87 private static final String PREFS_SPEED_LIMIT_KEY = "SpeedLimit"; 98 private String mGpsPermissionNeededMessage; 99 private String mAcquiringGpsMessage; 152 mGpsPermissionNeededMessage = getString(R.string.permission_rationale); 153 mAcquiringGpsMessage = getString(R.string.acquiring_gps); 173 .setMessage(getString(R.string.gps_not_available)) 174 .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { 248 new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 300 mSpeedLimitTextView.setText(getString(R.string.speed_limit, mSpeedLimit)) [all...] |
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/StatusCodeDataTypeId/ |
| StatusCodeDataTypeId.h | 34 // The size of string
48 // String Data Type defintion. This is part of Status Code Specification
77 // HII string token
93 EFI_STATUS_CODE_STRING String;
132 // ascii DEBUG () Format string
|
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/ |
| UefiIfrForm.c | 431 IN CHAR16 *String,
442 String - Pointer to the first string in the list
478 if ((KeyValue == NULL) || (String == NULL)) {
499 // Determine the largest string in the dialog box
500 // Notice we are starting with 1 since String is the first string
503 LargestString = EfiStrLen (String);
504 StringArray[0] = String;
506 VA_START (Marker, String);
[all...] |
| /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
| BdsMisc.c | 188 @param String The description of the boot#### or driver####
201 IN CHAR16 *String,
283 if (CompareMem (Description, String, StrSize (Description)) == 0) {
303 OptionSize = sizeof (UINT32) + sizeof (UINT16) + StrSize (String);
313 CopyMem (TempPtr, String, StrSize (String));
314 TempPtr += StrSize (String);
459 Returns the length of a Null-terminated Unicode string. If the length is
461 invalidate string.
464 Unicode string specified by String. [all...] |
| /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/ |
| LegacyBootMaintUi.c | 459 @param Request A null-terminated Unicode string in <ConfigRequest> format.
460 @param Progress On return, points to a character in the Request string.
461 Points to the string's null terminator if request was successful.
463 pair (or the beginning of the string if the failure is in the
465 @param Results A null-terminated Unicode string in <ConfigAltResp> format which
466 has all values filled in for the names in the Request string.
467 String to be allocated by the called function.
496 @param Configuration A null-terminated Unicode string in <ConfigResp> format.
497 @param Progress A pointer to a string filled in with the offset of the most
499 beginning of the string if the failure is in the first [all...] |
| /device/linaro/bootloader/edk2/MdeModulePkg/Application/UiApp/ |
| FrontPage.c | 95 @param Request A null-terminated Unicode string in <ConfigRequest> format.
96 @param Progress On return, points to a character in the Request string.
97 Points to the string's null terminator if request was successful.
99 pair (or the beginning of the string if the failure is in the
101 @param Results A null-terminated Unicode string in <ConfigAltResp> format which
102 has all values filled in for the names in the Request string.
103 String to be allocated by the called function.
132 @param Configuration A null-terminated Unicode string in <ConfigResp> format.
133 @param Progress A pointer to a string filled in with the offset of the most
135 beginning of the string if the failure is in the first [all...] |
| /device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/ |
| BootMaintenance.c | 321 This function converts an input device structure to a Unicode string.
325 @return A new allocated Unicode string that represents the device path.
362 @return A new allocated string that represents the file name.
370 CHAR16 *String;
378 String = UiDevicePathToStr(DevicePath);
379 MatchString = String;
380 LastMatch = String;
391 FreePool(String);
401 @retval NULL Fail to get the device path string.
402 @return PathString Get the device path string. [all...] |
| /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/ |
| GraphicsConsole.c | 862 Write a Unicode string to the output device.
865 The Unicode string will be converted to Glyphs and will be
869 @param WString The NULL-terminated Unicode string to be displayed
873 @retval EFI_SUCCESS The string was output to the device.
879 characters in the Unicode string could not be
[all...] |
| /device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
| Font.c | 146 @param StringInfo Points to the string font and color information
147 or NULL if the string should use the default
646 @param FontPackage Hii string package instance.
920 @param FontName NULL-terminated string.
[all...] |
| /device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
| Ip6ConfigNv.c | 132 Convert the IPv6 address into a formatted string.
135 @param[out] Str The formatted IP string.
216 Convert EFI_IP6_CONFIG_INTERFACE_ID to string format.
218 @param[out] String The buffer to store the converted string.
221 @retval EFI_SUCCESS The string converted successfully.
227 OUT CHAR16 *String,
234 if ((String == NULL) || (IfId == NULL)) {
240 String,
245 String = String + Number; [all...] |
| /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/ |
| UefiShellCommandLib.c | 218 Find a dynamic command protocol instance given a command name string.
220 @param CommandString the command name string
272 @param[in] CommandString The command string to check for on the list.
286 @param[in] CommandString The command string to check for on the list.
323 @param[in] CommandString The command string to check for on the list.
344 @return String of help text. Caller required to free.
371 @return String of help text. Caller reuiqred to free.
411 @return String of help text.Caller reuiqred to free.
593 Function to get the current Profile string.
608 Checks if a command string has been registered for CommandString and if so it runs [all...] |
| /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
| BdsMisc.c | 188 @param String The description of the boot#### or driver####
201 IN CHAR16 *String,
283 if (CompareMem (Description, String, StrSize (Description)) == 0) {
303 OptionSize = sizeof (UINT32) + sizeof (UINT16) + StrSize (String);
313 CopyMem (TempPtr, String, StrSize (String));
314 TempPtr += StrSize (String);
459 Returns the length of a Null-terminated Unicode string. If the length is
461 invalidate string.
464 Unicode string specified by String. [all...] |
| /external/clang/test/SemaCXX/ |
| conditional-expr.cpp | 240 struct String { 241 String(const char *); 242 String(const OtherString&); 246 void f(bool Cond, String S, OtherString OS) {
|
| /external/guava/guava-tests/test/com/google/common/primitives/ |
| DoublesTest.java | 406 private static Double referenceTryParse(String input) { 418 private static void checkTryParse(String input) { 426 private static void checkTryParse(double expected, String input) { 433 for (String signChar : ImmutableList.of("", "+", "-")) { 434 for (String hexPrefix : ImmutableList.of("0x", "0X")) { 435 for (String iPart : ImmutableList.of("", "0", "1", "F", "f", "c4", "CE")) { 436 for (String fPart : ImmutableList.of("", ".", ".F", ".52", ".a")) { 437 for (String expMarker : ImmutableList.of("p", "P")) { 438 for (String exponent : ImmutableList.of("0", "-5", "+20", "52")) { 439 for (String typePart : ImmutableList.of("", "D", "F", "d", "f")) [all...] |
| FloatsTest.java | 397 private static Float referenceTryParse(String input) { 409 private static void checkTryParse(String input) { 414 private static void checkTryParse(float expected, String input) { 420 for (String signChar : ImmutableList.of("", "+", "-")) { 421 for (String hexPrefix : ImmutableList.of("0x", "0X")) { 422 for (String iPart : ImmutableList.of("", "0", "1", "F", "f", "c4", "CE")) { 423 for (String fPart : ImmutableList.of("", ".", ".F", ".52", ".a")) { 424 for (String expMarker : ImmutableList.of("p", "P")) { 425 for (String exponent : ImmutableList.of("0", "-5", "+20", "52")) { 426 for (String typePart : ImmutableList.of("", "D", "F", "d", "f")) [all...] |
| /external/guice/core/test/com/google/inject/ |
| JitBindingsTest.java | 35 private String jitFailed(Class<?> clazz) { 39 private String jitFailed(TypeLiteral<?> clazz) { 43 private String jitInParentFailed(Class<?> clazz) { 47 private String jitInParentFailed(TypeLiteral<?> clazz) { 51 private String inChildMessage(Class<?> clazz) { 490 bind(new TypeLiteral<WantsTypeLiterals<String>>() {}); 491 bind(new TypeLiteral<Set<String>>() {}).toInstance(of("bar")); 495 WantsTypeLiterals<String> foo = injector.getInstance(new Key<WantsTypeLiterals<String>>() {}); 496 assertEquals(foo.literal.getRawType(), String.class) [all...] |
| /external/nist-sip/java/gov/nist/core/ |
| GenericObject.java | 50 protected static final String SEMICOLON = Separators.SEMICOLON; 51 protected static final String COLON = Separators.COLON; 52 protected static final String COMMA = Separators.COMMA; 53 protected static final String SLASH = Separators.SLASH; 54 protected static final String SP = Separators.SP; 55 protected static final String EQUALS = Separators.EQUALS; 56 protected static final String STAR = Separators.STAR; 57 protected static final String NEWLINE = Separators.NEWLINE; 58 protected static final String RETURN = Separators.RETURN; 59 protected static final String LESS_THAN = Separators.LESS_THAN [all...] |
| /external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/ |
| HtmlActivityTask.java | 67 private static final String HTTP = "http"; 68 private static final String ANDROID_PROTOTYPE_JS = 72 private static final String PREFIX = "file://"; 73 private static final String BASE_URL = PREFIX + InterpreterConstants.SCRIPTS_ROOT; 76 private final String mJsonSource; 77 private final String mAndroidJsSource; 78 private final String mAPIWrapperSource; 79 private final String mUrl; 89 public HtmlActivityTask(RpcReceiverManager manager, String androidJsSource, String jsonSource [all...] |
| /external/testng/src/main/java/org/testng/reporters/ |
| EmailableReporter.java | 57 public void generateReport(List<XmlSuite> xml, List<ISuite> suites, String outdir) { 74 protected PrintWriter createWriter(String outdir) throws IOException { 89 Map<String, ISuiteResult> r = suite.getResults(); 92 String testName = testContext.getName(); 114 Map<String, ISuiteResult> r = suite.getResults(); 132 private void resultSummary(ISuite suite, IResultMap tests, String testname, String style, 133 String details) { 136 String lastClassName = ""; 143 String className = testClass.getName() [all...] |
| /frameworks/base/core/java/android/content/res/ |
| XmlBlock.java | 86 public void setFeature(String name, boolean state) throws XmlPullParserException { 95 public boolean getFeature(String name) { 104 public void setProperty(String name, Object value) throws XmlPullParserException { 107 public Object getProperty(String name) { 113 public void setInput(InputStream inputStream, String inputEncoding) throws XmlPullParserException { 116 public void defineEntityReplacementText(String entityName, String replacementText) throws XmlPullParserException { 119 public String getNamespacePrefix(int pos) throws XmlPullParserException { 122 public String getInputEncoding() { 125 public String getNamespace(String prefix) [all...] |
| /frameworks/base/core/java/com/android/internal/inputmethod/ |
| InputMethodSubtypeSwitchingController.java | 51 private static final String TAG = InputMethodSubtypeSwitchingController.class.getSimpleName(); 64 InputMethodInfo imi, int subtypeId, String subtypeLocale, String systemLocale) { 78 final String systemLanguage = parseLanguageFromLocaleString(systemLocale); 79 final String subtypeLanguage = parseLanguageFromLocaleString(subtypeLocale); 87 * Returns the language component of a given locale string. 90 private static String parseLanguageFromLocaleString(final String locale) { 146 public String toString() { 173 private final String mSystemLocaleStr [all...] |
| /frameworks/base/core/tests/coretests/src/android/text/ |
| TextUtilsTest.java | 80 assertTrue(TextUtils.concat("foo", "bar") instanceof String); 148 private void checkContains(Spanned text, String[] spans, String spanName, 150 for (String i: spans) { 164 String[] spans; 176 spans = result.getSpans(0, result.length(), String.class); 186 // replacement with empty string 190 spans = result.getSpans(0, result.length(), String.class); 201 stringSplitterTestHelper("a,b,cde", new String[] {"a", "b", "cde"}); 206 stringSplitterTestHelper("", new String[] {}); [all...] |
| /frameworks/base/media/java/android/media/ |
| RemoteController.java | 61 private final static String TAG = "RemoteController"; 185 * {@link MediaMetadataEditor#putString(int, String)}, 408 String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK)); 420 mEditorMetadata.remove(String.valueOf(key)); 439 String.valueOf(MediaMetadataEditor.RATING_KEY_BY_USER))) {
|
| /frameworks/base/services/core/java/com/android/server/pm/dex/ |
| PackageDexUsage.java | 51 private final static String TAG = "PackageDexUsage"; 54 private final static String PACKAGE_DEX_USAGE_VERSION_HEADER = 57 private final static String SPLIT_CHAR = ","; 58 private final static String DEX_LINE_CHAR = "#"; 65 private Map<String, PackageUseInfo> mPackageUseInfoMap; 88 public boolean record(String owningPackageName, String dexPath, int ownerUserId, 89 String loaderIsa, boolean isUsedByOtherApps, boolean primaryOrSplit) { 202 Map<String, PackageUseInfo> packageUseInfoMapClone = clonePackageUseInfoMap(); 210 for (Map.Entry<String, PackageUseInfo> pEntry : packageUseInfoMapClone.entrySet()) [all...] |
| /frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
| XmlConfigTests.java | 44 private final static String DEBUG_CA_SUBJ = "O=AOSP, CN=Test debug CA"; 405 keystore.setEntry(String.valueOf(i),
|