android/view/IWindowManagerImpl.java (59 lines):
- line 80: // TODO Auto-generated method stub
- line 86: // TODO Auto-generated method stub
- line 91: // TODO Auto-generated method stub
- line 97: // TODO Auto-generated method stub
- line 102: // TODO Auto-generated method stub
- line 108: // TODO Auto-generated method stub
- line 113: // TODO Auto-generated method stub
- line 118: // TODO Auto-generated method stub
- line 124: // TODO Auto-generated method stub
- line 130: // TODO Auto-generated method stub
- line 136: // TODO Auto-generated method stub
- line 142: // TODO Auto-generated method stub
- line 148: // TODO Auto-generated method stub
- line 154: // TODO Auto-generated method stub
- line 160: // TODO Auto-generated method stub
- line 166: // TODO Auto-generated method stub
- line 172: // TODO Auto-generated method stub
- line 178: // TODO Auto-generated method stub
- line 184: // TODO Auto-generated method stub
- line 191: // TODO Auto-generated method stub
- line 198: // TODO Auto-generated method stub
- line 205: // TODO Auto-generated method stub
- line 211: // TODO Auto-generated method stub
- line 217: // TODO Auto-generated method stub
- line 224: // TODO Auto-generated method stub
- line 229: // TODO Auto-generated method stub
- line 242: // TODO Auto-generated method stub
- line 247: // TODO Auto-generated method stub
- line 253: // TODO Auto-generated method stub
- line 259: // TODO Auto-generated method stub
- line 266: // TODO Auto-generated method stub
- line 272: // TODO Auto-generated method stub
- line 278: // TODO Auto-generated method stub
- line 289: // TODO Auto-generated method stub
- line 294: // TODO Auto-generated method stub
- line 299: // TODO Auto-generated method stub
- line 304: // TODO Auto-generated method stub
- line 309: // TODO Auto-generated method stub
- line 325: // TODO Auto-generated method stub
- line 334: // TODO Auto-generated method stub
- line 340: // TODO Auto-generated method stub
- line 346: // TODO Auto-generated method stub
- line 351: // TODO Auto-generated method stub
- line 356: // TODO Auto-generated method stub
- line 361: // TODO Auto-generated method stub
- line 366: // TODO Auto-generated method stub
- line 372: // TODO Auto-generated method stub
- line 377: // TODO Auto-generated method stub
- line 382: // TODO Auto-generated method stub
- line 387: // TODO Auto-generated method stub
- line 393: // TODO Auto-generated method stub
- line 399: // TODO Auto-generated method stub
- line 405: // TODO Auto-generated method stub
- line 415: // TODO Auto-generated method stub
- line 434: // TODO Auto-generated method stub
- line 444: // TODO Auto-generated method stub
- line 450: // TODO Auto-generated method stub
- line 455: // TODO Auto-generated method stub
- line 462: // TODO Auto-generated method stub
com/android/server/ConnectivityService.java (34 lines):
- line 191: // TODO: create better separation between radio types and network types
- line 745: // TODO: What is the "correct" way to do determine if this is a wifi only device?
- line 860: // TODO: Move other elements into @Overridden getters.
- line 879: // TODO: Delete this and either:
- line 1015: // TODO: consider moving this check to NetworkPolicyManagerInternal.isUidNetworkingBlocked.
- line 1282: // TODO - this should be ALL networks
- line 1459: // TODO: notify UID when it has requested targeted updates
- line 1466: // TODO: relocate this specific callback in Tethering.
- line 2254: // TODO - if we move the logic to the network agent (have them disconnect
- line 2272: // TODO - we shouldn't send CALLBACK_LOST to requests that can be satisfied
- line 2518: // TODO: remove this code once we know that the Slog.wtf is never hit.
- line 2522: // TODO - it's my understanding that for a request there is only a single
- line 2672: // TODO: Evaluate whether this is of interest to other consumers of
- line 2908: // TODO - proper iface API for selection by property, inspection, etc
- line 2949: // TODO - move iface listing, queries, etc to new module
- line 3278: // TODO: Switch PacManager to have its own message to send back rather than
- line 3299: // TODO: Deprecate the broadcast extras as they aren't necessarily applicable in a multi-network
- line 3709: // TODO: Remove? Any reason to trigger a provisioning check?
- line 4098: // TODO: this is incorrect. We mark the request as metered or not depending on the state
- line 4324: // TODO - eval if we can reduce the number of lists/hashmaps/sparsearrays
- line 4376: // TODO: Instead of passing mDefaultRequest, provide an API to determine whether a Network
- line 4416: // TODO - figure out what to do for clat
- line 4432: // TODO - move this check to cover the whole function
- line 4592: // TODO: make these permission strings AIDL constants instead.
- line 4617: // TODO: consider not complaining when a network agent degrade its capabilities if this
- line 4754: // TODO: check if defensive copies of data is needed.
- line 4957: // TODO - this could get expensive if we have alot of requests for this
- line 4990: // TODO: Technically, sending CALLBACK_LOST here is
- line 5061: // TODO: Avoid redoing this; this must only be done once when a network comes online.
- line 5082: // TODO: Is there still a race here? We send the broadcast
- line 5140: // TODO: This may get slow. The "changed" parameter is provided for future optimization
- line 5174: // TODO: Update WiFi and cellular icons separately. b/17237507
- line 5264: // TODO: support proxy per network.
- line 5401: // TODO: if we're in the middle of a rematch, can we send a CAP_CHANGED callback for
com/android/layoutlib/bridge/android/BridgeIInputMethodManager.java (34 lines):
- line 45: // TODO Auto-generated method stub
- line 51: // TODO Auto-generated method stub
- line 57: // TODO Auto-generated method stub
- line 63: // TODO Auto-generated method stub
- line 70: // TODO Auto-generated method stub
- line 76: // TODO Auto-generated method stub
- line 82: // TODO Auto-generated method stub
- line 88: // TODO Auto-generated method stub
- line 94: // TODO Auto-generated method stub
- line 101: // TODO Auto-generated method stub
- line 108: // TODO Auto-generated method stub
- line 115: // TODO Auto-generated method stub
- line 121: // TODO Auto-generated method stub
- line 128: // TODO Auto-generated method stub
- line 133: // TODO Auto-generated method stub
- line 140: // TODO Auto-generated method stub
- line 145: // TODO Auto-generated method stub
- line 152: // TODO Auto-generated method stub
- line 158: // TODO Auto-generated method stub
- line 165: // TODO Auto-generated method stub
- line 172: // TODO Auto-generated method stub
- line 178: // TODO Auto-generated method stub
- line 185: // TODO Auto-generated method stub
- line 191: // TODO Auto-generated method stub
- line 197: // TODO Auto-generated method stub
- line 203: // TODO Auto-generated method stub
- line 209: // TODO Auto-generated method stub
- line 215: // TODO Auto-generated method stub
- line 220: // TODO Auto-generated method stub
- line 226: // TODO Auto-generated method stub
- line 237: // TODO Auto-generated method stub
- line 243: // TODO Auto-generated method stub
- line 250: // TODO Auto-generated method stub
- line 256: // TODO Auto-generated method stub
com/android/internal/telephony/dataconnection/DcTracker.java (34 lines):
- line 124: /* Currently requested APN type (TODO: This should probably be a parameter not a member) */
- line 228: // TODO: Evaluate hooking this up with DeviceStateMonitor
- line 398: // FIXME STOPSHIP - phoneSubId is coming up as -1 way after boot and failing this?
- line 435: // TODO: IF already associated should we send the EVENT_TRY_SETUP_DATA???
- line 503: // (TODO: Reconsider tying directly to screen, maybe this is
- line 522: /** Convert an ApnType string to Id (TODO: Use "enumeration" instead of String for ApnType) */
- line 616: // TODO - redundent with update call below?
- line 781: * TODO - currently unused. Needs to be hooked into DataConnection cleanup
- line 782: * TODO - needs to pass some notion of which connection is reset..
- line 808: //TODO: We should move the followings into DataEnabledSettings class.
- line 825: // TODO: We should register for DataEnabledSetting's data enabled/disabled event and
- line 989: // TODO: Don't borrow "Connecting..." i18n string; give Telephony a version.
- line 998: // TODO: Indicate to user that it is taking an unusually long time to connect?
- line 1268: // TODO: Remove this hack added by ag/641832.
- line 1459: // FIXME this can be improved
- line 1591: // TODO - only do cleanup if not disconnected
- line 1600: // TODO: Do we need mRequestedApnType?
- line 1615: * TODO: Cleanup only a specified connection passed as a parameter.
- line 1934: // TODO: Fix retry handling so free DataConnections have empty apnlists.
- line 2127: // TODO: It'd be nice to only do this if the changed entrie(s)
- line 2134: // FIXME: See bug 17426028 maybe no conditional is needed.
- line 2153: // TODO: For multiple Active APNs not exactly sure how to do this.
- line 2382: // TODO: We should register for DataEnabledSetting's data enabled/disabled event and
- line 2561: // TODO change our retry manager to use the appropriate numbers for the new APN
- line 2576: // TODO: We shouldnt need this.
- line 2591: //TODO: Merge this into DataSettings. And probably should rename to getUserDataEnabled().
- line 2759: // TODO: Remove this once all old vendor RILs are gone. We don't need to set initial apn
- line 2827: // FIXME this can be improved
- line 2855: // FIXME this can be improved
- line 3380: // TODO: What is the right behavior?
- line 3698: // TODO: Should all PDN states be checked to fail?
- line 3847: // TODO - remove
- line 3987: // TODO - why are we still registering?
- line 4393: // TODO: We probably need to rebuild APN list when roaming status changes.
com/android/server/wifi/WifiStateMachine.java (33 lines):
- line 153: * TODO:
- line 926: // TODO refactor WifiNative use of context out into it's own class
- line 965: // TODO: remove these settings from the config file since we no longer obey them
- line 985: // TODO - needs to be a bit more dynamic
- line 1417: //TODO: this is used only to track connection attempts, however the link state and packet per
- line 1418: //TODO: second logic should be folded into that
- line 1585: // TODO this is a temporary measure to bridge between WifiScanner and WifiStateMachine until
- line 1639: * TODO: doc
- line 1650: * TODO: doc
- line 1669: * TODO: doc
- line 1676: * TODO: doc
- line 1696: * TODO: doc
- line 1703: * TODO: doc
- line 1804: * TODO: doc
- line 1820: * TODO: doc
- line 1855: // TODO: This needs an implementation
- line 2181: * TODO: deprecate this
- line 3067: // TODO: Update all callers to use NetworkCallbacks and delete this.
- line 3382: // TODO: Remove this comment when the driver is fixed.
- line 3526: // TODO: Move this to provisioning failure, not DHCP failure.
- line 3564: // TODO: De-duplicated this and handleIpConfigurationLost().
- line 3569: // TODO: Determine whether to call some form of mWifiConfigManager.handleSSIDStateChange().
- line 3838: // TODO: We should probably do some cleanup or attempt a retry
- line 3851: //TODO: Re-establish connection to state machine after a delay (b/34283611)
- line 4437: // TODO: remove scan request path (b/31445200)
- line 4442: // TODO: remove handing of SCAN_RESULTS_EVENT and SCAN_FAILED_EVENT when scan
- line 5403: // TODO: This check should not be needed after WifiStateMachinePrime refactor.
- line 5451: // TODO: this should be fixed for a L MR release
- line 5642: // TODO: Do we quash rssi values in this sorted array which are very close?
- line 6057: // TODO: Only ever enter this state the first time we connect to a
- line 6322: // TODO: b/64349637 Investigate getting default router IP/MAC address info from
- line 7065: * TODO: b/35258354 investigate if this can be removed. Is the broadcast sent by
- line 7183: * now in this helper method. TODO: b/35257965 is filed to track the possibility of merging
com/android/ex/camera2/portability/AndroidCamera2AgentImpl.java (27 lines):
- line 137: // TODO: Implement
- line 141: // TODO: Some indices may now be invalid; ensure everyone can handle that and update the docs
- line 304: // TODO: Provide better feedback here?
- line 323: // FIXME: We need to tear down the CameraCaptureSession here
- line 618: // TODO: Make an error callback?
- line 639: // TODO: Rephrase once everything has been implemented
- line 645: // TODO: Handle this better
- line 690: // TODO: If invoked when in PREVIEW_READY state, a new preview size will not take effect
- line 713: // TODO: Must be called after providing a .*Settings populated with sizes
- line 714: // TODO: We don't technically offer a selection of sizes tailored to SurfaceTextures!
- line 716: // TODO: Handle this error condition with a callback or exception
- line 830: // TODO: Invoke a callback
- line 999: // TODO: Implement
- line 1026: // FIXME: Unlock the sizes in stopPreview(), as per the corresponding
- line 1036: // FIXME: Unlock the sizes in stopPreview(), as per the corresponding
- line 1046: // TODO: Implement
- line 1050: // TODO: Implement
- line 1054: // TODO: Implement
- line 1059: // TODO: Implement
- line 1133: // TODO: We never call raw or postview
- line 1182: // TODO: Implement
- line 1186: // TODO: Implement
- line 1191: // TODO: Remove this method override once we handle this message
- line 1195: // TODO: Remove this method override once we handle this message
- line 1199: // TODO: Implement
- line 1203: // TODO: Implement
- line 1239: // TODO: Implement
com/android/server/connectivity/Tethering.java (23 lines):
- line 180: // TODO: Figure out how to merge this and other downstream-tracking objects
- line 371: // TODO: De-duplicate above code.
- line 456: // TODO: Enabling bluetooth tethering can fail asynchronously here.
- line 565: // TODO: De-duplicate with above code, where possible.
- line 596: // TODO: reexamine the threading and messaging model.
- line 639: // TODO: Figure out how to update for local hotspot mode interfaces.
- line 838: // TODO: consider:
- line 862: // TODO: Figure out how to remove the need for this variable.
- line 896: // TODO: Remove this altogether, once Wi-Fi reliably gives us an
- line 947: // TODO: Consider renaming to something more accurate in its description.
- line 1018: // TODO - update callers to use getTetheringConfiguration(),
- line 1067: // TODO review API - figure out how to delete these entirely.
- line 1265: // TODO: Randomize DHCPv4 ranges, especially in hotspot mode.
- line 1267: // TODO: Find a more accurate method name (startDHCPv4()?).
- line 1356: // TODO: Set v4 and/or v6 DNS per available connectivity.
- line 1359: // TODO: Properly support the absence of DNS servers.
- line 1361: // TODO: remove this invocation of NetworkUtils.makeStrings().
- line 1370: // TODO: Investigate how this can fail and what exactly
- line 1449: // TODO: In future, this is where upstream evaluation and selection
- line 1482: // TODO: Re-evaluate possible upstreams. Currently upstream
- line 1509: // TODO: De-duplicate with updateUpstreamWanted() below.
- line 1710: // TODO: This suggests that the interface between OffloadController and
- line 1872: // TODO: Move into TetherMasterSM.
com/android/server/InputMethodManagerService.java (22 lines):
- line 610: *
TODO: Consider to follow what other system services have been doing to manage
- line 618: *
TODO: Consider to follow what other system services have been doing to manage
- line 889: // TODO: Move this method to InputMethodUtils with adding unit tests.
- line 1077: // TODO: Consider to create a utility method to do the following test. List.retainAll()
- line 1232: // TODO: Dispatch this to a worker thread as needed.
- line 1239: // TODO: Dispatch this to a worker thread as needed.
- line 1387: // TODO: Is it really possible that switchUserLocked() happens before system ready?
- line 1561: // TODO: Make this work even for non-current users?
- line 1572: // TODO: Make this work even for non-current users?
- line 1588: // TODO: Make this work even for non-current users?
- line 2222: // TODO: Move this clearing calling identity block to setImeWindowStatus after making sure
- line 2297: // TODO: Do not send the intent if the process of the targetImi is already dead.
- line 2376: // TODO: Make sure that mSwitchingController and mSettings are sharing the
- line 2607: // TODO: Clean up, IMMS#mInputShown, IMMS#mImeWindowVis and mShowRequested.
- line 3010: // TODO: Handle the case of the last IME with no subtypes
- line 3524: // TODO: The following code should find better place to live.
- line 3572: // TODO: Make sure that mSwitchingController and mSettings are sharing the
- line 3809: // TODO: Make this work even for non-current users?
- line 4015: // TODO: Make this work even for non-current users?
- line 4063: // TODO: We should change the return type from List to List
- line 4094: // TODO: Make this work even for non-current users?
- line 4111: // TODO: Cache the state for each user and reset when the cached user is removed.
android/media/MediaPlayer.java (21 lines):
- line 584: // FIXME: unhide.
- line 585: // FIXME: add link to getMetadata(boolean, boolean)
- line 592: // FIXME: unhide.
- line 593: // FIXME: add link to getMetadata(boolean, boolean)
- line 600: // FIXME: unhide.
- line 601: // FIXME: add link to getMetadata(boolean, boolean)
- line 608: // FIXME: unhide.
- line 609: // FIXME: add link to getMetadata(boolean, boolean)
- line 1310: //FIXME use lambda to pass startImpl to superclass
- line 1813: // TODO: pass long to native, instead of truncating here.
- line 1858: // TODO: get the timestamp from native side
- line 1896: // FIXME: unhide.
- line 1934: // FIXME: unhide.
- line 2154: * FIXME: Merge this into javadoc comment above when setVolume(float) is not @hide.
- line 2333: // TODO: parcel in the full MediaFormat; currently we are using createSubtitleFormat
- line 2515: // TODO: create SubtitleController in MediaPlayer
- line 2646: // TODO: do the conversion in the subtitle track
- line 2708: /* TODO: Limit the total number of external timed text source to a reasonable number.
- line 4863: // TODO: don't need an open session for a future specialKeyReleaseDrm mode but we should do
- line 5496: // TODO get time when prepared
- line 5505: // TODO: do this properly by introducing an exception
com/android/server/NetworkManagementService.java (20 lines):
- line 1076: /* TODO: This is right now a IPv4 only function. Works for wifi which loses its
- line 1210: // TODO: remove from aidl if nobody calls externally
- line 1568: // TODO: eventually migrate to be always enabled
- line 1577: // TODO: support quota shared across interfaces
- line 1602: // TODO: eventually migrate to be always enabled
- line 1607: // TODO: eventually consider throwing
- line 1615: // TODO: support quota shared across interfaces
- line 1639: // TODO: eventually migrate to be always enabled
- line 1653: // TODO: support alert shared across interfaces
- line 1667: // TODO: eventually migrate to be always enabled
- line 1672: // TODO: eventually consider throwing
- line 1677: // TODO: support alert shared across interfaces
- line 1691: // TODO: eventually migrate to be always enabled
- line 1705: // TODO: eventually migrate to be always enabled
- line 1719: // TODO: eventually consider throwing
- line 1841: // TODO: consider keeping state in netd so we can simplify this code.
- line 2064: // TODO: is there a better way of finding all existing users? If so, we could
- line 2084: // TODO: tighten up this code by ensuring we never set the wrong type of rule, and
- line 2244: // TODO: now that netd supports batching, NMS should not keep these data structures anymore...
- line 2256: // TODO: eventually consider throwing
com/android/server/net/NetworkPolicyManagerService.java (20 lines):
- line 404: * TODO: An int array might be sufficient
- line 412: * TODO: An int array might be sufficient
- line 480: // TODO: keep whitelist of system-critical services that should never have
- line 483: // TODO: migrate notifications to SystemUI
- line 1048: // TODO: when switching to kernel notifications, compute next future
- line 1241: // TODO: move to NotificationManager once we can mock it
- line 1258: // TODO: move to NotificationManager once we can mock it
- line 1470: // TODO: reset any policy-disabled networks when any policy is removed
- line 1501: // TODO: reach into ConnectivityManager to proactively disable bringing
- line 1614: // TODO: switch to shared quota once NMS supports
- line 1970: // TODO: set for other users during upgrade
- line 2361: // TODO: create permission for observing network policy
- line 2368: // TODO: create permission for observing network policy
- line 2530: // TODO: there is no need to iterate through all apps here, just those in the foreground,
- line 2537: // TODO: if it knew the foreground apps (see TODO above), it could call
- line 3336: // TODO: rename / document to make it clear these are global (not app-specific) rules
- line 3367: // TODO: refactor / consolidate all those updateXyz methods, there are way too many of them...
- line 3436: // TODO: the MEDIA / DRM restriction might not be needed anymore, in which case both
- line 3632: // TODO: if statement below is used to avoid an unnecessary call to netd / iptables,
- line 3641: // TODO: if statements below are used to avoid unnecessary calls to netd / iptables,
com/android/server/wm/WindowManagerService.java (20 lines):
- line 710: // TODO: Move to RootWindowContainer
- line 1726: * TODO: Maybe better handled with a method {@link WindowContainer#removeChild} if we can
- line 1758: // TODO: Should this be moved into AppWindowToken.removeWindow? Might go away after
- line 1892: //TODO (multidisplay): Magnification is supported only for the default display.
- line 2043: // TODO: Ideally we'd create the surface after running layout a bit further down,
- line 2708: // TODO (multidisplay): associate app transitions with displays
- line 3376: // TODO: Keep track of keyguardEnabled state per user and use here...
- line 3706: // TODO: more accounting of which pid(s) turned it on, keep count,
- line 3733: // TODO: Modify this to use the surface trace once it is not going crazy.
- line 4385: // TODO: GET THE TRANSACTION CODE IN A SAFER MANNER
- line 5120: // !!! TODO: ANR the app that has failed to start the drag in time
- line 5136: // !!! TODO: ANR the drag-receiving app
- line 5317: // TODO: This is all about fixing b/21693547
- line 5405: // TODO: multi-display
- line 5749: // TODO: Maintain display list in focus order in ActivityManager and remove this call.
- line 5857: // TODO: multi-display.
- line 5946: // TODO: Move to DisplayContent
- line 6963: // TODO: All the display method below should probably be moved into the RootWindowContainer...
- line 7042: // TODO: The s at the end of the method name is the only difference with the name of the method
- line 7542: // TODO (b/34628091): Use this method to address the window animation issue.
com/android/internal/telephony/SubscriptionController.java (18 lines):
- line 89: static final int MAX_LOCAL_LOG_LINES = 500; // TODO: Reduce to 100 when 17678050 is fixed
- line 97: * TODO: Update LocalLog
- line 155: // FIXME: Does not allow for multiple subs in a slot and change to SparseArray
- line 261: * FIXME: Hopefully removed if the API council accepts SubscriptionInfoListener
- line 280: // FIXME: Remove if listener technique accepted.
- line 315: // FIXME: consider stick this into database too
- line 639: // FIXME: Unnecessary when an insertion sort is used!
- line 731: // FIXME: This valid now but change to use TelephonyDevController in the future
- line 962: // TODO While two subs active, if user deactivats first
- line 965: // FIXME: Currently we assume phoneId == slotIndex which in the future
- line 1092: // TODO: This can be removed once SubscriptionController is not running on devices
- line 1411: // TODO: Not used anywhere sp consider deleting as it's somewhat nebulous
- line 1486: // FIXME: Assumes phoneId == slotIndex
- line 1506: // FIXME: Remove notion of Dummy SUBSCRIPTION_ID.
- line 1697: // TODO Handle the general case of N modems and M subscriptions.
- line 1701: // TODO Handle the general case of N modems and M subscriptions.
- line 1714: // FIXME is this still needed?
- line 1830: // FIXME: We need we should not be assuming phoneId == slotIndex as it will not be true
android/net/ip/IpManager.java (18 lines):
- line 195: // TODO: Find an lighter weight approach.
- line 287: // TODO: Delete this default timeout once those callers that care are
- line 548: // TODO: Revert this hack once IpManager and Nat464Xlat work in concert.
- line 597: * TODO: migrate all test users to mock IpManager directly and remove this ctor.
- line 645: // TODO: Also observe mInterfaceName going down and take some
- line 648: // TODO: consider sending a message to the IpManager main
- line 735: // TODO: Delete this.
- line 891: // TODO: throw new IllegalStateException.
- line 934: // TODO: Investigate folding all this into the existing static function
- line 1049: // TODO: Add a proper ProvisionedState and cancel the alarm in
- line 1121: // TODO: also learn via netlink routes specified by an InitialConfiguration and specified
- line 1128: // TODO: Investigate deleting this reachability check. We should be
- line 1187: // TODO: Investigate deleting this clearIPv4Address() call.
- line 1278: // TODO: also support specifying a static IPv4 configuration in InitialConfiguration.
- line 1499: // TODO: investigate the effects of any multicast filtering racing/interfering with the
- line 1522: // TODO introduce a new IpManagerEvent constant to distinguish this error case.
- line 1601: // TODO: Possibly introduce a second type of confirmation
- line 1735: // TODO: extract out into CollectionUtils.
com/android/server/am/ActivityStack.java (16 lines):
- line 340: // TODO: This list doesn't belong here...
- line 988: // TODO Refactor to remove duplications. Check if logic can be simplified.
- line 2071: // TODO: Should probably be moved into ActivityRecord.
- line 2270: // TODO: move mResumedActivity to stack supervisor,
- line 2293: // TODO: Maybe this entire condition can get removed?
- line 2484: next.packageName, false, next.userId); /* TODO: Verify if correct userid */
- line 2598: // TODO: Remove this once visibilities are set correctly immediately when
- line 2804: // TODO: Better place to put all the code below...may be addTask...
- line 2920: // TODO: Need to investigate if it is okay for the controller to already be created by the
- line 4151: // TODO: If the callers to removeTask() changes such that we have multiple places
- line 4775: // TODO: Figure-out a way to consolidate with resize() method below.
- line 4782: // TODO: Can only be called from special methods in ActivityStackSupervisor.
- line 5167: // TODO: VI what about activity?
- line 5245: // TODO: figure-out a way to remove this call.
- line 5251: // TODO: This shouldn't allow automatic reparenting. Remove the call to preAddTask and deal
- line 5255: // TODO: Is this remove really needed? Need to look into the call path for the other addTask
com/android/server/wm/WindowState.java (15 lines):
- line 485: * TODO: We should either have different booleans for the removal reason or use a bit-field.
- line 819: // TODO: Investigate why this is contentFrame not parentFrame.
- line 1389: // TODO: Can we consolidate this with #isVisible() or have a more appropriate name for this?
- line 1484: // TODO: Another visibility method that was added late in the release to minimize risk.
- line 1619: //TODO (multidisplay): Magnification is supported only for the default
- line 1637: //TODO (multidisplay): Magnification is supported only for the default
- line 1732: //TODO (multidisplay): Accessibility supported only for the default display.
- line 1899: // TODO: We are overloading mAnimatingExit flag to prevent the window state from
- line 1949: //TODO (multidisplay): Magnification is supported only for the default display.
- line 2223: // TODO: Strange usage of word workspace here and above.
- line 2370: // TODO: We don't check if attrs != null here. Is it implicitly checked?
- line 3172: //TODO (multidisplay): Accessibility supported only for the default display.
- line 4207: // TODO: Not sure if we really need to copy this into a different list.
- line 4228: //TODO (multidisplay): Accessibility is supported only for the default display.
- line 4594: // TODO: Hack to work around the number of states AppWindowToken needs to access without having
com/android/server/TextServicesManagerService.java (15 lines):
- line 106: // TODO: Dispatch this to a worker thread as needed.
- line 113: // TODO: Dispatch this to a worker thread as needed.
- line 122: // TODO: Dispatch this to a worker thread as needed.
- line 218: // TODO: Update for each locale
- line 337: // TODO: Implement multiuser support in TSMS.
- line 412: // TODO: Still there is a room to improve in the following logic: e.g., check if the package
- line 433: // TODO: We may have more spell checkers that fall into this category.
- line 448: // TODO: Save SpellCheckerService by supported languages. Currently only one spell
- line 452: // TODO: Make this work even for non-current users?
- line 472: // TODO: Respect allowImplicitlySelectedSubtype
- line 473: // TODO: Save SpellCheckerSubtype by supported languages by looking at "locale".
- line 477: // TODO: Make this work even for non-current users?
- line 627: // TODO: Make this work even for non-current users?
- line 1046: // TODO: mCurrentProfileIds should be cleared here.
- line 1051: // TODO: mCurrentProfileIds should be updated here.
com/android/layoutlib/bridge/android/BridgeContentProvider.java (15 lines):
- line 39: * TODO: never return null when the method is not supposed to. Return fake data instead.
- line 46: // TODO Auto-generated method stub
- line 53: // TODO Auto-generated method stub
- line 60: // TODO Auto-generated method stub
- line 67: // TODO Auto-generated method stub
- line 73: // TODO Auto-generated method stub
- line 79: // TODO Auto-generated method stub
- line 87: // TODO Auto-generated method stub
- line 95: // TODO Auto-generated method stub
- line 102: // TODO Auto-generated method stub
- line 109: // TODO Auto-generated method stub
- line 115: // TODO Auto-generated method stub
- line 121: // TODO Auto-generated method stub
- line 128: // TODO Auto-generated method stub
- line 134: // TODO Auto-generated method stub
android/widget/Editor.java (13 lines):
- line 789: // FIXME - For this and similar methods we're not doing anything to check if there's
- line 876: // FIXME - We should check if there's a LocaleSpan in the text, this may be
- line 974: // FIXME - Shouldn't copy all of the text as only the area of the text relevant
- line 1071: // TODO: Fix drag and drop in full screen extracted mode.
- line 3125: // TODO: It is good to extract non trivial initialization code from constructor.
- line 3389: private TextAppearanceSpan mHighlightSpan; // TODO: Make mHighlightSpan final.
- line 3397: private Context mContext; // TODO: Make mContext final.
- line 3503: // TODO The ExtractEditText should remove the span in the original text instead
- line 5703: invalidate(true); // TODO invalidate cursor region only
- line 5706: invalidate(false); // TODO invalidate cursor region only
- line 5851: * TODO: Make this span aware.
- line 6213: // TODO: Support forward delete.
- line 6313: // TODO: Select all the text that was undone.
com/android/internal/telephony/CallManager.java (13 lines):
- line 85: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 114: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 473: /* FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 559: // TODO: Clean up this solution as it is just a work around for each Phone instance
- line 607: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 651: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 964: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 1821: // TODO since hasActiveBgCall may get called often
- line 1831: // TODO since hasActiveBgCall may get called often
- line 2227: /* FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 2251: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 2339: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
- line 2362: /* FIXME Taken from klp-sprout-dev but setAudioMode was removed in L.
com/android/ex/camera2/portability/AndroidCamera2Capabilities.java (13 lines):
- line 50: // TODO: We only support TextureView preview rendering
- line 57: // TODO: We only support MediaRecorder video capture
- line 61: // TODO: We only support JPEG image capture
- line 70: // TODO: Populate mSupportedFeatures
- line 72: // TODO: Populate mPreferredPreviewSizeForVideo
- line 85: // TODO: Populate mHorizontalViewAngle
- line 86: // TODO: Populate mVerticalViewAngle
- line 87: // TODO: Populate mZoomRatioList
- line 88: // TODO: Populate mMaxZoomIndex
- line 104: // TODO: Detect other features
- line 177: // TODO: We cannot support INFINITY
- line 211: // TODO: We cannot support NIGHT_PORTRAIT
- line 228: // TODO: We cannot expose FACE_PRIORITY, or HIGH_SPEED_VIDEO
com/android/server/backup/RefactoredBackupManagerService.java (13 lines):
- line 773: // TODO: Don't create transports that we don't need to?
- line 1167: // TODO: pick a better starting time than now + 1 minute
- line 1385: // !!! TODO: cache this and regenerate only when necessary
- line 1891: // manifest flag! TODO something less direct.
- line 2205: // TODO: http://b/22388012
- line 2289: // TODO: http://b/22388012
- line 2292: // TODO: backups for all user profiles although don't add backup for profiles
- line 2352: // !!! TODO: allow data-clear of ANY app?
- line 2428: // TODO: http://b/22388012
- line 2505: // TODO: http://b/22388012
- line 2554: // TODO: http://b/22388012
- line 2658: // TODO: possibly require not just this signature-only permission, but even
- line 3053: // TODO: handle backup being interrupted
com/android/systemui/statusbar/phone/StatusBar.java (12 lines):
- line 964: // TODO: use MediaSessionManager.SessionListener to hook us up to future updates
- line 1013: // TODO: Deal with the ugliness that comes from having some of the statusbar broken out
- line 1112: // TODO: Find better place for this callback.
- line 1308: // TODO: Remove this.
- line 1314: // TODO: Bring these out of StatusBar.
- line 3860: // TODO: Factor this transition out of FingerprintUnlockController.
- line 4945: // TODO: Figure out way to remove these.
- line 4955: * TODO: Remove this method. Views should not be passed forward. Will cause theme issues.
- line 6326: // TODO: confirm that there's a valid media key
- line 6877: * TODO: Remove once enough apps specify remote inputs on their own.
- line 6946: // TODO: Dismiss Keyguard.
- line 7072: // TODO: Dismiss Keyguard.
android/provider/CalendarContract.java (12 lines):
- line 716: * parameters. TODO move to provider
- line 1663: * are used for provider only functionality. TODO move to provider
- line 1697: * _SYNC_ACCOUNT_TYPE in the query parameters. TODO move to provider.
- line 2258: * Helper for inserting an alarm time associated with an event TODO move
- line 2282: * blocking call and should not be done on the UI thread. TODO move to
- line 2293: // TODO: construct an explicit SQL query so that we can add
- line 2317: * reboot. TODO move to provider
- line 2334: // TODO: construct an explicit SQL query so that we can add
- line 2372: * {@link #ACTION_EVENT_REMINDER}. TODO Move to provider
- line 2403: * alarm already exists and this method returns true. TODO Move to
- line 2416: // TODO: construct an explicit SQL query so that we can add
- line 2549: // TODO: fill out this class when we actually start utilizing extendedproperties
com/android/server/wifi/p2p/WifiP2pServiceImpl.java (12 lines):
- line 573: // TODO: what does the WifiStateMachine client do? It isn't tracked through here!
- line 1781: // TODO: dismiss dialog if not already done
- line 1819: // TODO: dismiss dialog if not already done
- line 1950: // TODO: Verify multi-channel scenarios and supplicant behavior are
- line 2343: // TODO: figure out updating the status to declined
- line 2439: // TODO: dismiss dialog if not already done
- line 2696: // TODO: make the actual key come from a config value.
- line 2705: // TODO: add timeout for this dialog.
- line 2706: // TODO: update UI in appliance mode to tell user what to do.
- line 2755: // TODO: The supplicant does not provide group capability changes as an event.
- line 3196: // TODO: We could track individual service adds separately and avoid
- line 3391: * TODO: This can be done better with full async channels.
android/net/IpSecTransform.java (12 lines):
- line 120: // TODO: Pass Error string back from bundle so that errors can be more specific
- line 149: // FIXME: if keepalive fails, we need to fail spectacularly
- line 244: // FIXME: NO_KEEPALIVE needs to be a constant
- line 264: 0x1234, /* FIXME: get the real port number again,
- line 270: // FIXME: this is still a horrible way to fudge the synchronous callback
- line 362: // TODO: convert to using the resource Id of the SPI. Then build() can validate
- line 396: // TODO: check encap type is valid.
- line 403: // TODO: Decrease the minimum keepalive to maybe 10?
- line 404: // TODO: Probably a better exception to throw for NATTKeepalive failure
- line 405: // TODO: Specify the needed NATT keepalive permission.
- line 450: //FIXME: argument validation here
- line 472: //FIXME: argument validation here
com/android/server/audio/AudioService.java (11 lines):
- line 565: // TODO merge orientation and rotation
- line 782: // TODO merge orientation and rotation
- line 837: //FIXME: this is to maintain compatibility with deprecated intent
- line 4963: //FIXME: onLoadSoundEffects() should be executed in a separate thread as it
- line 5121: // FIXME This synchronized is not necessary if mSettingsLock only protects mRingerMode.
- line 5772: //FIXME: this is to maintain compatibility with deprecated intent
- line 5820: // TODO Kill recording streams instead of killing processes holding permission
- line 5882: // TODO this should target a user-selected panel
- line 6007: // TODO merge rotation and orientation
- line 6071: //TODO move to an external "orientation helper" class
- line 6861: // TODO implement clearing mix attribute matching info in native audio policy
com/android/server/notification/NotificationManagerService.java (11 lines):
- line 676: // TODO: Log action click via UsageStats.
- line 1085: // TODO - replace these methods with a single VisibleForTesting constructor
- line 1200: // TODO: All tests should use this init instead of the one-off setters above.
- line 2711: //TODO: http://b/22388012
- line 2736: //TODO: http://b/22388012
- line 4684: // TODO: add unbundling stats?
- line 5055: // TODO: need to combine a bunch of these getters with slightly different behavior.
- line 5056: // TODO: Should enqueuing just add to mNotificationsByKey instead?
- line 5135: // TODO: Most calls should probably move to isCallerSystem.
- line 5311: // TODO: remove this for older listeners.
- line 5763: // TODO: clean up locking object later
com/android/internal/inputmethod/InputMethodUtils.java (11 lines):
- line 89: // TODO: Optimize all the critical paths including this one.
- line 227: // TODO: The behavior of InputMethodSubtype#overridesImplicitlyEnabledSubtype() should be
- line 280: // TODO: We should check isAsciiCapable instead of relying on fallbackLocale.
- line 338: // TODO: Use {@link Locale#toLanguageTag()} and {@link Locale#forLanguageTag(languageTag)}.
- line 476: // TODO: Refactor getImplicitlyApplicableSubtypesLockedImpl() so that it can receive
- line 576: * TODO: Use {@link Locale#toLanguageTag()} and {@link Locale#forLanguageTag(String)}
- line 827: * TODO: Move all putters and getters of settings to this class.
- line 928: // TODO: mCurrentProfileIds should be cleared here.
- line 932: // TODO: mCurrentProfileIds should be updated here.
- line 1108: // TODO: Update callers of putEnabledInputMethodsStr to make str @NonNull.
- line 1390: // TODO: Should we have TextServicesUtils.java?
com/android/internal/telephony/sip/SipPhone.java (11 lines):
- line 98: // FIXME: Is synchronizing on the class necessary, should we use a mLockObj?
- line 111: // FIXME: is it true that we cannot take any incoming call if
- line 318: // FIXME: what to reply?
- line 326: // FIXME: what's this for SIP?
- line 333: // FIXME: what to reply?
- line 340: // FIXME: what to reply?
- line 388: // FIXME: we may need to provide this when data connectivity is lost
- line 400: // TODO: move this to SipProfile
- line 489: // FIXME should return Collections.unmodifiableList();
- line 496: // TODO: Should this be synchronized?
- line 762: // FIXME: This goes null and is synchronized, but many uses aren't sync'd
com/android/ex/camera2/portability/AndroidCamera2Settings.java (11 lines):
- line 100: // TODO: mCurrentPreviewFormat
- line 103: // TODO: mCurrentPhotoFormat
- line 106: // TODO: mCurrentZoomIndex
- line 129: // TODO: mRecordingHintEnabled
- line 130: // TODO: mGpsData
- line 259: // TODO: mCurrentPreviewFormat
- line 261: // TODO: mCurrentPhotoFormat
- line 263: // TODO: mCurrentZoomIndex
- line 279: // TODO: mRecordingHintEnabled
- line 389: // TODO: We cannot support INFINITY
- line 443: // TODO: We cannot support NIGHT_PORTRAIT
com/android/server/IpSecService.java (10 lines):
- line 279: // FIXME: get the error code and throw is at an IOException from Errno Exception
- line 335: // FIXME: get the error code and throw is at an IOException from Errno Exception
- line 462: // TODO: Add appropriate checks when other ServiceSpecificException types are supported
- line 592: // TODO: Basic input validation here since it's coming over the Binder
- line 634: // FIXME: get the error code and throw is at an IOException from Errno Exception
- line 664: // FIXME: this code should be factored out into a security check + getter
- line 671: // TODO: make this a function.
- line 693: // FIXME: get the error code and throw is at an IOException from Errno Exception
- line 709: // FIXME: get the error code and throw is at an IOException from Errno Exception
- line 716: // TODO: Add dump code to print out a log of all the resources being tracked
android/media/Cea708CaptionRenderer.java (10 lines):
- line 705: // TODO : TSP is the Transparent space
- line 708: // TODO : NBTSP is Non-Breaking Transparent Space.
- line 711: // TODO : BLK indicates a solid block which fills the entire character block
- line 712: // TODO : with a solid foreground color.
- line 724: // TODO : [CC] icon with square corners
- line 1367: // TODO: Remaining works
- line 1784: // TODO: apply pen colors or skip this and use the style of system wide CC style as is.
- line 1788: // TODO: change the location of pen based on row and column both.
- line 1798: // TODO: apply window attrs or skip this and use the style of system wide CC style as
- line 1807: // TODO: there are a bunch of ASCII-style control codes.
android/widget/AbsListView.java (9 lines):
- line 1941: // TODO: Should we check for acceptFilter()?
- line 2168: // TODO: Move somewhere sane. This doesn't belong in onLayout().
- line 2725: // FIXME use isPressed for this
- line 3901: // FIXME Debounce
- line 4510: // TODO: Make this decision more intelligent.
- line 5105: // FIXME account for grid vertical spacing too?
- line 5524: // TODO: In the future we can recycle these views based on stable ID instead.
- line 5700: // TODO: The 20 below should come from the theme
- line 5701: // TODO: And the gravity should be defined in the theme as well
com/android/server/wifi/WifiServiceImpl.java (9 lines):
- line 615: // TODO: investigate if the logic to cancel scans when idle can move to
- line 688: // TODO Add private logging for netId b/33807876
- line 965: // TODO: Deal with individual interfaces when we receive updates for them
- line 1642: //TODO: pass the Uid the WifiStateMachine as a message parameter
- line 1687: // TODO Add private logging for netId b/33807876
- line 1706: // TODO b/33807876 Log netId
- line 1729: // TODO b/33807876 Log netId
- line 1874: * TODO: deprecate this
- line 1924: //TODO: Should move towards adding a driver API that checks at runtime
com/android/shell/BugreportProgressService.java (9 lines):
- line 131: * TODO: There are multiple threads involved. Add synchronization accordingly.
- line 188: // TODO: will be gone once fully migrated to Binder
- line 194: // TODO: should call ActiveManager API instead
- line 485: // TODO: Remove this workaround when notification progress is implemented on Wear.
- line 608: // TODO: add test case to make sure notification is canceled.
- line 641: // TODO: add test case to make sure notification is canceled.
- line 921: // TODO Open the chooser activity on work profile by default.
- line 1525: // TODO: in a traditional AlertDialog, when the positive button is clicked the
- line 1925: // TODO: linkToDeath() might be called BEFORE Shell received the
android/content/DefaultDataHandler.java (9 lines):
- line 215: // TODO Auto-generated method stub
- line 220: // TODO Auto-generated method stub
- line 225: // TODO Auto-generated method stub
- line 231: // TODO Auto-generated method stub
- line 237: // TODO Auto-generated method stub
- line 242: // TODO Auto-generated method stub
- line 247: // TODO Auto-generated method stub
- line 252: // TODO Auto-generated method stub
- line 258: // TODO Auto-generated method stub
com/android/server/wifi/aware/WifiAwareStateManager.java (9 lines):
- line 1260: * TODO: b/28615938. Use reason code to determine whether or not need clean-up
- line 1849: // TODO: fix status: timeout
- line 1853: // TODO: fix status: timeout
- line 1857: // TODO: fix status: timeout
- line 1861: // TODO: fix status: timeout
- line 1865: // TODO: fix status: timeout
- line 1914: * due to test code needs: there's no way to mock elapsedRealtime(). TODO: replace with
- line 2789: // TODO: do something with this
- line 2945: // TODO: continue working on merge algorithm:
com/android/server/accounts/AccountManagerService.java (9 lines):
- line 241: private SQLiteStatement statementForLogging; // TODO Move to AccountsDb
- line 466: * TODO: Only allow accounts that were shared to be added by a limited user.
- line 1739: // TODO: Anything to do if if succedded?
- line 1740: // TODO: If it failed: Show error notification? Should we remove the shadow
- line 1742: // TODO: what we do with the visibility?
- line 1750: // TODO: Show error notification to user
- line 1751: // TODO: Should we remove the shadow account so that it doesn't keep trying?
- line 2398: // TODO Move to AccountsDB
- line 5560: // TODO: Skip this check when running automated tests. Replace this
com/android/server/am/ActivityStackSupervisor.java (9 lines):
- line 341: // TODO: Remove mActivitiesWaitingForVisibleActivity list and just remove activity from
- line 406: // TODO: Add listener for removal of references.
- line 410: // TODO: There should be an ActivityDisplayController coordinating am/wm interaction.
- line 1027: // TODO: Not sure if this should check if all Paused are complete too.
- line 1459: // TODO: Have this take the merged configuration instead of separate global
- line 2540: // TODO: Checking for isAttached might not be needed as if the user passes in null
- line 2841: // TODO: move call for creation here and other place into Stack.addTask()
- line 4027: // TODO: Update the bounds.
- line 4638: // TODO: Move to its own file.
com/android/internal/telephony/CallerInfo.java (8 lines):
- line 159: // TODO: Move all the basic initialization here?
- line 188: // TODO: photo_id is always available but not taken
- line 420: // TODO: Note we're setting the phone number here (refer to
- line 443: // TODO: As in the emergency number handling, we end up writing a
- line 467: // TODO: There is no voicemail picture?
- line 468: // FIXME: FIND ANOTHER ICON
- line 497: * TODO: Add a unittest for this method. (This is a little tricky to
- line 506: // TODO: This is pretty ugly now, see bug 2269240 for
com/android/server/StorageManagerService.java (8 lines):
- line 667: // TODO: fstrim is non-blocking, so remove this useless callback
- line 1181: // TODO: notify listeners that label changed
- line 1309: // TODO: only look at first public partition
- line 1415: // TODO: this should eventually be handled by new ObbVolume state changes
- line 1432: // TODO: estimate remaining time
- line 1783: // TODO: expand PMS to know about multiple volumes
- line 1824: // TODO: make benchmark async so we don't block other commands
- line 2582: // TODO: separate state object from request data
android/view/ViewRootImpl.java (8 lines):
- line 565: // FIXME for perf testing only
- line 570: * FIXME for perf testing only. Remove eventually
- line 670: // TODO: Use real shadow insets for a constant max Z.
- line 2219: // TODO: AVOID THAT CALL BY CACHING THE RESULT?
- line 2377: // TODO: Well, we are checking whether the frame has changed similarly
- line 3054: // TODO: Do this in native
- line 5407: /* TODO: These constants should eventually be moved to ViewConfiguration. */
- line 7938: // TODO: Throw the exception
com/android/server/connectivity/Vpn.java (8 lines):
- line 129: // TODO: create separate trackers for each unique VPN to support
- line 248: // TODO: Copy metered attribute and bandwidths from physical transport, b/16207332
- line 565: * TODO: Rename the variables - or split this method into two - and end this confusion.
- line 566: * TODO: b/29032008 Migrate code from prepare(oldPackage=non-null, newPackage=LEGACY_VPN)
- line 782: // TODO: Stop setting the MTU in jniCreate and set it here.
- line 1747: // TODO: clear arguments from memory once launched
- line 1753: // internal interface soon. TODO - add inner/outer to mconfig
- line 1754: // TODO - we have a race - if the outer iface goes away/disconnects before we hit this
com/android/calendarcommon2/ICalendar.java (8 lines):
- line 34: // TODO: keep track of VEVENT, VTODO, VJOURNAL, VFREEBUSY, VTIMEZONE, VALARM
- line 67: public static final String VTODO = "VTODO";
- line 226: // TODO: do we want to list these here? the complete list is long.
- line 239: private String mValue; // TODO: make this final?
- line 356: // TODO: make this a proper class rather than a struct?
- line 396: public String line; // TODO: just point to original text
- line 404: // TODO: get rid of this -- handle all of the parsing in one pass through
- line 425: // TODO: use an index into the text, so we can make this a recursive
com/android/internal/telephony/ServiceStateTracker.java (8 lines):
- line 130: // TODO - this should not be public, right now used externally GsmConnetion.
- line 765: // TODO: Consider not lying and instead have callers know the difference.
- line 1526: // TODO: When RUIM is enabled, IMSI will come from RUIM not build-time props.
- line 1726: // TODO this will be removed when we handle roaming on LTE on CDMA+LTE phones
- line 1972: // FIXME: Giving brandOverride higher precedence, is this desired?
- line 1986: // TODO: Do we care about overriding in this case.
- line 2769: // TODO: we may add filtering to reduce the event logged,
- line 4043: // TODO Don't poll signal strength if screen is off
com/android/server/search/Searchables.java (8 lines):
- line 54: // TODO how should these be documented for the developer, in a more structured way than
- line 106: * TODO: cache the result in the map, and check the map first.
- line 107: * TODO: it might make sense to implement the searchable reference as
- line 110: * TODO: can we skip the constructor step if it's a non-searchable?
- line 111: * TODO: does it make sense to plug the default into a slot here for
- line 194: * TODO: every activity that provides a ACTION_SEARCH intent should
- line 201: * TODO: sort the list somehow? UI choice.
- line 400: // TODO: do some sanity checks here?
com/android/server/accessibility/AccessibilityManagerService.java (8 lines):
- line 146: // TODO: This is arbitrary. When there is time implement this by watching
- line 152: // TODO: Restructure service initialization so services aren't connected before all of
- line 245: //TODO: Remove this hack
- line 960: // TODO: (multi-display) Make sure this works for multiple displays.
- line 1077: // TODO: http://b/22388012
- line 1102: // TODO: Now we are giving the gestures to the last enabled
- line 1717: // TODO: Remove this hack
- line 4359: //TODO: (multi-display) We need to support multiple displays.
android/net/apf/ApfFilter.java (8 lines):
- line 185: // TODO: Make these offsets relative to end of link-layer header; don't include ETH_HEADER_LEN.
- line 268: // TODO: ApfFilter should not generate programs until IpManager sends provisioning success.
- line 400: // TODO: Make this static once RA is its own class.
- line 617: // TODO: We may want to handle 0 lifetime RAs differently, if they are common. We'll
- line 882: // TODO: Drop only if they don't contain the address of on-link neighbours.
- line 1078: // TODO: consider sorting the RAs in order of increasing expiry time as well.
- line 1091: // TODO: figure out how to proceed when we've received more then MAX_RAS RAs.
- line 1230: // TODO: move to android.net.NetworkUtils
com/android/internal/telephony/uicc/SIMRecords.java (8 lines):
- line 176: // TODO: Possibly move these to IccRecords.java
- line 790: // FIXME should use SST to decide
- line 794: // FIXME right now, only load line1's CPHS voice mail entry
- line 812: // FIXME should use SST to decide
- line 813: // FIXME right now, only load line1's CPHS voice mail entry
- line 1445: // TODO: Handle other cases, instead of fetching all.
- line 1542: if (false) { // FIXME: writing seems to crash RdoServD
- line 1717: // FIXME should examine EF[MSISDN]'s capability configuration
android/net/ConnectivityManager.java (8 lines):
- line 626: * TODO: Remove this after deprecating the static methods in favor of non-static methods or
- line 1283: * TODO - This should be removed when the legacy APIs are removed.
- line 1885: /* TODO: These permissions checks don't belong in client-side code. Move them to
- line 2904: // TODO: throw exception instead and enforce 1:1 mapping of callbacks
- line 2936: * TODO: update said system code to rely on NetworkCallbacks and make this method private.
- line 3358: // TODO: throw exception if callback was registered more than once (http://b/20701525).
- line 3576: // TODO: Deprecate this static method and replace it with a non-static version.
- line 3637: // TODO: convert the existing system users (Tethering, GnssLocationProvider) to the new APIs and
com/android/server/connectivity/NetworkDiagnostics.java (7 lines):
- line 119: // Package private. TODO: investigate better encapsulation.
- line 185: // TODO: we could use mLinkProperties.isReachable(TEST_DNS6) here, because we won't set any
- line 278: // TODO: Consider moving waitForMeasurements() in here to minimize the
- line 396: // TODO: Use IP_RECVERR/IPV6_RECVERR, pending OsContants availability.
- line 488: // TODO: send a few pings back to back to guesstimate packet loss.
- line 528: // TODO: Ideally, query the target for both types regardless of address family.
- line 578: // TODO: more correct and detailed evaluation of the response,
com/android/server/sip/SipService.java (7 lines):
- line 155: // TODO: how to send the exception back
- line 184: // TODO: how to send the exception back
- line 453: // TODO: How is isBehindNAT used and why these constanst address:
- line 509: // TODO: remove this method once SipWakeupTimer can better handle variety
- line 671: // TODO: remove this line once SipWakeupTimer can better handle
- line 827: // TODO: when rfc5626 is deployed, use reg-id and sip.instance
- line 1207: // TODO: Maybe we need to send seq/generation number
com/android/internal/telephony/sip/SipPhoneBase.java (7 lines):
- line 108: // FIXME: we may need to provide this when data connectivity is lost
- line 335: // FIXME: what to reply for SIP?
- line 342: // FIXME: what to reply for SIP?
- line 359: // FIXME: what to reply?
- line 367: // FIXME: what's this for SIP?
- line 500: // FIXME: what's this for SIP?
- line 507: // FIXME: what's this for SIP?
android/telephony/TelephonyManager.java (7 lines):
- line 1027: // FIXME this assumes phoneId == slotIndex
- line 1258: * TODO: This is a last minute change and hence hidden.
- line 2033: // FIXME Input argument slotIndex should be of type int
- line 4432: // FIXME Need to get it from Telephony Dev Controller when that gets implemented!
- line 4701: * TODO: Add an overload that takes no args.
- line 4727: * TODO: Add an overload that takes no args.
- line 4777: * TODO: Add an overload that takes no args.
android/animation/AnimatorSet.java (7 lines):
- line 772: // TODO: don't set the duration of the timing-only nodes created by AnimatorSet to
- line 822: // TODO: take into account repeat counts and repeat callback when repeat is implemented.
- line 825: // TODO: Make this more efficient
- line 1238: // masked a real bug in play movies. TODO: remove this and below once the root cause is fixed.
- line 1267: // TODO: need a function that accounts for infinite duration to compare time
- line 1723: * TODO: For animatorSet defined in XML, we can use a flag to indicate what the play order
- line 1918: // TODO: This can be simplified.
com/android/server/SystemServer.java (7 lines):
- line 150: * Implementation class names. TODO: Move them to a codegen class or load
- line 231: // TODO: remove all of these references by improving dependency resolution and boot phases
- line 853: // TODO: Use service dependencies instead.
- line 859: // TODO: Use a more reliable check to see if this product should
- line 1625: // TODO: use boot phase
- line 1642: // TODO: use boot phase and communicate these flags some other way
- line 1846: // TODO: Switch from checkService to getService once it's always
javax/obex/ObexHelper.java (7 lines):
- line 69: * present, this must be changed for each port. TODO: The max packet size
- line 70: * should be the Max incoming MTU minus TODO: L2CAP package headers and
- line 71: * RFCOMM package headers. TODO: Retrieve the max incoming MTU from TODO:
- line 85: * TODO: Should be removed as soon as Microsoft updates their driver.
- line 350: * TODO: Could use getHeaderList() to get the array of headers to include
- line 692: // TODO:
- line 749: // TODO: Ensure SRM and SRMP headers are not split into two OBEX packets
com/android/server/wm/TaskStack.java (7 lines):
- line 75: // TODO: Track parent marks like this in WindowContainer.
- line 115: // TODO: maybe tie this to WindowContainer#removeChild some how...
- line 539: // TODO: Checkout the call points of this method and the ones below to see how they can fit in WC.
- line 554: // TODO: We pass stack to task's constructor, but we still need to call this method.
- line 594: // TODO: We should really have users as a window container in the hierarchy so that we don't
- line 941: // TODO: Should each user have there own stacks?
- line 1630: // TODO: Why aren't we just using the loop above for this? mAppAnimator.animating isn't set
android/content/pm/PackageParser.java (7 lines):
- line 170: // TODO: switch outError users to PackageParserException
- line 171: // TODO: refactor "codePath" to "apkPath"
- line 1732: // TODO: factor signature related items out of Package object
- line 4845: // TODO add visibleToInstantApps attribute to activity alias
- line 5824: // TODO: work towards making these paths invariant
- line 5964: * TODO: This seems like a horrible place to put the abiOverride because
- line 6511: // TODO: This doesn't work: b/64295061
org/kxml2/io/KXmlParser.java (7 lines):
- line 492: // TODO: replace with Arrays.equals(buffer, position, delimiter, 0, delimiter.length)
- line 868: // TODO: does this do escaping correctly?
- line 967: name = readName(); // TODO: pass the expected name in as a hint?
- line 1401: isWhitespace = false; // TODO: what if the entity resolves to whitespace?
- line 1457: // TODO: replace with Arrays.equals(buffer, position, delimiter, 0, delimiter.length)
- line 1544: || c >= '\u00c0' // TODO: check the XML spec
- line 1578: || c >= '\u00b7') { // TODO: check the XML spec
com/android/server/am/TaskRecord.java (7 lines):
- line 503: // TODO: Consolidate this with the resize() method below.
- line 569: // TODO: Investigate combining with the resize() method above.
- line 690: // TODO: Ensure that this is actually necessary here
- line 710: // TODO: Should this call be moved inside the resize method in WM?
- line 752: // TODO: Handle incorrect request to move before the actual move, not after.
- line 776: // TODO: Move this to {@link TaskWindowContainerController} once recent tasks are more
- line 1000: // TODO: Use window container controller once tasks are better synced between AM and WM
com/android/server/companion/CompanionDeviceManagerService.java (7 lines):
- line 92: //TODO onStop schedule unbind in 5 seconds
- line 93: //TODO make sure APIs are only callable from currently focused app
- line 94: //TODO schedule stopScan on activity destroy(except if configuration change)
- line 95: //TODO on associate called again after configuration change -> replace old callback with new
- line 96: //TODO avoid leaking calling activity in IFindDeviceCallback (see PrintManager#print for example)
- line 257: //TODO also revoke notification access
- line 543: //TODO deprecated method - what's the right replacement?
android/graphics/drawable/AnimatedVectorDrawable.java (7 lines):
- line 927: // TODO: Skip the AnimatorSet creation and init the VectorDrawableAnimator directly
- line 1245: // TODO: Consider using NativeAllocationRegistery to track native allocation
- line 1312: // TODO: This method reads animation data from already parsed Animators. We need to move
- line 1348: // TODO: We need to support the rare case in AVD where no start value is provided
- line 1492: // TODO: (Optimization) We should pass the path down in native and chop it into segments
- line 1746: // TODO: Implement pause for Animator On RT.
- line 1751: // TODO: Implement resume for Animator On RT.
com/android/server/backup/restore/PerformUnifiedRestoreTask.java (7 lines):
- line 341: // TODO: http://b/22388012
- line 647: // !!! TODO: get the dirs from the transport
- line 1078: // TODO: http://b/22388012
- line 1121: // TODO: clean up naming; this is now used at finish by both k/v and stream restores
- line 1141: // !!! TODO: the restored data could be migrated on the server
- line 1152: mNewStateName.delete(); // TODO: remove; see above comment
- line 1153: //mNewStateName.renameTo(mSavedStateName); // TODO: replace with this
android/support/v7/widget/LinearLayoutCompat.java (7 lines):
- line 444: // TODO: This should try to take into account the virtual offsets
- line 797: // TODO: Use a field like lp.isMeasured to figure out if this
- line 842: // TODO: Should we recompute the heightSpec based on the new total length?
- line 901: // FIXME: this may not be right for something like wrapping text?
- line 1186: // TODO: Use a field like lp.isMeasured to figure out if this
- line 1249: // TODO: Should we update widthSize with the new total length?
- line 1323: // FIXME: this may not be right for something like wrapping text?
android/net/ip/IpReachabilityMonitor.java (7 lines):
- line 146: // TODO: refactor to something like notifyProvisioningLost(String msg).
- line 162: // TODO: consider a map to a private NeighborState class holding more
- line 226: // TODO: add a public dump() method that can be called during a bug report.
- line 274: // TODO: figure out whether / how to cope with interface changes.
- line 346: // TODO: remove |ip| when the callback signature no longer has
- line 415: // TODO: simplify the number of objects by making this extend Thread.
- line 458: // TODO: Refactor the main loop to recreate the socket upon recoverable errors.
com/android/internal/telephony/imsphone/ImsPhoneBase.java (7 lines):
- line 139: // FIXME: we may need to provide this when data connectivity is lost
- line 368: // FIXME: what to reply for Volte?
- line 375: // FIXME: what to reply for Volte?
- line 392: // FIXME: what to reply?
- line 400: // FIXME: what's this for Volte?
- line 530: // FIXME: what's this for Volte?
- line 537: // FIXME: what's this for Volte?
com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java (7 lines):
- line 63: * TODO: Move upstream selection logic here.
- line 177: // TODO: Change the timeout from 0 (no onUnavailable callback) to some
- line 198: // Next TODO: return NetworkState instead of just the type.
- line 295: // TODO: If sufficient information is available to select a more
- line 323: // TODO: If sufficient information is available to select a more
- line 344: // TODO: If sufficient information is available to select a more
- line 380: // TODO: If sufficient information is available to select a more
android/widget/ExpandableListConnector.java (7 lines):
- line 239: // TODO: clean exit
- line 411: // TODO: clean exit
- line 432: // TODO: clean exit
- line 454: // TODO: clean exit
- line 653: // TODO clean exit
- line 665: // TODO: Collapse something not on the screen instead of the first one?
- line 666: // TODO: Could write overloaded function to take GroupMetadata to collapse
android/widget/SuggestionsAdapter.java (7 lines):
- line 117: // // mSearchView.setWorking(true); // TODO:
- line 123: // // mSearchView.setWorking(false); // TODO:
- line 191: //mSearchView.getWindow().getDecorView().post(mStartSpinnerRunnable); // TODO:
- line 205: // mSearchView.getWindow().getDecorView().post(mStopSpinnerRunnable); // TODO:
- line 220: // mSearchView.onDataSetChanged(); // TODO:
- line 244: // mSearchView.getWindow().getDecorView().post(mStartSpinnerRunnable); // TODO:
- line 248: // mSearchView.getWindow().getDecorView().post(mStopSpinnerRunnable); // TODO:
com/android/server/wm/DisplayContent.java (7 lines):
- line 980: // TODO: Implement forced rotation changes.
- line 1115: // TODO (multi-display): Magnification is supported only for the default display.
- line 2282: // TODO: This should probably be called any time a visual change is made to the hierarchy like
- line 2462: // TODO: Figure-out a more efficient way to do this.
- line 2720: // TODO: Super crazy long method that should be broken down...
- line 3153: // TODO: Can this use createRotationMatrix()?
- line 3424: // TODO: Investigate if we need to continue to do this or if we can just process them
android/net/dhcp/DhcpClient.java (7 lines):
- line 70: * TODO:
- line 156: DHCP_BROADCAST_ADDRESS, // TODO: currently ignored.
- line 433: // TODO: should we use the transaction ID from the server?
- line 456: // TODO: consider getting the renew and rebind timers from T1 and T2.
- line 647: // TODO: check checksum.
- line 805: // TODO: Wait a while before returning into INIT state.
- line 879: // TODO: Consider deleting this check, following testing on several kernels.
android/media/MediaRouter.java (7 lines):
- line 297: // TODO: All of this should be managed by the media router service.
- line 966: // TODO: Remove the following logging when no longer needed.
- line 1021: // TODO: Be smarter about the route types here; this selects for all valid.
- line 1103: // TODO Right now, RouteGroups only ever contain user routes.
- line 1277: // FIXME: This is a strong signal that we should deprecate route type filtering
- line 1424: // TODO: This hack will go away once all of this is moved into the media router service.
- line 2653: // TODO: There's probably a much more correct way to localize this.
com/android/internal/telephony/PhoneFactory.java (7 lines):
- line 91: // TODO - make this a dynamic property read from the modem
- line 101: * FIXME replace this with some other way of making these
- line 198: // FIXME: This is a first best guess at what the defaults will be. It
- line 199: // FIXME: needs to be done in a more controlled manner in the future.
- line 274: // CAF_MSIM FIXME need to introduce default phone id ?
- line 320: // TODO: Fix when we "properly" have TelephonyDevController/SubscriptionController ..
- line 374: * TODO - is there a better way to do this? Think about design when we have a minute.
android/provider/FontsContract.java (6 lines):
- line 314: // TODO: Factor out to other class. Consider to switch MessageQueue.IdleHandler.
- line 591: // TODO: Should we allow if the peer process is system or myself?
- line 623: // TODO: Should we allow if the peer process is system or myself?
- line 676: // TODO: try other approach?, e.g. read all contents instead of mmap.
- line 770: // TODO: Should we restrict the amount of fonts that can be returned?
- line 771: // TODO: Write documentation explaining that all results should be from the same family.
com/android/server/pm/Settings.java (6 lines):
- line 415: * TODO: make this just a local variable that is passed in during package
- line 1425: // TODO: Implement a cleaner solution when adding tests.
- line 1432: // TODO: Implement a cleaner solution when adding tests.
- line 3101: // TODO: check whether this is okay! as it is very
- line 3105: // TODO: check whether this is okay! as it is very
- line 4259: // TODO: triage flags!
android/view/inputmethod/InputMethodManager.java (6 lines):
- line 1326: // TODO: InputBindResult should have the error code.
- line 1335: // TODO: Come up with more robust solution.
- line 1413: // TODO: Check view.isTemporarilyDetached() when re-enable the following code.
- line 1734: // TODO: Consider always emitting this message once we have addressed redundant
- line 2158: // TODO: We should change the return type from List