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

1234

/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)) {
H A DApkCheck.java69 if (args[idx].equals("--help")) {
74 if ("BUILTIN".equals(libName)) {
85 } else if (args[idx].equals("--warn")) {
87 } else if (args[idx].equals("--no-warn")) {
89 } else if (args[idx].equals("--error")) {
91 } else if (args[idx].equals("--no-error")) {
95 if (args[idx].equals("--")) {
/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"))) {
H A DLocalServiceBroadcaster.java73 if (intent.getAction().equals(ACTION_STARTED)) {
75 } else if (intent.getAction().equals(ACTION_UPDATE)) {
77 } else if (intent.getAction().equals(ACTION_STOPPED)) {
/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/cmds/monkey/src/com/android/commands/monkey/
H A DMonkey.java485 if ("--wait-dbg".equals(s)) {
711 if (opt.equals("-s")) {
713 } else if (opt.equals("-p")) {
715 } else if (opt.equals("-c")) {
717 } else if (opt.equals("-v")) {
719 } else if (opt.equals("--ignore-crashes")) {
721 } else if (opt.equals("--ignore-timeouts")) {
723 } else if (opt.equals("--ignore-security-exceptions")) {
725 } else if (opt.equals("--monitor-native-crashes")) {
727 } else if (opt.equals("
[all...]
/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())) {
H A DDeviceTestRunner.java63 if (args[i].equals("-s")) {
66 } else if (args[i].equals("-p")) {
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
H A DGLColor.java41 public boolean equals(Object other) { method in class:GLColor
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
H A DTechFilter.java40 if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) {
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
H A DContentViewActivity.java35 if (Intent.ACTION_VIEW.equals(intent.getAction())) {
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
H A DInjector.java77 if (annotation.annotationType().equals(InjectView.class)) {
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DSearchQueryResults.java55 if (Intent.ACTION_SEARCH.equals(queryAction)) {
77 if (Intent.ACTION_SEARCH.equals(queryAction)) {
H A DLauncherShortcuts.java67 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
/development/samples/TtsEngine/src/com/example/android/ttsengine/
H A DRobotSpeakTtsService.java90 if ("eng".equals(lang)) {
93 if ("USA".equals(country) || "GBR".equals(country)) {
97 // if ("android".equals(variant)) {
130 if (mCurrentLanguage[0].equals(lang) && mCurrentLanguage[1].equals(country)) {
/development/samples/BackupRestore/src/com/example/android/backuprestore/
H A DMultiRecordExampleAgent.java178 if (FILLING_KEY.equals(key)) {
180 } else if (MAYO_KEY.equals(key)) {
182 } else if (TOMATO_KEY.equals(key)) {
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
H A DNsdHelper.java65 if (!service.getServiceType().equals(SERVICE_TYPE)) {
67 } else if (service.getServiceName().equals(mServiceName)) {
113 if (serviceInfo.getServiceName().equals(mServiceName)) {
/development/samples/NotePad/src/com/example/android/notepad/
H A DNoteEditor.java156 if (Intent.ACTION_EDIT.equals(action)) {
163 } else if (Intent.ACTION_INSERT.equals(action)
164 || Intent.ACTION_PASTE.equals(action)) {
218 if (Intent.ACTION_PASTE.equals(action)) {
415 if (savedNote.equals(currentNote)) {
481 if (uri != null && NotePad.Notes.CONTENT_ITEM_TYPE.equals(cr.getType(uri))) {
/development/apps/CustomLocale/src/com/android/customlocale2/
H A DCustomLocaleReceiver.java50 if (intent == null || ! ACTION_SET_LOCALE.equals(intent.getAction())) {
/development/samples/ApiDemos/src/com/example/android/apis/preference/
H A DAdvancedPreferences.java88 if (key.equals(KEY_MY_PREFERENCE)) {

Completed in 279 milliseconds

1234