Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 235) 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.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 …]
DMonkeySourceNetwork.java117 if ("open".equals(direction)) { in translateCommand()
120 } else if ("close".equals(direction)) { in translateCommand()
154 if ("down".equals(actionName)) { in translateCommand()
156 } else if ("up".equals(actionName)) { in translateCommand()
158 } else if ("move".equals(actionName)) { in translateCommand()
221 if ("down".equals(command.get(1))) { in translateCommand()
223 } else if ("up".equals(command.get(1))) { in translateCommand()
413 if (event.equals("screenchange")) { in translateCommand()
726 if (DONE.equals(command)) { in getNextEvent()
740 if (QUIT.equals(command)) { in getNextEvent()
/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/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/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/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/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/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/ApiDemos/src/com/example/android/apis/app/
DForegroundService.java86 if (ACTION_FOREGROUND.equals(intent.getAction()) in onStartCommand()
87 || ACTION_FOREGROUND_WAKELOCK.equals(intent.getAction())) { in onStartCommand()
106 } else if (ACTION_BACKGROUND.equals(intent.getAction()) in onStartCommand()
107 || ACTION_BACKGROUND_WAKELOCK.equals(intent.getAction())) { in onStartCommand()
111 if (ACTION_FOREGROUND_WAKELOCK.equals(intent.getAction()) in onStartCommand()
112 || ACTION_BACKGROUND_WAKELOCK.equals(intent.getAction())) { in onStartCommand()
/development/tools/bugreport/src/com/android/bugreport/inspector/
DInspector.java251 if (!("android.os".equals(f.packageName) in markOutgoingBinderThread()
252 && "BinderProxy".equals(f.className) in markOutgoingBinderThread()
253 && "transactNative".equals(f.methodName))) { in markOutgoingBinderThread()
267 if (!("android.os".equals(f.packageName) in markOutgoingBinderThread()
268 && "BinderProxy".equals(f.className) in markOutgoingBinderThread()
269 && "transact".equals(f.methodName))) { in markOutgoingBinderThread()
308 if (!("android.os".equals(f.packageName) in markIncomingBinderThread()
309 && "Binder".equals(f.className) in markIncomingBinderThread()
310 && "execTransact".equals(f.methodName))) { in markIncomingBinderThread()
501 if (name != null && !name.equals(thread.name)) { in matchesJavaStack()
[all …]
/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/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.java108 if (key.equals(KEY_CAN_SAY_HELLO)) { in resolveRestrictions()
110 } else if (key.equals(KEY_MESSAGE)) { in resolveRestrictions()
112 } else if (key.equals(KEY_NUMBER)) { in resolveRestrictions()
114 } else if (key.equals(KEY_RANK)) { in resolveRestrictions()
116 } else if (key.equals(KEY_APPROVALS)) { in resolveRestrictions()
118 } else if (key.equals(KEY_ITEMS)) { in resolveRestrictions()
/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/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/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java68 if (Constants.ACTION_DISMISS.equals(action)) { in onStartCommand()
97 if (Constants.WATCH_ONLY_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
99 } else if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
106 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { in onDataChanged()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DUtilityService.java81 if (Constants.START_ATTRACTION_PATH.equals(path)) { in startDeviceActivity()
98 if (ACTION_CLEAR_NOTIFICATION.equals(action)) { in onHandleIntent()
100 } else if (ACTION_CLEAR_REMOTE_NOTIFICATIONS.equals(action)) { in onHandleIntent()
102 } else if (ACTION_START_DEVICE_ACTIVITY.equals(action)) { in onHandleIntent()
/development/samples/NotePad/src/com/example/android/notepad/
DNoteEditor.java161 if (Intent.ACTION_EDIT.equals(action)) { in onCreate()
168 } else if (Intent.ACTION_INSERT.equals(action) in onCreate()
169 || Intent.ACTION_PASTE.equals(action)) { in onCreate()
211 if (Intent.ACTION_PASTE.equals(action)) { in onCreate()
355 if (savedNote.equals(currentNote)) { in onPrepareOptionsMenu()
421 if (uri != null && NotePad.Notes.CONTENT_ITEM_TYPE.equals(cr.getType(uri))) { in performPaste()
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java242 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in includeDocument()
261 if (TextUtils.equals(parentDocumentId, documentId)) { in isChildDocument()
272 if (Document.MIME_TYPE_DIR.equals(meta.getString(Document.COLUMN_MIME_TYPE))) { in isChildDocument()
342 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in initDocument()
399 if (Document.MIME_TYPE_DIR.equals(meta.getString(Document.COLUMN_MIME_TYPE))) { in deleteDocumentTree()
426 if (Document.MIME_TYPE_DIR.equals(meta.getString(Document.COLUMN_MIME_TYPE))) { in deleteDocumentReferences()
505 if ("r".equals(mode)) { in openDocument()
507 } else if ("w".equals(mode) || "wt".equals(mode)) { in openDocument()

12345678910