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

1234567891011>>

/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
H A DRequestSync.java90 if (opt.equals("-h") || opt.equals("--help")) {
93 } else if (opt.equals("-n") || opt.equals("--account-name")) {
95 } else if (opt.equals("-t") || opt.equals("--account-type")) {
97 } else if (opt.equals("-a") || opt.equals("--authority")) {
99 } else if (opt.equals("--is") || opt.equals("
[all...]
/frameworks/native/opengl/tools/glgen/src/
H A DCType.java57 if(baseType.equals("EGLContext")
58 || baseType.equals("EGLConfig")
59 || baseType.equals("EGLSurface")
60 || baseType.equals("EGLDisplay")) {
68 return baseType.equals("GLvoid") ||
69 baseType.equals("void");
73 return isConst && isPointer && baseType.equals("char");
108 public boolean equals(Object o) { method in class:CType
111 return baseType.equals(c.baseType) &&
/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/core/java/android/accounts/
H A DAccountAndUser.java33 public boolean equals(Object o) { method in class:AccountAndUser
37 return this.account.equals(other.account)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPreloadReceiver.java26 if (RecentsActivity.PRELOAD_INTENT.equals(intent.getAction())) {
28 } else if (RecentsActivity.CANCEL_PRELOAD_INTENT.equals(intent.getAction())){
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DPowerCommand.java45 if ("stayon".equals(args[1]) && args.length == 3) {
47 if ("true".equals(args[2])) {
52 else if ("false".equals(args[2])) {
54 } else if ("usb".equals(args[2])) {
56 } else if ("ac".equals(args[2])) {
58 } else if ("wireless".equals(args[2])) {
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java108 if (op.equals("start")) {
110 } else if (op.equals("startservice")) {
112 } else if (op.equals("force-stop")) {
114 } else if (op.equals("kill")) {
116 } else if (op.equals("kill-all")) {
118 } else if (op.equals("instrument")) {
120 } else if (op.equals("broadcast")) {
122 } else if (op.equals("profile")) {
124 } else if (op.equals("dumpheap")) {
126 } else if (op.equals("se
[all...]
/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/drm/java/android/drm/
H A DDrmSupportInfo.java137 * Overridden <code>equals</code> implementation. Two DrmSupportInfo objects
144 public boolean equals(Object object) { method in class:DrmSupportInfo
147 return mFileSuffixList.equals(info.mFileSuffixList) &&
148 mMimeTypeList.equals(info.mMimeTypeList) &&
149 mDescription.equals(info.mDescription);
162 if (null != mimeType && !mimeType.equals("")) {
166 // The reason that equals() is not used is that sometimes,
/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/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java54 if (Settings.System.SCREEN_BRIGHTNESS.equals(name)) {
56 } else if (Settings.System.SOUND_EFFECTS_ENABLED.equals(name)) {
58 } else if (Settings.Secure.LOCATION_PROVIDERS_ALLOWED.equals(name)) {
61 } else if (Settings.Secure.BACKUP_AUTO_RESTORE.equals(name)) {
75 if (Settings.Secure.ACCESSIBILITY_ENABLED.equals(name)
76 || Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION.equals(name)
77 || Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD.equals(name)
78 || Settings.Secure.TOUCH_EXPLORATION_ENABLED.equals(name)) {
80 } else if (Settings.Secure.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES.equals(name)
81 || Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES.equals(nam
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplay.java99 public boolean equals(Object o) { method in class:WifiDisplay
100 return o instanceof WifiDisplay && equals((WifiDisplay)o);
103 public boolean equals(WifiDisplay other) { method in class:WifiDisplay
105 && mDeviceAddress.equals(other.mDeviceAddress)
106 && mDeviceName.equals(other.mDeviceName)
116 return other != null && mDeviceAddress.equals(other.mDeviceAddress);
/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/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/opengl/java/android/opengl/
H A DEGLConfig.java30 public boolean equals(Object o) { method in class:EGLConfig
H A DEGLContext.java30 public boolean equals(Object o) { method in class:EGLContext
H A DEGLDisplay.java30 public boolean equals(Object o) { method in class:EGLDisplay
H A DEGLSurface.java30 public boolean equals(Object o) { method in class:EGLSurface
/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/telephony/java/android/telephony/
H A DCellSignalStrength.java78 public abstract boolean equals (Object o); method in class:CellSignalStrength
/frameworks/native/opengl/tools/glgen/static/egl/
H A DEGLConfig.java30 public boolean equals(Object o) { method in class:EGLConfig
H A DEGLContext.java30 public boolean equals(Object o) { method in class:EGLContext
H A DEGLDisplay.java30 public boolean equals(Object o) { method in class:EGLDisplay

Completed in 581 milliseconds

1234567891011>>