/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
D | RequestSync.java | 90 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/ |
D | Am.java | 107 if (op.equals("start")) { in run() 109 } else if (op.equals("startservice")) { in run() 111 } else if (op.equals("force-stop")) { in run() 113 } else if (op.equals("kill")) { in run() 115 } else if (op.equals("kill-all")) { in run() 117 } else if (op.equals("instrument")) { in run() 119 } else if (op.equals("broadcast")) { in run() 121 } else if (op.equals("profile")) { in run() 123 } else if (op.equals("dumpheap")) { in run() 125 } else if (op.equals("set-debug-app")) { in run() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | CharSequencesTest.java | 32 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/base/sax/tests/saxtests/src/android/sax/ |
D | SafeSaxTest.java | 364 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/ |
D | BluetoothUuid.java | 73 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/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmMmiCode.java | 269 if (sc.equals(SC_CF_All)) { in scToCallForwardReason() 271 } else if (sc.equals(SC_CFU)) { in scToCallForwardReason() 273 } else if (sc.equals(SC_CFB)) { in scToCallForwardReason() 275 } else if (sc.equals(SC_CFNR)) { in scToCallForwardReason() 277 } else if (sc.equals(SC_CFNRy)) { in scToCallForwardReason() 279 } else if (sc.equals(SC_CF_All_Conditional)) { in scToCallForwardReason() 338 (sc.equals(SC_CFU) in isServiceCodeCallForwarding() 339 || sc.equals(SC_CFB) || sc.equals(SC_CFNRy) in isServiceCodeCallForwarding() 340 || sc.equals(SC_CFNR) || sc.equals(SC_CF_All) in isServiceCodeCallForwarding() 341 || sc.equals(SC_CF_All_Conditional)); in isServiceCodeCallForwarding() [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | Headers.java | 178 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/cmds/bu/src/com/android/commands/bu/ |
D | Backup.java | 55 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/ |
D | AnimationUtils.java | 112 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/ |
D | VCardEntry.java | 218 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/core/tests/coretests/src/android/app/activity/ |
D | LaunchpadActivity.java | 174 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/pm/src/com/android/commands/pm/ |
D | Pm.java | 95 if ("list".equals(op)) { in run() 100 if ("path".equals(op)) { in run() 105 if ("install".equals(op)) { in run() 110 if ("uninstall".equals(op)) { in run() 115 if ("clear".equals(op)) { in run() 120 if ("enable".equals(op)) { in run() 125 if ("disable".equals(op)) { in run() 130 if ("disable-user".equals(op)) { in run() 135 if ("grant".equals(op)) { in run() 140 if ("revoke".equals(op)) { in run() [all …]
|
/frameworks/native/opengl/tools/glgen/src/ |
D | JniCodeEmitter.java | 44 if (baseType.equals("int")) { in getJniName() 46 } else if (baseType.equals("float")) { in getJniName() 48 } else if (baseType.equals("boolean")) { in getJniName() 50 } else if (baseType.equals("short")) { in getJniName() 52 } else if (baseType.equals("long")) { in getJniName() 54 } else if (baseType.equals("byte")) { in getJniName() 56 } else if (baseType.equals("String")) { in getJniName() 58 } else if (baseType.equals("void")) { in getJniName() 216 if (checks[index].equals("return")) { in isNullAllowed() 220 } else if (checks[index].equals("ifcheck")) { in isNullAllowed() [all …]
|
D | CType.java | 58 return baseType.equals("GLvoid") || in isVoid() 59 baseType.equals("void"); in isVoid() 63 return isConst && isPointer && baseType.equals("char"); in isConstCharPointer() 98 public boolean equals(Object o) { in equals() method in CType 101 return baseType.equals(c.baseType) && in equals()
|
D | CFunc.java | 75 if (name.equals(argNames.get(i))) { in getArgIndex() 117 if (ftypeName.equals("const")) { in parseCFunc() 124 if (fname.equals("*")) { in parseCFunc() 135 if (tok.equals("(")) { in parseCFunc() 138 if (tok.equals(")")) { in parseCFunc() 147 if (argTypeName.equals("const")) { in parseCFunc() 153 if (argTypeName.equals("void")) { in parseCFunc()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 115 if (action.equals(Intent.ACTION_ALARM_CHANGED)) { 118 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) { 121 else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED) || 122 action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) { 125 else if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION)) { 128 else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) { 131 else if (action.equals(TtyIntent.TTY_ENABLED_CHANGE_ACTION)) { 209 if (IccCard.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in updateSimState() 212 else if (IccCard.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in updateSimState() 215 else if (IccCard.INTENT_VALUE_ICC_LOCKED.equals(stateExtra)) { in updateSimState() [all …]
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 736 …@ViewDebug.FlagToString(mask = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, equals = FLAG_ALLOW_LOCK_WHILE_SCR… 738 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND, 740 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND, 742 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE, 744 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE, 746 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL, 748 … @ViewDebug.FlagToString(mask = FLAG_TOUCHABLE_WHEN_WAKING, equals = FLAG_TOUCHABLE_WHEN_WAKING, 750 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON, 752 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN, 754 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_NO_LIMITS, equals = FLAG_LAYOUT_NO_LIMITS, [all …]
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 133 if (ARGUMENT_INSERT.equals(operation)) { in parseCommand() 135 } else if (ARGUMENT_DELETE.equals(operation)) { in parseCommand() 137 } else if (ARGUMENT_UPDATE.equals(operation)) { in parseCommand() 139 } else if (ARGUMENT_QUERY.equals(operation)) { in parseCommand() 155 if (ARGUMENT_URI.equals(argument)) { in parseInsertCommand() 157 } else if (ARGUMENT_BIND.equals(argument)) { in parseInsertCommand() 178 if (ARGUMENT_URI.equals(argument)) { in parseDeleteCommand() 180 } else if (ARGUMENT_WHERE.equals(argument)) { in parseDeleteCommand() 198 if (ARGUMENT_URI.equals(argument)) { in parseUpdateCommand() 200 } else if (ARGUMENT_WHERE.equals(argument)) { in parseUpdateCommand() [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | PropertyNode.java | 123 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/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 302 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/core/java/com/android/internal/util/ |
D | XmlUtils.java | 56 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/graphics/java/android/graphics/drawable/ |
D | Drawable.java | 460 if (!Arrays.equals(mStateSet, stateSet)) { in setState() 838 if (name.equals("selector")) { in createFromXmlInner() 840 } else if (name.equals("level-list")) { in createFromXmlInner() 846 } else if (name.equals("layer-list")) { in createFromXmlInner() 848 } else if (name.equals("transition")) { in createFromXmlInner() 850 } else if (name.equals("color")) { in createFromXmlInner() 852 } else if (name.equals("shape")) { in createFromXmlInner() 854 } else if (name.equals("scale")) { in createFromXmlInner() 856 } else if (name.equals("clip")) { in createFromXmlInner() 858 } else if (name.equals("rotate")) { in createFromXmlInner() [all …]
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 47 if ("stayon".equals(args[1]) && args.length == 3) { in run() 49 if ("true".equals(args[2])) { in run() 53 else if ("false".equals(args[2])) { in run() 55 } else if ("usb".equals(args[2])) { in run() 57 } else if ("ac".equals(args[2])) { in run()
|
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | RunTestCommand.java | 90 if (args[i].equals("-e")) { in parseArgs() 94 if (CLASS_PARAM.equals(key)) { in parseArgs() 96 } else if (DEBUG_PARAM.equals(key)) { in parseArgs() 97 mDebug = "true".equals(value) || "1".equals(value); in parseArgs() 98 } else if (RUNNER_PARAM.equals(key)) { in parseArgs() 106 } else if (args[i].equals("-c")) { in parseArgs()
|
/frameworks/base/core/java/android/server/ |
D | BluetoothEventLoop.java | 319 if (name.equals("Name")) { in onPropertyChanged() 325 } else if (name.equals("Pairable") || name.equals("Discoverable")) { in onPropertyChanged() 328 if (name.equals("Discoverable")) { in onPropertyChanged() 332 String pairable = name.equals("Pairable") ? propValues[1] : in onPropertyChanged() 334 String discoverable = name.equals("Discoverable") ? propValues[1] : in onPropertyChanged() 342 pairable.equals("true"), in onPropertyChanged() 343 discoverable.equals("true")); in onPropertyChanged() 350 } else if (name.equals("Discovering")) { in onPropertyChanged() 353 if (propValues[1].equals("true")) { in onPropertyChanged() 361 } else if (name.equals("Devices") || name.equals("UUIDs")) { in onPropertyChanged() [all …]
|