Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 244) 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 …]
DApkCheck.java69 if (args[idx].equals("--help")) { in main()
74 if ("BUILTIN".equals(libName)) { in main()
85 } else if (args[idx].equals("--warn")) { in main()
87 } else if (args[idx].equals("--no-warn")) { in main()
89 } else if (args[idx].equals("--error")) { in main()
91 } else if (args[idx].equals("--no-error")) { in main()
95 if (args[idx].equals("--")) { in main()
/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.java498 if ("--wait-dbg".equals(s)) { in run()
727 if (opt.equals("-s")) { in processOptions()
729 } else if (opt.equals("-p")) { in processOptions()
731 } else if (opt.equals("-c")) { in processOptions()
733 } else if (opt.equals("-v")) { in processOptions()
735 } else if (opt.equals("--ignore-crashes")) { in processOptions()
737 } else if (opt.equals("--ignore-timeouts")) { in processOptions()
739 } else if (opt.equals("--ignore-security-exceptions")) { in processOptions()
741 } else if (opt.equals("--monitor-native-crashes")) { in processOptions()
743 } else if (opt.equals("--ignore-native-crashes")) { in processOptions()
[all …]
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DSharingSupportProvider.java52 if (uri.equals(Uri.withAppendedPath(CONTENT_URI, "foo.txt")) || in getType()
53 uri.equals(Uri.withAppendedPath(CONTENT_URI, "bar.txt"))) { in getType()
77 if (mode.equals("r") && in openFile()
78 (path.equals("/foo.txt") || path.equals("/bar.txt"))) { in openFile()
/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/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouteProvider.java283 if (!mRouteId.equals(FIXED_VOLUME_ROUTE_ID)) { in onSetVolume()
291 if (!mRouteId.equals(FIXED_VOLUME_ROUTE_ID)) { in onUpdateVolume()
302 if (action.equals(MediaControlIntent.ACTION_PLAY)) { in onControlRequest()
304 } else if (action.equals(MediaControlIntent.ACTION_ENQUEUE)) { in onControlRequest()
306 } else if (action.equals(MediaControlIntent.ACTION_REMOVE)) { in onControlRequest()
308 } else if (action.equals(MediaControlIntent.ACTION_SEEK)) { in onControlRequest()
310 } else if (action.equals(MediaControlIntent.ACTION_GET_STATUS)) { in onControlRequest()
312 } else if (action.equals(MediaControlIntent.ACTION_PAUSE)) { in onControlRequest()
314 } else if (action.equals(MediaControlIntent.ACTION_RESUME)) { in onControlRequest()
316 } else if (action.equals(MediaControlIntent.ACTION_STOP)) { in onControlRequest()
[all …]
/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/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/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/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/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/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/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/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
DAppRestrictionSchemaFragment.java121 if (key.equals(KEY_CAN_SAY_HELLO)) { in resolveRestrictions()
123 } else if (key.equals(KEY_MESSAGE)) { in resolveRestrictions()
125 } else if (key.equals(KEY_NUMBER)) { in resolveRestrictions()
127 } else if (key.equals(KEY_RANK)) { in resolveRestrictions()
129 } else if (key.equals(KEY_APPROVALS)) { in resolveRestrictions()
131 } else if (key.equals(KEY_PROFILE)) { in resolveRestrictions()
133 } else if (key.equals(KEY_ITEMS)) { in resolveRestrictions()
206 if (key.equals(KEY_PROFILE_NAME)) { in updateProfile()
208 } else if (key.equals(KEY_PROFILE_AGE)) { in updateProfile()
/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/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/Support4Demos/src/com/example/android/supportv4/media/model/
DMutableMediaMetadata.java37 public boolean equals(Object o) { in equals() method in MutableMediaMetadata
47 return TextUtils.equals(trackId, that.trackId); in equals()
/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/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/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/samples/ApiDemos/src/com/example/android/apis/app/
DForegroundService.java179 if (ACTION_FOREGROUND.equals(intent.getAction()) in handleCommand()
180 || ACTION_FOREGROUND_WAKELOCK.equals(intent.getAction())) { in handleCommand()
199 } else if (ACTION_BACKGROUND.equals(intent.getAction()) in handleCommand()
200 || ACTION_BACKGROUND_WAKELOCK.equals(intent.getAction())) { in handleCommand()
204 if (ACTION_FOREGROUND_WAKELOCK.equals(intent.getAction()) in handleCommand()
205 || ACTION_BACKGROUND_WAKELOCK.equals(intent.getAction())) { in handleCommand()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/
DPicassoBackgroundManagerTarget.java47 @Override public boolean equals(Object o) { in equals() method in PicassoBackgroundManagerTarget
53 if (!mBackgroundManager.equals(that.mBackgroundManager)) return false; in equals()

12345678910