HomeSort by relevance Sort by last modified time
    Searched defs:string (Results 276 - 300 of 3176) sorted by null

<<11121314151617181920>>

  /packages/apps/DeskClock/src/com/android/alarmclock/
AnalogAppWidgetProvider.java 51 dm.updateWidgetCount(getClass(), widgetCount, R.string.category_analog_widget);
62 final String packageName = context.getPackageName();
  /packages/apps/Nfc/tests/src/com/android/nfc/snep/
SnepCustomClientTests.java 36 private static final String TAG = "nfcTest";
83 StringBuffer string = new StringBuffer(size); local
85 string.append('A' + (i % 26));
88 new byte[0], string.toString().getBytes());
SnepDefaultClientTests.java 36 private static final String TAG = "nfcTest";
83 StringBuffer string = new StringBuffer(size); local
85 string.append('A' + (i % 26));
88 new byte[0], string.toString().getBytes());
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/
SettingsFragment.java 42 private static final String TRACKER_LABEL = "settings";
45 protected String getTitle() {
46 return getResources().getString(R.string.side_panel_title_settings);
50 public String getTrackerLabel() {
59 getString(R.string.settings_channel_source_item_customize_channels),
61 R.string
90 getString(R.string.settings_channel_source_item_setup),
92 ? getString(R.string.settings_channel_source_item_setup_new_inputs)
103 getString(R.string.settings_parental_controls),
107 ? R.string.option_toggle_parental_controls_o
    [all...]
  /packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
ChannelSourcesTest.java 39 controller.sidePanelHelper.bySidePanelTitled(R.string.side_panel_title_settings);
51 R.string.settings_channel_source_item_setup);
57 controller.getTargetResources(), R.string.setup_sources_text)));
69 R.string.settings_channel_source_item_setup);
75 controller.getTargetResources(), R.string.setup_sources_text)));
  /packages/services/Telephony/src/com/android/phone/
GsmUmtsCallOptions.java 32 private static final String LOG_TAG = "GsmUmtsCallOptions";
35 private static final String CALL_FORWARDING_KEY = "call_forwarding_key";
36 private static final String CALL_BARRING_KEY = "call_barring_key";
37 private static final String ADDITIONAL_GSM_SETTINGS_KEY = "additional_gsm_call_settings_key";
47 getActionBar(), getResources(), R.string.labelGsmMore_with_label);
  /prebuilts/go/darwin-x86/src/debug/dwarf/
buf.go 19 name string
53 func makeBuf(d *Data, format dataFormat, name string, off Offset, data []byte) buf {
81 func (b *buf) string() string { func
84 s := string(b.data[0:i])
177 func (b *buf) error(s string) {
185 Name string
187 Err string
190 func (e DecodeError) Error() string {
  /prebuilts/go/darwin-x86/src/debug/gosym/
pclntab.go 44 fileMap map[string]uint32
218 Name: t.string(t.binary.Uint32(info[t.ptrsize:])),
267 // string returns a Go string found at off.
268 func (t *LineTable) string(off uint32) string { func
271 return string(t.Data[off:i])
371 func (t *LineTable) go12PCToFile(pc uint64) (file string) {
388 return t.string(t.binary.Uint32(t.filetab[4*fno:]))
392 func (t *LineTable) go12LineToPC(file string, line int) (pc uint64)
    [all...]
  /prebuilts/go/darwin-x86/src/path/filepath/
path.go 23 // and retrieving the final string. It does not allocate a buffer
26 path string
29 volAndPath string
53 func (b *lazybuf) string() string { func
57 return b.volAndPath[:b.volLen] + string(b.buf[:b.w])
82 // If the result of this process is an empty string, Clean
83 // returns the string ".".
88 func Clean(path string) string {
    [all...]
  /prebuilts/go/linux-x86/src/debug/dwarf/
buf.go 19 name string
53 func makeBuf(d *Data, format dataFormat, name string, off Offset, data []byte) buf {
81 func (b *buf) string() string { func
84 s := string(b.data[0:i])
177 func (b *buf) error(s string) {
185 Name string
187 Err string
190 func (e DecodeError) Error() string {
  /prebuilts/go/linux-x86/src/debug/gosym/
pclntab.go 44 fileMap map[string]uint32
218 Name: t.string(t.binary.Uint32(info[t.ptrsize:])),
267 // string returns a Go string found at off.
268 func (t *LineTable) string(off uint32) string { func
271 return string(t.Data[off:i])
371 func (t *LineTable) go12PCToFile(pc uint64) (file string) {
388 return t.string(t.binary.Uint32(t.filetab[4*fno:]))
392 func (t *LineTable) go12LineToPC(file string, line int) (pc uint64)
    [all...]
  /prebuilts/go/linux-x86/src/path/filepath/
path.go 23 // and retrieving the final string. It does not allocate a buffer
26 path string
29 volAndPath string
53 func (b *lazybuf) string() string { func
57 return b.volAndPath[:b.volLen] + string(b.buf[:b.w])
82 // If the result of this process is an empty string, Clean
83 // returns the string ".".
88 func Clean(path string) string {
    [all...]
  /system/core/init/
result_test.cpp 21 #include <string>
31 Result<std::string> result = "success";
42 ASSERT_TRUE(Result<std::string>("success"));
43 ASSERT_TRUE(Result<std::string>("success").has_value());
45 EXPECT_EQ("success", *Result<std::string>("success"));
46 EXPECT_EQ("success", Result<std::string>("success").value());
48 EXPECT_EQ('s', Result<std::string>("success")->data()[0]);
136 Result<std::string> result2 = result.error();
152 Result<std::string> result2 = Error() << result.error();
172 Result<std::string> result2 = Error() << result.error()
221 std::string string; member in struct:android::init::ConstructorTracker
    [all...]
  /system/core/libutils/include/utils/
String16.h 20 #include <string> // for std::string
42 //! This is a string holding UTF-16 characters.
68 inline const char16_t* string() const;
71 static inline std::string std_string(const String16& str);
147 inline const char16_t* String16::string() const function in class:android::String16
152 inline std::string String16::std_string(const String16& str)
154 return std::string(String8(str).string());
  /system/core/logd/
LogWhiteBlackList.cpp 39 std::string Prune::format() {
50 return std::string("/");
89 std::string filter;
218 std::string PruneList::format() {
222 std::string string; local
225 string = "~!";
228 string += " ~1000/!";
235 string += android::base::StringPrintf(fmt, (*it).format().c_str());
242 string += android::base::StringPrintf(fmt, (*it).format().c_str())
    [all...]
  /system/hwservicemanager/
HidlService.cpp 14 const std::string &interfaceName,
15 const std::string &instanceName,
37 const std::string &HidlService::getInterfaceName() const {
40 const std::string &HidlService::getInstanceName() const {
83 std::string HidlService::string() const { function in class:android::hidl::manager::implementation::HidlService
  /system/tools/hidl/build/
fqName.go 25 packageComponents []string
26 minor string
27 major string
36 func parseFqName(f string) (*fqName, error) {
40 return nil, errors.New("Poorly formed hal interface name: '" + f + "' must match '" + re_package.String() + "'")
52 func (f *fqName) inPackage(pkg string) bool {
68 func (f *fqName) pkg() string {
71 func (f *fqName) version() string {
74 func (f *fqName) sanitizedVersion() string {
77 func (f *fqName) string() string func
    [all...]
  /system/tools/hidl/utils/
FqInstance.cpp 25 const std::string& FqInstance::getPackage() const {
49 const std::string& FqInstance::getInterface() const {
57 const std::string& FqInstance::getInstance() const {
65 bool FqInstance::setTo(const std::string& s) {
68 mInstance = pos == std::string::npos ? std::string{} : s.substr(pos + 1);
94 bool FqInstance::setTo(const std::string& package, size_t majorVer, size_t minorVer,
95 const std::string& interface, const std::string& instance) {
102 bool FqInstance::setTo(size_t majorVer, size_t minorVer, const std::string& interface
111 std::string FqInstance::string() const { function in class:android::FqInstance
    [all...]
  /external/guava/guava/src/com/google/common/hash/
HashCode.java 319 * Creates a {@code HashCode} from a hexadecimal ({@code base 16}) encoded string. The string must
328 public static HashCode fromString(String string) {
329 checkArgument(string.length() >= 2,
330 "input string (%s) must have at least 2 characters", string); local
331 checkArgument(string.length() % 2 == 0,
332 "input string (%s) must have an even number of characters", string); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
CharStreamsTest.java 38 private static final String TEXT
52 NonSkippingReader(String s) {
63 List<String> lines = CharStreams.readLines(
69 String text = "a\nb\nc";
76 public boolean processLine(String line) {
93 public boolean processLine(String line) {
111 public boolean processLine(String line) {
136 String testString = "abcdef";
183 // need a long enough string for the buffer to hit 0 remaining before the copy completes
184 String string = Strings.repeat("0123456789", 100) local
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
JavaNetHttpHelper.java 35 private static final String TAG = "QSB.JavaNetHttpHelper";
39 private static final String USER_AGENT_HEADER = "User-Agent";
40 private static final String DEFAULT_CHARSET = "UTF-8";
44 private final String mUserAgent;
51 * @param userAgent User agent string, e.g. "MyApp/1.0".
53 public JavaNetHttpHelper(UrlRewriter rewriter, String userAgent) {
62 * @return The response content. This is the empty string if the response
67 public String get(GetRequest request) throws IOException, HttpException {
76 * @return The response content. This is the empty string if the response
81 public String get(String url, Map<String,String> requestHeaders
160 StringBuilder string = new StringBuilder(); local
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/record/
UriRecord.java 60 private static final String TAG = "UriRecord";
62 public static final String RECORD_TYPE = "UriRecord";
71 String scheme = mUri.getScheme();
81 public String getPrettyUriString(Context context) {
82 String scheme = mUri.getScheme();
86 String ssp = mUri.getSchemeSpecificPart();
92 return context.getString(R.string.action_call, PhoneNumberUtils.formatNumber(ssp));
94 return context.getString(R.string.action_text, PhoneNumberUtils.formatNumber(ssp));
108 public String getSnippet(Context context, Locale locale) {
171 Toast.makeText(activity.getApplicationContext(), R.string.call_phone_permission_denied, Toast.LENGTH_SHORT).show()
    [all...]
  /art/tools/ahat/src/main/com/android/ahat/
DocString.java 23 * A class representing a small string of document content consisting of text,
36 public static DocString text(String str) {
44 public static DocString format(String format, Object... args) {
60 public static DocString image(URI uri, String alt) {
65 * Append literal text to the given doc string.
68 public DocString append(String text) {
74 * Append formatted text to the given doc string.
77 public DocString appendFormat(String format, Object... args) {
78 append(String.format(format, args));
88 * Adorn the given string to indicate it represents something added relativ
92 DocString string = new DocString(); local
112 DocString string = new DocString(); local
135 DocString string = new DocString(); local
    [all...]
  /bionic/libc/kernel/uapi/linux/
virtio_input.h 50 char string[128]; member in union:virtio_input_config::__anon1266
  /cts/tests/tests/proto/src/android/util/proto/cts/
ProtoOutputStreamStringTest.java 27 * Test the string methods on the ProtoOutputStream class.
35 private static String makeLongString() {
44 private static final String LONG_STRING = makeLongString();
57 final String string = LONG_STRING; local
59 po.writeString(ProtoOutputStream.makeFieldId(1, fieldFlags), string);
61 final byte[] utf8 = string.getBytes("UTF-8");
127 public void testWriteCompat(String val) throws Exception {
218 testRepeatedCompat(new String[0]);
219 testRepeatedCompat(new String[] { "", "abcd\u3110!", "Hi", })
    [all...]

Completed in 1262 milliseconds

<<11121314151617181920>>