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

1234567891011>>

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DUtilHelper.java23 return "wifi-only".equals(SystemProperties.get("ro.carrier"));
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DCharSequencesTest.java32 assertTrue(s.equals(copy));
35 assertTrue(s.equals(copy));
38 assertTrue("Crazy".equals(crazy));
41 assertTrue("a".equals(a));
44 assertTrue("".equals(empty));
46 assertTrue(CharSequences.equals("bob", "bob"));
47 assertFalse(CharSequences.equals("b", "bob"));
48 assertFalse(CharSequences.equals("", "bob"));
/frameworks/compile/slang/
H A Dslang_rs_exportable.cpp29 bool RSExportable::equals(const RSExportable *E) const { function in class:slang::RSExportable
/frameworks/base/cmds/bu/src/com/android/commands/bu/
H A DBackup.java55 if (arg.equals("backup")) {
57 } else if (arg.equals("restore")) {
74 if ("-apk".equals(arg)) {
76 } else if ("-noapk".equals(arg)) {
78 } else if ("-shared".equals(arg)) {
80 } else if ("-noshared".equals(arg)) {
82 } else if ("-system".equals(arg)) {
84 } else if ("-nosystem".equals(arg)) {
86 } else if ("-all".equals(arg)) {
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DPowerCommand.java47 if ("stayon".equals(args[1]) && args.length == 3) {
49 if ("true".equals(args[2])) {
53 else if ("false".equals(args[2])) {
55 } else if ("usb".equals(args[2])) {
57 } else if ("ac".equals(args[2])) {
/frameworks/base/drm/java/android/drm/
H A DDrmSupportInfo.java103 * Overridden <code>equals</code> implementation.
108 public boolean equals(Object object) { method in class:DrmSupportInfo
112 result = mFileSuffixList.equals(((DrmSupportInfo) object).mFileSuffixList) &&
113 mMimeTypeList.equals(((DrmSupportInfo) object).mMimeTypeList) &&
114 mDescription.equals(((DrmSupportInfo) object).mDescription);
126 if (null != mimeType && !mimeType.equals("")) {
H A DDrmRights.java62 if (null != accountId && !accountId.equals("")) {
79 if (null != accountId && !accountId.equals("")) {
83 if (null != subscriptionId && !subscriptionId.equals("")) {
120 if (null != accountId && !accountId.equals("")) {
125 if (null != subscriptionId && !subscriptionId.equals("")) {
175 return (null != mMimeType && !mMimeType.equals("")
/frameworks/base/opengl/tools/glgen/src/
H A DCType.java58 return baseType.equals("GLvoid") ||
59 baseType.equals("void");
63 return isConst && isPointer && baseType.equals("char");
98 public boolean equals(Object o) { method in class:CType
101 return baseType.equals(c.baseType) &&
H A DCFunc.java75 if (name.equals(argNames.get(i))) {
117 if (ftypeName.equals("const")) {
124 if (fname.equals("*")) {
135 if (tok.equals("(")) {
138 if (tok.equals(")")) {
147 if (argTypeName.equals("const")) {
153 if (argTypeName.equals("void")) {
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothUuid.java73 return uuid.equals(AudioSource);
77 return uuid.equals(AudioSink);
81 return uuid.equals(AdvAudioDist);
85 return uuid.equals(Handsfree);
89 return uuid.equals(HSP);
93 return uuid.equals(AvrcpController);
97 return uuid.equals(AvrcpTarget);
101 return uuid.equals(Hid);
105 return uuid.equals(PANU);
109 return uuid.equals(NA
[all...]
/frameworks/base/core/java/android/util/
H A DPair.java21 * implementation of equals(), returning true if equals() is true on each of the contained
29 * Constructor for a Pair. If either are null then equals() and hashCode() will throw
40 * Checks the two objects for equality by delegating to their respective equals() methods.
42 * @return true if the underlying objects of the Pair are both considered equals()
44 public boolean equals(Object o) { method in class:Pair
53 return first.equals(other.first) && second.equals(other.second);
H A DPrefixPrinter.java36 if (prefix == null || prefix.equals("")) {
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java106 if (op.equals("start")) {
108 } else if (op.equals("startservice")) {
110 } else if (op.equals("force-stop")) {
112 } else if (op.equals("kill")) {
114 } else if (op.equals("kill-all")) {
116 } else if (op.equals("instrument")) {
118 } else if (op.equals("broadcast")) {
120 } else if (op.equals("profile")) {
122 } else if (op.equals("dumpheap")) {
124 } else if (op.equals("se
[all...]
/frameworks/base/location/tests/locationtests/src/android/location/
H A DCountryTester.java29 assertFalse(countryA.equals(countryC));
30 assertTrue(countryA.equals(countryD));
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java61 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
70 else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) {
77 else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
80 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java68 public boolean equals(Object o) { method in class:PeriodicSync
79 return account.equals(other.account)
80 && authority.equals(other.authority)
82 && SyncStorageEngine.equals(extras, other.extras);
/frameworks/base/core/java/com/android/internal/util/
H A DObjects.java32 * equal according to {@link Object#equals(Object)}.
37 * to the {@code equals()} contract.
40 return a == b || (a != null && a.equals(b));
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDisconnectedReceiver.java54 if (UsbManager.ACTION_USB_DEVICE_DETACHED.equals(action)) {
56 if (device != null && device.equals(mDevice)) {
59 } else if (UsbManager.ACTION_USB_ACCESSORY_DETACHED.equals(action)) {
62 if (accessory != null && accessory.equals(mAccessory)) {
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminReceiver.java302 if (ACTION_PASSWORD_CHANGED.equals(action)) {
304 } else if (ACTION_PASSWORD_FAILED.equals(action)) {
306 } else if (ACTION_PASSWORD_SUCCEEDED.equals(action)) {
308 } else if (ACTION_DEVICE_ADMIN_ENABLED.equals(action)) {
310 } else if (ACTION_DEVICE_ADMIN_DISABLE_REQUESTED.equals(action)) {
316 } else if (ACTION_DEVICE_ADMIN_DISABLED.equals(action)) {
318 } else if (ACTION_PASSWORD_EXPIRING.equals(action)) {
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java364 if (uri.equals(ATOM_NAMESPACE)) {
365 if (localName.equals("entry")) {
374 if (!localName.equals("id")
375 && !localName.equals("published")
376 && !localName.equals("name")) {
388 if (uri.equals(MEDIA_NAMESPACE)) {
389 if (localName.equals("thumbnail")) {
397 if (localName.equals("content")) {
405 if (localName.equals("player")) {
413 if (localName.equals("titl
[all...]
/frameworks/base/core/java/android/net/http/
H A DHeaders.java178 if (name.equals(TRANSFER_ENCODING)) {
198 if (name.equals(CONTENT_LEN)) {
211 if (name.equals(CONTENT_TYPE)) {
216 if (name.equals(CONTENT_ENCODING)) {
221 if (name.equals(CONN_DIRECTIVE)) {
227 if (name.equals(LOCATION)) {
232 if (name.equals(PROXY_CONNECTION)) {
238 if (name.equals(WWW_AUTHENTICATE)) {
243 if (name.equals(PROXY_AUTHENTICATE)) {
248 if (name.equals(CONTENT_DISPOSITIO
[all...]
/frameworks/base/core/java/android/webkit/
H A DGeolocationService.java119 if (LocationManager.NETWORK_PROVIDER.equals(providerName)) {
121 } else if (LocationManager.GPS_PROVIDER.equals(providerName)) {
135 if (LocationManager.NETWORK_PROVIDER.equals(providerName)) {
137 } else if (LocationManager.GPS_PROVIDER.equals(providerName)) {
148 if (LocationManager.NETWORK_PROVIDER.equals(providerName)) {
150 } else if (LocationManager.GPS_PROVIDER.equals(providerName)) {
/frameworks/base/services/java/com/android/server/
H A DMasterClearReceiver.java33 if (intent.getAction().equals(Intent.ACTION_REMOTE_INTENT)) {
34 if (!"google.com".equals(intent.getStringExtra("from"))) {
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNode.java123 public boolean equals(Object obj) { method in class:PropertyNode
130 if (propName == null || !propName.equals(node.propName)) {
132 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) {
134 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) {
136 } else if (!propGroupSet.equals(node.propGroupSet)) {
140 if (propValue_bytes != null && Arrays.equals(propValue_bytes, node.propValue_bytes)) {
143 if (!propValue.equals(node.propValue)) {
151 return (propValue_vector.equals(node.propValue_vector) ||
/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java112 if (name.equals("set")) {
115 } else if (name.equals("alpha")) {
117 } else if (name.equals("scale")) {
119 } else if (name.equals("rotate")) {
121 } else if (name.equals("translate")) {
181 if ("layoutAnimation".equals(name)) {
183 } else if ("gridLayoutAnimation".equals(name)) {
301 if (name.equals("linearInterpolator")) {
303 } else if (name.equals("accelerateInterpolator")) {
305 } else if (name.equals("decelerateInterpolato
[all...]

Completed in 573 milliseconds

1234567891011>>