Home
last modified time | relevance | path

Searched refs:getString (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/frameworks/base/core/java/android/os/
DBuild.java29 public static final String ID = getString("ro.build.id");
32 public static final String DISPLAY = getString("ro.build.display.id");
35 public static final String PRODUCT = getString("ro.product.name");
38 public static final String DEVICE = getString("ro.product.device");
41 public static final String BOARD = getString("ro.product.board");
44 public static final String CPU_ABI = getString("ro.product.cpu.abi");
47 public static final String CPU_ABI2 = getString("ro.product.cpu.abi2");
50 public static final String MANUFACTURER = getString("ro.product.manufacturer");
53 public static final String BRAND = getString("ro.product.brand");
56 public static final String MODEL = getString("ro.product.model");
[all …]
/frameworks/base/core/java/android/text/format/
DTime.java323 r.getString(com.android.internal.R.string.month_medium_january), in format()
324 r.getString(com.android.internal.R.string.month_medium_february), in format()
325 r.getString(com.android.internal.R.string.month_medium_march), in format()
326 r.getString(com.android.internal.R.string.month_medium_april), in format()
327 r.getString(com.android.internal.R.string.month_medium_may), in format()
328 r.getString(com.android.internal.R.string.month_medium_june), in format()
329 r.getString(com.android.internal.R.string.month_medium_july), in format()
330 r.getString(com.android.internal.R.string.month_medium_august), in format()
331 r.getString(com.android.internal.R.string.month_medium_september), in format()
332 r.getString(com.android.internal.R.string.month_medium_october), in format()
[all …]
DDateUtils.java325 return r.getString(list[dayOfWeek - Calendar.SUNDAY]); in getDayOfWeekString()
336 return r.getString(sAmPm[ampm - Calendar.AM]); in getAMPMString()
365 return r.getString(list[month - Calendar.JANUARY]); in getMonthString()
399 return r.getString(list[month - Calendar.JANUARY]); in getStandaloneMonthString()
591 … result = r.getString(com.android.internal.R.string.relative_time, relativeClause, timeClause); in getRelativeDateTimeString()
594 result = r.getString(com.android.internal.R.string.date_time, dateClause, timeClause); in getRelativeDateTimeString()
624 return r.getString(com.android.internal.R.string.yesterday); in getRelativeDayString()
626 return r.getString(com.android.internal.R.string.tomorrow); in getRelativeDayString()
629 return r.getString(com.android.internal.R.string.today); in getRelativeDayString()
655 … sElapsedFormatMMSS = r.getString(com.android.internal.R.string.elapsed_time_short_format_mm_ss); in initFormatStringsLocked()
[all …]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestRunner.java86 String val = arguments.getString("enable_iterations"); in onCreate()
95 val = arguments.getString("discoverable_iterations"); in onCreate()
104 val = arguments.getString("scan_iterations"); in onCreate()
113 val = arguments.getString("enable_pan_iterations"); in onCreate()
122 val = arguments.getString("pair_iterations"); in onCreate()
131 val = arguments.getString("connect_a2dp_iterations"); in onCreate()
140 val = arguments.getString("connect_headset_iterations"); in onCreate()
149 val = arguments.getString("connect_input_iterations"); in onCreate()
158 val = arguments.getString("connect_pan_iterations"); in onCreate()
167 val = arguments.getString("start_stop_sco_iterations"); in onCreate()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java40 assertEquals("Value", Settings.Secure.getString(r, "test_service")); in testNameValueCache()
44 assertEquals("New", Settings.Secure.getString(r, "test_service")); in testNameValueCache()
48 assertEquals(null, Settings.Secure.getString(r, "test_service")); in testNameValueCache()
52 assertEquals("Value", Settings.System.getString(r, "test_setting")); in testNameValueCache()
55 assertEquals("New", Settings.System.getString(r, "test_setting")); in testNameValueCache()
58 assertEquals(null, Settings.System.getString(r, "test_setting")); in testNameValueCache()
83 assertEquals("test_key", c.getString(c.getColumnIndex(Settings.System.NAME))); in testRowNameContentUri()
84 assertEquals("Test", c.getString(c.getColumnIndex(Settings.System.VALUE))); in testRowNameContentUri()
102 assertEquals("test_key", c.getString(c.getColumnIndex(Settings.System.NAME))); in testRowNameContentUri()
103 assertEquals("Test", c.getString(c.getColumnIndex(Settings.System.VALUE))); in testRowNameContentUri()
[all …]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DLayoutTestsAutoRunner.java69 String r = icicle.getString("rebaseline"); in onCreate()
72 String logtime = icicle.getString("logtime"); in onCreate()
76 String drawTime = icicle.getString("drawtime"); in onCreate()
80 mSaveImagePath = icicle.getString("saveimage"); in onCreate()
82 mJsEngine = icicle.getString("jsengine"); in onCreate()
84 mPageCyclerSuite = icicle.getString("suite"); in onCreate()
85 mPageCyclerForwardHost = icicle.getString("forward"); in onCreate()
86 mPageCyclerIteration = icicle.getString("iteration", "5"); in onCreate()
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java85 String address = c.getString(EmailQuery.ADDRESS); in getMatchingRecipients()
87 c.getString(EmailQuery.NAME), in getMatchingRecipients()
88 c.getString(EmailQuery.ADDRESS), in getMatchingRecipients()
90 c.getString(EmailQuery.ADDRESS_LABEL), in getMatchingRecipients()
93 c.getString(EmailQuery.PHOTO_THUMBNAIL_URI))); in getMatchingRecipients()
97 + " NAME : " + c.getString(EmailQuery.NAME) in getMatchingRecipients()
99 + " ADDRESS :" + c.getString(EmailQuery.ADDRESS)); in getMatchingRecipients()
134 return RecipientEntry.constructTopLevelEntry(c.getString(EmailQuery.NAME), in getRecipientEntry()
135 c.getString(EmailQuery.ADDRESS), c.getInt(EmailQuery.ADDRESS_TYPE), in getRecipientEntry()
136 c.getString(EmailQuery.ADDRESS_LABEL), in getRecipientEntry()
[all …]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestView.java73 NORMAL_TEXT = context.getString(R.string.normal_text); in init()
74 NORMAL_LONG_TEXT = context.getString(R.string.normal_long_text); in init()
75 NORMAL_LONG_TEXT_2 = context.getString(R.string.normal_long_text_2); in init()
76 NORMAL_LONG_TEXT_3 = context.getString(R.string.normal_long_text_3); in init()
77 ITALIC_TEXT = context.getString(R.string.italic_text); in init()
78 BOLD_TEXT = context.getString(R.string.bold_text); in init()
79 BOLD_ITALIC_TEXT = context.getString(R.string.bold_italic_text); in init()
80 ARABIC_TEXT = context.getString(R.string.arabic_text); in init()
81 CHINESE_TEXT = context.getString(R.string.chinese_text); in init()
82 MIXED_TEXT_1 = context.getString(R.string.mixed_text_1); in init()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java110 String value = c.getString(c.getColumnIndexOrThrow("data")); in testUpdate()
134 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
143 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
157 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
166 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
175 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
195 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
204 number = c.getString(c.getColumnIndexOrThrow("num")); in testPhoneNumbersEqual()
226 "equal", cursor.getString(0)); in phoneNumberCompare()
229 "not equal", cursor.getString(0)); in phoneNumberCompare()
[all …]
DDatabaseCursorTest.java126 assertEquals(s, c.getString(sCol)); in testBlob()
172 String s = c.getString(dataColumn); in testCursor1()
176 s = c.getString(dataColumn); in testCursor1()
180 s = c.getString(dataColumn); in testCursor1()
185 s = c.getString(dataColumn); in testCursor1()
189 s = c.getString(dataColumn); in testCursor1()
259 String largeString = c.getString(c.getColumnIndexOrThrow("data")); in testLargeField()
346 assertEquals(randomString.toString(), c.getString(0)); in testManyRowsTxt()
383 assertEquals(randomString.toString(), c.getString(0)); in testManyRowsTxtLong()
414 assertEquals(sString1, c.getString(0)); in testRequeryWithSelection()
[all …]
DCursorWindowTest.java59 String s = window.getString(i, j); in testWriteCursorToWindow()
73 String s = window.getString(i, j); in testWriteCursorToWindow()
109 assertEquals("1198032740000", window.getString(0, 3)); in doTestValues()
113 assertEquals(Long.toString(1198032740000L), window.getString(0, 3)); in doTestValues()
117 assertEquals(Double.toString(42.0), window.getString(0, 4)); in doTestValues()
134 assertNull(window.getString(0, 0)); in testNull()
146 assertEquals("", window.getString(0, 0)); in testEmptyString()
/frameworks/base/media/mtp/
DMtpDeviceInfo.cpp70 packet.getString(string); in read()
80 packet.getString(string); in read()
82 packet.getString(string); in read()
84 packet.getString(string); in read()
86 packet.getString(string); in read()
DMtpObjectInfo.cpp78 packet.getString(string); in read()
81 packet.getString(string); in read()
85 packet.getString(string); in read()
89 packet.getString(string); in read()
/frameworks/base/core/java/android/preference/
DSwitchPreference.java70 setSummaryOn(a.getString(com.android.internal.R.styleable.SwitchPreference_summaryOn)); in SwitchPreference()
71 setSummaryOff(a.getString(com.android.internal.R.styleable.SwitchPreference_summaryOff)); in SwitchPreference()
72 setSwitchTextOn(a.getString( in SwitchPreference()
74 setSwitchTextOff(a.getString( in SwitchPreference()
150 setSwitchTextOn(getContext().getString(resId)); in setSwitchTextOn()
160 setSwitchTextOff(getContext().getString(resId)); in setSwitchTextOff()
DDialogPreference.java73 mDialogTitle = a.getString(com.android.internal.R.styleable.DialogPreference_dialogTitle); in DialogPreference()
79 … mDialogMessage = a.getString(com.android.internal.R.styleable.DialogPreference_dialogMessage); in DialogPreference()
81 …mPositiveButtonText = a.getString(com.android.internal.R.styleable.DialogPreference_positiveButton… in DialogPreference()
82 …mNegativeButtonText = a.getString(com.android.internal.R.styleable.DialogPreference_negativeButton… in DialogPreference()
107 setDialogTitle(getContext().getString(dialogTitleResId)); in setDialogTitle()
137 setDialogMessage(getContext().getString(dialogMessageResId)); in setDialogMessage()
190 setPositiveButtonText(getContext().getString(positiveButtonTextResId)); in setPositiveButtonText()
218 setNegativeButtonText(getContext().getString(negativeButtonTextResId)); in setNegativeButtonText()
/frameworks/base/core/java/android/webkit/
DCallbackProxy.java264 String startedUrl = msg.getData().getString("url"); in handleMessage()
302 final String description = msg.getData().getString("description"); in handleMessage()
303 final String failUrl = msg.getData().getString("failingUrl"); in handleMessage()
323 String overrideUrl = msg.getData().getString("url"); in handleMessage()
336 String host = msg.getData().getString("host"); in handleMessage()
337 String realm = msg.getData().getString("realm"); in handleMessage()
398 String url = msg.getData().getString("url"); in handleMessage()
399 String userAgent = msg.getData().getString("userAgent"); in handleMessage()
401 msg.getData().getString("contentDisposition"); in handleMessage()
402 String mimetype = msg.getData().getString("mimetype"); in handleMessage()
[all …]
DWebViewDatabase.java513 cookie.domain = cursor.getString(domainCol); in getCookiesForDomain()
514 cookie.path = cursor.getString(pathCol); in getCookiesForDomain()
515 cookie.name = cursor.getString(nameCol); in getCookiesForDomain()
516 cookie.value = cursor.getString(valueCol); in getCookiesForDomain()
699 ret.localPath = cursor.getString(0); in getCache()
700 ret.lastModified = cursor.getString(1); in getCache()
701 ret.etag = cursor.getString(2); in getCache()
703 ret.expiresString = cursor.getString(4); in getCache()
704 ret.mimeType = cursor.getString(5); in getCache()
705 ret.encoding = cursor.getString(6); in getCache()
[all …]
DFileLoader.java89 String errString = mContext.getString(R.string.httpErrorFileNotFound); in errString()
113 .getString(R.string.httpErrorFileNotFound)); in setupStreamAndSendStatus()
122 .getString(R.string.httpErrorFileNotFound)); in setupStreamAndSendStatus()
159 .getString(R.string.httpErrorFileNotFound)); in setupStreamAndSendStatus()
165 mContext.getString(R.string.httpErrorFileNotFound)); in setupStreamAndSendStatus()
/frameworks/base/core/tests/coretests/src/android/os/
DMessageQueueTest.java204 if (!newMsg.data.getString("key").equals(mBundle.getString("key"))) { in testFieldIntegrity()
208 newMsg.data.getString("key"), mBundle.getString("key")))); in testFieldIntegrity()
248 if (!msg.data.getString("key").equals(mBundle.getString("key"))) { in testFieldIntegrity()
252 msg.data.getString("key"), mBundle.getString("key"), msg.what))); in testFieldIntegrity()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java332 String displayName = cursor.getString(EmailQuery.NAME); in bindView()
333 String emailAddress = cursor.getString(EmailQuery.ADDRESS); in bindView()
383 partition.displayName = directoryCursor.getString(DirectoryListQuery.DISPLAY_NAME); in onDirectoryLoadFinished()
384 partition.accountName = directoryCursor.getString(DirectoryListQuery.ACCOUNT_NAME); in onDirectoryLoadFinished()
385 partition.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE); in onDirectoryLoadFinished()
386 String packageName = directoryCursor.getString(DirectoryListQuery.PACKAGE_NAME); in onDirectoryLoadFinished()
392 partition.directoryType = resources.getString(resourceId); in onDirectoryLoadFinished()
542 String displayName = cursor.getString(EmailQuery.NAME); in removeDuplicatesAndTruncate()
543 String emailAddress = cursor.getString(EmailQuery.ADDRESS); in removeDuplicatesAndTruncate()
557 String emailAddress = cursor.getString(EmailQuery.ADDRESS); in hasDuplicates()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DExternalMediaFormatActivity.java62 p.mTitle = getString(com.android.internal.R.string.extmedia_format_title); in onCreate()
63 p.mMessage = getString(com.android.internal.R.string.extmedia_format_message); in onCreate()
64 … p.mPositiveButtonText = getString(com.android.internal.R.string.extmedia_format_button_format); in onCreate()
66 p.mNegativeButtonText = getString(com.android.internal.R.string.cancel); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java75 ap.mTitle = getString(R.string.title_usb_accessory); in onCreate()
77 ap.mMessage = getString(R.string.usb_accessory_uri_prompt, mUri); in onCreate()
78 ap.mPositiveButtonText = getString(R.string.label_view); in onCreate()
79 ap.mNegativeButtonText = getString(android.R.string.cancel); in onCreate()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pService.java166 mThisDevice.primaryDeviceType = mContext.getResources().getString( in WifiP2pService()
221 String id = Settings.Secure.getString(mContext.getContentResolver(), in getDefaultDeviceName()
494 .setTitle(r.getString(R.string.wifi_p2p_dialog_title)) in processMessage()
495 .setMessage(r.getString(R.string.wifi_p2p_turnon_message)) in processMessage()
496 .setPositiveButton(r.getString(R.string.ok), listener) in processMessage()
497 .setNegativeButton(r.getString(R.string.cancel), listener) in processMessage()
1055 .setTitle(r.getString(R.string.wifi_p2p_dialog_title)) in notifyP2pEnableFailure()
1056 .setMessage(r.getString(R.string.wifi_p2p_failed_message)) in notifyP2pEnableFailure()
1057 .setPositiveButton(r.getString(R.string.ok), null) in notifyP2pEnableFailure()
1066 .setTitle(r.getString(R.string.wifi_p2p_dialog_title)) in notifyWpsPin()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java172 mNetworkNameSeparator = mContext.getString(R.string.status_bar_network_name_separator); in NetworkController()
173 mNetworkNameDefault = mContext.getString( in NetworkController()
405 mContentDescriptionPhoneSignal = mContext.getString( in updateTelephonySignalStrength()
426 mContentDescriptionPhoneSignal = mContext.getString( in updateTelephonySignalStrength()
439 mContentDescriptionDataType = mContext.getString( in updateDataNetType()
445 mContentDescriptionDataType = mContext.getString( in updateDataNetType()
451 mContentDescriptionDataType = mContext.getString( in updateDataNetType()
461 mContentDescriptionDataType = mContext.getString( in updateDataNetType()
466 mContentDescriptionDataType = mContext.getString( in updateDataNetType()
474 mContentDescriptionDataType = mContext.getString( in updateDataNetType()
[all …]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DTextResult.java73 mExpectedResult = bundle.getString("expectedTextualResult"); in TextResult()
74 mExpectedResultPath = bundle.getString("expectedTextualResultPath"); in TextResult()
75 mActualResult = bundle.getString("actualTextualResult"); in TextResult()
76 setAdditionalTextOutputString(bundle.getString("additionalTextOutputString")); in TextResult()
77 mRelativePath = bundle.getString("relativePath"); in TextResult()

12345678910>>...14