| /prebuilts/go/darwin-x86/src/syscall/ |
| security_windows.go | 39 func TranslateAccountName(username string, from, to uint32, initSize int) (string, error) { 104 // StringToSid converts a string-format security identifier 106 func StringToSid(s string) (*SID, error) { 123 func LookupSID(system, account string) (sid *SID, domain string, accType uint32, err error) { 157 // String converts sid to a string format 159 func (sid *SID) String() (string, error) [all...] |
| /prebuilts/go/darwin-x86/src/time/ |
| format.go | 21 // Within the format string, an underscore _ represents a space that may be 48 // Text in the format string that is not recognized as part of the reference 53 // of the layout string in detail and is a good reference. 128 // startsWithLowerCase reports whether the string has a lower-case letter at the beginning. 130 func startsWithLowerCase(str string) bool { 138 // nextStdChunk finds the first occurrence of a std string in 139 // layout and returns the text before, the std string, and the text after. 140 func nextStdChunk(layout string) (prefix string, std int, suffix string) { [all...] |
| time.go | 101 var months = [...]string{ 116 // String returns the English name of the month ("January", "February", ...). 117 func (m Month) String() string { 123 return "%!Month(" + string(buf[n:]) + ")" 139 var days = [...]string{ 149 // String returns the English name of the day ("Sunday", "Monday", ...). 150 func (d Weekday) String() string { return days[d] } 278 func (t Time) locabs() (name string, offset int, abs uint64) [all...] |
| /prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
| tokens.go | 83 var tokstrings = [...]string{ 141 func (tok token) String() string { 142 var s string 208 var opstrings = [...]string{ 244 func (op Operator) String() string { 245 var s string
|
| /prebuilts/go/linux-x86/src/fmt/ |
| fmt_test.go | 34 renamedString string 67 s string 73 func (i I) String() string { return Sprintf("<%d>", int(i)) } 93 func (g G) GoString() string { 106 // P is a type with a String method with pointer receiver for testing %p. 111 func (p *P) String() string { 112 return "String(p)" 120 func (byteStringer) String() string [all...] |
| /prebuilts/go/linux-x86/src/go/token/ |
| token.go | 30 STRING // "abc" 126 var tokens = [...]string{ 137 STRING: "STRING", 226 // String returns the string corresponding to the token tok. 227 // For operators, delimiters, and keywords the string is the actual 228 // token character sequence (e.g., for the token ADD, the string is 229 // "+"). For all other tokens the string corresponds to the token 230 // constant name (e.g. for the token IDENT, the string is "IDENT") [all...] |
| /prebuilts/go/linux-x86/src/go/types/ |
| type.go | 15 // String returns a string representation of a type. 16 String() string 42 String 81 name string 91 func (b *Basic) Name() string { return b.name } 122 tags []string // field tags; nil if there are no tags 129 func NewStruct(fields []*Var, tags []string) *Struct { 149 func (s *Struct) Tag(i int) string { [all...] |
| /prebuilts/go/linux-x86/src/net/http/ |
| clientserver_test.go | 47 func (t *clientServerTest) getURL(u string) string { 57 return string(slurp) 60 func (t *clientServerTest) scheme() string { 118 log []string 133 if want := []string{"HTTP/1.1", "HTTP/2.0"}; !reflect.DeepEqual(got.log, want) { 160 wantTE := []string{"chunked"} 172 type reqFunc func(c *Client, url string) (*Response, error) 179 CheckResponse func(proto string, res *Response) // optional 180 EarlyCheckResponse func(proto string, res *Response) // optional; pre-normaliz [all...] |
| /prebuilts/go/linux-x86/src/regexp/syntax/ |
| parse.go | 18 Expr string 21 func (e *Error) Error() string { 22 return "error parsing regexp: " + e.Code.String() + ": `" + e.Expr + "`" 26 type ErrorCode string 48 func (e ErrorCode) String() string { 49 return string(e) 57 Literal // treat pattern as literal string 84 wholeRegexp string 144 // of literal runes into string nodes. The parser calls thi [all...] |
| /prebuilts/go/linux-x86/src/syscall/ |
| security_windows.go | 39 func TranslateAccountName(username string, from, to uint32, initSize int) (string, error) { 104 // StringToSid converts a string-format security identifier 106 func StringToSid(s string) (*SID, error) { 123 func LookupSID(system, account string) (sid *SID, domain string, accType uint32, err error) { 157 // String converts sid to a string format 159 func (sid *SID) String() (string, error) [all...] |
| /prebuilts/go/linux-x86/src/time/ |
| format.go | 21 // Within the format string, an underscore _ represents a space that may be 48 // Text in the format string that is not recognized as part of the reference 53 // of the layout string in detail and is a good reference. 128 // startsWithLowerCase reports whether the string has a lower-case letter at the beginning. 130 func startsWithLowerCase(str string) bool { 138 // nextStdChunk finds the first occurrence of a std string in 139 // layout and returns the text before, the std string, and the text after. 140 func nextStdChunk(layout string) (prefix string, std int, suffix string) { [all...] |
| time.go | 101 var months = [...]string{ 116 // String returns the English name of the month ("January", "February", ...). 117 func (m Month) String() string { 123 return "%!Month(" + string(buf[n:]) + ")" 139 var days = [...]string{ 149 // String returns the English name of the day ("Sunday", "Monday", ...). 150 func (d Weekday) String() string { return days[d] } 278 func (t Time) locabs() (name string, offset int, abs uint64) [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/ |
| RemoteAdtTestRunner.java | 56 private static final String DELAY_MSEC_KEY = "delay_msec"; 58 private static final String COLLECT_TEST_DELAY_MS = "15"; 69 protected void init(String[] args, AndroidJUnitLaunchInfo launchInfo) { 112 public void runTests(String[] testClassNames, String testName, TestExecution execution) { 150 String deviceName = devices.get(i).getName(); 179 String err = collector.getErrorMessage(); 201 String deviceName = devices.get(i).getName(); 241 public TestRunnerJob(String name, RemoteAndroidTestRunner runner, 261 String.format(LaunchMessages.RemoteAdtTestRunner_RunIOException_s [all...] |
| /tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
| V1SchemeSigner.java | 61 public static final String MANIFEST_ENTRY_NAME = "META-INF/MANIFEST.MF"; 65 private static final String ATTRIBUTE_VALUE_MANIFEST_VERSION = "1.0"; 66 private static final String ATTRIBUTE_VALUE_SIGNATURE_VERSION = "1.0"; 68 static final String SF_ATTRIBUTE_NAME_ANDROID_APK_SIGNED_NAME_STR = "X-Android-APK-Signed"; 77 public String name; 108 String keyAlgorithm = signingKey.getAlgorithm(); 136 public static String getSafeSignerName(String name) { 164 String jcaAlgorithm = digestAlgorithm.getJcaMessageDigestAlgorithm(); 172 public static String getJcaMessageDigestAlgorithm(DigestAlgorithm digestAlgorithm) [all...] |
| /tools/tradefederation/core/src/com/android/tradefed/device/ |
| CpuStatsCollector.java | 50 private static final String CPU_STATS_CMD = "cpustats -m -d %s"; 198 private Map<String, List<CpuStats>> mCpuStats = new HashMap<String, List<CpuStats>>(4); 230 public void processNewLines(String[] lines) { 237 for (String line : lines) { 246 for (String line : lines) { 247 String[] args = line.trim().split(","); 311 public synchronized Map<String, List<CpuStats>> getCpuStats() { 312 Map<String, List<CpuStats>> copy = new HashMap<String, List<CpuStats>> [all...] |
| /build/blueprint/ |
| context.go | 68 moduleFactories map[string]ModuleFactory 69 moduleNames map[string]*moduleGroup 76 variantMutatorNames []string 77 moduleNinjaNames map[string]*moduleGroup 91 pkgNames map[*packageContext]string 103 cachedSortedModuleNames []string 105 globs map[string]GlobPath 129 property string 132 func (e *BlueprintError) Error() string { 136 func (e *ModuleError) Error() string { [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
| PhotoCaptureActivity.java | 60 private static final String TAG = PhotoCaptureActivity.class.getSimpleName(); 62 private static final String PICTURE_FILENAME = "photo.jpg"; 259 dialogBuilder.setTitle(R.string.camera_fov_reported_fov_problem); 261 android.R.string.ok, new DialogInterface.OnClickListener() { 272 String message = getResources().getString(R.string.camera_fov_reported_fov_problem_message); 273 dialogBuilder.setMessage(String.format(message, mReportedFovPrePictureTaken, mReportedFovDegrees)); 364 String[] choices = new String[sizes.size()]; 371 String dialogTitle = String.format [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
| InteractiveVerifierActivity.java | 50 private static final String TAG = "InteractiveVerifier"; 51 private static final String STATE = "state"; 52 private static final String STATUS = "status"; 53 private static LinkedBlockingQueue<String> sDeletedQueue = new LinkedBlockingQueue<String>(); 54 protected static final String LISTENER_PATH = "com.android.cts.verifier/" + 66 public static final String ENABLED_NOTIFICATION_LISTENERS = "enabled_notification_listeners"; 67 public static final String NOTIFICATION_LISTENER_SETTINGS = 76 protected String mPackageString; 125 protected void logFail(String message) [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
| OffBodySensorTestActivity.java | 54 private static final String TAG="OffbodySensorTest"; 55 private static String ACTION_ALARM = "OffBodySensorTestActivity.ACTION_ALARM"; 137 R.string.snsr_offbody_state_change, 154 public String awaitAndVerifyEvent(float expectedResponseValue) throws Throwable { 158 public String awaitAndVerifyEvent(float expectedResponseValue, int maxEventLatencyMs) 161 String eventArrivalMessage; 163 eventArrivalMessage = getString(R.string.snsr_offbody_event_arrival, false); 169 eventArrivalMessage = getString(R.string.snsr_offbody_event_arrival, event != null); 172 String result = verifyEvent(registry, expectedResponseValue, maxEventLatencyMs); 176 public String verifyEvent(SensorEventRegistry registry, float expectedResponseValue [all...] |
| /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
| ModuleRepoTest.java | 61 private static final String TOKEN = 65 private static final String CONFIG = 72 private static final String FOOBAR_TOKEN = "foobar"; 73 private static final String SERIAL1 = "abc"; 74 private static final String SERIAL2 = "def"; 75 private static final String SERIAL3 = "ghi"; 76 private static final Set<String> SERIALS = new HashSet<>(); 78 private static final List<String> DEVICE_TOKENS = new ArrayList<>(); 79 private static final List<String> TEST_ARGS= new ArrayList<>(); 80 private static final List<String> MODULE_ARGS = new ArrayList<>() [all...] |
| /cts/tests/tests/renderscript/src/android/renderscript/cts/ |
| ReduceTest.java | 48 assertEquals(String.valueOf(i), javaRslt[i], rsRslt[i]); 54 assertEquals(String.valueOf(i), javaRslt[i], rsRslt[i]); 60 assertEquals(String.valueOf(i), javaRslt[i], rsRslt[i]); 63 private void assertEquals(final String msg, final Float2 javaRslt, final Float2 rsRslt) { 72 private void assertEquals(final String msg, final Int2 javaRslt, final Int2 rsRslt) { 81 private void assertEquals(final String msg, final Short2 javaRslt, final Short2 rsRslt) {
|
| /developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
| AppRestrictionEnforcerFragment.java | 65 private static final String PREFS_KEY = "AppRestrictionEnforcerFragment"; 70 private static final String RESTRICTION_KEY_SAY_HELLO = "can_say_hello"; 73 * Key for the string restriction in AppRestrictionSchema. 75 private static final String RESTRICTION_KEY_MESSAGE = "message"; 80 private static final String RESTRICTION_KEY_NUMBER = "number"; 85 private static final String RESTRICTION_KEY_RANK = "rank"; 90 private static final String RESTRICTION_KEY_APPROVALS = "approvals"; 95 private static final String RESTRICTION_KEY_ITEMS = "items"; 96 private static final String RESTRICTION_KEY_ITEM_KEY = "key"; 97 private static final String RESTRICTION_KEY_ITEM_VALUE = "value" [all...] |
| /developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
| AppRestrictionEnforcerFragment.java | 65 private static final String PREFS_KEY = "AppRestrictionEnforcerFragment"; 70 private static final String RESTRICTION_KEY_SAY_HELLO = "can_say_hello"; 73 * Key for the string restriction in AppRestrictionSchema. 75 private static final String RESTRICTION_KEY_MESSAGE = "message"; 80 private static final String RESTRICTION_KEY_NUMBER = "number"; 85 private static final String RESTRICTION_KEY_RANK = "rank"; 90 private static final String RESTRICTION_KEY_APPROVALS = "approvals"; 95 private static final String RESTRICTION_KEY_ITEMS = "items"; 96 private static final String RESTRICTION_KEY_ITEM_KEY = "key"; 97 private static final String RESTRICTION_KEY_ITEM_VALUE = "value" [all...] |
| /development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
| AppRestrictionEnforcerFragment.java | 65 private static final String PREFS_KEY = "AppRestrictionEnforcerFragment"; 70 private static final String RESTRICTION_KEY_SAY_HELLO = "can_say_hello"; 73 * Key for the string restriction in AppRestrictionSchema. 75 private static final String RESTRICTION_KEY_MESSAGE = "message"; 80 private static final String RESTRICTION_KEY_NUMBER = "number"; 85 private static final String RESTRICTION_KEY_RANK = "rank"; 90 private static final String RESTRICTION_KEY_APPROVALS = "approvals"; 95 private static final String RESTRICTION_KEY_ITEMS = "items"; 96 private static final String RESTRICTION_KEY_ITEM_KEY = "key"; 97 private static final String RESTRICTION_KEY_ITEM_VALUE = "value" [all...] |
| /device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
| FvImage.py | 812 return m.String
823 String = property(_GetUiString)
[all...] |