Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 247) sorted by relevance

12345678910

/development/tools/apkcheck/src/com/android/apkcheck/
DApiDescrHandler.java71 if (qName.equals("package")) { in startElement()
75 } else if (qName.equals("class") || qName.equals("interface")) { in startElement()
81 } else if (qName.equals("implements")) { in startElement()
84 } else if (qName.equals("method")) { in startElement()
88 } else if (qName.equals("constructor")) { in startElement()
107 } else if ("false".equals(staticClass)) { in startElement()
119 } else if (qName.equals("field")) { in startElement()
124 } else if (qName.equals("parameter")) { in startElement()
136 if (qName.equals("method") || qName.equals("constructor")) { in endElement()
140 } else if (qName.equals("class") || qName.equals("interface")) { in endElement()
[all …]
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java73 if (arg.equals("--help") || arg.equals("-h")) { in run()
76 } else if (arg.equals("-q") || arg.equals("--quiet") || arg.equals("--silent")) { in run()
78 } else if (arg.equals("-v") || arg.equals("--verbose")) { in run()
80 } else if (arg.equals("-n") || arg.equals("--dry-run")) { in run()
292 && ANNOTATION.equals(interfaces[0]); in visit()
296 mTypedef = name.equals(INT_DEF) || name.equals(STRING_DEF); in visit()
300 mTypedef = desc.equals(INT_DEF_DESC) || desc.equals(STRING_DEF_DESC); in visitAnnotation()
301 if (desc.equals(RETENTION_DESC)) { in visitAnnotation()
304 if (desc.equals(RETENTION_POLICY_DESC)) { in visitAnnotation()
305 mSourceRetention = SOURCE_RETENTION_VALUE.equals(value); in visitAnnotation()
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkey.java303 if (pkg.equals(launcherPackage)) { in isActivityStartingAllowed()
575 if ("--wait-dbg".equals(s)) { in run()
802 if (opt.equals("-s")) { in processOptions()
804 } else if (opt.equals("-p")) { in processOptions()
806 } else if (opt.equals("-c")) { in processOptions()
808 } else if (opt.equals("-v")) { in processOptions()
810 } else if (opt.equals("--ignore-crashes")) { in processOptions()
812 } else if (opt.equals("--ignore-timeouts")) { in processOptions()
814 } else if (opt.equals("--ignore-security-exceptions")) { in processOptions()
816 } else if (opt.equals("--monitor-native-crashes")) { in processOptions()
[all …]
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/
DDecoder.java32 if ("DEL".equals(data)) { in decodeAndApply()
34 } else if ("ENT".equals(data)) { in decodeAndApply()
37 } else if ("SPA".equals(data)) { in decodeAndApply()
DKeyboard.java46 if ("SHI".equals(data)) { in getLabel()
48 } else if ("DEL".equals(data)) { in getLabel()
50 } else if ("SYM".equals(data)) { in getLabel()
52 } else if ("SPA".equals(data)) { in getLabel()
54 } else if ("ENT".equals(data)) { in getLabel()
122 if ("SHI".equals(data)) { in handle()
126 } else if ("SYM".equals(data)) { in handle()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/server/
DTransaction.java77 public boolean equals(Object o) { in equals() method in Transaction
86 return Objects.equals(mItemId, that.mItemId) && Objects.equals(mUserId, that.mUserId) && in equals()
87 Objects.equals(mClientNonce, that.mClientNonce); in equals()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/receiver/
DMessagingReceiver.java40 if (Intents.SMS_DELIVER_ACTION.equals(action)) { in onReceive()
42 } else if (Intents.WAP_PUSH_DELIVER_ACTION.equals(action)) { in onReceive()
46 if (Intents.SMS_RECEIVED_ACTION.equals(action)) { in onReceive()
48 } else if (Intents.WAP_PUSH_RECEIVED_ACTION.equals(action)) { in onReceive()
/development/samples/Home/src/com/example/android/home/
DApplicationInfo.java62 public boolean equals(Object o) { in equals() method in ApplicationInfo
71 return title.equals(that.title) && in equals()
72 intent.getComponent().getClassName().equals( in equals()
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DNotificationIntentReceiver.java41 if (intent.getAction().equals(ACTION_EXAMPLE)) { in onReceive()
54 } else if (intent.getAction().equals(ACTION_ENABLE_MESSAGES)) { in onReceive()
56 } else if (intent.getAction().equals(ACTION_DISABLE_MESSAGES)) { in onReceive()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectBroadcastReceiver.java59 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) { in onReceive()
72 } else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action)) { in onReceive()
82 } else if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) { in onReceive()
103 } else if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) { in onReceive()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java271 if (!mRouteId.equals(FIXED_VOLUME_ROUTE_ID)) { in onSetVolume()
279 if (!mRouteId.equals(FIXED_VOLUME_ROUTE_ID)) { in onUpdateVolume()
290 if (action.equals(MediaControlIntent.ACTION_PLAY)) { in onControlRequest()
292 } else if (action.equals(MediaControlIntent.ACTION_ENQUEUE)) { in onControlRequest()
294 } else if (action.equals(MediaControlIntent.ACTION_REMOVE)) { in onControlRequest()
296 } else if (action.equals(MediaControlIntent.ACTION_SEEK)) { in onControlRequest()
298 } else if (action.equals(MediaControlIntent.ACTION_GET_STATUS)) { in onControlRequest()
300 } else if (action.equals(MediaControlIntent.ACTION_PAUSE)) { in onControlRequest()
302 } else if (action.equals(MediaControlIntent.ACTION_RESUME)) { in onControlRequest()
304 } else if (action.equals(MediaControlIntent.ACTION_STOP)) { in onControlRequest()
[all …]
/development/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java59 if (name.equals("entry")) { in readFeed()
95 if (name.equals("title")) { in readEntry()
97 } else if (name.equals("summary")) { in readEntry()
99 } else if (name.equals("link")) { in readEntry()
122 if (tag.equals("link")) { in readLink()
123 if (relType.equals("alternate")) { in readLink()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DListenerService.java39 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) { in onMessageReceived()
42 } else if (Constants.START_ATTRACTION_PATH.equals(messageEvent.getPath())) { in onMessageReceived()
49 } else if (Constants.START_NAVIGATION_PATH.equals(messageEvent.getPath())) { in onMessageReceived()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/net/
DFeedParser.java113 if (name.equals("entry")) { in readFeed()
139 if (name.equals("id")){ in readEntry()
142 } else if (name.equals("title")) { in readEntry()
145 } else if (name.equals("link")) { in readEntry()
154 } else if (name.equals("published")) { in readEntry()
216 if (relType.equals("alternate")) { in readAlternateLink()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMutableMediaMetadata.java37 public boolean equals(Object o) { in equals() method in MutableMediaMetadata
47 return TextUtils.equals(trackId, that.trackId); in equals()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/service/
DMessagingService.java45 if (ACTION_MY_RECEIVE_SMS.equals(intentAction)) { in onHandleIntent()
50 } else if (ACTION_MY_RECEIVE_MMS.equals(intentAction)) { in onHandleIntent()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiTools.java36 && manufacturer.equals(deviceManufacturer)) { in findDevice()
39 if ((product != null) && product.equals(deviceProduct)) { in findDevice()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiTools.java36 && manufacturer.equals(deviceManufacturer)) { in findDevice()
39 if ((product != null) && product.equals(deviceProduct)) { in findDevice()
/development/tools/bugreport/src/com/android/bugreport/
DOptions.java84 if ("--monkey".equals(flag)) { in parseArgs()
90 } else if ("--html".equals(flag)) { in parseArgs()
96 } else if ("--logcat".equals(flag)) { in parseArgs()
/development/tools/bugreport/src/com/android/bugreport/bugreport/
DBugreportParser.java119 if (section != null && endSection.equals(section)) { in parse()
132 if ("DUMPSTATE".equals(endSection)) { in parse()
191 if ("SYSTEM LOG".equals(section)) {
193 } else if ("EVENT LOG".equals(section)) {
212 if ("VM TRACES JUST NOW".equals(section)) {
214 } else if ("VM TRACES AT LAST ANR".equals(section)) {
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/
DElizaResponder.java121 if (previousInput != null && input.equals(previousInput)) { in elzTalk()
145 if (parts[j].equals(first)) { in elzTalk()
147 } else if (parts[j].equals(second)) { in elzTalk()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DMyReceiver.java34 if (Intent.ACTION_LOCALE_CHANGED.equals(intent.getAction())) { in onReceive()
38 } else if (ACTION_PIN_REQUEST_ACCEPTED.equals(intent.getAction())) { in onReceive()
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleBroadcastReceiver.java41 if (action.equals(Intent.ACTION_TIMEZONE_CHANGED) in onReceive()
42 || action.equals(Intent.ACTION_TIME_CHANGED)) { in onReceive()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java90 if ("eng".equals(lang)) { in onIsLanguageAvailable()
93 if ("USA".equals(country) || "GBR".equals(country)) { in onIsLanguageAvailable()
130 if (mCurrentLanguage[0].equals(lang) && mCurrentLanguage[1].equals(country)) { in onLoadLanguage()
/development/tools/bugreport/src/com/android/bugreport/stacks/
DLockSnapshot.java54 public boolean equals(LockSnapshot that) { in equals() method in LockSnapshot
57 && this.address.equals(that.address)); in equals()

12345678910