/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
HceReaderTestActivity.java | 49 getString(R.string.nfc_hce_single_payment_reader), 53 getString(R.string.nfc_hce_dual_payment_reader), 57 getString(R.string.nfc_hce_change_default_reader), 61 getString(R.string.nfc_hce_foreground_payment_reader), 65 getString(R.string.nfc_hce_single_non_payment_reader), 69 getString(R.string.nfc_hce_dual_non_payment_reader), 73 getString(R.string.nfc_hce_conflicting_non_payment_reader), 77 getString(R.string.nfc_hce_foreground_non_payment_reader), 81 getString(R.string.nfc_hce_throughput_reader), 85 getString(R.string.nfc_hce_tap_test_reader) [all...] |
/external/gtest/test/ |
gtest-message_test.cc | 47 EXPECT_EQ("", msg.GetString()); 54 EXPECT_EQ("Hello", msg2.GetString()); 60 EXPECT_EQ("Hello", msg.GetString()); 65 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); 74 << 1260572265.1954534).GetString(); 84 EXPECT_NE("(null)", (Message() << p).GetString()); 90 EXPECT_EQ("(null)", (Message() << p).GetString()); 95 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); 101 EXPECT_EQ("(null)", (Message() << p).GetString()); 107 EXPECT_EQ("Hello", (Message() << str).GetString()); [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-message_test.cc | 47 EXPECT_EQ("", msg.GetString()); 54 EXPECT_EQ("Hello", msg2.GetString()); 60 EXPECT_EQ("Hello", msg.GetString()); 65 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); 74 << 1260572265.1954534).GetString(); 84 EXPECT_NE("(null)", (Message() << p).GetString()); 90 EXPECT_EQ("(null)", (Message() << p).GetString()); 95 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); 101 EXPECT_EQ("(null)", (Message() << p).GetString()); 107 EXPECT_EQ("Hello", (Message() << str).GetString()); [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-message_test.cc | 47 EXPECT_EQ("", msg.GetString()); 54 EXPECT_EQ("Hello", msg2.GetString()); 60 EXPECT_EQ("Hello", msg.GetString()); 65 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); 74 << 1260572265.1954534).GetString(); 84 EXPECT_NE("(null)", (Message() << p).GetString()); 90 EXPECT_EQ("(null)", (Message() << p).GetString()); 95 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); 101 EXPECT_EQ("(null)", (Message() << p).GetString()); 107 EXPECT_EQ("Hello", (Message() << str).GetString()); [all...] |
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
KeyMaps.java | 45 return context.getString(R.string.const_pi); 47 return context.getString(R.string.const_e); 49 return context.getString(R.string.op_sqrt); 51 return context.getString(R.string.op_fact); 53 return context.getString(R.string.op_pct); 55 return context.getString(R.string.fun_sin) + context.getString(R.string.lparen); 57 return context.getString(R.string.fun_cos) + context.getString(R.string.lparen); 59 return context.getString(R.string.fun_tan) + context.getString(R.string.lparen) [all...] |
/external/autotest/site_utils/suite_scheduler/ |
forgiving_config_parser_unittest.py | 37 self.assertEquals(value1, to_test.getstring(section, option1)) 38 self.assertEquals(None, to_test.getstring(section, option2)) 47 self.assertEquals(None, to_test.getstring(section, option1)) 48 self.assertEquals(value2, to_test.getstring(section, option2))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1String.java | 12 public String getString();
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
MDnsUtils.java | 32 public static String getString(byte[] value) { 40 String product = getString(attributes.get(ATTRIBUTE__PRODUCT)); 41 String ty = getString(attributes.get(ATTRIBUTE__TY)); 42 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG)); 43 String mfg = getString(attributes.get(ATTRIBUTE__MFG)); 52 vendor = getString(attributes.get(ATTRIBUTE__MFG)); 54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/ |
MDnsUtils.java | 32 public static String getString(byte[] value) { 40 String product = getString(attributes.get(ATTRIBUTE__PRODUCT)); 41 String ty = getString(attributes.get(ATTRIBUTE__TY)); 42 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG)); 43 String mfg = getString(attributes.get(ATTRIBUTE__MFG)); 52 vendor = getString(attributes.get(ATTRIBUTE__MFG)); 54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityTextActionTest.java | 55 textView.setText(getString(R.string.a_b)); 60 .findAccessibilityNodeInfosByText(getString(R.string.a_b)).get(0); 68 getString(R.string.text_input_blah)); 73 TextUtils.equals(getString(R.string.a_b), textView.getText())); 83 textView.setText(getString(R.string.a_b), TextView.BufferType.EDITABLE); 88 .findAccessibilityNodeInfosByText(getString(R.string.a_b)).get(0); 97 String textToSet = getString(R.string.text_input_blah); 115 editText.setText(getString(R.string.a_b)); 120 .findAccessibilityNodeInfosByText(getString(R.string.a_b)).get(0); 129 String textToSet = getString(R.string.text_input_blah) [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
DialogPreferenceTest.java | 45 String titleExp = mActivity.getResources().getString(R.string.title_dialog_preference); 51 String titleExp = mActivity.getResources().getString( 64 CharSequence dialogMessageExp = mActivity.getResources().getString( 71 CharSequence postiveButtonTextExp = mActivity.getResources().getString( 78 CharSequence negativeButtonTextExp = mActivity.getResources().getString(
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_MediaTest.java | 97 assertEquals(expected, c.getString(c.getColumnIndex(Media.DATA))); 101 assertEquals(Audio1.FILE_NAME, c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); 102 assertEquals(Audio1.MIME_TYPE, c.getString(c.getColumnIndex(Media.MIME_TYPE))); 104 assertEquals(Audio1.TITLE, c.getString(c.getColumnIndex(Media.TITLE))); 105 assertEquals(Audio1.ALBUM, c.getString(c.getColumnIndex(Media.ALBUM))); 106 String albumKey = c.getString(c.getColumnIndex(Media.ALBUM_KEY)); 110 assertEquals(Audio1.ARTIST, c.getString(c.getColumnIndex(Media.ARTIST))); 111 String artistKey = c.getString(c.getColumnIndex(Media.ARTIST_KEY)); 115 assertEquals(Audio1.COMPOSER, c.getString(c.getColumnIndex(Media.COMPOSER))); 123 String titleKey = c.getString(c.getColumnIndex(Media.TITLE_KEY)) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
BluetoothAccessoryActivity.java | 39 deviceAddress = bundle.getString(EXTRA_ACCESSORY_ADDRESS); 40 deviceName = bundle.getString(EXTRA_ACCESSORY_NAME); 43 deviceName = getString(R.string.accessory_options); 66 String deviceAddress = args.getString(EXTRA_ACCESSORY_ADDRESS); 67 String deviceName = args.getString(EXTRA_ACCESSORY_NAME);
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/ |
StatusMessage.java | 68 mProvisioningStatus = unquote(getString(wrappedData, OmtpConstants.PROVISIONING_STATUS)); 69 mStatusReturnCode = getString(wrappedData, OmtpConstants.RETURN_CODE); 70 mSubscriptionUrl = getString(wrappedData, OmtpConstants.SUBSCRIPTION_URL); 71 mServerAddress = getString(wrappedData, OmtpConstants.SERVER_ADDRESS); 72 mTuiAccessNumber = getString(wrappedData, OmtpConstants.TUI_ACCESS_NUMBER); 73 mClientSmsDestinationNumber = getString(wrappedData, 75 mImapPort = getString(wrappedData, OmtpConstants.IMAP_PORT); 76 mImapUserName = getString(wrappedData, OmtpConstants.IMAP_USER_NAME); 77 mImapPassword = getString(wrappedData, OmtpConstants.IMAP_PASSWORD); 78 mSmtpPort = getString(wrappedData, OmtpConstants.SMTP_PORT) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ResourceBundleTest.java | 53 assertEquals("Wrong bundle fr_FR_VAR", "frFRVARValue4", bundle.getString("parent4")); 56 assertEquals("Wrong bundle fr_FR_v1", "frFRValue4", bundle.getString("parent4")); 59 assertEquals("Wrong bundle fr_US_var", "frValue4", bundle.getString("parent4")); 62 assertEquals("Wrong bundle de_FR_var", "enUSValue4", bundle.getString("parent4")); 66 assertEquals("Wrong bundle de_FR_var 2", "frFRVARValue4", bundle.getString("parent4")); 70 assertEquals("Wrong bundle de_FR_var 2", "parentValue4", bundle.getString("parent4") 128 assertEquals("Wrong value read", "parent", bundle.getString("property")); 131 "resource", bundle.getString("property")); 169 * java.util.ResourceBundle#getString(java.lang.String) 177 "frFRVARValue4", bundle.getString("parent4")) [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
DetailsDialog.java | 103 ? context.getString(R.string.manual) 104 : context.getString(R.string.auto); 113 value = context.getString(R.string.flash_on); 115 value = context.getString(R.string.flash_off); 139 value = context.getString(R.string.unknown); 148 value = context.getString(R.string.unknown); 189 context, key), value, context.getString(details.getUnit(key))); 294 return context.getString(R.string.title); 296 return context.getString(R.string.description); 298 return context.getString(R.string.time) [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
CursorJoinerTest.java | 96 assertTrue(cursor1.getString(0).compareTo(cursor2.getString(0)) < 0); 97 addValueIntoTable(TABLE_NAME_2, cursor1.getString(0)); 101 assertTrue(cursor1.getString(0).compareTo(cursor2.getString(0)) > 0); 102 addValueIntoTable(TABLE_NAME_1, cursor2.getString(0)); 106 assertEquals(cursor1.getString(0), cursor2.getString(0)); 107 deleteValueFromTable(TABLE_NAME_1, cursor1.getString(0)); 108 deleteValueFromTable(TABLE_NAME_2, cursor2.getString(0)) [all...] |
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
RoomParametersFetcher.java | 94 String result = roomJson.getString("result"); 99 response = roomJson.getString("params"); 101 String roomId = roomJson.getString("room_id"); 102 String clientId = roomJson.getString("client_id"); 103 String wssUrl = roomJson.getString("wss_url"); 104 String wssPostUrl = roomJson.getString("wss_post_url"); 108 String messagesString = roomJson.getString("messages"); 111 String messageString = messages.getString(i); 113 String messageType = message.getString("type"); 118 message.getString("sdp")) [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/content/ |
TestSharedPreferencesTest.java | 49 assertThat(anotherSharedPreferences.getString("string", "wacka wa"), equalTo("foobar")); 77 assertThat(anotherSharedPreferences.getString("string", "wacka wa"), equalTo("foobar")); 79 assertThat(anotherSharedPreferences.getString("deleteMe", "awol"), equalTo("awol")); 80 assertThat(anotherSharedPreferences.getString("dontDeleteMe", "oops"), equalTo("baz")); 98 assertThat(anotherSharedPreferences.getString("string", "wacka wa"), equalTo("foobar")); 100 assertThat(anotherSharedPreferences.getString("deleteMe", "awol"), equalTo("awol")); 101 assertThat(anotherSharedPreferences.getString("dontDeleteMe", "oops"), equalTo("baz")); 109 assertThat(anotherSharedPreferences.getString("string", "wacka wa"), equalTo("foobar")); 120 assertThat(anotherSharedPreferences.getString("string", "wacka wa"), equalTo("wacka wa"));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
MDnsUtils.java | 37 String product = getString(attributes.get(ATTRIBUTE__PRODUCT)); 38 String ty = getString(attributes.get(ATTRIBUTE__TY)); 39 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG)); 40 String usbMdl = getString(attributes.get(ATTRIBUTE__USB_MDL)); 41 String mfg = getString(attributes.get(ATTRIBUTE__MFG)); 52 vendor = getString(attributes.get(ATTRIBUTE__MFG)); 54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG)); 63 String pdls = MDnsUtils.getString(networkDevice.getAttributes().get(PDL_ATTRIBUTE)); 85 private static String getString(byte[] value) {
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallTypeHelper.java | 53 mIncomingName = resources.getString(R.string.type_incoming); 54 mOutgoingName = resources.getString(R.string.type_outgoing); 55 mMissedName = resources.getString(R.string.type_missed); 56 mIncomingVideoName = resources.getString(R.string.type_incoming_video); 57 mOutgoingVideoName = resources.getString(R.string.type_outgoing_video); 58 mMissedVideoName = resources.getString(R.string.type_missed_video); 59 mVoicemailName = resources.getString(R.string.type_voicemail); 60 mRejectedName = resources.getString(R.string.type_rejected); 61 mBlockedName = resources.getString(R.string.type_blocked);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
stringbuffertest.cpp | 24 EXPECT_STREQ("", buffer.GetString()); 32 EXPECT_STREQ("A", buffer.GetString()); 43 EXPECT_STREQ("", buffer.GetString()); 67 EXPECT_STREQ("AB", buffer.GetString()); 117 EXPECT_STREQ("ABCD", x.GetString()); 123 EXPECT_STREQ("ABCD", y.GetString()); 129 EXPECT_STREQ("ABCD", z.GetString()); 140 EXPECT_STREQ("ABCD", x.GetString()); 147 EXPECT_STREQ("ABCD", y.GetString());
|
/system/connectivity/shill/ |
dhcp_properties_unittest.cc | 93 EXPECT_EQ(kOverrideValue, dhcp_properties_.properties_.GetString("Hostname")); 102 EXPECT_EQ(kHostname, dhcp_properties_.properties_.GetString("Hostname")); 112 EXPECT_EQ(kHostname, dhcp_properties_.properties_.GetString("Hostname")); 159 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) 161 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) 169 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) 172 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) 177 dhcp_properties_.properties_.GetString("VendorClass")); 178 EXPECT_EQ(kHostname, dhcp_properties_.properties_.GetString("Hostname")); 185 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _) [all...] |
/external/libweave/src/ |
config.cc | 63 if (dict->GetString(config_keys::kCloudId, &cloud_id) && !cloud_id.empty()) 179 if (dict->GetString(config_keys::kClientId, &tmp)) 182 if (dict->GetString(config_keys::kClientSecret, &tmp)) 185 if (dict->GetString(config_keys::kApiKey, &tmp)) 188 if (dict->GetString(config_keys::kOAuthURL, &tmp)) 191 if (dict->GetString(config_keys::kServiceURL, &tmp)) { 197 if (dict->GetString(config_keys::kXmppEndpoint, &tmp)) { 201 if (dict->GetString(config_keys::kName, &tmp)) 204 if (dict->GetString(config_keys::kDescription, &tmp)) 207 if (dict->GetString(config_keys::kLocation, &tmp) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
BluetoothTile.java | 103 return mContext.getString(R.string.quick_settings_bluetooth_label); 114 mContext.getString(R.string.accessibility_quick_settings_bluetooth); 120 state.contentDescription = mContext.getString( 126 state.contentDescription = mContext.getString( 128 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 133 state.contentDescription = mContext.getString( 135 + mContext.getString(R.string.accessibility_not_connected); 137 + mContext.getString(R.string.accessibility_not_connected); 140 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 144 state.label = mContext.getString(R.string.quick_settings_bluetooth_label) [all...] |