Home
last modified time | relevance | path

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

12345678910>>...36

/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java90 if (opt.equals("-h") || opt.equals("--help")) { in parseArgs()
93 } else if (opt.equals("-n") || opt.equals("--account-name")) { in parseArgs()
95 } else if (opt.equals("-t") || opt.equals("--account-type")) { in parseArgs()
97 } else if (opt.equals("-a") || opt.equals("--authority")) { in parseArgs()
99 } else if (opt.equals("--is") || opt.equals("--ignore-settings")) { in parseArgs()
101 } else if (opt.equals("--ib") || opt.equals("--ignore-backoff")) { in parseArgs()
103 } else if (opt.equals("--dd") || opt.equals("--discard-deletions")) { in parseArgs()
105 } else if (opt.equals("--nr") || opt.equals("--no-retry")) { in parseArgs()
107 } else if (opt.equals("--ex") || opt.equals("--expedited")) { in parseArgs()
109 } else if (opt.equals("-i") || opt.equals("--initialize")) { in parseArgs()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java108 if (op.equals("start")) { in run()
110 } else if (op.equals("startservice")) { in run()
112 } else if (op.equals("force-stop")) { in run()
114 } else if (op.equals("kill")) { in run()
116 } else if (op.equals("kill-all")) { in run()
118 } else if (op.equals("instrument")) { in run()
120 } else if (op.equals("broadcast")) { in run()
122 } else if (op.equals("profile")) { in run()
124 } else if (op.equals("dumpheap")) { in run()
126 } else if (op.equals("set-debug-app")) { in run()
[all …]
/frameworks/native/opengl/tools/glgen/src/
DCType.java57 if(baseType.equals("EGLContext") in isEGLHandle()
58 || baseType.equals("EGLConfig") in isEGLHandle()
59 || baseType.equals("EGLSurface") in isEGLHandle()
60 || baseType.equals("EGLDisplay")) { in isEGLHandle()
68 return baseType.equals("GLvoid") || in isVoid()
69 baseType.equals("void"); in isVoid()
73 return isConst && isPointer && baseType.equals("char"); in isConstCharPointer()
108 public boolean equals(Object o) { in equals() method in CType
111 return baseType.equals(c.baseType) && in equals()
/frameworks/base/sax/tests/saxtests/src/android/sax/
DSafeSaxTest.java364 if (uri.equals(ATOM_NAMESPACE)) { in startElement()
365 if (localName.equals("entry")) { in startElement()
374 if (!localName.equals("id") in startElement()
375 && !localName.equals("published") in startElement()
376 && !localName.equals("name")) { in startElement()
388 if (uri.equals(MEDIA_NAMESPACE)) { in startElement()
389 if (localName.equals("thumbnail")) { in startElement()
397 if (localName.equals("content")) { in startElement()
405 if (localName.equals("player")) { in startElement()
413 if (localName.equals("title") in startElement()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java73 return uuid.equals(AudioSource); in isAudioSource()
77 return uuid.equals(AudioSink); in isAudioSink()
81 return uuid.equals(AdvAudioDist); in isAdvAudioDist()
85 return uuid.equals(Handsfree); in isHandsfree()
89 return uuid.equals(HSP); in isHeadset()
93 return uuid.equals(AvrcpController); in isAvrcpController()
97 return uuid.equals(AvrcpTarget); in isAvrcpTarget()
101 return uuid.equals(Hid); in isInputDevice()
105 return uuid.equals(PANU); in isPanu()
109 return uuid.equals(NAP); in isNap()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DCharSequencesTest.java32 assertTrue(s.equals(copy)); in testCharSequences()
35 assertTrue(s.equals(copy)); in testCharSequences()
38 assertTrue("Crazy".equals(crazy)); in testCharSequences()
41 assertTrue("a".equals(a)); in testCharSequences()
44 assertTrue("".equals(empty)); in testCharSequences()
46 assertTrue(CharSequences.equals("bob", "bob")); in testCharSequences()
47 assertFalse(CharSequences.equals("b", "bob")); in testCharSequences()
48 assertFalse(CharSequences.equals("", "bob")); in testCharSequences()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java284 if (sc.equals(SC_CF_All)) { in scToCallForwardReason()
286 } else if (sc.equals(SC_CFU)) { in scToCallForwardReason()
288 } else if (sc.equals(SC_CFB)) { in scToCallForwardReason()
290 } else if (sc.equals(SC_CFNR)) { in scToCallForwardReason()
292 } else if (sc.equals(SC_CFNRy)) { in scToCallForwardReason()
294 } else if (sc.equals(SC_CF_All_Conditional)) { in scToCallForwardReason()
353 (sc.equals(SC_CFU) in isServiceCodeCallForwarding()
354 || sc.equals(SC_CFB) || sc.equals(SC_CFNRy) in isServiceCodeCallForwarding()
355 || sc.equals(SC_CFNR) || sc.equals(SC_CF_All) in isServiceCodeCallForwarding()
356 || sc.equals(SC_CF_All_Conditional)); in isServiceCodeCallForwarding()
[all …]
/frameworks/base/core/java/android/net/http/
DHeaders.java178 if (name.equals(TRANSFER_ENCODING)) { in parseHeader()
198 if (name.equals(CONTENT_LEN)) { in parseHeader()
211 if (name.equals(CONTENT_TYPE)) { in parseHeader()
216 if (name.equals(CONTENT_ENCODING)) { in parseHeader()
221 if (name.equals(CONN_DIRECTIVE)) { in parseHeader()
227 if (name.equals(LOCATION)) { in parseHeader()
232 if (name.equals(PROXY_CONNECTION)) { in parseHeader()
238 if (name.equals(WWW_AUTHENTICATE)) { in parseHeader()
243 if (name.equals(PROXY_AUTHENTICATE)) { in parseHeader()
248 if (name.equals(CONTENT_DISPOSITION)) { in parseHeader()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java54 if (Settings.System.SCREEN_BRIGHTNESS.equals(name)) { in restoreValue()
56 } else if (Settings.System.SOUND_EFFECTS_ENABLED.equals(name)) { in restoreValue()
58 } else if (Settings.Secure.LOCATION_PROVIDERS_ALLOWED.equals(name)) { in restoreValue()
61 } else if (Settings.Secure.BACKUP_AUTO_RESTORE.equals(name)) { in restoreValue()
75 if (Settings.Secure.ACCESSIBILITY_ENABLED.equals(name) in isAlreadyConfiguredCriticalAccessibilitySetting()
76 || Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION.equals(name) in isAlreadyConfiguredCriticalAccessibilitySetting()
77 || Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD.equals(name) in isAlreadyConfiguredCriticalAccessibilitySetting()
78 || Settings.Secure.TOUCH_EXPLORATION_ENABLED.equals(name)) { in isAlreadyConfiguredCriticalAccessibilitySetting()
80 } else if (Settings.Secure.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES.equals(name) in isAlreadyConfiguredCriticalAccessibilitySetting()
81 || Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES.equals(name)) { in isAlreadyConfiguredCriticalAccessibilitySetting()
[all …]
DSettingsProvider.java155 if (TABLE_SYSTEM.equals(this.table) || TABLE_SECURE.equals(this.table) || in SqlArguments()
156 TABLE_GLOBAL.equals(this.table)) { in SqlArguments()
161 if (TABLE_SYSTEM.equals(this.table) || TABLE_SECURE.equals(this.table)) { in SqlArguments()
201 if (TABLE_SYSTEM.equals(table) || in getUriFor()
202 TABLE_SECURE.equals(table) || in getUriFor()
203 TABLE_GLOBAL.equals(table)) { in getUriFor()
225 final boolean isGlobal = table.equals(TABLE_GLOBAL); in sendNotify()
226 if (table.equals(TABLE_SYSTEM)) { in sendNotify()
229 } else if (table.equals(TABLE_SECURE)) { in sendNotify()
250 if (notify == null || "true".equals(notify)) { in sendNotify()
[all …]
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java55 if (arg.equals("backup")) { in run()
57 } else if (arg.equals("restore")) { in run()
74 if ("-apk".equals(arg)) { in doFullBackup()
76 } else if ("-noapk".equals(arg)) { in doFullBackup()
78 } else if ("-shared".equals(arg)) { in doFullBackup()
80 } else if ("-noshared".equals(arg)) { in doFullBackup()
82 } else if ("-system".equals(arg)) { in doFullBackup()
84 } else if ("-nosystem".equals(arg)) { in doFullBackup()
86 } else if ("-all".equals(arg)) { in doFullBackup()
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java112 if (name.equals("set")) { in createAnimationFromXml()
115 } else if (name.equals("alpha")) { in createAnimationFromXml()
117 } else if (name.equals("scale")) { in createAnimationFromXml()
119 } else if (name.equals("rotate")) { in createAnimationFromXml()
121 } else if (name.equals("translate")) { in createAnimationFromXml()
189 if ("layoutAnimation".equals(name)) { in createLayoutAnimationFromXml()
191 } else if ("gridLayoutAnimation".equals(name)) { in createLayoutAnimationFromXml()
309 if (name.equals("linearInterpolator")) { in createInterpolatorFromXml()
311 } else if (name.equals("accelerateInterpolator")) { in createInterpolatorFromXml()
313 } else if (name.equals("decelerateInterpolator")) { in createInterpolatorFromXml()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java218 public boolean equals(Object obj) { in equals() method in VCardEntry.NameData
227 return (TextUtils.equals(mFamily, nameData.mFamily) in equals()
228 && TextUtils.equals(mMiddle, nameData.mMiddle) in equals()
229 && TextUtils.equals(mGiven, nameData.mGiven) in equals()
230 && TextUtils.equals(mPrefix, nameData.mPrefix) in equals()
231 && TextUtils.equals(mSuffix, nameData.mSuffix) in equals()
232 && TextUtils.equals(mFormatted, nameData.mFormatted) in equals()
233 && TextUtils.equals(mPhoneticFamily, nameData.mPhoneticFamily) in equals()
234 && TextUtils.equals(mPhoneticMiddle, nameData.mPhoneticMiddle) in equals()
235 && TextUtils.equals(mPhoneticGiven, nameData.mPhoneticGiven) in equals()
[all …]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java98 if ("list".equals(op)) { in run()
103 if ("path".equals(op)) { in run()
108 if ("install".equals(op)) { in run()
113 if ("uninstall".equals(op)) { in run()
118 if ("clear".equals(op)) { in run()
123 if ("enable".equals(op)) { in run()
128 if ("disable".equals(op)) { in run()
133 if ("disable-user".equals(op)) { in run()
138 if ("grant".equals(op)) { in run()
143 if ("revoke".equals(op)) { in run()
[all …]
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java136 if (ARGUMENT_INSERT.equals(operation)) { in parseCommand()
138 } else if (ARGUMENT_DELETE.equals(operation)) { in parseCommand()
140 } else if (ARGUMENT_UPDATE.equals(operation)) { in parseCommand()
142 } else if (ARGUMENT_QUERY.equals(operation)) { in parseCommand()
159 if (ARGUMENT_URI.equals(argument)) { in parseInsertCommand()
161 } else if (ARGUMENT_USER.equals(argument)) { in parseInsertCommand()
163 } else if (ARGUMENT_BIND.equals(argument)) { in parseInsertCommand()
185 if (ARGUMENT_URI.equals(argument)) { in parseDeleteCommand()
187 } else if (ARGUMENT_USER.equals(argument)) { in parseDeleteCommand()
189 } else if (ARGUMENT_WHERE.equals(argument)) { in parseDeleteCommand()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java174 if (LIFECYCLE_BASIC.equals(action)) { in onCreate()
177 } else if (LIFECYCLE_SCREEN.equals(action)) { in onCreate()
182 } else if (LIFECYCLE_DIALOG.equals(action)) { in onCreate()
186 } else if (LIFECYCLE_FINISH_CREATE.equals(action)) { in onCreate()
194 } else if (LIFECYCLE_FINISH_START.equals(action)) { in onCreate()
231 if (LAUNCH.equals(action)) { in onResume()
238 } else if (FORWARD_RESULT.equals(action)) { in onResume()
243 } else if (BAD_PARCELABLE.equals(action)) { in onResume()
249 } else if (BROADCAST_REGISTERED.equals(action)) { in onResume()
254 } else if (BROADCAST_LOCAL.equals(action)) { in onResume()
[all …]
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java45 if ("stayon".equals(args[1]) && args.length == 3) { in run()
47 if ("true".equals(args[2])) { in run()
52 else if ("false".equals(args[2])) { in run()
54 } else if ("usb".equals(args[2])) { in run()
56 } else if ("ac".equals(args[2])) { in run()
58 } else if ("wireless".equals(args[2])) { in run()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java53 if (command.equals("text")) { in run()
58 } else if (command.equals("keyevent")) { in run()
67 } else if (command.equals("tap")) { in run()
72 } else if (command.equals("swipe")) { in run()
78 } else if (command.equals("touchscreen") || command.equals("touchpad")) { in run()
81 if (command.equals("touchpad")) { in run()
87 if (subcommand.equals("tap")) { in run()
93 } else if (subcommand.equals("swipe")) { in run()
102 } else if (command.equals("trackball")) { in run()
106 if (subcommand.equals("press")) { in run()
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
DKeyguardUpdateMonitor.java147 if (Intent.ACTION_TIME_TICK.equals(action)
148 || Intent.ACTION_TIME_CHANGED.equals(action)
149 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) {
151 } else if (TelephonyIntents.SPN_STRINGS_UPDATED_ACTION.equals(action)) {
155 } else if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
163 } else if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) {
170 } else if (AudioManager.RINGER_MODE_CHANGED_ACTION.equals(action)) {
173 } else if (TelephonyManager.ACTION_PHONE_STATE_CHANGED.equals(action)) {
177 .equals(action)) {
179 } else if (Intent.ACTION_USER_SWITCHED.equals(action)) {
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNode.java123 public boolean equals(Object obj) { in equals() method in PropertyNode
130 if (propName == null || !propName.equals(node.propName)) { in equals()
132 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) { in equals()
134 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) { in equals()
136 } else if (!propGroupSet.equals(node.propGroupSet)) { in equals()
140 if (propValue_bytes != null && Arrays.equals(propValue_bytes, node.propValue_bytes)) { in equals()
143 if (!propValue.equals(node.propValue)) { in equals()
151 return (propValue_vector.equals(node.propValue_vector) || in equals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java116 if (action.equals(Intent.ACTION_ALARM_CHANGED)) {
119 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) {
122 else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED) ||
123 action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) {
126 else if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION)) {
129 else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) {
132 else if (action.equals(TtyIntent.TTY_ENABLED_CHANGE_ACTION)) {
210 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in updateSimState()
213 else if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in updateSimState()
216 else if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals(stateExtra)) { in updateSimState()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java56 if (value.equals(options[i])) in convertValueToList()
72 if (value.equals("1") in convertValueToBoolean()
73 || value.equals("true") in convertValueToBoolean()
74 || value.equals("TRUE")) in convertValueToBoolean()
572 if (parser.getName().equals(endTag)) { in readThisMapXml()
611 if (parser.getName().equals(endTag)) { in readThisListXml()
652 if (parser.getName().equals(endTag)) { in readThisSetXml()
700 if (parser.getName().equals("item")) { in readThisIntArrayXml()
716 if (parser.getName().equals(endTag)) { in readThisIntArrayXml()
718 } else if (parser.getName().equals("item")) { in readThisIntArrayXml()
[all …]
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java302 if (ACTION_PASSWORD_CHANGED.equals(action)) { in onReceive()
304 } else if (ACTION_PASSWORD_FAILED.equals(action)) { in onReceive()
306 } else if (ACTION_PASSWORD_SUCCEEDED.equals(action)) { in onReceive()
308 } else if (ACTION_DEVICE_ADMIN_ENABLED.equals(action)) { in onReceive()
310 } else if (ACTION_DEVICE_ADMIN_DISABLE_REQUESTED.equals(action)) { in onReceive()
316 } else if (ACTION_DEVICE_ADMIN_DISABLED.equals(action)) { in onReceive()
318 } else if (ACTION_PASSWORD_EXPIRING.equals(action)) { in onReceive()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java463 if (!Arrays.equals(mStateSet, stateSet)) { in setState()
842 if (name.equals("selector")) { in createFromXmlInner()
844 } else if (name.equals("level-list")) { in createFromXmlInner()
850 } else if (name.equals("layer-list")) { in createFromXmlInner()
852 } else if (name.equals("transition")) { in createFromXmlInner()
854 } else if (name.equals("color")) { in createFromXmlInner()
856 } else if (name.equals("shape")) { in createFromXmlInner()
858 } else if (name.equals("scale")) { in createFromXmlInner()
860 } else if (name.equals("clip")) { in createFromXmlInner()
862 } else if (name.equals("rotate")) { in createFromXmlInner()
[all …]
/frameworks/base/core/java/android/view/
DWindowManager.java835 …@ViewDebug.FlagToString(mask = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, equals = FLAG_ALLOW_LOCK_WHILE_SCR…
837 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND,
839 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND,
841 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE,
843 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE,
845 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL,
847 … @ViewDebug.FlagToString(mask = FLAG_TOUCHABLE_WHEN_WAKING, equals = FLAG_TOUCHABLE_WHEN_WAKING,
849 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON,
851 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN,
853 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_NO_LIMITS, equals = FLAG_LAYOUT_NO_LIMITS,
[all …]

12345678910>>...36