Searched refs:equals (Results 1 - 25 of 187) sorted by relevance

12345678

/development/tools/apkcheck/src/com/android/apkcheck/
H A DApiDescrHandler.java71 if (qName.equals("package")) {
75 } else if (qName.equals("class") || qName.equals("interface")) {
81 } else if (qName.equals("implements")) {
84 } else if (qName.equals("method")) {
88 } else if (qName.equals("constructor")) {
107 } else if ("false".equals(staticClass)) {
119 } else if (qName.equals("field")) {
124 } else if (qName.equals("parameter")) {
136 if (qName.equals("metho
[all...]
H A DFieldInfo.java55 if (!type.equals(mType)) {
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java52 if (uri.equals(Uri.withAppendedPath(CONTENT_URI, "foo.txt")) ||
53 uri.equals(Uri.withAppendedPath(CONTENT_URI, "bar.txt"))) {
77 if (mode.equals("r") &&
78 (path.equals("/foo.txt") || path.equals("/bar.txt"))) {
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
H A DRmTypeDefs.java73 if (arg.equals("--help") || arg.equals("-h")) {
76 } else if (arg.equals("-q") || arg.equals("--quiet") || arg.equals("--silent")) {
78 } else if (arg.equals("-v") || arg.equals("--verbose")) {
80 } else if (arg.equals("-n") || arg.equals("--dry-run")) {
292 && ANNOTATION.equals(interface
[all...]
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/service/
H A DMessagingService.java45 if (ACTION_MY_RECEIVE_SMS.equals(intentAction)) {
50 } else if (ACTION_MY_RECEIVE_MMS.equals(intentAction)) {
H A DRespondService.java41 TelephonyManager.ACTION_RESPOND_VIA_MESSAGE.equals(intent.getAction())) {
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/receiver/
H A DMessagingReceiver.java40 if (Intents.SMS_DELIVER_ACTION.equals(action)) {
42 } else if (Intents.WAP_PUSH_DELIVER_ACTION.equals(action)) {
46 if (Intents.SMS_RECEIVED_ACTION.equals(action)) {
48 } else if (Intents.WAP_PUSH_RECEIVED_ACTION.equals(action)) {
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
H A DWiFiDirectBroadcastReceiver.java59 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) {
72 } else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action)) {
82 } else if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) {
103 } else if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) {
/development/samples/Home/src/com/example/android/home/
H A DApplicationInfo.java62 public boolean equals(Object o) { method in class:ApplicationInfo
71 return title.equals(that.title) &&
72 intent.getComponent().getClassName().equals(
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
H A DNotificationIntentReceiver.java41 if (intent.getAction().equals(ACTION_EXAMPLE)) {
54 } else if (intent.getAction().equals(ACTION_ENABLE_MESSAGES)) {
56 } else if (intent.getAction().equals(ACTION_DISABLE_MESSAGES)) {
/development/cmds/monkey/src/com/android/commands/monkey/
H A DMonkey.java522 if ("--wait-dbg".equals(s)) {
760 if (opt.equals("-s")) {
762 } else if (opt.equals("-p")) {
764 } else if (opt.equals("-c")) {
766 } else if (opt.equals("-v")) {
768 } else if (opt.equals("--ignore-crashes")) {
770 } else if (opt.equals("--ignore-timeouts")) {
772 } else if (opt.equals("--ignore-security-exceptions")) {
774 } else if (opt.equals("--monitor-native-crashes")) {
776 } else if (opt.equals("
[all...]
/development/samples/training/network-usage/src/com/example/android/networkusage/
H A DStackOverflowXmlParser.java59 if (name.equals("entry")) {
95 if (name.equals("title")) {
97 } else if (name.equals("summary")) {
99 } else if (name.equals("link")) {
122 if (tag.equals("link")) {
123 if (relType.equals("alternate")) {
/development/samples/browseable/ElizaChat/Application/src/com.example.android.wearable.elizachat/
H A DElizaResponder.java121 if (previousInput != null && input.equals(previousInput)) {
145 if (parts[j].equals(first)) {
147 } else if (parts[j].equals(second)) {
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
H A DSpellCheckerSettingsActivity.java42 return SpellCheckerSettingsFragment.class.getName().equals(fragmentName);
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
H A DSearchActivity.java37 if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSampleMediaButtonReceiver.java44 if (mActivity != null && Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction())) {
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/
H A DWearableMessageListenerService.java32 if (event.getPath().equals(START_ACTIVITY_PATH)) {
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
H A DSampleMediaButtonReceiver.java41 if (mActivity != null && Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction())) {
/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/
H A DLocationEntry.java40 public boolean equals(Object o) { method in class:LocationEntry
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
H A DExampleBroadcastReceiver.java41 if (action.equals(Intent.ACTION_TIMEZONE_CHANGED)
42 || action.equals(Intent.ACTION_TIME_CHANGED)) {
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
H A DMusicIntentReceiver.java35 if (intent.getAction().equals(android.media.AudioManager.ACTION_AUDIO_BECOMING_NOISY)) {
41 } else if (intent.getAction().equals(Intent.ACTION_MEDIA_BUTTON)) {
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
H A DWiFiDirectBroadcastReceiver.java62 if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) {
83 .equals(action)) {
/development/tools/hosttestlib/src/com/android/hosttest/
H A DDeviceConnector.java49 } else if (deviceSerial.equals(device.getSerialNumber())) {
84 } else if (mSerial.equals(device.getSerialNumber())) {
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
H A DContactablesLoaderCallbacks.java114 if (!lookupKey.equals(currentLookupKey)) {
124 if (mimeType.equals(CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) {
126 } else if (mimeType.equals(CommonDataKinds.Email.CONTENT_ITEM_TYPE)) {
/development/samples/browseable/Timer/Wearable/src/com.example.android.wearable.timer/
H A DTimerNotificationService.java52 if (Constants.ACTION_SHOW_ALARM.equals(action)) {
54 } else if (Constants.ACTION_DELETE_ALARM.equals(action)) {
56 } else if (Constants.ACTION_RESTART_ALARM.equals(action)) {

Completed in 719 milliseconds

12345678