Searched refs:equals (Results 351 - 375 of 817) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java152 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
187 if (action.equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) {
190 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) {
198 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
202 } else if (action.equals(WifiManager.WIFI_AP_STATE_CHANGED_ACTION)) {
222 if (action.equals(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) {
571 if (sr.SSID.equals(ssid)) {
/frameworks/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java334 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, emailAddress)) {
406 if (mAccount != null && mAccount.name.equals(partition.accountName) &&
407 mAccount.type.equals(partition.accountType)) {
508 if (partition.loading && TextUtils.equals(constraint, partition.constraint)) {
578 if (TextUtils.equals(emailAddress, address)) {
590 if (cursor.getColumnName(0).equals(SEARCHING_CURSOR_MARKER)) {
596 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, emailAddress)) {
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java421 if (Intent.ACTION_SCREEN_ON.equals(action)) {
426 } else if (Intent.ACTION_SCREEN_OFF.equals(action)) {
431 } else if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) {
462 if (imi.getId().equals(curInputMethodId)) {
464 if (imi.getPackageName().equals(pkg)) {
493 if (imiId.equals(curInputMethodId)) {
729 || (newLocale != null && !newLocale.equals(mLastSystemLocale))) {
1149 if (mCurId != null && mCurId.equals(mCurMethodId)) {
1256 if (mCurIntent != null && name.equals(mCurIntent.getComponent())) {
1362 && name.equals(mCurInten
[all...]
H A DNetworkManagementService.java189 if ("simulator".equals(SystemProperties.get("ro.product.device"))) {
412 if (cooked.length < 4 || !cooked[1].equals("Iface")) {
416 if (cooked[2].equals("added")) {
419 } else if (cooked[2].equals("removed")) {
422 } else if (cooked[2].equals("changed") && cooked.length == 5) {
423 notifyInterfaceStatusChanged(cooked[3], cooked[4].equals("up"));
425 } else if (cooked[2].equals("linkstate") && cooked.length == 5) {
426 notifyInterfaceLinkStateChanged(cooked[3], cooked[4].equals("up"));
437 if (cooked.length < 5 || !cooked[1].equals("limit")) {
441 if (cooked[2].equals("aler
[all...]
H A DMountService.java528 if (state.equals(Environment.MEDIA_UNMOUNTED)) {
534 } else if (state.equals(Environment.MEDIA_SHARED)) {
571 if (Intent.ACTION_USER_ADDED.equals(action)) {
576 } else if (Intent.ACTION_USER_REMOVED.equals(action)) {
580 if (user.equals(volume.getOwner())) {
620 if (!method.equals("ums")) {
638 if (state.equals(oldState)) {
649 if (Environment.MEDIA_UNMOUNTED.equals(state)) {
659 } else if (Environment.MEDIA_MOUNTED.equals(state)) {
824 if (getVolumeState(path).equals(Environmen
[all...]
H A DLocationManagerService.java246 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
449 public boolean equals(Object otherObj) { method in class:LocationManagerService.Receiver
451 return mKey.equals(((Receiver)otherObj).mKey);
747 if (LocationManager.GPS_PROVIDER.equals(provider) ||
748 LocationManager.PASSIVE_PROVIDER.equals(provider)) {
751 } else if (LocationManager.NETWORK_PROVIDER.equals(provider) ||
752 LocationManager.FUSED_PROVIDER.equals(provider)) {
811 if (LocationManager.FUSED_PROVIDER.equals(name)) {
838 if (LocationManager.FUSED_PROVIDER.equals(name)) {
1153 if (packageName.equals(pk
[all...]
H A DAlarmManagerService.java257 if (current == null || !current.equals(zone.getID())) {
311 if (alarm.operation.equals(operation)) {
335 if (alarm.operation.getTargetPackage().equals(packageName)) {
373 if (alarmList.get(i).operation.getTargetPackage().equals(packageName)) {
804 if (intent.getAction().equals(Intent.ACTION_TIME_TICK)) {
806 } else if (intent.getAction().equals(Intent.ACTION_DATE_CHANGED)) {
867 if (Intent.ACTION_QUERY_PACKAGE_RESTART.equals(action)) {
876 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
878 } else if (Intent.ACTION_USER_STOPPED.equals(action)) {
884 if (Intent.ACTION_PACKAGE_REMOVED.equals(actio
[all...]
H A DConnectivityService.java507 mTestMode = SystemProperties.get("cm.test.mode").equals("true")
508 && SystemProperties.get("ro.build.type").equals("eng");
1060 TextUtils.equals(mFeature, feature)) {
1122 if (!TextUtils.equals(feature,Phone.FEATURE_ENABLE_DUN_ALWAYS)) {
1421 if (bestRoute.getGateway().equals(addr)) {
1448 if (bestRoute.getGateway().equals(r.getGateway())) {
1737 if (oldIface.equals(l.getInterfaceName())) {
2255 if (TextUtils.equals(mNetTrackers[netType].getNetworkInfo().getReason(),
2451 if (changed || !dnsString.equals(SystemProperties.get("net.dns" + j + "." + pid))) {
2498 if (!value.equals(SystemPropertie
[all...]
H A DBackupManagerService.java820 if ("".equals(mCurrentTransport)) {
862 if (RUN_BACKUP_ACTION.equals(intent.getAction())) {
903 if (RUN_INITIALIZE_ACTION.equals(intent.getAction())) {
1140 if (candidatePw == null || "".equals(candidatePw)) {
1272 if (!sf.getName().equals(INIT_SENTINEL_FILE_NAME)) {
1301 if ((mCurrentTransport != null) && mCurrentTransport.equals(name)) {
1343 if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||
1344 Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
1353 added = Intent.ACTION_PACKAGE_ADDED.equals(action);
1355 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(actio
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java861 if (key.equals(ID_KEY)) {
863 } else if (key.equals(IP_ASSIGNMENT_KEY)) {
865 } else if (key.equals(LINK_ADDRESS_KEY)) {
869 } else if (key.equals(GATEWAY_KEY)) {
886 } else if (key.equals(DNS_KEY)) {
889 } else if (key.equals(PROXY_SETTINGS_KEY)) {
891 } else if (key.equals(PROXY_HOST_KEY)) {
893 } else if (key.equals(PROXY_PORT_KEY)) {
895 } else if (key.equals(EXCLUSION_LIST_KEY)) {
897 } else if (key.equals(EO
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java766 if (!"preference-headers".equals(nodeName)) {
782 if ("header".equals(nodeName)) {
844 if (innerNodeName.equals("extra")) {
848 } else if (innerNodeName.equals("intent")) {
1187 if (cur.fragment.equals(oh.fragment)) {
1191 if (cur.intent.equals(oh.intent)) {
1195 if (cur.title.equals(oh.title)) {
1207 cur.fragmentArguments.equals(oh.fragmentArguments)) {
1210 if (cur.extras != null && cur.extras.equals(oh.extras)) {
1213 if (cur.title != null && cur.title.equals(o
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java182 if (!Intent.ACTION_PACKAGE_ADDED.equals(action)) {
187 if (pkgName.equals(installedPkg)) {
319 if (!status.equals(Environment.MEDIA_MOUNTED)) {
642 if (pkgInfo.permissions[j].name.equals(cmd)) {
661 if (pkgInfo.permissions[j].name.equals(cmd)) {
672 if (pkgInfo.requestedPermissions[j].equals(cmd)) {
806 if (pkgName == null || !pkgName.equals(installedPkg)) {
809 if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
811 } else if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
823 } else if (Intent.ACTION_PACKAGE_REPLACED.equals(actio
[all...]
/frameworks/base/services/java/com/android/server/display/
H A DWifiDisplayController.java223 if (device.deviceAddress.equals(address)) {
400 && !mDesiredDevice.deviceAddress.equals(device.deviceAddress)) {
409 && !mConnectedDevice.deviceAddress.equals(device.deviceAddress)
846 if (action.equals(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION)) {
858 } else if (action.equals(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION)) {
864 } else if (action.equals(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION)) {
/frameworks/compile/slang/
H A Dslang_rs_export_foreach.cpp158 if (ParamName.equals("x")) {
169 } else if (ParamName.equals("y")) {
292 if (ParamName.equals("x")) {
294 } else if (ParamName.equals("y")) {
334 if (ParamName.equals("x")) {
345 } else if (ParamName.equals("y")) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DInputMethodsPanel.java383 if (imiAndSubtype.first.getId().equals(imi.getId())
384 && (imiAndSubtype.second == null || imiAndSubtype.second.equals(subtype))) {
398 if (!TextUtils.equals(mEnabledInputMethodAndSubtypesCacheStr, newEnabledIMIs)
399 || !TextUtils.equals(mLastSystemLocaleString, currentSystemLocaleString)
420 if (imi.getId().equals(curInputMethodId)) {
427 if (imi.getId().equals(curInputMethodId)) {
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java116 if (name.equals("objectAnimator")) {
118 } else if (name.equals("animator")) {
120 } else if (name.equals("set")) {
/frameworks/base/core/java/android/net/
H A DLinkProperties.java180 return TextUtils.equals(getInterfaceName(), target.getInterfaceName());
228 getHttpProxy().equals(target.getHttpProxy());
246 public boolean equals(Object obj) { method in class:LinkProperties
/frameworks/base/core/java/android/net/http/
H A DSslCertificate.java376 if (oid.elementAt(i).equals(X509Name.CN)) {
381 if (oid.elementAt(i).equals(X509Name.O)) {
386 if (oid.elementAt(i).equals(X509Name.OU)) {
H A DHttpResponseCache.java188 if (installedCache.getDirectory().equals(directory)
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java157 if (scheme.equals("tel") || scheme.equals("sip")) {
163 if (scheme.equals("voicemail")) {
176 if (Contacts.AUTHORITY.equals(authority)) {
178 } else if (ContactsContract.AUTHORITY.equals(authority)) {
226 if (prefix.length() == 0 || prefix.equals(CLIR_ON) || prefix.equals(CLIR_OFF)) {
447 * are not exactly same; rather; we can call this method "similar()", not "equals()".
852 if ("".equals(m.group(2))) {
993 return (!(networkPortion.equals("
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
H A DDirListActivity.java138 public boolean equals(Object o) { method in class:DirListActivity.ListItem
143 return mRelativePath.equals(((ListItem)o).getRelativePath());
378 if (title.equals("")) {
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java224 return appPkg.equals(errPkg);
333 return a.equals(b);
338 public boolean equals(Object other) { method in class:ProcessErrorsTest.ProcessError
/frameworks/base/core/java/android/content/pm/
H A DVerifierDeviceIdentity.java194 public boolean equals(Object other) { method in class:VerifierDeviceIdentity
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java44 return e.getMessage().equals(SQLITE_EXCEPTION_DETAIL_MESSAGE);
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java133 } else if (category.equals(DISPLAY_CATEGORY_PRESENTATION)) {

Completed in 454 milliseconds

<<11121314151617181920>>