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 to List - line 2206: *

TODO: We probably need to reconsider how IME should be handled.

com/android/server/pm/PackageInstallerSession.java (6 lines): - line 151: // TODO: enforce INSTALL_ALLOW_TEST - line 152: // TODO: enforce INSTALL_ALLOW_DOWNGRADE - line 604: // TODO: this should delegate to DCS so the system process avoids - line 898: // TODO: this should delegate to DCS so the system process - line 908: // TODO: surface more granular state from dexopt - line 1418: // TODO: deliver more granular progress for ASEC allocation org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java (6 lines): - line 258: //FIXME: escaping is allowed only for leading or trailing space char - line 271: pos++; //FIXME tmp - line 293: return 0x3F; //FIXME failed to decode UTF-8 char - return '?' - line 298: pos++; //FIXME tmp - line 300: return 0x3F; //FIXME failed to decode UTF-8 char - return '?' - line 307: return 0x3F; //FIXME failed to decode UTF-8 char - return '?' android/graphics/Paint.java (6 lines): - line 489: // TODO: Turning off hinting has undesirable side effects, we need to - line 515: // TODO: Turning off hinting has undesirable side effects, we need to - line 2733: // TODO: take mCompatScaling into account (or eliminate compat scaling)? - line 2763: // TODO performance: specialized alternatives to avoid buffer copy, if win is significant - line 2810: // TODO: take mCompatScaling into account (or eliminate compat scaling)? - line 2837: // TODO performance: specialized alternatives to avoid buffer copy, if win is significant com/android/server/pm/ShortcutService.java (6 lines): - line 139: * TODO: - line 445: // TODO Refactor PackageMonitor to support priorities. - line 480: // TODO This should get the per-user locale. b/30123329 b/30119489 - line 1119: // TODO Randomize?? - line 1125: // TODO Randomize?? - line 1405: // TODO CTS this case. com/android/vcard/VCardBuilder.java (6 lines): - line 839: // TODO: remove this code and relevant test cases. vCard and any other - line 873: // TODO: TEL with SIP URI? - line 1314: // TODO: check this works fine. - line 1860: // TODO: one line may be too huge, which may be invalid in vCard 3.0 - line 1946: // TODO: one line may be too huge, which may be invalid in vCard spec, though - line 1985: // TODO: one line may be too huge, which may be invalid in vCard 3.0 android/transition/Crossfade.java (6 lines): - line 48: // TODO: Add a hook that lets a Transition call user code to query whether it should run on - line 115: // TODO: Add fade/resize behaviors to xml resources - line 207: // TODO: some way to auto-invalidate views based on drawable changes? callbacks? - line 247: // TODO: How to handle resizing with a CROSSFADE (vs. REVEAL) effect - line 280: // TODO: I don't have resources, can't call the non-deprecated method? - line 282: // TODO: lrtb will be wrong if the view has transXY set com/android/server/connectivity/tethering/OffloadController.java (6 lines): - line 205: // TODO: rev the HAL so that it provides an interface name. - line 370: // TODO: examine return code and decide what to do if programming - line 511: // TODO: Factor in downstream LinkProperties once that information is available. - line 517: // TODO: If a downstream interface (not currently passed in) is reusing - line 623: // TODO: Consider other sanitization steps here, including perhaps: - line 647: // TODO: Replace this with more thoughtful work, perhaps reading from android/os/StrictMode.java (6 lines): - line 331: // TODO: wrap in some ImmutableHashMap thing. - line 338: * TODO: these are redundant (mask is in VmPolicy). Should remove sVmPolicyMask. - line 766: // TODO: always add DETECT_VM_CLEARTEXT_NETWORK once we have - line 1111: // TODO: this was a last minute Gingerbread API change (to - line 1497: // TODO: if in gather mode, ignore Looper.myLooper() and always - line 2291: *

TODO: add CloseGuard to this, verifying callers call finish. android/text/SpannableStringBuilder.java (6 lines): - line 180: // TODO: be more clever (although the win really isn't that big) - line 401: // TODO potential optimization: only update bounds on intersecting spans - line 413: // TODO potential optimization: only fix up invariants when bounds actually changed - line 622: // TODO A correct previousSpanStart cannot be computed at this point. - line 641: // TODO same as above for previousSpanEnd - line 1777: // TODO These value are tightly related to the public SPAN_MARK/POINT values in {@link Spanned} android/telephony/SubscriptionManager.java (6 lines): - line 61: /** FIXME: Remove DummySubId's, but for now have them map just below INVALID_SUBSCRIPTION_ID - line 366: * TODO: Change to a listener - line 850: // FIXME: This returns 1 on success, 0 on error should should we return it? - line 857: // FIXME: Always returns null? - line 1268: //FIXME this is vulnerable to race conditions - line 1343: //FIXME this is using phoneId and slotIndex interchangeably com/android/server/connectivity/NetworkMonitor.java (6 lines): - line 92: // TODO: append a random length parameter to the default HTTPS url. - line 93: // TODO: randomize browser version ids in the default User-Agent String. - line 392: // TODO: Distinguish this from a network that actually validates. - line 402: // TODO: Should teardown network. - line 923: // TODO: Ping gateway and DNS server and log results. - line 1032: * TODO: This should be moved to the transports. The latency could be passed to the transports com/android/server/hdmi/HdmiCecMessageValidator.java (6 lines): - line 117: // TODO: Validate more than length for the following messages. - line 125: // TODO: Handle messages for the Timer Programming. - line 132: // TODO: Handle messages for the Deck Control. - line 134: // TODO: Handle messages for the Tuner Control. - line 158: // TODO: Parse the first parameter and determine if it can have the next parameter. - line 260: // TODO: Add more logic like validating 1.0.1.0. android/view/autofill/AutofillManager.java (6 lines): - line 948: // TODO: the result code is being ignored, so this method is not reliably - line 1430: // TODO: move to Helper as static method - line 1441: // TODO: move to Helper as static method - line 1559: // TODO: move to Helper as static method - line 1573: // TODO: move to Helper as static method - line 1594: // TODO: move to Helper as static method com/android/internal/widget/FloatingToolbar.java (6 lines): - line 552: // TODO: Consider to use PopupWindow.setLayoutInScreenEnabled(true) so that we can - line 620: // TODO: Consider to use PopupWindow.setLayoutInScreenEnabled(true) so that we can - line 714: // TODO: Consider to use PopupWindow.setLayoutInScreenEnabled(true) so that we can avoid - line 1306: // TODO: Investigate why this happens and fix. - line 1698: // TODO: Use .setLayoutInScreenEnabled(true) instead of .setClippingEnabled(false) - line 1712: // TODO: Inflate this instead. com/android/server/policy/PhoneWindowManager.java (6 lines): - line 490: // FIXME This state is shared between the input reader and handler thread. - line 3269: // TODO: Use XML interpolators when we have log interpolators available in XML. - line 4033: // TODO: This only stops the factory-installed search manager. - line 4665: // TODO: not so sure about those: - line 7544: // TODO (multidisplay): Support multiple displays in WindowManagerPolicy. - line 7559: // TODO (multidisplay): Support multiple displays in WindowManagerPolicy. com/android/ex/chips/RecipientEditTextView.java (6 lines): - line 130: // TODO: get correct number/ algorithm from with UX. - line 1014: // TODO: cache this in the recipient entry? - line 1033: // TODO: can the scaled down default photo be cached? - line 1222: // TODO: add these to attr? - line 2106: // TODO: This algorithm will need a lot of tweaking after more people have used - line 3363: // TODO (phamm): consider readd this chip if it's dropped outside a target. javax/obex/ServerOperation.java (6 lines): - line 54: * that it is done with its request. TODO: Extend the ClientOperation and reuse - line 55: * the methods defined TODO: in that class. - line 542: // TODO:shall we send this if it occurs during SRM? Errata on the subject - line 589: * TODO: I think this is an error in the specification. If we discard other messages, - line 606: // TODO: should we throw an exception here anyway? - don't see how to - line 616: /* TODO: To increase the speed of the abort operation in SRM, we need android/util/proto/ProtoOutputStream.java (6 lines): - line 40: * TODO: Add a constructor that takes an OutputStream and write to that - line 1869: // TODO: Is it worth converting by hand in order to not allocate? - line 2423: * TODO: Will change when we add the OutputStream version of ProtoOutputStream. - line 2592: // TODO: What does regular proto do if the object would be 0 size - line 2622: // TODO: The compacting code isn't ready yet to compact unless we're done. - line 2623: // TODO: Fix that. com/android/server/net/NetworkStatsService.java (6 lines): - line 573: // TODO: Track down and fix the cause of this crash and remove this catch block. - line 713: // TODO: switch to data layer stats once kernel exports - line 1172: // TODO: consider marking "untrusted" times in historical stats - line 1224: // TODO: migrate trustedtime fixes to separate binary log events - line 1402: // TODO Right now it writes all history. Should it limit to the "since-boot" log? - line 1559: // TODO: adjust these timings for production builds android/app/ActivityThread.java (6 lines): - line 1348: // TODO: Tune this since things like gmail sync are important background but not jank perceptible. - line 2974: // TODO: decide if lastSessionId logic applies to autofill sessions - line 3027: // TODO: decide if lastSessionId logic applies to autofill sessions - line 3620: // TODO Push resumeArgs into the activity for consideration - line 4157: // TODO: This method should be changed to use {@link #performStopActivityInner} to perform to - line 6022: // TODO: it would be nice to post a delayed message, so com/android/vcard/VCardParserImpl_V21.java (5 lines): - line 240: // TODO: use consructPropertyLine(). - line 400: // TODO: comma support (in vCard 3.0 and 4.0). - line 584: // TODO: have "separableProperty" which reflects vCard spec.. - line 711: // TODO: add test for this handling - line 910: * // TODO: Support AGENT property. com/android/server/hdmi/HdmiCecLocalDeviceTv.java (5 lines): - line 341: // TODO: Show the OSD banner related to the new active source device. - line 343: // TODO: If displayed, remove the OSD banner related to the previous - line 376: // TODO: Handle PAP/PIP case. - line 505: // TODO: Do this only if TV is not showing multiview like PIP/PAP. - line 514: // TODO: Switch the TV freeze mode off com/android/internal/telephony/Phone.java (5 lines): - line 300: * TODO: Replace this with a proper exception; {@link CallStateException} doesn't make sense. - line 416: // CAF_MSIM TODO this need to be replated with TelephonyManager API ? - line 427: // CAF_MSIM TODO this need to be replated with TelephonyManager API ? - line 2755: * TODO: Revisit if we always should return at least one entry. - line 2897: * TODO: Adding a function for each property is not good. android/media/WebVttRenderer.java (5 lines): - line 897: // TODO: add support for optional alignment value [,start|middle|end] - line 1386: // TODO: Account for region anchor point. - line 1454: // TODO: This needs to use the actual height of prior boxes. - line 1539: // TODO: Add support for vertical text - line 1672: // TODO: Add support for vertical text. com/android/server/lowpan/LowpanServiceImpl.java (5 lines): - line 73: // TODO: Bring up any daemons(like wpantund)? - line 82: // TODO: Change to android.Manifest.permission.MANAGE_lowpanInterfaceS - line 120: // TODO: Consider removing the listener...? - line 137: // TODO: Consider removing the listener...? - line 281: // TODO: Shouldn't we be unlinking from the death notification? android/hardware/camera2/impl/CameraDeviceImpl.java (5 lines): - line 74: // TODO: guard every function with if (!mRemoteDevice) check (if it was closed) - line 280: // TODO: Move from decorator to direct binder-mediated exceptions - line 626: // TODO: dont block for this - line 658: // TODO: wait until current session closes, then create the new session - line 1878: // TODO: Handle CameraCharacteristics access from CaptureResult correctly. com/android/server/location/GnssLocationProvider.java (5 lines): - line 600: // TODO: we should get rid of C2K specific setting. - line 1162: // TODO: remove the following native calls if we can make sure they are redundant. - line 2052: // TODO Add Permission check - line 2268: // TODO: When this object "finishes" we should unregister by invoking - line 2441: // TODO: replace the use of this deprecated API com/android/server/soundtrigger/SoundTriggerHelper.java (5 lines): - line 124: // TODO: Figure out how to determine which module corresponds to the DSP hardware. - line 644: // TODO: Remove this block if the lower layer supports multiple triggers. - line 700: // TODO: Handle sound model update here. - line 749: // TODO: Handle more than one keyphrase extras. - line 784: // TODO: Remove this block if the lower layer supports multiple triggers. com/android/internal/view/menu/ActionMenu.java (5 lines): - line 101: // TODO Implement submenus - line 106: // TODO Implement submenus - line 112: // TODO Implement submenus - line 117: // TODO Implement submenus - line 162: // TODO Make this smarter. com/android/internal/telephony/DefaultPhoneNotifier.java (5 lines): - line 236: // FIXME: subId? - line 247: // FIXME: subId? - line 264: // FIXME: subId? - line 274: // FIXME: subId? - line 284: // FIXME: subID android/graphics/Typeface.java (5 lines): - line 175: // TODO: introduce ttc index and variation settings to resource type font. - line 233: // TODO: Add ttc and variation font support. (b/37853920) - line 528: // TODO: Unify with Typeface.sTypefaceCache. - line 983: // TODO: normal in non-Minikin case, remove or make error when Minikin-only - line 1065: // TODO: clean up: change List to FontVariationAxis[] android/provider/ContactsContract.java (5 lines): - line 640: * Return TRUE if it is a remote stored directory. TODO: Remove this method once all - line 2880: // TODO: use a lighter query by joining rawcontacts with contacts in provider - line 3052: * TODO: javadoc - line 5036: * TODO: remove, or implement this feature completely. As of now (Eclair), - line 9129: // TODO add structured name values here. com/android/server/wifi/WifiConfigManager.java (5 lines): - line 485: * TODO: Need to understand the current use case of this API. - line 1944: // TODO: Do we really need to do this after every scan result? - line 2066: // TODO (b/30706406): Link networks only with same passwords if the - line 2128: // TODO (b/30638473): This needs to become a set instead of map, but it will need - line 2327: * TODO (b/30399964): Recalculate the list whenever network status changes. com/example/photoviewersample/SampleProvider.java (5 lines): - line 38: // TODO Auto-generated method stub - line 44: // TODO Auto-generated method stub - line 50: // TODO Auto-generated method stub - line 56: // TODO Auto-generated method stub - line 146: // TODO Auto-generated method stub com/android/server/connectivity/tethering/TetherInterfaceStateMachine.java (5 lines): - line 122: // TODO: De-duplicate this with mLinkProperties above. Currently, these link - line 185: // TODO: Replace this hard-coded information with dynamically selected - line 243: // TODO: Refactor for testability (perhaps passing an android.system.Os - line 291: // TODO: Evaluate using a data structure than is more directly suited to - line 525: // TODO: Make this a fatal error once Bluetooth IPv6 is sorted. android/widget/LinearLayout.java (5 lines): - line 575: // TODO: This should try to take into account the virtual offsets - line 984: // TODO: Should we recompute the heightSpec based on the new total length? - line 1042: // FIXME: this may not be right for something like wrapping text? - line 1390: // TODO: Should we update widthSize with the new total length? - line 1463: // FIXME: this may not be right for something like wrapping text? android/media/SubtitleTrack.java (5 lines): - line 45: /** @hide TODO private */ - line 47: /** @hide TODO private */ - line 50: /** @hide TODO private */ - line 52: /** @hide TODO private */ - line 359: // delay update so we don't update view on every cue. TODO why 10? com/android/internal/telephony/uicc/RuimRecords.java (5 lines): - line 627: // FIXME: CSIM IMSI may not contain the MNC. - line 691: // TODO: probably EF_CST should be read instead - line 761: // FIXME: CSIM IMSI may not contain the MNC. - line 795: // TODO: The below is hacky since the SubscriptionController may not be ready at this time. - line 872: // TODO together with spn android/content/res/BridgeTypedArray.java (5 lines): - line 194: // FIXME: handle styled strings! - line 689: // TODO: Get the right Theme Attribute ID to enable caching of the drawables. - line 794: // TODO: more switch cases for other types. - line 863: // TODO: handle fractions. - line 965: // TODO: We should act smartly and log a warning for incorrect keywords. However, android/net/RouteInfo.java (5 lines): - line 81: // TODO: remove these. - line 107: // TODO: It would be nice to ensure that route types that don't have nexthops or - line 135: // TODO: set mGateway to null if there is no gateway. This is more correct, saves space, and - line 198: * TODO: Remove this. - line 278: * TODO: Convert callers to use IpPrefix and then remove. com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java (5 lines): - line 600: * TODO: Remove this code; it is a workaround. - line 1328: //TODO : implement - line 1760: // TODO : what should be done? - line 2493: // TODO: the call to notifySuppServiceFailed throws up the "merge failed" dialog - line 3174: // TODO: Remove this when we can better formalize the format of session modify requests. com/android/server/NetworkScoreService.java (5 lines): - line 250: // TODO: Need to update when we support per-user scorers. http://b/23422763 - line 326: // TODO: Need to update when we support per-user scorers. http://b/23422763 - line 447: // TODO: 1/23/17 - Consider a Map if we implement more filters. - line 841: // TODO: 12/15/16 - Consider pushing null scores into the cache to - line 846: // TODO: 12/15/16 - Keep track of failures. android/net/lowpan/LowpanInterface.java (5 lines): - line 68: /** TODO: doc */ - line 71: /** TODO: doc */ - line 481: /** TODO: doc */ - line 494: /** TODO: doc */ - line 508: /** TODO: doc */ java/util/Locale.java (5 lines): - line 1774: // TODO: We need a new hack or a complete fix for http://b/8049507 --- We would - line 1777: if (result == null) { // TODO: do we need to do this, or does ICU do it for us? - line 1851: if (result == null) { // TODO: do we need to do this, or does ICU do it for us? - line 1900: if (result == null) { // TODO: do we need to do this, or does ICU do it for us? - line 1995: if (result == null) { // TODO: do we need to do this, or does ICU do it for us? com/android/internal/telephony/PhoneConstants.java (5 lines): - line 177: // FIXME: This is used to pass a subId via intents, we need to look at its usage, which is - line 178: // FIXME: extensive, and see if this should be an array of all active subId's or ...? - line 187: // TODO: Remove these constants and use an int instead. - line 194: // TODO: Replace the IccCardApplicationStatus.AppType enums with these constants - line 211: //FIXME maybe this shouldn't be here - sprout only com/android/server/wm/Session.java (5 lines): - line 337: return false; // !!! TODO: throw here? - line 340: // !!! TODO: if input is not still focused on the initiating window, fail - line 346: // !!! TODO: extract the current touch (x, y) in screen coordinates. That - line 349: // !!! FIXME: put all this heavy stuff onto the mH looper, as well as - line 442: return; // !!! TODO: throw here? com/android/calendarcommon2/RecurrenceSet.java (5 lines): - line 42: // TODO: make these final? - line 149: // TODO: use "local" time as the default. will need to handle times - line 301: // TODO: android.pim.Time really should take care of this for us. - line 360: // TODO: android.pim.Time really should take care of this for us. - line 515: // TODO: use commas. our RECUR parsing should handle that android/filterpacks/videoproc/BackDropperFilter.java (5 lines): - line 96: // TODO: These are not updatable: - line 427: // TODO: to improve efficiency, use single mark for mean + variance, then merge this into - line 531: // TODO: Target should be GPU, but relaxed for now. - line 891: // TODO: Many of these can be made ProgramPorts! - line 966: // TODO: Backdropper does not attempt to apply any other transformation android/widget/SpellChecker.java (5 lines): - line 319: false /* TODO Set sequentialWords to true for initial spell check */); - line 340: //TODO: we need to change that rule for results from a sentence-level spell - line 484: // TODO: Remove mIsSentenceSpellCheckSupported by extracting an interface - line 549: // TODO: Find the start position of the sentence. - line 613: // TODO: Find the start position of the sentence. com/android/server/wm/AppWindowToken.java (4 lines): - line 171: // TODO: Have a WindowContainer state for tracking exiting/deferred removal. - line 379: //TODO (multidisplay): Magnification is supported only for the default display. - line 827: // TODO: Something smells about the code below...Is there a better way? - line 1551: // TODO: Investigate if we need to continue to do this or if we can just process them javax/obex/ClientSession.java (4 lines): - line 193: /* TODO: Consider creating an interface to get the wait state. - line 315: /* TODO: Consider creating an interface to get the wait state. - line 464: // TODO: This is an implementation limit - not a specification requirement. - line 504: // TODO: is this really needed? if this flush is implemented com/android/server/connectivity/Nat464Xlat.java (4 lines): - line 83: // TODO: migrate to NetworkCapabilities.TRANSPORT_*. - line 86: // TODO: this should also consider if the network is in SUSPENDED state to avoid stopping - line 206: // TODO: should we only do this if mNMService.startClatd() succeeds? - line 279: // TODO: migrate to NetworkCapabilities.TRANSPORT_*. com/android/server/wifi/WifiMonitor.java (4 lines): - line 169: * TODO: Add unit tests for these once we remove the legacy code. - line 197: * TODO: Add unit tests for these once we remove the legacy code. - line 216: * TODO: Add unit tests for these once we remove the legacy code. - line 228: * TODO: Add unit tests for these once we remove the legacy code. com/android/internal/telephony/TelephonyCapabilities.java (4 lines): - line 61: * TODO: Watch out: this is also highly carrier-specific, since the - line 90: * TODO: Should CDMA phones allow this as well? - line 156: * TODO: It might be better to expose this capability in a more - line 176: * TODO: Theoretically phones other than GSM may have the ADN capability. com/android/server/fingerprint/FingerprintService.java (4 lines): - line 557: // TODO: design an escape hatch in case client never finishes - line 1161: checkPermission(MANAGE_FINGERPRINT); // TODO: Maybe have another permission - line 1175: checkPermission(MANAGE_FINGERPRINT); // TODO: Maybe have another permission - line 1279: // TODO: confirm security token when we move timeout management into the HAL layer. com/android/settingslib/NetworkPolicyEditor.java (4 lines): - line 49: // TODO: be more robust when missing policies from service - line 66: // TODO: find better place to clamp these - line 84: // TODO: consider making more robust by passing through service - line 133: // TODO: move this into framework to share with NetworkPolicyManagerService com/android/settingslib/wifi/AccessPoint.java (4 lines): - line 317: this.mConfig = that.mConfig; //TODO: Watch out, this object is mutated. - line 921: * TODO: use a string formatter - line 958: // TODO: sort list by RSSI or age - line 1086: // TODO: Handle hex string SSIDs. android/provider/MetadataReader.java (4 lines): - line 34: *

TODO: Add support for common video and audio types, as well as PDF files. - line 61: // TODO: Move this over to ExifInterface.java - line 238: // TODO: Add support for PDF and Video metadata - line 239: // TODO: Broaden image support to all images android/media/soundtrigger/SoundTriggerDetector.java (4 lines): - line 181: * TODO: Candidate for Public API when the API to start capture with a session ID - line 184: * TODO: Add this to {@link #getCaptureAudioFormat()}: - line 189: * TODO: Should this return a known invalid value instead? - line 298: // TODO: Dump useful debug information. android/service/voice/AlwaysOnHotwordDetector.java (4 lines): - line 258: * TODO: Candidate for Public API when the API to start capture with a session ID - line 261: * TODO: Add this to {@link #getCaptureAudioFormat()}: - line 266: * TODO: Should this return a known invalid value instead? - line 568: // TODO: Do we need to do something about the confidence level here? com/android/server/am/ActivityRecord.java (4 lines): - line 970: // TODO: Ensure that we do not directly reparent activities across stacks, as that may leave - line 1584: // TODO: Look into merging with #setVisibility() - line 1722: // TODO: To be more accurate, the mark should be before the onCreate, - line 2370: // TODO: We should add ActivityRecord.shouldBeVisible() that checks if the activity should android/graphics/Matrix_Delegate.java (4 lines): - line 320: // TODO: do it in one pass - line 988: // TODO: do it in one pass - line 1040: // TODO: do it in one pass - line 1065: // TODO: do it in one pass android/widget/ListView.java (4 lines): - line 1314: // TODO: after first layout we should maybe start at the first visible position, not 0 - line 1747: // TODO: in some cases focusedChild.getParent() == null - line 2861: * TODO: unify with setUpChild. - line 2887: * TODO: unify with setUpChild. android/inputmethodservice/InputMethodService.java (4 lines): - line 481: // TODO: Investigate its feasibility. Update JavaDoc of #showWindow() of - line 1633: // TODO: Give developers a clear guideline of whether it's OK to call this method or - line 1637: // TODO: Is it OK to set true when we get BadTokenException? - line 2603: // TODO: Handle the subtype change event com/android/internal/telephony/SMSDispatcher.java (4 lines): - line 261: /* TODO: Need to figure out how to keep track of status report routing in a - line 688: // TODO: According to TS 23.040, 9.2.3.6, we should resend - line 887: // TODO: We currently set this to true since our messaging app will never - line 1495: // TODO: we should add a "failed" URI for this in SmsProvider? android/net/NetworkCapabilities.java (4 lines): - line 360: * TODO: consider: - line 774: // TODO: properly support NOT_METERED as a mutable and requestable capability. - line 873: // TODO: enumerate bits for transports and capabilities instead of creating arrays. - line 874: // TODO: use a StringBuilder instead of string concatenation. android/net/lowpan/LowpanCommissioningSession.java (4 lines): - line 158: /** TODO: doc */ - line 164: /** TODO: doc */ - line 181: /** TODO: doc */ - line 205: /** TODO: doc */ com/android/server/wm/WindowContainer.java (4 lines): - line 206: // TODO: figure-out implementation that works best for this. - line 462: // TODO: Will this be more correct if it checks the visibility of its parents? - line 559: // TODO: Maybe mOrientation should default to SCREEN_ORIENTATION_UNSET vs. - line 597: // TODO: Users would have their own window containers under the display container? com/android/server/wifi/p2p/WifiP2pMonitor.java (4 lines): - line 148: * TODO: Add unit tests for these once we remove the legacy code. - line 176: * TODO: Add unit tests for these once we remove the legacy code. - line 195: * TODO: Add unit tests for these once we remove the legacy code. - line 207: * TODO: Add unit tests for these once we remove the legacy code. com/android/server/pm/PackageInstallerService.java (4 lines): - line 109: // TODO: remove outstanding sessions when installer package goes away - line 110: // TODO: notify listeners in other users when package has been installed there - line 111: // TODO: purge expired sessions periodically in addition to at reboot - line 1009: // TODO: dispatch notifications for slave profiles com/android/systemui/plugins/PluginInstanceManager.java (4 lines): - line 274: // TODO: Show warning. - line 300: // TODO: This probably isn't needed given that we don't have IGNORE_SECURITY on - line 311: // TODO: Only create the plugin before version check if we need it for - line 354: // TODO: Warn user. com/android/server/backup/fullbackup/FullBackupEngine.java (4 lines): - line 217: // TODO: http://b/22388012 - line 289: // TODO: handle backing up split APKs - line 295: // TODO: migrate this to SharedStorageBackup, since AID_SYSTEM - line 300: // TODO: http://b/22388012 com/android/server/appwidget/AppWidgetServiceImpl.java (4 lines): - line 425: // TODO: http://b/22388012 - line 3008: // TODO: do we need to check that this package has the same signature - line 3051: // TODO: do we need to check that this package has the same signature - line 4287: // TODO: fix up w.r.t. canonical vs current package names com/android/gallery3d/exif/ExifInterface.java (4 lines): - line 1759: // TODO: implement uncompressed - line 1775: // TODO: implement this - line 1804: // TODO: add back in uncompressed strip - line 1808: // TODO: uncompressed thumbnail setters android/support/v17/leanback/widget/GridLayoutManager.java (4 lines): - line 485: * TODO: This is somewhat duplication of RecyclerView getOldPosition() which is - line 1384: // TODO: investigate allowing a second layout pass, - line 2641: // TODO We should be able to deduce direction from bounds of current and target - line 3528: // save views currently is on screen (TODO save cached views) android/gesture/GestureOverlayView.java (4 lines): - line 109: // TODO: Make this a list of WeakReferences - line 112: // TODO: Make this a list of WeakReferences - line 115: // TODO: Make this a list of WeakReferences - line 300: // TODO: The path should also be scaled to fit inside this view android/text/StaticLayout.java (4 lines): - line 602: LineBreaks lineBreaks = new LineBreaks(); // TODO: move to builder to avoid allocation costs - line 709: // TODO: Support more justification mode, e.g. letter spacing, stretching. - line 1024: // TODO: could move TAB to share same column as HYPHEN, simplifying this code and gaining - line 1168: // FIXME: It may be faster to do a linear search for layouts without many lines. com/android/settingslib/bluetooth/CachedBluetoothDevice.java (4 lines): - line 53: //TODO: consider remove, BluetoothDevice.getName() is already cached - line 57: //TODO: consider remove, BluetoothDevice.getBluetoothClass() is already cached - line 357: // TODO: do any of these need to run async on a background thread? - line 894: // TODO: name com.android.settingslib.bluetooth.Utils something different android/hardware/camera2/legacy/LegacyMetadataMapper.java (4 lines): - line 80: /* TODO: Update above maxDepth values once we do more performance measurements */ - line 97: * TODO: Remove these constants and strip out any code that previously relied on them - line 747: // TODO: check if the underlying key is supported before listing a key as available - line 1427: // TODO: map other request template values com/android/vcard/VCardEntry.java (4 lines): - line 62: * information which is constructable from supplied raw data. TODO: preserve raw - line 114: // TODO: vCard 4.0 logically has multiple formatted names and we need to - line 502: // TODO: need better way to construct formatted address. - line 1777: // TODO: from the view of vCard spec these auto conversions should be removed. android/media/AudioManager.java (4 lines): - line 1772: * TODO: Replace with a more generic key:value get/set mechanism - line 3661: // FIXME Deprecate - line 3672: // FIXME Deprecate - line 3862: @SuppressLint("Doclava125") // FIXME is this still used? com/android/ims/ImsManager.java (4 lines): - line 1304: // TODO: Extend ImsConfig API and set all feature values in single function call. - line 1354: // TODO: Extend ImsConfig API and set all feature values in single function call. - line 1585: // TODO: Remove ImsRegistrationListener from startSession API (b/62588776) - line 1706: // FIXME: manage the multiple Ut interfaces based on the session id android/net/ip/RouterAdvertisementDaemon.java (4 lines): - line 63: * TODO: - line 107: // TODO: This should be handled with a more RCU-like approach. - line 567: // TODO: Consider looking at ra.remaining() to determine how many - line 671: // TODO: Consider moving this to run on a provided Looper as a Handler, android/graphics/Canvas_Delegate.java (4 lines): - line 213: // FIXME: implement throwOnUnderflow. - line 226: // FIXME: implement throwOnUnderflow. - line 448: // FIXME properly implement quickReject - line 456: // FIXME properly implement quickReject android/databinding/tool/expr/Expr.java (4 lines): - line 152: // TODO optional optimization: do not invalidate for conditional flags - line 315: // TODO not get instance - line 533: // TODO avoid clone, we can calculate this iteratively - line 559: // FIXME: this does not do full traversal so misses some cases com/android/internal/telephony/SubscriptionInfoUpdater.java (4 lines): - line 195: // TODO: All of the below should be converted to ACTION_INTERNAL_SIM_STATE_CHANGED to - line 528: * TODO: Simplify more, as no one is interested in what happened - line 618: //FIXME: addSubInfoRecord can return an error. - line 815: // TODO - we'd like this intent to have a single snapshot of all sim state, android/support/graphics/drawable/VectorDrawableCompat.java (4 lines): - line 1378: mThemeAttrs = null; // TODO TINT THEME Not supported yet a.extractThemeAttrs(); - line 1604: // TODO TINT THEME Not supported yet - line 1728: mThemeAttrs = null; // TODO TINT THEME Not supported yet a.extractThemeAttrs(); - line 1792: * TODO TINT THEME Not supported yet final TypedArray a = com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java (4 lines): - line 241: // TODO: remove - line 249: // TODO: remove - line 253: // TODO: remove - line 293: // TODO: remove com/android/commands/bmgr/Bmgr.java (4 lines): - line 364: // TODO: implement monitor here? - line 607: // TODO implement monitor here - line 717: // TODO implement monitor here - line 745: // TODO implement monitor here com/android/server/backup/SystemBackupAgent.java (4 lines): - line 61: // TODO: Will need to change if backing up non-primary user's wallpaper - line 62: // TODO: http://b/22388012 - line 69: // TODO: Will need to change if backing up non-primary user's wallpaper - line 70: // TODO: http://b/22388012 tck/java/time/chrono/CopticDate.java (4 lines): - line 169: // TODO: validate - line 236: f.checkValidValue(newValue); // TODO: validate value - line 303: return LocalDate.from(this).until(end, unit); // TODO: this is wrong - line 310: // TODO: untested android/hardware/camera2/impl/CameraCaptureSessionImpl.java (4 lines): - line 398: // TODO: Fire onClosed anytime we get the device onClosed or the ISE? - line 409: // TODO: call onError instead of onClosed if this happens - line 634: // TODO: Queue captures during abort instead of failing them - line 794: // TODO: call onError instead of onClosed if this happens com/android/server/pm/OtaDexoptService.java (3 lines): - line 66: // TODO: Evaluate the need for WeakReferences here. - line 234: // TODO: If apps are not installed in the internal /data partition, we should compare - line 376: // TODO: Check first whether there is an artifact, to save the roundtrip time. com/android/server/usage/UsageStatsService.java (3 lines): - line 728: // TODO: Ideally this should call isAppIdleFiltered() to avoid calling back - line 990: // TODO: Optimize this by fetching the carrier privileged apps ahead of time - line 1339: // TODO: Maybe apply different thresholds for different users. android/graphics/Bitmap_Delegate.java (3 lines): - line 79: private boolean mHasMipMap = false; // TODO: check the default. - line 447: // FIXME implement native delegate - line 454: // FIXME implement native delegate com/android/server/wifi/scanner/BackgroundScanScheduler.java (3 lines): - line 340: // TODO: find a way to get max channels - line 349: // TODO: find a way to get max batch size - line 810: * TODO: If we reach the max number of buckets, then this fix will be skipped! android/net/LinkProperties.java (3 lines): - line 817: // TODO: better source address evaluation for destination addresses. - line 826: // TODO: verify it matches the ifindex of one of the interfaces. - line 831: // TODO: reconsider all cases (disconnected ULA networks, ...). android/media/SubtitleController.java (3 lines): - line 417: // TODO how to get available renderers in the system - line 419: // TODO should added renderers override existing ones (to allow replacing?) - line 428: // TODO how to get available renderers in the system com/android/server/wifi/HalDeviceManager.java (3 lines): - line 85: * TODO: if decide that no need for separating construction from initialization (e.g. both are - line 1391: * TODO: optimize by using a Set as opposed to a []: will remove duplicates. Will need to - line 1625: // TODO: is this necessary? note that even if we don't want to explicitly com/android/ims/internal/uce/common/StatusCode.java (3 lines): - line 94: // TODO Auto-generated method stub - line 108: // TODO Auto-generated method stub - line 113: // TODO Auto-generated method stub android/media/MediaDrm.java (3 lines): - line 236: // TODO get this from DRM session - line 997: /* FIXME this throws IllegalStateException for invalid property names */ - line 1005: /* FIXME this throws IllegalStateException for invalid property names */ android/renderscript/RenderScript.java (3 lines): - line 34: // TODO: Clean up the whitespace that separates methods in this class. - line 67: @SuppressWarnings({"FieldCanBeLocal", "UnusedDeclaration"}) // TODO: now used locally; remove? - line 364: validate(); // TODO: is this necessary? android/graphics/Paint_Delegate.java (3 lines): - line 796: // FIXME figure out the return value? - line 957: // FIXME: support contextStart and contextEnd - line 1288: // TODO: support skew com/android/ex/widget/StaggeredGridView.java (3 lines): - line 1273: // TODO: If the new adapter says that there are stable IDs, remove certain layout records - line 1553: // TODO: Consider matching these back up if we have stable IDs. - line 1568: // TODO: consider repopulating in a deferred runnable instead com/android/systemui/keyguard/KeyguardViewMediator.java (3 lines): - line 960: // TODO: Rename all screen off/on references to interactive/sleeping - line 1260: // TODO: clean this up when we have better support at the window manager level - line 1799: // TODO: We should stop it early by disabling the swipe up flow. Right now swipe up android/net/wifi/WifiEnterpriseConfig.java (3 lines): - line 317: // TODO: Decouple this object (which is just a placeholder of the configuration) - line 1059: // TODO: Should raise an exception if |key| is EAP_KEY or PHASE2_KEY since - line 1091: // TODO: Should raise an exception if |key| is EAP_KEY or PHASE2_KEY since android/text/Hyphenator.java (3 lines): - line 45: // TODO: Confirm that these are the best values. Various sources suggest (1, 1), but - line 172: // TODO: Figure out how to get this from ICU. - line 197: // TODO: Convert this to a mechanism using ICU4J's ULocale#addLikelySubtags(). android/hardware/camera2/CameraCharacteristics.java (3 lines): - line 153: * TODO: Make this private or remove it altogether. - line 1600: * TODO: Remove property.

- line 1614: * TODO: Remove property.

org/apache/harmony/xml/dom/DocumentTypeImpl.java (3 lines): - line 84: // TODO Dummy. Implement this later, if at all (we're DOM level 2 only). - line 89: // TODO Dummy. Implement this later, if at all (we're DOM level 2 only). - line 98: // TODO Dummy. Implement this later, if at all (we're DOM level 2 only). com/android/internal/util/TypedProperties.java (3 lines): - line 206: // TODO: catch the case where a string is set to null and then - line 297: /* TODO: Maybe just parse as float or double, losing precision if necessary. - line 303: /* TODO: detect if the string representation loses precision android/bluetooth/BluetoothDevice.java (3 lines): - line 103: // TODO: Change API to not broadcast RSSI if not available (incoming connection) - line 372: //TODO: is this actually useful? - line 683: * TODO: Unify implementation of sService amongst BluetoothFoo API's android/media/tv/TvInputService.java (3 lines): - line 1163: // TODO: Handle failure. - line 1190: // TODO: Handle failure. - line 1212: // TODO: Handle failure. android/media/AudioRecord.java (3 lines): - line 379: //TODO: update native initialization when information about hardware init failure - line 423: //TODO: update native initialization when information about hardware init failure - line 1741: // TODO remove: implementation calls directly into implementation of native_release() com/android/timezonepicker/TimeZoneData.java (3 lines): - line 106: // TODO speed this up - line 162: // TODO check for dups - line 412: // TODO Don't like this here but need to get the country of com/android/ex/camera2/portability/CameraCapabilities.java (3 lines): - line 102: // TODO: Unsupported on API 2 - line 204: // TODO: Unsupported on API 2 - line 712: // TODO: Remove workaround (b/17177436) com/android/server/wifi/WifiVendorHal.java (3 lines): - line 884: return featureSet; // TODO: can't get capabilities with Wi-Fi down - line 2165: //TODO - belongs in NativeUtil - line 2419: // TODO: This ugly conversion can be removed if we put IE elements in ScanResult. android/support/transition/Transition.java (3 lines): - line 741: // TODO: what to do about targetIds and itemIds? - line 893: // TODO: could be a single listener instance for all of them since it uses the param - line 1892: // TODO: maybe pass auto-end as a boolean parameter? com/android/internal/telephony/CallerInfoAsyncQuery.java (3 lines): - line 63: // (TODO: This could become a flag in config.xml if it ever needs to be - line 425: * TODO: But eventually we should expose two separate methods, one for - line 443: * TODO: But eventually we should expose two separate methods, one for com/android/ex/camera2/portability/AndroidCameraAgentImpl.java (3 lines): - line 442: // TODO: Lock the CameraSettings object's sizes - line 467: // TODO: Unlock the CameraSettings object's sizes - line 760: /* TODO: remove this Camera instance. */ android/hardware/camera2/legacy/SurfaceTextureRenderer.java (3 lines): - line 213: // TODO: handle this more gracefully - line 245: // TODO: handle this more gracefully - line 829: // TODO: implement flush android/webkit/WebView.java (3 lines): - line 1800: // TODO: Rewrite this in Java so it is not needed to start up chromium - line 2558: // TODO: Add a test that enumerates all methods in ViewDelegte & ScrollDelegate, and ensures - line 2666: TODO: These are not currently implemented in WebViewClassic, but it seems inconsistent not android/content/ContentResolver.java (3 lines): - line 155: /* Extensions to API. TODO: Not clear if we will keep these as public flags. */ - line 2170: // TODO: No references to Google in AOSP - line 3043: * TODO: Would be nice to explicitly validate that colums referenced in com/android/internal/telephony/RadioResponse.java (3 lines): - line 1312: // TODO: change name of function stateFromCLCC() in DriverCall.java to name - line 1636: // TODO: The logic of providing default values should - line 1808: /* TODO: Handle excluded carriers */ android/support/v4/widget/SlidingPaneLayout.java (3 lines): - line 454: // TODO Better communication with tools of this bogus state. - line 468: // TODO Better communication with tools of this bogus state. - line 1210: // TODO: Add versioned support here for transformed views. com/android/mtp/MtpDocumentsProvider.java (3 lines): - line 305: // TODO: Clear the parent document loader task (if exists) and call notify - line 316: // TODO: Add support for "rw" mode. - line 656: // TODO: Flush the device before closing (if not closed externally). com/android/server/content/SyncManager.java (3 lines): - line 219: // TODO: add better locking around mRunningAccounts - line 3400: // TODO: set these correctly when the SyncResult is extended to include it - line 3425: // TODO: set these correctly when the SyncResult is extended to include it android/hardware/camera2/legacy/LegacyRequestMapper.java (3 lines): - line 220: // TODO: Don't add control.aeLock to availableRequestKeys if it's not supported - line 272: // TODO: Don't add control.awbLock to availableRequestKeys if it's not supported - line 317: // TODO: Map FACE_PRIORITY scene mode to face detection. android/support/v4/app/NotificationCompat.java (3 lines): - line 1588: // TODO: implement for all styles - line 1620: // TODO: implement for all styles - line 1628: // TODO: implement for all styles android/media/SoundPool.java (3 lines): - line 419: // FIXME implement resuming any paused sound - line 424: // FIXME implement pausing any playing sound - line 429: // FIXME implement pausing any playing sound android/databinding/tool/reflection/annotation/AnnotationTypeUtil.java (3 lines): - line 40: // TODO use interface - line 46: // TODO use interface - line 89: // TODO detect constructor? com/android/server/NsdService.java (3 lines): - line 265: //TODO: cleanup clients - line 672: // TODO: NDC translates a message to a callback, we could enhance NDC to - line 847: // TODO: to keep handler responsive, do not clean all requests for that client at once. android/support/v7/widget/SearchView.java (3 lines): - line 414: // TODO: use imeOptions to disable voice input when the new API will be available - line 1061: // TODO: Reverse left/right for right-to-left languages, e.g. - line 1075: // TODO: restoreUserQuery(); android/telephony/PhoneNumberUtils.java (3 lines): - line 2242: * TODO: This should come from a resource. - line 2303: * @hide TODO: pending API Council approval - line 2733: // TODO: for nonNanp, should the '+' be removed if following number is country code com/android/internal/telephony/imsphone/ImsPhoneMmiCode.java (3 lines): - line 958: // TODO: isRegister() case needs to be handled. - line 964: // TODO: Should we route through queryCallBarring() here? - line 1685: * TODO: It would be nice to have a method here that can take in a dialstring and android/graphics/BaseCanvas_Delegate.java (3 lines): - line 167: // TODO: need to support the attribute (e.g. stroke width) of paint - line 452: //FIXME add support for canvas, screen and bitmap densities. - line 631: //FIXME add support for canvas, screen and bitmap densities. com/android/server/locksettings/LockSettingsService.java (3 lines): - line 600: // TODO: maybe skip this for split system user mode. - line 1076: // TODO: make this method fully async so we can update UI with progress strings - line 2379: // TODO: refactor usage of PASSWORD_TYPE_KEY b/65239740 android/view/ViewPropertyAnimatorRT.java (3 lines): - line 98: // TODO: Can we eliminate this entirely? - line 112: // TODO support - line 116: // TODO handle this maybe? android/widget/SearchView.java (3 lines): - line 404: // TODO: use imeOptions to disable voice input when the new API will be available - line 1086: // TODO: Reverse left/right for right-to-left languages, e.g. - line 1100: // TODO: restoreUserQuery(); android/content/pm/LauncherActivityInfo.java (3 lines): - line 90: // TODO: Go through LauncherAppsService - line 103: // TODO: Go through LauncherAppsService - line 147: // TODO: Go through LauncherAppsService org/apache/harmony/xml/dom/DOMConfigurationImpl.java (3 lines): - line 284: // TODO add "resource-resolver" property for use with LS feature... - line 384: * TODO: normalize namespaces - line 489: // TODO: abort if handleError returns false com/android/internal/telephony/GsmCdmaCallTracker.java (3 lines): - line 519: // FIXME if SWITCH fails, should retry with ANSWER - line 955: // FIXME with RIL, we should not need this anymore - line 1056: // TODO: Do we need to update these hoConnections in Metrics ? com/android/server/wifi/scanner/WifiScanningServiceImpl.java (3 lines): - line 795: // TODO move merging logic to a scheduler - line 1001: // TODO this should be moved to a common location since it is used outside - line 1895: // TODO migrate batterystats to accept scan duration per hour instead of csph android/view/SurfaceControl.java (3 lines): - line 279: * TODO: b/64227542 - line 879: // TODO: should take the display as a parameter - line 912: // TODO: should take the display as a parameter com/android/keyguard/KeyguardPasswordView.java (3 lines): - line 53: // TODO: Remove this by ensuring such a race condition never happens. - line 157: // TODO: Check if we still need this hack. - line 214: // TODO: Remove this workaround by ensuring such a race condition never happens. android/telephony/DisconnectCause.java (3 lines): - line 105: // TODO: This should be the same as NOT_EMERGENCY - line 126: * TODO: this is currently unused, since the "call lost" dialog - line 145: * TODO: Rethink where the best place to put this is. It is not a notification com/android/timezonepicker/TimeZoneFilterTypeAdapter.java (3 lines): - line 185: // TODO Perf - we can loop through the filtered list if the new - line 215: // TODO Perf - cache toLowerCase()? - line 247: // TODO Search by state com/android/server/usb/UsbMidiDevice.java (3 lines): - line 141: // FIXME - support devices with different number of input and output ports - line 162: // FIXME - support devices with different number of input and output ports - line 171: // FIXME - support devices with different number of input and output ports com/android/server/connectivity/LingerMonitor.java (3 lines): - line 126: // TODO: Evaluate moving to CarrierConfigManager. - line 251: // TODO: should we do this? - line 261: // TODO: instead of just skipping notification, keep a note of it, and show it if it becomes com/android/server/audio/PlaybackActivityMonitor.java (3 lines): - line 75: // TODO support VolumeShaper on those players - line 243: // FIXME SoundPool not ready for state reporting - line 247: //TODO add generation counter to only update to the latest state com/android/ims/ImsCall.java (3 lines): - line 75: // TODO: Set this flag to FORCE_DEBUG once the new conference call logic gets more mileage - line 1213: // TODO: Fix the fact that user invoked call terminations during - line 1268: // FIXME: We should update the state on the callback because that is where android/graphics/drawable/GradientDrawable.java (3 lines): - line 1462: // TODO: Update these to be themeable. - line 1550: // TODO: Update these to be themeable. - line 1753: // TODO: support more complex shapes android/inputmethodservice/KeyboardView.java (3 lines): - line 874: // TODO: We need to implement AccessibilityNodeProvider for this view. - line 885: // TODO: We need to implement AccessibilityNodeProvider for this view. - line 947: // TODO: Fix this if centering is brought back android/net/Network.java (3 lines): - line 209: // TODO: This creates a connection pool and host resolver for - line 255: // TODO: Should this be optimized to avoid fetching the global proxy for every request? - line 282: // TODO: HttpHandler creates OkUrlFactory instances that share the default ResponseCache. java/time/chrono/HijrahDate.java (3 lines): - line 350: // TODO does the limited range of valid years cause years to - line 392: chrono.range(f).checkValidValue(newValue, f); // TODO: validate value - line 588: // TODO: untested java/util/JapaneseImperialCalendar.java (3 lines): - line 854: // TODO: Need to change the spec to be usable DAY_OF_MONTH rolling... - line 1274: // TODO: there may be multiple transitions in a year. - line 1306: // TODO: there may be multiple transitions in a year. com/android/server/wm/Task.java (3 lines): - line 58: // TODO: Track parent marks like this in WindowContainer. - line 135: // TODO: Confirm that this is the behavior we want long term. - line 169: // TODO: This should probably return false if mChildren.isEmpty() regardless if the stack android/widget/OverScroller.java (3 lines): - line 697: // TODO: restore when WebView uses the fast fling implemented in this class. - line 740: // TODO take velocity into account - line 879: // TODO Better compute speed when edge was reached android/hardware/camera2/legacy/RequestThreadManager.java (3 lines): - line 132: //TODO: Hook this up to SystTrace? - line 181: // TODO: use smallest default sizes - line 495: // TODO: Detect and optimize single-output paths here to skip stream teeing. com/android/server/connectivity/NetdEventListenerService.java (3 lines): - line 69: // TODO: dedup this String constant with the one used in - line 163: // TODO: add ip protocol and port - line 275: // TODO: directly query ConnectivityService instead of going through Binder interface. com/android/server/connectivity/NetworkNotificationManager.java (3 lines): - line 83: // TODO: deal more gracefully with multi-transport networks. - line 103: R.drawable.stat_notify_wifi_in_range : // TODO: Distinguish ! from ?. - line 183: // TODO: Change this to pull from NetworkInfo once a printable org/apache/harmony/xml/dom/TextImpl.java (3 lines): - line 68: // TODO: wire this up when we support document validation - line 73: // TODO: support entity references. This code should expand through - line 85: // TODO: support entity references. This code should expand and replace com/android/internal/telephony/dataconnection/ApnContext.java (3 lines): - line 576: // TODO - actually try to match the set of capabilities - line 626: // TODO: If this error condition is removed, the framework's handling of - line 638: // TODO - kill The use of these strings android/media/MediaCodec.java (3 lines): - line 2128: // TODO get this from codec - line 2999: // FIXME: check codec status - line 3030: // FIXME: check codec status com/android/internal/telephony/gsm/GsmMmiCode.java (3 lines): - line 647: // TODO in cases other than USSD, it would be nice to cancel - line 983: // TODO: This is the same as the code in CmdaMmiCode.java, - line 1669: * TODO: It would be nice to have a method here that can take in a dialstring and com/android/companiondevicemanager/DeviceDiscoveryService.java (3 lines): - line 250: //TODO also, on timeout -> call onFailure - line 272: //TODO is this the right userId? - line 332: //TODO move to a layout file com/android/calendarcommon2/EventRecurrence.java (3 lines): - line 453: * TODO: replace this with Arrays.equals() when the old parser goes away. - line 585: * TODO: enforce additional constraints listed in RFC 5545, notably the "N/A" entries - line 590: /* TODO: replace with "if (freq != 0) throw" if nothing requires this */ android/os/storage/StorageManager.java (3 lines): - line 754: // TODO: verify that emulated adopted devices have UUID of - line 929: // TODO: switch to explicit wipe command when we have it, - line 1323: // TODO: extend to support shared storage android/media/AudioPlaybackConfiguration.java (3 lines): - line 91: // TODO unhide for SystemApi, update getPlayerType() - line 99: // TODO unhide for SystemApi, update getPlayerType() - line 108: // TODO unhide for SystemApi, update getPlayerType() com/android/ex/editstyledtext/EditStyledText.java (3 lines): - line 181: * Strings for context menu. TODO: Extract the strings to strings.xml. - line 1521: // TODO: Find more smart way to set Span to Clipboard. - line 2496: // TODO onEndEdit isn't called temporally . android/hardware/camera2/params/StreamConfigurationMap.java (3 lines): - line 47: * - line 696: * TODO: uncomment after adding input stream support - line 749: * TODO: uncomment after adding input stream support android/media/Metadata.java (3 lines): - line 85: // TODO: Should we use numbers compatible with the metadata retriever? - line 242: // FIXME: misses a type for shared heap is missing (MemoryFile). - line 243: // FIXME: misses a type for bitmaps. android/widget/SelectionActionModeHelper.java (3 lines): - line 371: // TODO: Write tests - line 670: // TODO: Consider making this a ViewConfiguration. - line 756: // TODO: Investigate why/when TextView.getText() is null. com/android/server/sip/SipSessionGroup.java (3 lines): - line 140: // TODO: remove this method once SipWakeupTimer can better handle variety - line 1186: // TODO: rfc3261#section-14.1; re-schedule invite - line 1198: // TODO: handle 3xx (redirect) android/media/TtmlRenderer.java (3 lines): - line 353: // TODO: read and apply the following attributes if specified. - line 459: // TODO: check if it's safe to ignore the namespace of attributes as follows. - line 556: // TODO: handle UTF-8 conversion properly android/transition/Transition.java (3 lines): - line 731: // TODO: what to do about targetIds and itemIds? - line 889: // TODO: could be a single listener instance for all of them since it uses the param - line 1861: // TODO: maybe pass auto-end as a boolean parameter? android/net/NetworkStats.java (3 lines): - line 52: // TODO: Rename TAG_ALL to TAG_ANY. - line 68: // TODO: Rename TAG_NONE to TAG_ALL. - line 90: // TODO: move fields to "mVariable" notation android/app/Notification.java (3 lines): - line 4231: // TODO: Remove the span entirely to only have the string with propper formating. - line 4670: // TODO: handle emphasized mode / actions right - line 4826: // TODO: also check bounds, transparency, that sort of thing. com/android/server/backup/Trampoline.java (3 lines): - line 124: // TODO: http://b/22388012 - line 154: // TODO: http://b/22388012 - line 183: // TODO: http://b/22388012 com/android/server/connectivity/tethering/IPv6TetheringCoordinator.java (3 lines): - line 170: // TODO: Figure out IPv6 support on PAN interfaces. - line 239: // tethering with 464xlat involved). TODO: Rectify this shortcoming, - line 314: // TODO: Delete this and switch to LinkAddress#isGlobalPreferred once we tck/java/time/TCKLocalDateTime.java (3 lines): - line 261: @Test(timeOut=30000) // TODO: remove when time zone loading is faster - line 822: LocalDateTime.ofEpochSecond(Long.MAX_VALUE, 500, OFFSET_PONE); // TODO: better test - line 827: LocalDateTime.ofEpochSecond(Long.MIN_VALUE, 500, OFFSET_PONE); // TODO: better test android/hardware/camera2/impl/CameraMetadataNative.java (3 lines): - line 228: // TODO: remove this; other places should use #getTypeReference() instead - line 989: // TODO: Optimization. Cache the byte[] and reuse if the size is big enough. - line 1239: // TODO: Optimization. Native code returns a ByteBuffer instead. android/view/ViewGroup.java (3 lines): - line 1574: // TODO: Write real docs - line 3014: // TODO Applications really shouldn't change this setting mid-touch event, - line 8462: // TODO: This won't work with multiple UI threads in a single process com/android/server/connectivity/NetworkAgentInfo.java (3 lines): - line 62: // CONNECTING state (TODO: go through this state for every network, not just VPNs). - line 202: // TODO: determine if we can replace this with a smaller or unsorted data structure. (e.g., - line 416: // TODO: We may want to refactor this into a NetworkScore class that takes a base score from java/lang/StringFactory.java (3 lines): - line 38: // TODO: Remove once native methods are in place. - line 68: // TODO: Implement this method natively. - line 236: // TODO: Implement this method natively. com/android/internal/telephony/CommandsInterface.java (3 lines): - line 777: // TODO: Add java doc and indicate that msg.arg1 contains the number of attempts remaining. - line 1940: // FIXME Update the doc and consider modifying the request to make more generic. - line 1952: // FIXME We may need to pass AID and slotid also android/media/MediaCodecInfo.java (3 lines): - line 930: // TODO restrict features by mFlagsVerified once all codecs reliably verify them - line 2419: // TODO: set to 100Mbps for now, need a number for VP8 - line 2746: // TODO should we limit this to level limits? android/nfc/Tag.java (3 lines): - line 308: // TODO See if we need TagLostException - line 309: // TODO Unhide for ICS - line 310: // TODO Update documentation to make sure it matches with the final java/util/SimpleTimeZone.java (3 lines): - line 438: // TODO: this method doesn't check the initial values of dayOfMonth or dayOfWeek. - line 698: // TODO: support Gregorian cutover. The previous year - line 705: // TODO: support Gregorian cutover. The next year com/android/ims/internal/ImsVideoCallProviderWrapper.java (3 lines): - line 208: // TODO: We should use callback in the future. - line 436: // TODO: Remove the following workaround in favor of a new API. - line 467: // TODO: Fix vendor code so that this isn't required. com/android/server/backup/restore/FullRestoreEngine.java (3 lines): - line 227: // TODO: Refactor, so that there are no funny things like this. - line 400: // TODO: Refactor to clearly separate the flows. - line 626: // TODO: use a more user-friendly name string com/android/server/backup/internal/PerformBackupTask.java (3 lines): - line 738: // TODO: http://b/22388012 - line 908: // TODO - We call finishBackup() for each application backed up, because - line 1037: // !!! TODO: keep track of failure counts per agent, and blacklist those which android/support/transition/Visibility.java (2 lines): - line 389: // TODO: Need to do this for general case of adding to overlay - line 571: // TODO: Implement API 23; isTransitionRequired com/android/internal/telephony/ProxyController.java (2 lines): - line 225: // TODO: The right behaviour is to cancel previous request and send this. - line 273: // TODO Set the new radio access family to the maximum of the requested & supported com/android/server/wm/AppWindowContainerController.java (2 lines): - line 204: // TODO: Should this throw an exception instead? - line 339: // TODO: Probably a good idea to separate the concept of opening/closing apps from the com/android/server/NetworkManagementSocketTagger.java (2 lines): - line 40: // TODO: remove when always enabled, or once socket tagging silently fails. - line 80: // TODO: skip tagging when options would be no-op com/android/server/backup/PreferredActivityBackupHelper.java (2 lines): - line 55: // TODO: http://b/22388012 - line 79: // TODO: http://b/22388012 android/graphics/FontFamily_Delegate.java (2 lines): - line 267: // TODO: support lang. This is required for japanese locale. - line 432: // FIXME: support ttc fonts. Hack JRE?? com/android/internal/app/LocaleStore.java (2 lines): - line 210: *

TODO: decide if it is worth moving such kind of monitoring in this shared code. - line 287: // TODO: See if we can reuse what LocaleList.matchScore does android/app/SearchDialog.java (2 lines): - line 183: // TODO: Move the badge logic to SearchView or move the badge to search_bar.xml - line 190: // TODO: Restore the spinner for slow suggestion lookups com/android/common/contacts/BaseEmailAddressAdapter.java (2 lines): - line 55: // TODO: revert to references to the Directory class as soon as the - line 125: // TODO: revert to references to the Directory class as soon as the com/android/server/wifi/scanner/WificondScannerImpl.java (2 lines): - line 154: // TODO get channel information from wificond. - line 442: // TODO handle scan timeout com/android/systemui/Dependency.java (2 lines): - line 149: // TODO: Think about ways to push these creation rules out of Dependency to cut down - line 387: * TODO: Remove once PreferenceFragment doesn't reference getActivity() org/apache/harmony/xml/dom/ElementImpl.java (2 lines): - line 140: * TODO: Remove this behavior. - line 389: // TODO: populate this when we support XML Schema android/hardware/SensorManager.java (2 lines): - line 487: // TODO: need to be smarter, for now, just return the 1st sensor - line 1178: // TODO: move this to native code for efficiency com/android/server/wm/WindowSurfacePlacer.java (2 lines): - line 256: // TODO: Don't believe this is really needed... - line 459: // TODO: Do we need to add to mNoAnimationNotifyOnTransitionFinished like above if not android/support/v7/app/ToolbarActionBar.java (2 lines): - line 403: // TODO: Consider a better transition for this. - line 410: // TODO: Consider a better transition for this. com/android/server/backup/BackupUtils.java (2 lines): - line 51: // !!! TODO: is this the right policy? - line 63: // !!! TODO: this demands that every stored signature match one com/android/server/wm/WindowLayersController.java (2 lines): - line 88: // TODO: Preserved old behavior of code here but not sure comparing oldLayer to - line 125: //TODO (multidisplay): Magnification is supported only for the default display. android/media/MediaRecorder.java (2 lines): - line 303: // TODO make AudioSource static (API change) and move this method inside the AudioSource class - line 1133: * FIXME: com/android/internal/telephony/uicc/UiccCard.java (2 lines): - line 321: // TODO: Here we assume the device can't handle SIM hot-swap - line 328: // TODO: SimRecords is not reset while SIM ABSENT (only reset while com/android/server/backup/KeyValueAdbRestoreEngine.java (2 lines): - line 33: * TODO: We should create unified backup/restore engines that can be used for both transport and - line 65: // TODO: version ? benchmarks/regression/StringCaseMappingBenchmark.java (2 lines): - line 26: // TODO: include hairy inputs like turkish and greek. - line 27: // TODO: locale makes a difference too. com/android/systemui/recents/views/TaskViewHeader.java (2 lines): - line 100: // TODO: Consider using the saturation of the color to adjust the lightness as well - line 443: // TODO: Consider using the saturation of the color to adjust the lightness as well com/android/internal/telephony/RIL.java (2 lines): - line 3671: /* TODO: add excluded carriers */ - line 4066: // TODO: Remove rr and clean up acquireWakelock for response and ack android/app/DownloadManager.java (2 lines): - line 1298: // TODO: connect to NetworkPolicyManager - line 1304: // TODO: connect to NetworkPolicyManager android/content/SyncRequest.java (2 lines): - line 172: // TODO: pass the configuration extras through separately. - line 207: * TODO: Use this instead of dumping into one bundle. Need to decide if these flags should android/app/SearchableInfo.java (2 lines): - line 59: // TODO how should these be documented for the developer, in a more structured way than - line 350: // TODO this didn't work - came back zero from YouTube android/support/v7/util/SortedList.java (2 lines): - line 499: // TODO this done in 1 pass to avoid shifting twice. - line 536: // TODO can be improved com/android/server/am/ActivityStarter.java (2 lines): - line 931: // TODO: New, check if this is correct - line 1615: // TODO: This should be reevaluated in MW v2. java/lang/reflect/Executable.java (2 lines): - line 333: // TODO: This may eventually need to be guarded by security - line 346: // TODO: is there a way to synthetically derive the android/media/RingtoneManager.java (2 lines): - line 722: //FIXME bypass the notion of stream types within the class - line 737: //FIXME deprecated call com/android/server/wm/SurfaceControlWithBackground.java (2 lines): - line 105: // TODO: Use setRelativeLayer(Integer.MIN_VALUE) when it's fixed. - line 183: // TODO: Because the progress is computed with low precision we're getting smaller values com/android/systemui/fragments/FragmentHostManager.java (2 lines): - line 165: // TODO: Do something? - line 200: // TODO: Some auto handling here? com/android/internal/widget/LinearLayoutManager.java (2 lines): - line 611: // TODO we can probably avoid this if neither stackFromEnd/reverseLayout/RTL values have - line 1480: // TODO ugly bug fix. should not happen android/net/dhcp/DhcpPacket.java (2 lines): - line 629: * TODO: Does this belong here? The alternative would be to modify all the buildXyzPacket - line 889: // TODO: evaluate whether to make this test more liberal. android/animation/Animator.java (2 lines): - line 452: // TODO: make reverse() works for all the Animators. - line 469: // TODO: Need to find a better signal than this. There's a bug in SystemUI that's preventing com/android/internal/telephony/uicc/UiccController.java (2 lines): - line 125: // TODO remove this once modem correctly notifies the unsols - line 356: // TODO: This is hacky. We need a better way of saving the logs. com/android/server/DeviceIdleController.java (2 lines): - line 1100: // TODO: What is keeping the device awake at this point? Does it need to be? - line 1105: // TODO: What is keeping the device awake at this point? Does it need to be? android/os/storage/VolumeInfo.java (2 lines): - line 322: // TODO: plumb through cleaner path from vold - line 419: // TODO: avoid this layering violation com/android/systemui/recents/views/RecentsTransitionHelper.java (2 lines): - line 331: // TODO: Sometimes targetStackId is not initialized after reboot, so we also have to - line 359: // TODO: Create a different animation task rect for this case (though it should com/android/internal/telephony/TelephonyProperties.java (2 lines): - line 29: //TODO T: property strings do not have to be gsm specific - line 48: //TODO: most of these properties are generic, substitute gsm. with phone. bug 1856959 android/hardware/camera2/utils/TypeReference.java (2 lines): - line 227: throw new UnsupportedOperationException("TODO: support wild card components"); - line 392: // TODO: com/android/settingslib/inputmethod/InputMethodSettingValuesWrapper.java (2 lines): - line 42: // TODO: Consolidate this with {@link InputMethodAndSubtypeUtil}. - line 94: // TODO: Add a cts to ensure at least one AsciiCapableSubtypeEnabledImis exist android/hardware/display/DisplayManager.java (2 lines): - line 260: // TODO: Update name and documentation and un-hide the flag. Don't change the value before that. - line 383: // TODO: We cannot currently provide any override configurations for metrics on displays android/text/StaticLayout_Delegate.java (2 lines): - line 81: // TODO: implement justified alignment - line 225: // TODO: Rename to LineBreakerRef and move everything other than LineBreaker to LineBreaker. android/accounts/AccountManager.java (2 lines): - line 1503: // TODO: remove this when the bug is found that sometimes causes a null bundle to be - line 2252: // TODO: somehow a null is being set as the result of the Future. Log this android/support/v7/widget/AdapterHelperTest.java (2 lines): - line 354: // TODO test MOVE then remove items in between. - line 355: // TODO test MOVE then remove it, make sure it is not dispatched android/security/KeyStore.java (2 lines): - line 395: // TODO: remove this when it's removed from Settings - line 770: // TODO: Restore USE_FINGERPRINT permission check in android/net/LinkAddress.java (2 lines): - line 203: // TODO: consider rejecting mapped IPv4 addresses such as "::ffff:192.0.2.5/24". - line 278: * TODO: Delete all callers and remove in favour of getPrefixLength(). com/android/server/pm/CompilerStats.java (2 lines): - line 202: // TODO: Could make this a final switch, then we wouldn't have to synchronize over - line 220: // TODO: Upgrade older formats? For now, just reject and regenerate. android/support/v7/widget/LinearLayoutManager.java (2 lines): - line 634: // TODO we can probably avoid this if neither stackFromEnd/reverseLayout/RTL values have - line 1505: // TODO ugly bug fix. should not happen android/content/pm/ShortcutManager.java (2 lines): - line 575: // TODO Implement it properly using xdpi. - line 587: // TODO Implement it properly using ydpi. com/android/settingslib/inputmethod/InputMethodAndSubtypeEnablerManager.java (2 lines): - line 48: // TODO: Change mInputMethodInfoList to Map - line 133: // TODO: Use toggle Preference if images are ready. android/support/v4/media/session/MediaControllerCompat.java (2 lines): - line 1326: // TODO update audio stream with AudioAttributes support version - line 1361: // TODO switch to AudioAttributesCompat when it is added. com/android/server/display/DisplayManagerService.java (2 lines): - line 334: // TODO: Use dependencies or a boot phase - line 1113: // TODO: no logical display for the device, blank it android/filterfw/core/FrameFormat.java (2 lines): - line 50: // TODO: When convenience formats are used, consider changing this to 0 and have the convenience - line 400: // TODO: FromString android/animation/PropertyValuesHolder.java (2 lines): - line 696: // TODO: faster implementation... - line 1095: // TODO: We need a better way to get data out of keyframes. tck/java/time/format/TCKDateTimeParseResolver.java (2 lines): - line 133: // TODO: tests with weird TenporalField implementations - line 134: // TODO: tests with non-ISO chronologies android/support/v4/media/MediaBrowserCompat.java (2 lines): - line 1017: // TODO: remove this extra check. - line 1666: // TODO: When MediaBrowser is connected to framework's MediaBrowserService, com/android/internal/telephony/cdma/SmsMessage.java (2 lines): - line 556: Rlog.e(LOG_TAG, "TODO: Originating Addr is email id"); - line 559: "TODO: Originating Addr is data network address"); com/android/server/tv/TvInputManagerService.java (2 lines): - line 220: // TODO: Use finer-grained methods(e.g. onPackageAdded, onPackageRemoved) to manage - line 2461: // TODO: Consider adding this channel change in the watch log. When we do com/android/calendarcommon2/RecurrenceProcessor.java (2 lines): - line 857: sb.setLength(15); // TODO: pay attention to whether or not the event - line 989: // TODO: we don't check for stop conditions (like com/android/hotspot2/osu/OSUFlowManager.java (2 lines): - line 265: // TODO: Might want to change this to a handler. - line 364: // TODO: Might want to change this to a handler. android/net/nsd/NsdManager.java (2 lines): - line 393: // TODO: failure to stop discovery should be internal and retried internally, as - line 416: // TODO: do not unregister listener until service is unregistered, or provide com/android/server/wm/WindowToken.java (2 lines): - line 177: // TODO: Should we also be setting layout needed here and other places? - line 227: // TODO: Not sure if this is the best way to handle this vs. using instanceof and casting. com/android/internal/telephony/sip/SipConnectionBase.java (2 lines): - line 161: // TODO: add PRESENTATION_URL - line 168: // FIXME: what's this for SIP? com/android/internal/util/ProcFileReader.java (2 lines): - line 76: // TODO: consider moving to read pointer, but for now traceview says - line 192: // TODO: refactor into something like IntegralToString com/android/mtp/DocumentLoader.java (2 lines): - line 43: * TODO: Rename this class to ObjectInfoLoader - line 79: // TODO: Handle nit race around here. android/app/UiAutomation.java (2 lines): - line 940: // TODO: The package manager API should return boolean. - line 969: // TODO: The package manager API should return boolean. com/android/internal/widget/LockPatternView.java (2 lines): - line 1098: // TODO: Infinite loop here... - line 1128: // TODO: the path should be created and cached every time we hit-detect a cell android/net/IpSecConfig.java (2 lines): - line 117: // TODO: Use a byte array or other better method for storing IPs that can also include scope - line 119: // TODO: Use a byte array or other better method for storing IPs that can also include scope com/android/systemui/statusbar/NotificationMenuRow.java (2 lines): - line 576: // TODO should animate back to 0f from current alpha - line 594: // TODO -- handle / allow custom menu items! com/android/captiveportallogin/CaptivePortalLoginActivity.java (2 lines): - line 259: // TODO: This misses when mNetwork underlies a VPN. - line 304: // TODO: reuse NetworkMonitor facilities for consistent captive portal detection. android/app/SharedPreferencesImpl.java (2 lines): - line 181: // TODO: wait for any pending writes to disk? - line 307: // TODO: remove the need to call awaitLoadedLocked() when com/android/server/usb/descriptors/report/ReportCanvas.java (2 lines): - line 130: //TODO Look into renaming the "getHexString()" functions to be more - line 152: //TODO Look into renaming the "getHexString()" functions to be more android/database/MatrixCursor.java (2 lines): - line 136: // TODO: null out row? - line 144: // TODO: null out row? org/apache/harmony/xml/parsers/DocumentBuilderImpl.java (2 lines): - line 118: // TODO: if null, extract the inputEncoding from the Content-Type header? - line 243: // TODO Implement this... com/android/systemui/usb/StorageNotification.java (2 lines): - line 58: // TODO: delay some notifications to avoid bumpy fast operations - line 111: // TODO: kick this onto background thread com/android/systemui/qs/CellTileView.java (2 lines): - line 32: // TODO Find a better way to handle this and remove it. - line 71: //TODO: Not the optimal solution to create this drawable java/text/ChoiceFormat.java (2 lines): - line 554: // FIXME fix overflow & underflow - line 557: // FIXME fix overflow & underflow com/android/internal/widget/AdapterHelper.java (2 lines): - line 243: // TODO Since move ops are pushed to end, we should not need this anymore - line 418: // TODO optimize. com/android/systemui/statusbar/policy/SecurityControllerImpl.java (2 lines): - line 116: // TODO: re-register network callback on user change. - line 378: // TODO Find another way to receive VPN lost. This may be delayed depending on android/support/v4/widget/DrawerLayout.java (2 lines): - line 422: * TODO Someone someday might want to set more complex drawables here. - line 979: // TODO Better communication with tools of this bogus state. com/android/internal/content/PackageHelper.java (2 lines): - line 442: // TODO: handle existing apps installed in ASEC; currently assumes - line 591: // TODO: distinguish if this is external ASEC com/android/server/backup/internal/PerformClearTask.java (2 lines): - line 51: // TODO - need to handle failures - line 57: // TODO - need to handle failures com/android/internal/telephony/cat/CatService.java (2 lines): - line 734: /* TODO: eventDownload should be extended for other Envelope Commands */ - line 775: //TODO Need to take care for MSIM android/text/method/BaseKeyListener.java (2 lines): - line 295: // TODO: Need handle emoji variation selectors. Issue 35224297 - line 398: // TODO: Use appropriate locale for WordIterator. com/android/internal/util/AsyncChannel.java (2 lines): - line 82: * TODO: Consider simplifying where we have connect and fullyConnect with only one response - line 567: log("TODO: handle replyToMessage RemoteException" + e); android/renderscript/Script.java (2 lines): - line 180: // TODO: Is this necessary if nScriptForEach calls validate as well? - line 236: // TODO: Is this necessary if nScriptForEach calls validate as well? java/lang/invoke/WrongMethodTypeException.java (2 lines): - line 70: //FIXME: make this public in MR1 - line 81: //FIXME: make this public in MR1 com/android/server/am/RecentTasks.java (2 lines): - line 171: // TODO Investigate why it can happen. For now initialize with an empty set - line 513: // TODO: VI what about if it's just an activity? java/lang/Class.java (2 lines): - line 203: * TODO: really 16bits as type indices are 16bit. - line 210: * TODO: really 16bits as type indices are 16bit. com/android/server/lowpan/LowpanInterfaceTracker.java (2 lines): - line 61: *

TODO: Research if 30 is an appropriate value. - line 299: // TODO: Figure out how to properly handle this. com/android/server/wm/WindowAnimator.java (2 lines): - line 187: //TODO (multidisplay): Accessibility supported only for the default - line 220: //TODO (multidisplay): Magnification is supported only for the default display. android/media/AudioAttributes.java (2 lines): - line 256: // FIXME not guaranteed yet - line 257: // TODO add in FLAG_ALL_PUBLIC when supported and in public API android/support/v7/view/menu/ActionMenuItemView.java (2 lines): - line 169: // TODO Support checkable action items - line 174: // TODO Support checkable action items android/view/PixelCopy.java (2 lines): - line 186: // TODO: Make this actually async and fast and cool and stuff - line 277: // TODO: Pre-check max texture dimens if we can com/android/server/backup/NotificationBackupHelper.java (2 lines): - line 49: // TODO: http://b/22388012 - line 70: // TODO: http://b/22388012 com/android/internal/telephony/uicc/IccCardProxy.java (2 lines): - line 514: // TODO - we'd like this intent to have a single snapshot of all sim state, - line 573: // TODO: Need to notify registrants for other states as well. java/lang/System.java (2 lines): - line 967: // TODO: does this make any sense? Should we just leave java.home unset? - line 1696: // TODO: Confirm that this isn't something super important. android/widget/VideoView.java (2 lines): - line 370: // TODO this should have a focus listener - line 376: // TODO: create SubtitleController in MediaPlayer, but we need com/android/server/backup/utils/TarBackupReader.java (2 lines): - line 183: // File in shared storage. !!! TODO: implement this. - line 301: // TODO: handle android/app/backup/FileBackupHelperBase.java (2 lines): - line 79: // TODO: more here - line 106: // TODO: Do something with the error. com/android/internal/telephony/dataconnection/DcRequest.java (2 lines): - line 79: // TODO - actually try to match the set of capabilities - line 130: // TODO: If this error condition is removed, the framework's handling of android/support/v4/view/MenuItemCompat.java (2 lines): - line 372: // TODO Wrap the support ActionProvider and assign it - line 390: // TODO Wrap the framework ActionProvider and return it android/net/NetworkTemplate.java (2 lines): - line 338: // TODO: consider matching against WiMAX subscriber identity - line 373: // TODO: consider matching against WiMAX subscriber identity android/telephony/MbmsDownloadSession.java (2 lines): - line 150: // TODO - more results! - line 169: * TODO: I don't know... com/android/common/Search.java (2 lines): - line 91: .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() - line 92: .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel() android/support/v7/widget/AdapterHelper.java (2 lines): - line 243: // TODO Since move ops are pushed to end, we should not need this anymore - line 418: // TODO optimize. android/telecom/TelecomManager.java (2 lines): - line 1267: * TODO: L-release - need to convert all invocations of ITelecomService#endCall to use this - line 1294: //TODO: L-release - need to convert all invocation of ITelecmmService#answerRingingCall to use android/support/v7/widget/SuggestionsAdapter.java (2 lines): - line 748: .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() - line 749: .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel() android/content/pm/PackageManager.java (2 lines): - line 1832: * TODO remove when depending apps have moved to new constant. - line 2455: * TODO: Remove after dependencies updated b/17392243 com/android/server/notification/ZenModeHelper.java (2 lines): - line 619: //TODO: http://b/22388012 - line 644: //TODO: http://b/22388012 com/android/server/wallpaper/WallpaperManagerService.java (2 lines): - line 543: // TODO: fall back to default wallpaper in this case - line 2592: // TODO: If necessary, make it work for secondary users as well. This currently assumes android/filterfw/core/GLFrame.java (2 lines): - line 52: public final static int NEW_TEXTURE_BINDING = 102; // TODO: REMOVE THIS - line 53: public final static int NEW_FBO_BINDING = 103; // TODO: REMOVE THIS android/widget/GridView.java (2 lines): - line 1721: // TODO: Sometimes it is useful to be able to TAB through the items in - line 2330: // TODO: Account for vertical spacing too com/android/server/usb/UsbAlsaManager.java (2 lines): - line 166: // FIXME Does not yet handle the case where the setting is changed - line 372: // FIXME - handle multiple configurations? android/os/UserManager.java (2 lines): - line 1170: // TODO: reconcile stopped vs stopping? - line 1461: // TODO: Keep this in sync with com/android/server/wifi/aware/WifiAwareDataPathStateManager.java (2 lines): - line 733: // TODO: understand how/when can be called again/while in progress (seems - line 938: * TODO (b/38209409): The value from this function isn't currently used - the channel selection android/databinding/tool/reflection/annotation/AnnotationMethod.java (2 lines): - line 63: // TODO: When going to Java 1.8, use mExecutableElement.getReceiverType() - line 114: // TODO: support argument-supplied types com/android/server/wm/WindowStateAnimator.java (2 lines): - line 1104: //TODO (multidisplay): Magnification is supported only for the default display. - line 1797: //TODO (multidisplay): Magnification is supported only for the default display. jsr166/BlockingQueueTest.java (2 lines): - line 42: // // TODO: filter the returned tests using the configuration - line 341: * TODO: move to superclass CollectionTest.java com/android/server/wifi/aware/WifiAwareNativeApi.java (2 lines): - line 433: // TODO: configure ranging and security - line 496: // TODO: configure ranging and security com/android/internal/telephony/UiccSmsController.java (2 lines): - line 110: // TODO: Use a more specific error code to replace RESULT_ERROR_GENERIC_FAILURE. - line 239: //TODO Rakesh android/transition/TransitionManager.java (2 lines): - line 65: // TODO: how to handle enter/exit? - line 158: // TODO: cached in Scene instead? long-term, cache in View itself android/media/midi/MidiOutputPort.java (2 lines): - line 63: // FIXME - inform receivers here? - line 86: // FIXME report I/O failure? com/android/server/voiceinteraction/DatabaseHelper.java (2 lines): - line 146: * TODO: We only support one keyphrase currently. - line 207: * TODO: We only support one keyphrase currently. android/security/net/config/NetworkSecurityTrustManager.java (2 lines): - line 42: // TODO: Replace this with a general X509TrustManager and use duck-typing. - line 147: // TODO: Throw a subclass of CertificateException which indicates a pinning failure. android/widget/RemoteViews.java (2 lines): - line 325: // TODO: Unregister this handler if PendingIntent.FLAG_ONE_SHOT? - line 3608: // TODO: check if isCancelled in nested views. android/text/method/WordIterator.java (2 lines): - line 135: // TODO: Check if usage of this can be updated to getBeginning(offset, true) if - line 154: // TODO: Check if usage of this can be updated to getEnd(offset, true), if com/android/server/media/MediaSessionService.java (2 lines): - line 119: // Used to notify system UI when remote volume was changed. TODO find a - line 1171: // TODO: Consider the case when both volume up and down keys are pressed android/support/v8/renderscript/Allocation.java (2 lines): - line 376: // TODO: A3D doesn't have Type info during creation, so we can't - line 532: // TODO: add support for 3D allocations. com/android/internal/widget/SubtitleView.java (2 lines): - line 120: // TODO: Move these to a default style. - line 254: // TODO: Implement minimum-difference line wrapping. Adding the results com/android/systemui/statusbar/phone/StatusBarIconControllerImpl.java (2 lines): - line 205: // TODO: Dump info about all icon groups? - line 218: // TODO: Rework how we handle demo mode. java/util/concurrent/ConcurrentLinkedDeque.java (2 lines): - line 495: // TODO: better HOP heuristics - line 721: // TODO: should we skip deleted nodes here? com/android/internal/inputmethod/InputMethodSubtypeSwitchingController.java (2 lines): - line 77: // TODO: Use Locale#getLanguage or Locale#toLanguageTag - line 88: * TODO: Use {@link Locale#getLanguage()} instead. com/android/server/pm/ShortcutPackage.java (2 lines): - line 710: // TODO Maybe remove it? - line 1242: // TODO Log update frequency too. android/media/ExifInterface.java (2 lines): - line 2673: // TODO: Check this behavior in other ORF files - line 3276: // TODO: Add support for lossless Huffman JPEG data com/android/keyguard/KeyguardUpdateMonitor.java (2 lines): - line 1751: // TODO: only count SIMs that handle voice - line 1830: // TODO: use these callbacks elsewhere in place of the existing notifyScreen*() android/hardware/camera2/CameraManager.java (2 lines): - line 354: // TODO: factor out callback to be non-nested, then move setter to constructor - line 1010: // TODO: consider abstracting out this state minimization + transition com/android/internal/widget/EditableInputConnection.java (2 lines): - line 209: // TODO: Return some notification code rather than false to indicate method that - line 217: // TODO: Return some notification code for the input method that indicates com/android/server/connectivity/tethering/TetheringConfiguration.java (2 lines): - line 84: // TODO: Evaluate deleting this altogether now that Wi-Fi always passes - line 233: // TODO: consider unilaterally forcing this at the front. android/inputmethodservice/Keyboard.java (2 lines): - line 652: // TODO: This does not adjust the vertical placement according to the new size. - line 853: // TODO: error or extend? android/support/graphics/drawable/AnimatedVectorDrawableCompat.java (2 lines): - line 512: // TODO: support theming in older platform. - line 521: // TODO: support theming in older platform. com/android/internal/widget/ExploreByTouchHelper.java (2 lines): - line 614: // TODO: Check virtual view visibility. - line 625: // TODO: Only invalidate virtual view bounds. android/security/KeyChain.java (2 lines): - line 96: // TODO reference intent for credential installation when public - line 362: * TODO currently keyTypes, issuers are unused. They are meant android/net/wifi/WifiInfo.java (2 lines): - line 437: * TODO: makes real freq boundaries - line 445: * TODO: makes real freq boundaries com/android/server/usb/descriptors/UsbACAudioStreamEndpoint.java (2 lines): - line 26: //TODO data fields... - line 35: //TODO Read fields android/provider/DocumentsProvider.java (2 lines): - line 800: // TODO: Update "ForManage" variant to support query args. - line 884: // TODO: move this to a direct AMS call android/arch/persistence/room/InvalidationTracker.java (2 lines): - line 226: // TODO sync versions ? - line 401: // TODO we should consider doing this sync instead of async. com/android/server/backup/utils/RestoreUtils.java (2 lines): - line 61: // TODO: Refactor to get rid of unneeded params. - line 99: // TODO: PackageManager.installPackage() is deprecated, refactor. com/android/internal/widget/SlidingTab.java (2 lines): - line 60: // TODO: Make these configurable - line 752: invalidate(); // TODO: be more conservative about what we're invalidating android/bluetooth/BluetoothServerSocket.java (2 lines): - line 128: // TODO: This is the same as mChannel = -1 - is this intentional? - line 198: /* TODO: From a design/architecture perspective this is wrong. android/ext/services/storage/CacheQuotaServiceImpl.java (2 lines): - line 119: // TODO: Revisit the cache size after running more storage tests. - line 120: // TODO: Figure out how to ensure ExtServices has the permissions to call com/android/internal/widget/DefaultItemAnimator.java (2 lines): - line 288: // TODO: make EndActions end listeners instead, since end actions aren't called when - line 441: // TODO if some other animations are chained to end, how do we cancel them as well? com/android/internal/policy/DecorView.java (2 lines): - line 480: // TODO: Investigate how to handle the outside touch in window manager - line 752: // TODO: Support height? com/android/internal/widget/GapWorker.java (2 lines): - line 367: // TODO: consider rebasing deadline if frame was already dropped due to long UI work. - line 373: // TODO: consider rescheduling self, if there's more work to do android/hardware/fingerprint/FingerprintManager.java (2 lines): - line 776: long deviceId = 0; /* TODO: plumb hardware id to FPMS */ - line 1125: // TODO: propagate remaining com/android/internal/telephony/IccProvider.java (2 lines): - line 226: // TODO: we need to find out the rowId for the newly added record - line 435: // TODO: do we need to call getAdnRecordsInEf() before calling com/android/server/wm/InputMonitor.java (2 lines): - line 612: // TODO: multi-display - line 662: // TODO: Fix w.canReceiveTouchInput() to handle this case com/android/server/hdmi/HdmiControlService.java (2 lines): - line 1007: // TODO: find better name instead of model name. - line 2057: // TODO: Initialize MHL local devices. android/text/Emoji.java (2 lines): - line 59: // TODO: Remove once emoji-data.text 5.0 is in ICU or update to 6.0. - line 74: // TODO: Remove once emoji-data.text 5.0 is in ICU or update to 6.0. com/android/server/backup/internal/BackupHandler.java (2 lines): - line 194: // TODO: refactor full backup to be a looper-based state machine - line 243: // TODO: refactor full restore to be a looper-based state machine android/support/rastermill/FrameSequence.java (2 lines): - line 89: byte[] tempStorage = new byte[16 * 1024]; // TODO: use buffer pool - line 140: // TODO: consider adding alternate API for drawing into a SurfaceTexture android/database/sqlite/SQLiteDatabase.java (2 lines): - line 417: // FIXME: There should be a better way to do this. - line 2030: // TODO: True, but connection pooling does still make sense... android/app/assist/AssistStructure.java (2 lines): - line 610: // TODO: once we have more flags, it might be better to store the individual - line 649: // TODO: autofill data is made of many fields and ideally we should verify android/net/NetworkAgent.java (2 lines): - line 315: // TODO: Change signal strength thresholds API to use an ArrayList - line 447: * TODO - add indications of captive portal-ness and related success/failure, java/time/chrono/ChronoZonedDateTimeImpl.java (2 lines): - line 305: return ChronoZonedDateTimeImpl.ensureValid(getChronology(), unit.addTo(this, amountToAdd)); /// TODO: Generics replacement Risk! - line 361: // TODO: ZDT uses ofLenient() com/android/uiautomator/core/UiScrollable.java (2 lines): - line 441: // TODO: Assuming device is not in right to left language - line 522: // TODO: Assuming device is not in right to left language com/android/server/am/ActivityManagerShellCommand.java (2 lines): - line 1992: // TODO: Need proper support if this is used by test... - line 2554: // TODO: revisit the permissions required for attaching agents com/android/internal/app/ToolbarActionBar.java (2 lines): - line 399: // TODO: Consider a better transition for this. - line 406: // TODO: Consider a better transition for this. android/animation/AnimationThread.java (2 lines): - line 86: /* FIXME: The ANIMATION_FRAME message no longer exists. Instead, the - line 129: // FIXME log/do something/sleep again? com/android/systemui/statusbar/ExpandableNotificationRow.java (2 lines): - line 1143: // TODO: handle children fade out better - line 1982: // TODO: remove this once we found the gfx bug for this. android/view/inputmethod/InputMethodSubtype.java (2 lines): - line 71: // TODO: remove this - line 372: *

TODO: Consider to make this a public API, or move this to support lib.

com/android/ex/camera2/portability/CameraAgent.java (2 lines): - line 41: * TODO: provide callback interfaces for: - line 491: // unlock the sizes when stopPreview() is invoked (see related FIXME on com/android/vcard/VCardParserImpl_V30.java (2 lines): - line 136: // TODO: vCard 3.0 supports group. - line 285: // TODO: fix this. com/android/internal/telephony/util/VoicemailNotificationSettingsUtil.java (2 lines): - line 94: * TODO: Add helper which migrates settings from old version to new version. - line 133: * TODO: Add helper which migrates settings from old version to new version. android/app/ActivityManager.java (2 lines): - line 814: // TODO: INVALID_STACK_ID is also animated because we don't persist stack id's across - line 3639: // TODO: implement the cut point in the system process to avoid IPCs. com/android/settingslib/bluetooth/LocalBluetoothProfileManager.java (2 lines): - line 343: // not synchronized: use only from UI thread! (TODO: verify) - line 350: // not synchronized: use only from UI thread! (TODO: verify) java/time/format/DateTimeFormatterBuilder.java (2 lines): - line 3483: String gmtText = "GMT"; // TODO: get localized version of 'GMT' - line 3531: String gmtText = "GMT"; // TODO: get localized version of 'GMT' com/android/internal/app/LocaleHelper.java (2 lines): - line 88: // TODO: tbd if it needs to be smarter (real normalization, remove accents, etc.) - line 90: // TODO: decide what should the locale be, the default locale, or the locale of the string. com/android/server/pm/PackageDexOptimizer.java (2 lines): - line 71: // TODO b/19550105 Remove error codes and use exceptions - line 249: // TODO: Consider adding 2 different APIs for primary and secondary dexopt. android/widget/DatePickerCalendarDelegate.java (2 lines): - line 319: // TODO: This should use live regions. - line 552: // TODO: Move instance state into DayPickerView, YearPickerView. android/app/SearchManager.java (2 lines): - line 889: .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() - line 890: .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel() android/app/LocalActivityManager.java (2 lines): - line 94: // TODO: put back in stopping of activities. - line 489: // FIXME: child activities will freeze as part of onPaused. Do we com/android/server/notification/RankingHelper.java (2 lines): - line 178: //TODO: http://b/22388012 - line 366: //TODO: http://b/22388012 android/hardware/camera2/legacy/CameraDeviceUserShim.java (2 lines): - line 370: // TODO: Make this async instead of blocking - line 643: // TODO: implement getCameraInfo. org/apache/harmony/xml/parsers/DocumentBuilderFactoryImpl.java (2 lines): - line 66: * TODO If Android is going to support a different DocumentBuilder - line 78: // TODO What about expandEntityReferences? android/hardware/camera2/legacy/LegacyCameraDevice.java (2 lines): - line 477: // TODO: further validation of request here - line 673: // TODO: remove this override since the default format should be org/apache/harmony/xml/ExpatParser.java (2 lines): - line 87: * TODO: Let Expat try to guess the encoding instead of defaulting. - line 371: // TODO: We could just try our systemId here. android/text/Layout.java (2 lines): - line 1260: // FIXME: It may be faster to do a linear search for layouts without many lines. - line 1322: // TODO: use Paint.getOffsetForAdvance to avoid binary search android/net/TrafficStats.java (2 lines): - line 387: // TODO: move to NetworkStatsService once it exists - line 771: // TODO: take snapshot locally, since proc file is now visible com/android/mtp/MtpDatabase.java (2 lines): - line 82: * TODO: Improve performance by SQL optimization. - line 530: // TODO Remove mappingState. com/android/server/wifi/SupplicantStateTracker.java (2 lines): - line 54: * TODO: enhance auth failure reporting to include notification - line 401: //TODO: remove after getting rid of the state in supplicant com/android/server/am/ActiveServices.java (2 lines): - line 303: // TODO: Deal with global services - line 1686: // TODO: come back and remove this assumption to triage all services android/webkit/WebViewProvider.java (2 lines): - line 324: // TODO: See if the pattern of the super-class calls can be rationalized at all, and document - line 431: // TODO: Combine into ViewDelegate? android/net/wifi/ScanResult.java (2 lines): - line 362: * TODO: makes real freq boundaries - line 377: * TODO: makes real freq boundaries com/android/systemui/qs/tiles/UserTile.java (2 lines): - line 90: // TODO: Better content description. - line 99: // TODO: Default state. android/net/wifi/RttManager.java (2 lines): - line 1082: // TODO: consider adding onResponderAborted once it's supported. - line 1138: // TODO: make all fields final once we can get mac address from responder HAL APIs. android/opengl/EGL14.java (2 lines): - line 335: // TODO Deprecate the below method - line 344: // TODO Unhide the below method android/content/ContentValues.java (2 lines): - line 211: * TODO: consider exposing this new method publicly - line 481: // TODO - what ClassLoader should be passed to readHashMap? com/android/server/wm/StackWindowController.java (2 lines): - line 144: // TODO: Fix the call-points that cause this to happen. - line 165: // TODO: Fix the call-points that cause this to happen. android/support/v4/widget/ExploreByTouchHelper.java (2 lines): - line 968: // TODO: Check virtual view visibility. - line 978: // TODO: Only invalidate virtual view bounds. com/android/server/NativeDaemonEvent.java (2 lines): - line 30: // TODO: keep class ranges in sync with ResponseCode.h - line 31: // TODO: swap client and server error ranges to roughly mirror HTTP spec com/android/server/audio/RecordingActivityMonitor.java (2 lines): - line 197: // FIXME this doesn't support index-based masks - line 203: // FIXME this doesn't support index-based masks android/os/Environment.java (2 lines): - line 321: // TODO: keep consistent with installd - line 338: // TODO: keep consistent with installd com/android/internal/view/menu/ActionMenuItemView.java (2 lines): - line 164: // TODO Support checkable action items - line 168: // TODO Support checkable action items com/android/datetimepicker/date/DatePickerDialog.java (2 lines): - line 237: // TODO: Replace with animation decided upon by the design team. - line 241: // TODO: Replace with animation decided upon by the design team. com/android/server/location/ComprehensiveCountryDetector.java (2 lines): - line 334: // TODO : Shall we give up starting the detector within a - line 343: // TODO: Listen to the preference change of GPS, Wifi etc, com/android/server/connectivity/tethering/IControlsTethering.java (2 lines): - line 49: * TODO: Remove the need for the |who| argument. - line 60: * TODO: Remove the need for the |who| argument. com/android/internal/telephony/Connection.java (2 lines): - line 245: * TODO: distinguish reasons for unavailability - line 494: * TODO: Throw exception? Does GSM require error display on failure here? android/renderscript/Allocation.java (2 lines): - line 409: // TODO: A3D doesn't have Type info during creation, so we can't - line 2671: // TODO: What if there is an exception after this? The native allocation would leak. android/media/PlayerBase.java (2 lines): - line 304: * FIXME can this method be private so subclasses don't have to worry about when to check - line 559: // FIXME change to the binder player interface once supported as a member com/android/layoutlib/bridge/impl/RenderAction.java (2 lines): - line 249: // FIXME: find those out, and possibly add them to the render params - line 412: // TODO: fill in more config info. com/android/server/fingerprint/ClientMonitor.java (2 lines): - line 38: protected static final String TAG = FingerprintService.TAG; // TODO: get specific name - line 164: // TODO: remove when duplicate call bug is found com/android/layoutlib/bridge/bars/StatusBar.java (2 lines): - line 66: // FIXME: if direction is RTL but it's not enabled in application manifest, mirror this bar. - line 71: // FIXME: use FILL_H? android/media/MediaScanner.java (2 lines): - line 881: // FIXME - add DESCRIPTION - line 1702: //FIXME - should we look for "../" within the path? com/android/server/autofill/Session.java (2 lines): - line 1664: // TODO: this should never be null, but we got at least one occurrence, probably due to a race. - line 1740: // TODO: add method on AssistStructure to dump on pw android/hardware/camera2/DngCreator.java (2 lines): - line 551: // TODO: Optimize this with renderscript intrinsic. - line 610: // TODO: Optimize this. android/app/MediaRouteActionProvider.java (2 lines): - line 64: // TODO Update this when new route types are added; segment by API level - line 77: // FIXME: We currently have no way of knowing whether the action provider com/android/server/wifi/WifiNative.java (2 lines): - line 267: * TODO: Add unit tests for these once we remove the legacy code. - line 869: // TODO: Change variable names to camel style. android/support/v7/widget/DefaultItemAnimator.java (2 lines): - line 287: // TODO: make EndActions end listeners instead, since end actions aren't called when - line 440: // TODO if some other animations are chained to end, how do we cancel them as well? android/support/media/ExifInterface.java (2 lines): - line 5063: // TODO: Check this behavior in other ORF files - line 5686: // TODO: Add support for lossless Huffman JPEG data android/text/format/DateUtils.java (2 lines): - line 442: // TODO: if we cared, we could have a thread-local temporary StringBuilder. - line 451: // TODO: use icu4c when http://unicode.org/cldr/trac/ticket/3407 is fixed. android/text/style/SuggestionSpan.java (2 lines): - line 81: * TODO: Needs to check the validity and add a feature that TextView will change - line 147: // TODO: Consider to context.getResources().getResolvedLocale() instead. android/net/Uri.java (2 lines): - line 1041: // TODO: If we haven't parsed all of the segments already, just - line 2202: // TODO: Should we reuse old PathSegments? Probably not. com/android/internal/app/SuggestedLocaleAdapter.java (2 lines): - line 252: // TODO: decide if we should use the string's locale - line 278: // TODO: decide if this is enough, or we want to use a BreakIterator... android/service/dreams/DreamService.java (2 lines): - line 211: // TODO: create more flexible version of mInteractive that allows use of KEYCODE_BACK - line 238: // TODO: create more flexible version of mInteractive that allows clicks com/android/systemui/statusbar/StackScrollerDecorView.java (2 lines): - line 117: // TODO: Use duration - line 123: // TODO: use delay and duration android/security/net/config/CertificatesEntryRef.java (1 line): - line 38: // TODO: cache this [but handle mutable sources] android/multiuser/BenchmarkRunner.java (1 line): - line 73: // TODO: Once http://b/63115387 is fixed, look into using "am wait-for-broadcast-idle" com/android/internal/app/WindowDecorActionBar.java (1 line): - line 512: // TODO animate this android/support/v7/widget/StaggeredGridLayoutManager.java (1 line): - line 1520: // TODO optimize android/filterfw/core/FilterGraph.java (1 line): - line 328: throw new RuntimeException("TODO: Unsynced branches not implemented yet!"); java/time/format/DateTimeFormatter.java (1 line): - line 2079: // TODO: Fix tests to not depend on toString() android/arch/paging/ContiguousPagedList.java (1 line): - line 295: // TODO: return true if had nulls, and now getLoadedCount() == size(). Is that safe? com/android/server/backup/fullbackup/PerformAdbBackupTask.java (1 line): - line 258: // TODO: http://b/22388012 android/support/transition/TransitionSet.java (1 line): - line 444: // TODO: Need to add listeners in such a way that we can remove them later if canceled java/lang/invoke/Transformers.java (1 line): - line 1013: // TODO: We should do the comparison by hand if this new type creation com/android/server/car/CarServiceHelperService.java (1 line): - line 85: //TODO define recovery bahavior com/android/systemui/volume/ZenModePanel.java (1 line): - line 236: // TODO: Better transitions com/android/vcard/VCardPhoneNumberTranslationCallback.java (1 line): - line 24: * TODO: this should be more generic com/android/systemui/qs/PageIndicator.java (1 line): - line 156: // TODO: Figure out how to user an AVD animation callback instead, which doesn't com/android/printspooler/ui/PageAdapter.java (1 line): - line 277: // TODO: Do a surgical invalidation of only written pages changed. android/net/wifi/WifiManager.java (1 line): - line 2221: /* TODO: deprecate synchronous API and open up the following API */ org/xmlpull/v1/XmlPullParserFactory.java (1 line): - line 29: // TODO: This can't be made final because it's a public API. android/databinding/tool/MakeCopy.java (1 line): - line 184: // TODO Looks like make does not support excluding from libs ? com/android/internal/telephony/sip/SipCallBase.java (1 line): - line 28: // FIXME should return Collections.unmodifiableList(); com/android/server/ethernet/EthernetServiceImpl.java (1 line): - line 122: // TODO: this does not check proxy settings, gateways, etc. android/support/v7/app/MediaRouteActionProvider.java (1 line): - line 173: // FIXME: We currently have no way of knowing whether the action provider com/android/hotspot2/osu/OSUManager.java (1 line): - line 251: // TODO: Missing framework functionality: com/android/server/power/PowerManagerService.java (1 line): - line 2565: // FIXME We should consider just leaving auto-suspend enabled forever since com/android/ex/chips/PhoneUtil.java (1 line): - line 42: // TODO: replace this function with libphonenumber's isPossibleNumber (see com/android/providers/settings/SettingsProvider.java (1 line): - line 794: // TODO: The current design of settings looking different based on user restrictions android/preference/GenericInflater.java (1 line): - line 35: // TODO: fix generics com/android/internal/telephony/IccCardConstants.java (1 line): - line 39: //TODO: we can remove this state in the future if Bug 18489776 analysis android/telecom/ConnectionServiceAdapterServant.java (1 line): - line 37: * TODO: Generate this and similar classes using a compiler starting from AIDL interfaces. android/os/UpdateEngineCallback.java (1 line): - line 38: * and {@code percent} will be valid [TODO: in which cases?]. com/android/internal/telephony/imsphone/ImsRttTextHandler.java (1 line): - line 34: // TODO: put this in carrier config? com/android/systemui/recents/model/ThumbnailData.java (1 line): - line 28: // TODO: Make these final once the non-snapshot path is removed. com/android/server/accessibility/KeyEventDispatcher.java (1 line): - line 124: // TODO: The locking policy for keyEventFilters needs some thought. android/telecom/Logging/SessionManager.java (1 line): - line 37: * TODO: Create better Sessions Documentation javax/obex/ServerSession.java (1 line): - line 284: op.flush(); // TODO: Do we need to flush? android/telecom/InCallService.java (1 line): - line 176: // TODO: Unused android/net/util/PrefixUtils.java (1 line): - line 63: // TODO: Add directly-connected routes as well (ones from which we did android/net/wifi/WifiSsid.java (1 line): - line 178: // TODO: Handle conversion to other charsets upon failure com/android/server/wm/WindowContainerController.java (1 line): - line 59: // TODO: See if most uses cases should support removeIfPossible here. android/graphics/drawable/AnimatedRotateDrawable.java (1 line): - line 275: // TODO: This should be computed in draw(Canvas), based on the amount com/android/systemui/statusbar/phone/KeyguardIndicationTextView.java (1 line): - line 54: // TODO: Animation, make sure that we will show one indication long enough. com/android/server/audio/AudioServiceEvents.java (1 line): - line 134: default: return new StringBuilder("FIXME invalid op:").append(mOp).toString(); com/android/systemui/statusbar/policy/EthernetSignalController.java (1 line): - line 54: // TODO: wire up data transfer using WifiSignalPoller. com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java (1 line): - line 549: // TODO: Optimize by not always needing to get application info. android/drm/DrmInfoEvent.java (1 line): - line 59: // FIXME: android/bluetooth/SdpMasRecord.java (1 line): - line 63: // TODO Auto-generated method stub com/android/systemui/statusbar/phone/StatusBarWindowManager.java (1 line): - line 479: * TODO: Find cleaner way to do this. com/android/egg/neko/NekoLand.java (1 line): - line 149: // TODO: Move to XML, add correct margins. com/android/settingslib/accounts/AuthenticatorHelper.java (1 line): - line 222: // TODO: watch for package upgrades to invalidate cache; see http://b/7206643 com/android/internal/app/IntentForwarderActivity.java (1 line): - line 187: * TODO: Remove the assumption that there is only one managed profile android/text/AutoText.java (1 line): - line 60: // TODO: com/android/internal/net/NetworkStatsFactory.java (1 line): - line 65: // TODO: to improve testability and avoid global state, do not use a static variable. android/app/IntentService.java (1 line): - line 113: // TODO: It would be nice to have an option to hold a partial wakelock com/android/server/vr/Vr2dDisplay.java (1 line): - line 145: // TODO: Consider not creating the display until ActivityManager needs one on com/android/server/wifi/SoftApManager.java (1 line): - line 353: // TODO: handle the case where the interface was up, but goes down android/net/netlink/NetlinkSocket.java (1 line): - line 68: // TODO: consider ignoring EINVAL (-22), which appears to be junit/runner/TestSuiteLoader.java (1 line): - line 7: // TODO: deprecate android/content/pm/LauncherApps.java (1 line): - line 286: * TODO: Add another flag for MATCH_ALL_PINNED com/android/internal/telephony/MccTable.java (1 line): - line 263: * TODO: This should really follow the CLDR chain of parent locales! That might be a bit com/android/ex/photo/PhotoViewController.java (1 line): - line 196: // TODO Find a better way to do this. We basically want the activity to display the com/android/server/pm/ProtectedPackages.java (1 line): - line 31: * TODO: This class should persist the information by itself, and also keeps track of device admin android/bluetooth/BluetoothHeadsetClient.java (1 line): - line 249: // TODO verify if all of those are actually useful android/graphics/BidiRenderer.java (1 line): - line 284: // TODO: Replace this method with one which returns the font based on the scriptCode. com/android/uiautomator/testrunner/UiAutomatorTestCase.java (1 line): - line 145: // TODO: figure out a way to restore active IME org/apache/harmony/xml/dom/NodeImpl.java (1 line): - line 351: // TODO: get this value from the parser, falling back to the android/bluetooth/client/map/BluetoothMnsObexServer.java (1 line): - line 134: // TODO: call session handler so it can disconnect android/filterfw/core/VertexFrame.java (1 line): - line 115: // TODO: Optimize android/telephony/mbms/DownloadRequest.java (1 line): - line 306: // TODO: figure out what qualifies a request as a multipart download request. com/android/vcard/VCardConfig.java (1 line): - line 466: // TODO: Some mask will be required so that this method wrongly interpret com/android/server/accessibility/AccessibilityInputFilter.java (1 line): - line 358: // TODO Implement this to inject the accessibility event android/filterfw/core/Scheduler.java (1 line): - line 44: // TODO: Check that the state of all nodes is FINISHED. com/android/internal/telephony/PhoneStateIntentReceiver.java (1 line): - line 100: // TODO: use new SignalStrength instead of asu android/support/v17/leanback/graphics/ColorFilterDimmer.java (1 line): - line 97: // FIXME: Current framework has bug that not triggering invalidate when change layer android/transition/TransitionSet.java (1 line): - line 415: // TODO: Need to add listeners in such a way that we can remove them later if canceled com/android/systemui/pip/tv/PipControlsView.java (1 line): - line 229: // TODO: Check if the action drawable has changed before we reload it android/webkit/JsDialogHelper.java (1 line): - line 181: // FIXME: Should we display dialogs if mContext does android/os/Handler.java (1 line): - line 478: * (TODO: We should fix this by making MessageQueue aware of blocking runnables.) com/android/systemui/recents/RecentsImpl.java (1 line): - line 336: // TODO: We can not handle quick tabs that happen between the initial showRecents() call com/android/mtp/RootScanner.java (1 line): - line 187: // TODO: Use short interval only for a device that is just added. android/app/usage/NetworkStats.java (1 line): - line 497: // TODO: getRelevantUids should be sensitive to time interval. When that's done, android/widget/TabWidget.java (1 line): - line 521: // TODO: detect this via geometry with a tabwidget listener rather android/content/res/Resources_Delegate.java (1 line): - line 78: // TODO: This cache is cleared every time a render session is disposed. Look into making this android/hardware/camera2/CaptureRequest.java (1 line): - line 187: * TODO: Make this private or remove it altogether. android/text/MeasuredText.java (1 line): - line 172: // FIXME: may want to eliminate special case for subclass com/android/server/backup/FileMetadata.java (1 line): - line 44: // TODO: Clean this up. com/android/common/LegacyHttpDateTime.java (1 line): - line 111: // FIXME: Y2038 BUG! android/media/ResampleInputStream.java (1 line): - line 102: // TODO: should mBuf.length below be nIn instead? android/widget/TimePickerClockDelegate.java (1 line): - line 838: // TODO: Find a better solution, potentially live regions? android/view/WindowManagerPolicy.java (1 line): - line 646: * TODO: Consider removal as this is unused. */ android/support/v17/leanback/media/PlaybackControlGlue.java (1 line): - line 422: // TODO: calculate a better update period based on total duration and screen size com/android/systemui/recents/views/TaskStackViewScroller.java (1 line): - line 244: // TODO: Take duration for snap back com/android/ex/chips/BaseRecipientAdapter.java (1 line): - line 965: // TODO: This won't be used at all. We should find better way to quit the thread.. com/android/common/widget/CompositeCursorAdapter.java (1 line): - line 117: // TODO: Is this really what this is supposed to do? Just remove the cursors? Not close them? android/os/Process.java (1 line): - line 351: * FIXME rename to THREAD_GROUP_BACKGROUND. android/media/AudioGain.java (1 line): - line 156: //TODO: check params here com/android/systemui/recents/model/RecentsTaskLoader.java (1 line): - line 497: // TODO: Investigate improving this com/android/settingslib/inputmethod/InputMethodAndSubtypeUtil.java (1 line): - line 46: // TODO: Consolidate this with {@link InputMethodSettingValuesWrapper}. com/android/internal/database/SortCursor.java (1 line): - line 113: * TODO: investigate strategies for optimizing random access and android/graphics/FontFamily.java (1 line): - line 172: // TODO: Remove once internal user stop using private API. android/view/textclassifier/TextClassifierImpl.java (1 line): - line 571: // TODO: Style this span. org/apache/harmony/xml/dom/DocumentImpl.java (1 line): - line 181: // TODO: implement this when we support these node types android/view/SurfaceView.java (1 line): - line 801: // TODO: This is teensy bit racey in that a brand new SurfaceView moving on com/android/ex/chips/ChipsUtil.java (1 line): - line 64: // TODO: Use "context.checkSelfPermission(permission)" once it's safe to move to M sdk com/android/internal/app/MediaRouteControllerDialog.java (1 line): - line 51: * TODO: Move this back into the API, as in the support library media router. com/android/internal/util/StateMachine.java (1 line): - line 598: // TODO: once b/28217358 is fixed, add unit tests to verify that these variables are android/hardware/camera2/marshal/MarshalRegistry.java (1 line): - line 60: // TODO: can avoid making a new token each time by code-genning android/view/textservice/SpellCheckerSubtype.java (1 line): - line 223: *

TODO: Consider to make this a public API, or move this to support lib.

android/arch/persistence/room/util/StringUtil.java (1 line): - line 38: // TODO pool: com/android/server/wifi/scanner/ChannelHelper.java (1 line): - line 32: // TODO: Currently this is simply an estimate and is used for both active and passive channels android/graphics/drawable/VectorDrawable.java (1 line): - line 1546: // TODO: Move the PathEvaluator and this setter and the getter above into native. android/net/metrics/DnsEvent.java (1 line): - line 59: // TODO: implement better rate limiting that does not biases metrics. java/time/ZonedDateTime.java (1 line): - line 448: Instant instant = Instant.ofEpochSecond(epochSecond, nanoOfSecond); // TODO: rules should be queryable by epochSeconds android/media/tv/TvContentRating.java (1 line): - line 775: // TODO: Consider to use other DELIMITER. In some countries such as India may use this delimiter android/telephony/NeighboringCellInfo.java (1 line): - line 130: // TODO - handle LTE and eHRPD (or find they can't be supported) android/support/v17/leanback/app/BrandedFragment.java (1 line): - line 171: // TODO: handle interruptions? com/android/internal/telephony/PhoneSubInfoController.java (1 line): - line 262: // TODO: change getCompleteVoiceMailNumber() to require READ_PRIVILEGED_PHONE_STATE android/metrics/LogMaker.java (1 line): - line 103: * @hide // TODO Expose in the future? Too late for O. android/databinding/tool/CompilerChef.java (1 line): - line 172: // TODO: Replace this with targetSDK check from plugin android/support/v13/view/inputmethod/InputConnectionCompat.java (1 line): - line 75: // TODO: Support COMMIT_CONTENT_RESULT_RECEIVER. android/support/v4/graphics/TypefaceCompatApi24Impl.java (1 line): - line 161: // TODO: support ttc index. android/databinding/tool/solver/ExecutionPath.java (1 line): - line 65: // TODO special predicates like Symbol(true, false) com/android/server/backup/utils/FullBackupRestoreObserverUtils.java (1 line): - line 60: // TODO: use a more user-friendly name string android/hardware/Sensor.java (1 line): - line 869: // FIXME: sensor HAL should advertise how much data is returned per sensor android/telephony/SmsMessage.java (1 line): - line 273: * FIXME: This method is only used by a CTS test case that isn't run on CDMA devices. android/app/ApplicationPackageManager.java (1 line): - line 2050: // TODO: support moving primary physical to emulated volume com/android/internal/app/UnlaunchableAppActivity.java (1 line): - line 64: // TODO: Use AlertActivity so we don't need to hide title bar and create a dialog com/android/server/locksettings/LockSettingsStrongAuth.java (1 line): - line 202: byte[] token = null; /* TODO: pass real auth token once fp HAL supports it */ android/support/media/tv/Program.java (1 line): - line 176: // TODO: Add additional API which does not use costly getColumnIndex(). java/util/concurrent/LinkedBlockingDeque.java (1 line): - line 838: * TODO: Add support for more efficient bulk operations. com/android/server/wifi/WifiInjector.java (1 line): - line 447: * TODO: share worker thread with other Wi-Fi handlers (b/27924886) android/support/v17/leanback/app/BackgroundManager.java (1 line): - line 79: // TODO: support for multiple app processes requires a proper android service android/filterfw/core/ShaderProgram.java (1 line): - line 96: // TODO: We do the same in the NativeProgram... can we find a better way?! android/support/media/tv/BaseProgram.java (1 line): - line 316: // TODO: Add additional API which does not use costly getColumnIndex(). com/android/server/wifi/aware/WifiAwareRttStateManager.java (1 line): - line 166: * TODO: store peer ID rather than null in the return result. com/android/internal/telephony/VisualVoicemailSmsParser.java (1 line): - line 89: // TODO: ensure fail if format does not match android/widget/RatingBar.java (1 line): - line 252: // TODO: Once ProgressBar's TODOs are fixed, this won't be needed com/android/internal/util/MemInfoReader.java (1 line): - line 27: // disk" and should be fast. TODO: make BlockGuard ignore com/android/server/notification/NotificationUsageStats.java (1 line): - line 732: // TODO define these somewhere else android/databinding/tool/ExpressionVisitor.java (1 line): - line 166: // TODO handle defaults android/support/v7/widget/AppCompatSpinner.java (1 line): - line 812: // TODO: This might be appropriate to push all the way down to PopupWindow, android/media/Ringtone.java (1 line): - line 292: // TODO: detect READ_EXTERNAL and specific content provider case, instead of relying on throwing com/android/settingslib/bluetooth/HidProfile.java (1 line): - line 152: // TODO: distinguish between keyboard and mouse? java/time/format/DateTimeTextProvider.java (1 line): - line 505: // TODO: BUG: this has no effect org/apache/harmony/xml/dom/AttrImpl.java (1 line): - line 115: // TODO: populate this when we support XML Schema javax/xml/datatype/Duration.java (1 line): - line 971: *

TODO: In future, this should be replaced by cal.getTimeInMillis().

com/android/server/display/WifiDisplayAdapter.java (1 line): - line 379: float refreshRate = 60.0f; // TODO: get this for real android/filterfw/core/FilterFactory.java (1 line): - line 79: /* TODO: This should use a getPackage call in the caller's context, but no such method exists. android/net/wifi/WifiConfiguration.java (1 line): - line 853: * - TODO: add a test to verify that all BSSIDs are behind same gateway android/media/session/MediaSessionLegacyHelper.java (1 line): - line 258: // TODO determine if handling transport performer commands should also com/android/internal/app/AlertController.java (1 line): - line 268: // TODO: use layout hint side for long messages/lists com/android/server/telecom/TelecomLoaderService.java (1 line): - line 179: // TODO: Is unbinding worth doing or wait for system to rebind? java/util/Calendar.java (1 line): - line 1601: // TODO: This is for backwards compatibility only. Seems like a better idea to throw android/support/v8/renderscript/Script.java (1 line): - line 336: // TODO: Is this necessary if nScriptForEach calls validate as well? com/android/server/MmsServiceBroker.java (1 line): - line 264: // TODO: consider using Java concurrent construct instead of raw object wait com/android/internal/app/ChooserActivity.java (1 line): - line 772: // TODO do this in the background android/graphics/ComposeShader_Delegate.java (1 line): - line 68: // FIXME not supported yet. com/android/layoutlib/bridge/impl/LayoutParserWrapper.java (1 line): - line 198: // TODO: Improve the detection of default keyword. android/support/v8/renderscript/ScriptGroup.java (1 line): - line 45: //FIXME: Change 23 to the codename when that is decided. android/security/net/config/NetworkSecurityConfigProvider.java (1 line): - line 29: // TODO: More clever name than this android/provider/Contacts.java (1 line): - line 1330: * TODO find a place to put the canonical version of these. android/net/NetworkIdentity.java (1 line): - line 163: // TODO: parse this as MCC+MNC instead of hard-coding com/android/server/BootReceiver.java (1 line): - line 389: // TODO b/64815357 Move to bootstat.cpp and log AbsoluteRebootTime android/database/AbstractCursor.java (1 line): - line 113: // TODO implement getBlob in all cursor types android/view/RectShadowPainter.java (1 line): - line 56: // TODO replacing the algorithm here to create better shadow android/net/SntpClient.java (1 line): - line 133: // TODO: validate originateTime == requestTime. com/android/bitmap/drawable/ExtendedBitmapDrawable.java (1 line): - line 234: // TODO: AttachmentDrawable should override this method to match prev and curr request keys. android/filterpacks/videosink/MediaEncoderFilter.java (1 line): - line 208: // TODO: Not sure if it is possible to update the maxFileSize android/hardware/display/DisplayManagerGlobal.java (1 line): - line 53: // FIXME: The cache is currently disabled because it's unclear whether we have the com/android/gallery3d/exif/ExifParser.java (1 line): - line 547: // TODO: handle numOfComp overflow com/android/server/DiskStatsService.java (1 line): - line 145: // TODO: Read /proc/yaffs and report interesting values; com/android/systemui/recents/Constants.java (1 line): - line 24: // TODO: Move into RecentsMetrics com/android/systemui/statusbar/car/UserGridView.java (1 line): - line 100: // TODO: Show keyguard UI in-place. com/android/internal/app/MediaRouteChooserDialogFragment.java (1 line): - line 32: * TODO: Move this back into the API, as in the support library media router. com/android/server/pm/LauncherAppsService.java (1 line): - line 727: // TODO Simplify with lambdas. com/android/server/usb/descriptors/UsbInterfaceAssoc.java (1 line): - line 76: // TODO - Report fields android/webkit/PluginData.java (1 line): - line 48: * TODO: This design was always a hack. Remove (involves updating com/android/settingslib/widget/AnimatedImageView.java (1 line): - line 45: // TODO: define in drawable xml once we have public attrs. android/arch/paging/ContiguousDiffHelper.java (1 line): - line 125: * TODO: improve diffing logic org/w3c/domts/DOM4JTestDocumentBuilderFactory.java (1 line): - line 92: // TODO: Process settings com/android/companiondevicemanager/DeviceChooserActivity.java (1 line): - line 125: //TODO put in resources xmls tck/java/time/chrono/TCKHijrahChronology.java (1 line): - line 180: /* TODO: Test for checking HijrahDate.of(Era, y, m, d) method if it is added. com/android/systemui/qs/QSAnimator.java (1 line): - line 205: // TODO: Refactor some of this, it shares a lot with the above block. com/android/internal/util/FileRotator.java (1 line): - line 62: // TODO: provide method to append to active file android/net/http/SslCertificate.java (1 line): - line 77: * TODO If deprecated constructors are removed, this should always android/widget/SimpleMonthView.java (1 line): - line 1104: // TODO: This should use activated once that's supported. android/graphics/drawable/AnimatedVectorDrawable_Delegate.java (1 line): - line 62: // TODO: implement android/support/v4/app/FragmentManager.java (1 line): - line 1199: // TODO: remove or fix transitionStyle -- it apparently never worked. com/android/ex/camera2/portability/CameraAgentFactory.java (1 line): - line 69: // TODO: Check SDK_INT instead of RELEASE before L launch android/system/StructAddrinfo.java (1 line): - line 26: * TODO: we currently only _take_ a StructAddrinfo; getaddrinfo returns an InetAddress[]. android/hardware/camera2/dispatch/HandlerDispatcher.java (1 line): - line 82: // TODO handle primitive return values that would avoid NPE if unboxed com/android/setupwizardlib/view/NavigationBarButton.java (1 line): - line 114: // TODO: Remove this class and use DrawableCompat.wrap() once we can use support library 22.1.0 android/databinding/tool/reflection/java/JavaAnalyzer.java (1 line): - line 80: // TODO handle imports com/android/systemui/pip/phone/PipMenuActivity.java (1 line): - line 487: // TODO: Check if the action drawable has changed before we reload it android/bluetooth/SdpPseRecord.java (1 line): - line 54: // TODO Auto-generated method stub com/android/server/wifi/scanner/KnownBandsChannelHelper.java (1 line): - line 103: // TODO this should be rewritten to be based on the input data instead of hardcoded ranges android/view/inputmethod/SparseRectFArray.java (1 line): - line 79: // TODO: Improve the hash function. com/android/server/backup/fullbackup/FullBackupTask.java (1 line): - line 51: // TODO: use a more user-friendly name string android/system/Os.java (1 line): - line 46: * TODO Change the public API by removing the overload above and unhiding this version. com/android/systemui/media/NotificationPlayer.java (1 line): - line 127: // FIXME Having to start a new thread so we can receive completion callbacks android/os/BatteryStats.java (1 line): - line 732: * FIXME: it's not correct to use this magic value because it com/android/vcard/VCardProperty.java (1 line): - line 111: // TODO: would be much better to have translateRawValue() functionality instead of forcing com/android/server/job/controllers/JobStatus.java (1 line): - line 751: * TODO: This function is called a *lot*. We should probably just have it check an com/android/internal/telephony/InboundSmsHandler.java (1 line): - line 1169: // TODO: Validate that this is the right place to store the SMS. android/support/media/tv/BasePreviewProgram.java (1 line): - line 366: // TODO: Add additional API which does not use costly getColumnIndex(). android/provider/UserDictionary.java (1 line): - line 178: values.put(APP_ID, 0); // TODO: Get App UID com/android/systemui/statusbar/policy/NetworkControllerImpl.java (1 line): - line 191: // TODO: Find a way to move this into DataUsageController. com/android/internal/util/MimeIconUtils.java (1 line): - line 212: // TODO: generic icon? android/perftests/utils/BenchmarkState.java (1 line): - line 63: // TODO: Tune these values. com/android/server/policy/keyguard/KeyguardServiceDelegate.java (1 line): - line 147: // TODO: Fix synchronisation model in this class. The other state in this class android/os/DropBoxManager.java (1 line): - line 369: // TODO: It may be useful to have some sort of notification mechanism com/android/server/job/JobSchedulerService.java (1 line): - line 1418: * TODO: It would be nice to consolidate these sort of high-level policies somewhere. android/media/AudioSystem.java (1 line): - line 344: // TODO receive package name from native java/net/DatagramSocket.java (1 line): - line 481: // TODO: or just use SneakyThrow? There's a clear API bug here. android/util/ArraySet.java (1 line): - line 545: // TODO: If array is sufficiently large, a marking approach might be beneficial. In a first android/support/v17/leanback/widget/ResizingTextView.java (1 line): - line 77: // TODO We should define our own style that inherits from TextViewStyle, to set defaults android/media/audiopolicy/AudioMix.java (1 line): - line 339: // FIXME Can we eliminate this? Will AudioMix work with an unspecified sample rate? android/arch/lifecycle/ViewModelProvider.java (1 line): - line 124: // TODO: log a warning. com/android/internal/telephony/RILConstants.java (1 line): - line 20: * TODO: This should probably not be an interface see android/net/ip/ConnectivityPacketTracker.java (1 line): - line 113: // TODO: Evaluate switching to SOCK_DGRAM and changing the android/security/net/config/ApplicationConfig.java (1 line): - line 87: // TODO: Use a smarter data structure for the lookup. com/android/server/usb/descriptors/UsbMSMidiOutputJack.java (1 line): - line 34: // TODO - read data memebers android/filterpacks/videosrc/MediaSource.java (1 line): - line 132: // TODO: Currently the rotations are spread over a bunch of stages in the android/support/v8/renderscript/RenderScript.java (1 line): - line 910: validate(); // TODO: is this necessary? android/filterpacks/imageproc/AlphaBlendFilter.java (1 line): - line 49: throw new RuntimeException("TODO: Write native implementation for AlphaBlend!"); com/android/layoutlib/bridge/impl/RenderSessionImpl.java (1 line): - line 815: // TODO: see if we can fake tabs even without the FrameLayout (same below when the frameLayout is empty) java/time/temporal/IsoFields.java (1 line): - line 339: range().checkValidValue(newValue, this); // leniently check from 1 to 92 TODO: check com/android/systemui/qs/QSSecurityFooter.java (1 line): - line 127: // TODO: Delay dialog creation until after panels are collapsed. android/app/admin/DevicePolicyManager.java (1 line): - line 4075: // TODO introduce a policy for guest user creation com/android/carrierdefaultapp/CaptivePortalLoginActivity.java (1 line): - line 139: // TODO: This misses when mNetwork underlies a VPN. com/android/server/CountryDetectorService.java (1 line): - line 164: // TODO: Shall we remove the receiver? com/android/timezonepicker/TimeZoneResultAdapter.java (1 line): - line 178: // TODO Filter by state com/android/internal/telephony/imsphone/ImsPhoneConnection.java (1 line): - line 545: // TODO: remove the following code since the handler no longer executes anything. com/android/timezonepicker/TimeZoneInfo.java (1 line): - line 126: // TODO Note: The local time is shown in current time (current GMT com/android/server/voiceinteraction/VoiceInteractionSessionConnection.java (1 line): - line 127: // TODO: Figure out whether this is good enough or whether we need to hook into android/transition/ChangeBounds.java (1 line): - line 441: // TODO: also handle size changes: check bounds and animate size changes com/android/server/accounts/AccountsDb.java (1 line): - line 1299: // TODO b/31708085 Fix debug logging - it eagerly opens database for write without a need com/android/server/location/GeofenceManager.java (1 line): - line 321: // FIXME: Ideally this code should take into account the accuracy of the com/android/keyguard/KeyguardPatternView.java (1 line): - line 210: /** TODO: hook this up */ com/android/server/am/BroadcastQueue.java (1 line): - line 493: // TODO: Uncomment this when (b/28322359) is fixed and we aren't getting android/app/Instrumentation.java (1 line): - line 1233: // TODO: the following block causes intermittent hangs when using startActivity com/android/server/voiceinteraction/VoiceInteractionManagerService.java (1 line): - line 189: // TODO: VI Make sure the caller is the current user or profile android/support/v4/media/MediaBrowserServiceCompat.java (1 line): - line 308: // TODO: Handle getBrowserRootHints when connected with framework MediaBrowser. com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java (1 line): - line 1624: // TODO: Make this decision more intelligent. android/support/v7/util/SortedListTest.java (1 line): - line 222: // TODO this cannot work com/android/settingslib/wifi/WifiTracker.java (1 line): - line 85: // TODO: Allow control of this? android/support/v4/graphics/TypefaceCompatApi26Impl.java (1 line): - line 217: // TODO: Add ttc and variation font support. (b/37853920) android/filterfw/geometry/Rectangle.java (1 line): - line 92: // TODO: Implement this. android/hardware/hdmi/HdmiPlaybackClient.java (1 line): - line 82: // TODO: Use PendingResult. com/android/internal/content/SelectionBuilder.java (1 line): - line 68: // TODO: switch to storing direct Object instances once com/android/shell/Screenshooter.java (1 line): - line 31: * TODO: logic below was copied and pasted from UiAutomation; it should be refactored into a common android/widget/MediaController.java (1 line): - line 332: // TODO What we really should do is add a canSeek to the MediaPlayerControl interface; com/android/server/wifi/ScanDetailCache.java (1 line): - line 114: * TODO: Investigate if this method can be further optimized. android/bluetooth/BluetoothMap.java (1 line): - line 258: // TODO optimize the rule android/bluetooth/client/map/BluetoothMasRequest.java (1 line): - line 101: * headers. So this is workaround, at least temporary. TODO: check android/widget/DropDownListView.java (1 line): - line 100: // TODO: Add an API to control this com/android/internal/telephony/metrics/TelephonyMetrics.java (1 line): - line 1718: //TODO: Expand the proto in the future android/content/SyncActivityTooManyDeletes.java (1 line): - line 91: // TODO: consider displaying the icon of the account type tck/java/time/format/TCKDateTimeFormatter.java (1 line): - line 841: assertEquals(pos.getIndex(), 0); // TODO: is this right? android/media/VolumeShaper.java (1 line): - line 182: // TODO - get INVALID_OPERATION from platform. android/arch/lifecycle/SimpleAppFullLifecycleTest.java (1 line): - line 99: // TODO: bug 35122523 com/android/internal/alsa/AlsaDevicesParser.java (1 line): - line 197: // TODO - This (obviously) isn't sufficient. Revisit. com/android/server/am/PersistentConnection.java (1 line): - line 82: // TODO too many booleans... Should clean up. com/android/server/usb/descriptors/UsbASFormat.java (1 line): - line 95: //TODO - implement this type. android/support/v17/leanback/widget/Grid.java (1 line): - line 148: // TODO support non staggered multiple rows grid android/support/v17/leanback/widget/GuidedActionAdapter.java (1 line): - line 418: // TODO: requires API 19 com/android/internal/backup/LocalTransport.java (1 line): - line 131: // TODO: consider adding simple UI to wipe the archives entirely, android/hardware/camera2/CameraMetadata.java (1 line): - line 252: // TODO: don't just assume all public+synthetic keys are always available com/android/server/locksettings/LockSettingsStorage.java (1 line): - line 589: //TODO: (b/34600579) invoke secdiscardable android/media/MediaSync.java (1 line): - line 480: // TODO: create the timestamp in native com/android/server/autofill/ViewState.java (1 line): - line 151: // TODO: refactor / rename / document this method (and maybeCallOnFillReady) to make it clear com/android/systemui/statusbar/policy/HotspotControllerImpl.java (1 line): - line 147: // TODO: Show error. com/android/internal/os/MobileRadioPowerCalculator.java (1 line): - line 35: final long MOBILE_BPS = 200000; // TODO: Extract average bit rates from system android/net/sip/SipAudioCall.java (1 line): - line 433: // TODO: how to notify the UI that the remote party is changed android/support/v7/media/MediaRouter.java (1 line): - line 2560: // TODO: Remove the following logging when no longer needed. com/android/systemui/statusbar/phone/LockscreenGestureLogger.java (1 line): - line 31: * TODO: delete this once the old logs are no longer needed. com/android/internal/telephony/uicc/IccCardApplicationStatus.java (1 line): - line 30: // TODO: Replace with constants from PhoneConstants.APPTYPE_xxx android/appwidget/AppWidgetHostView.java (1 line): - line 731: // TODO: get this color from somewhere. android/net/wifi/aware/DiscoverySession.java (1 line): - line 240: * [TODO: b/28847998 - track RTT API & visilibity] android/os/Build.java (1 line): - line 881: /* TODO: Figure out issue with checks failing android/net/util/ConnectivityPacketSummary.java (1 line): - line 69: // TODO: support other link-layers, or even no link-layer header. com/android/systemui/media/RingtonePlayer.java (1 line): - line 55: // TODO: support Uri switching under same IBinder android/databinding/tool/util/StringUtils.java (1 line): - line 66: // TODO: unescape unicode codepoints com/android/server/wifi/p2p/WifiP2pNative.java (1 line): - line 58: * TODO: Add unit tests for these once we remove the legacy code. android/filterpacks/imageproc/CropFilter.java (1 line): - line 88: // TODO: Add CPU version com/android/server/AttributeCache.java (1 line): - line 34: * TODO: This should be better integrated into the system so it doesn't need com/android/systemui/statusbar/phone/NotificationPanelView.java (1 line): - line 2644: * TODO: this should be removed. android/media/tv/TvInputInfo.java (1 line): - line 130: // TODO: Remove mIconUri when createTvInputInfo() is removed. android/widget/DigitalClock.java (1 line): - line 36: // FIXME: implement separate views for hours/minutes/seconds, so com/android/settingslib/drawer/TileUtils.java (1 line): - line 224: // TODO: Needs much optimization, too many PM queries going on here. com/android/internal/telephony/HbpcdUtils.java (1 line): - line 149: // TODO: for those country having more than 1 IDDs, need more information android/support/v4/provider/FontsContractCompat.java (1 line): - line 480: // TODO: Cache the result. android/database/sqlite/SqliteWrapper.java (1 line): - line 42: // FIXME: need to optimize this method. android/database/DatabaseUtils.java (1 line): - line 1365: // TODO: this is not quite safe since it assumes that all semicolons at the end of a line tck/java/time/TCKZonedDateTime.java (1 line): - line 2001: // TODO: more tests for period between two different zones com/android/server/backup/TransportManager.java (1 line): - line 298: // TODO: b/22388012 (Multi user backup and restore) com/android/settingslib/bluetooth/BluetoothEventManager.java (1 line): - line 192: // TODO Pick up UUID. They should be available for 2.1 devices. android/support/wear/widget/ProgressDrawable.java (1 line): - line 77: // TODO: replace this with BakedBezierInterpolator when its available in support library. android/text/PackedIntVector.java (1 line): - line 230: // TODO: Reclaim memory when the new height is much smaller android/net/util/BlockingSocketReader.java (1 line): - line 126: // TODO: See if this can be converted to recvfrom. com/android/systemui/statusbar/stack/NotificationChildrenContainer.java (1 line): - line 764: // TODO: do something that makes sense, like placing the invisible views correctly com/android/server/am/AppErrors.java (1 line): - line 1029: null, false, false, MY_PID, Process.SYSTEM_UID, 0 /* TODO: Verify */); android/media/midi/MidiReceiver.java (1 line): - line 104: // TODO add public static final TIMESTAMP_NONE = 0L android/net/NetworkStatsHistory.java (1 line): - line 487: // TODO: subtract removed values from totalBytes android/telephony/DataConnectionRealTimeInfo.java (1 line): - line 25: * TODO: How to handle multiple subscriptions? android/support/text/emoji/FontRequestEmojiCompatConfig.java (1 line): - line 310: // TODO: Good to add new API to create Typeface from FD not to open FD twice. android/widget/ScrollView.java (1 line): - line 778: // TODO: Make this decision more intelligent. com/android/smspush/WapPushManager.java (1 line): - line 94: // TODO: when table structure is changed, need to dump and restore data. android/service/autofill/FillResponse.java (1 line): - line 304: // TODO: create a dump() method instead com/android/location/fused/FusionEngine.java (1 line): - line 152: mLocationManager.removeUpdates(this); //TODO GLOBAL android/support/v17/leanback/widget/SearchOrbView.java (1 line): - line 352: // TODO: set interpolator (material if available) android/security/keystore/KeymasterUtils.java (1 line): - line 116: // TODO: Restore USE_FINGERPRINT permission check in com/android/server/wm/DockedStackDividerController.java (1 line): - line 719: // TODO: Have a real system where we can wait on different windows to be drawn with android/support/media/tv/Channel.java (1 line): - line 398: // TODO: Add additional API which does not use costly getColumnIndex(). com/android/server/wm/WallpaperController.java (1 line): - line 369: // TODO: Need to wait for result. android/media/tv/TvView.java (1 line): - line 149: // TODO: Re-order unhandled events. com/android/server/hdmi/SystemAudioAction.java (1 line): - line 198: // TODO: if IHdmiControlCallback is general to other FeatureAction, android/net/netlink/StructNdaCacheInfo.java (1 line): - line 54: // TODO: investigate whether this can change during device runtime and android/widget/Spinner.java (1 line): - line 1268: // TODO: This might be appropriate to push all the way down to PopupWindow, com/android/server/wm/AppTransition.java (1 line): - line 1439: // TODO: Isn't that strange that we ignore exact position of the containingFrame? android/hardware/camera2/dispatch/MethodNameInvoker.java (1 line): - line 74: // TODO future: match types of params if possible android/hardware/camera2/marshal/impl/MarshalQueryableReprocessFormatsMap.java (1 line): - line 83: // TODO: consider moving rest of parsing code from ReprocessFormatsMap to here android/accounts/ChooseTypeAndAccountActivity.java (1 line): - line 126: // TODO Redesign flow to show NOT_VISIBLE accounts com/android/server/backup/KeyValueAdbBackupEngine.java (1 line): - line 35: * TODO: We should create unified backup/restore engines that can be used for both transport and com/android/internal/widget/ViewPager.java (1 line): - line 2413: // TODO: Add support for transformed views. com/android/internal/widget/ResolverDrawerLayout.java (1 line): - line 764: // TODO: Restrict the height here to be the right value. com/android/server/hdmi/DelayedMessageBuffer.java (1 line): - line 47: // TODO: This might not be the best way to choose the active source. android/util/apk/ApkSignatureSchemeV2Verifier.java (1 line): - line 499: // TODO: Compute digests of chunks in parallel when beneficial. This requires some research com/android/internal/telephony/cdma/sms/BearerData.java (1 line): - line 492: // TODO: Consider supporting single-segment EMS com/android/server/content/SyncOperation.java (1 line): - line 477: // TODO: Test this to make sure that casting to object doesn't lose the type info for EventLog. android/databinding/tool/store/LayoutFileParser.java (1 line): - line 399: // TODO get rid of original file lookup android/support/v4/app/Fragment.java (1 line): - line 1086: // TODO: move the implementation in getLayoutInflater to here com/android/internal/telephony/uicc/UiccPkcs15.java (1 line): - line 168: // TODO: don't sendToTarget and read EF_DIR to find PKCS15 android/net/IpSecUdpEncapResponse.java (1 line): - line 40: // TODO: tests to ensure this doesn't leak android/support/v4/util/ArraySet.java (1 line): - line 535: // TODO: If array is sufficiently large, a marking approach might be beneficial. In a first android/text/BidiFormatter.java (1 line): - line 603: // TODO: Fix or remove once emoji-data.text 5.0 is in ICU or update to 6.0. benchmarks/regression/ReflectionBenchmark.java (1 line): - line 180: // TODO: Write a test script that generates both the classes we're android/view/RenderNode.java (1 line): - line 167: // TODO: Removed temporarily com/android/server/usage/StorageStatsService.java (1 line): - line 466: // TODO: Handle all private volumes. android/ddm/DdmHandleHello.java (1 line): - line 177: // TODO: query the VM to ensure that support for these features com/android/systemui/qs/customize/TileQueryHelper.java (1 line): - line 62: // TODO: Live? org/json/JSONObject.java (1 line): - line 300: // TODO: Change {@code append) to {@link #append} when append is android/support/v4/view/ViewCompat.java (1 line): - line 3230: // TODO: getters for various view properties (rotation, etc) com/android/providers/settings/SettingsHelper.java (1 line): - line 140: // TODO: http://b/22388012 android/media/RemoteControlClient.java (1 line): - line 908: // TODO consider using a ref count for IRemoteControlDisplay requiring sync instead com/android/server/CommonTimeManagementService.java (1 line): - line 270: // TODO : This selection algorithm needs to be enhanced for use with mobile devices. In android/security/net/config/DirectoryCertificateSource.java (1 line): - line 68: // TODO: loading all of these is wasteful, we should instead use a keystore style API. com/android/server/updates/IntentFirewallInstallReceiver.java (1 line): - line 24: // TODO: should we dynamically generate a filename and store the name in metadata? android/util/ReflectiveProperty.java (1 line): - line 46: // TODO: cache reflection info for each new class/name pair android/support/media/tv/PreviewProgram.java (1 line): - line 156: // TODO: Add additional API which does not use costly getColumnIndex(). com/android/internal/util/MessageUtils.java (1 line): - line 80: // TODO: can we have the caller try to access the field instead, so we don't android/preference/PreferenceGroup.java (1 line): - line 145: // TODO: fix (method is called tail recursively when inflating, android/support/transition/TransitionManager.java (1 line): - line 139: // TODO: cached in Scene instead? long-term, cache in View itself android/ddm/DdmHandleHeap.java (1 line): - line 142: // TODO: if "when" is non-zero and we want to see a dump android/media/ImageWriter.java (1 line): - line 555: // TODO: what if attach failed, throw RTE or detach a slot then attach? com/android/hotspot2/OMADMAdapter.java (1 line): - line 299: // TODO: For now, assume the device supports LTE. tck/java/time/TCKInstant.java (1 line): - line 344: // TODO: should comma be accepted? com/android/ex/camera2/portability/DispatchThread.java (1 line): - line 149: // TODO: do something here. android/support/v7/widget/ActionBarOverlayLayout.java (1 line): - line 200: // TODO: Add workaround for this com/android/internal/telephony/GsmCdmaCall.java (1 line): - line 39: // FIXME should return Collections.unmodifiableList(); com/android/keyguard/KeyguardSecurityContainer.java (1 line): - line 278: // TODO: http://b/23522538 android/graphics/ColorSpace.java (1 line): - line 4066: // TODO: We should find a better way to handle these cases com/android/server/fingerprint/AuthenticationClient.java (1 line): - line 69: ? new Fingerprint("" /* TODO */, groupId, fingerId, getHalDeviceId()) android/hardware/camera2/params/TonemapCurve.java (1 line): - line 104: // TODO: maxCurvePoints check? com/android/server/accessibility/AccessibilityGestureDetector.java (1 line): - line 249: // TODO: Break the circular dependency between GestureDetector's constructor and com/android/server/wm/WindowSurfaceController.java (1 line): - line 462: // TODO: Logging android/media/SRTRenderer.java (1 line): - line 111: // TODO make reentrant com/android/server/SystemService.java (1 line): - line 119: * TODO: we should define in which phase this becomes valid android/service/voice/VoiceInteractionService.java (1 line): - line 250: // TODO: Stop recognition if a sound model that was being recognized gets deleted. com/android/server/LocationManagerService.java (1 line): - line 2236: // TODO: http://b/23822629 com/android/location/provider/ActivityRecognitionProvider.java (1 line): - line 82: // TODO: if this functionality is exposed to 3rd party developers, handle unregistration (here com/android/server/pm/PermissionsState.java (1 line): - line 611: // TODO: fix this to use arraycopy and append all ints in one go com/android/systemui/statusbar/stack/AnimationFilter.java (1 line): - line 178: // TODO: migrate all existing animators to properties android/media/tv/TvContentRatingSystemInfo.java (1 line): - line 72: * TODO: Remove. Instead, parse the XML resource and provide an interface to directly access com/android/internal/logging/AndroidHandler.java (1 line): - line 141: // TODO: avoid ducking into native 2x; we aren't saving any formatter calls android/widget/AdapterViewAnimator.java (1 line): - line 581: // to decide our own size. TODO: Do we want to update the size of the child that we're com/android/systemui/keyboard/KeyboardUI.java (1 line): - line 360: // FIXME: should we also try shutting off bluetooth if we enabled com/android/server/usb/descriptors/UsbMSMidiInputJack.java (1 line): - line 34: // TODO - read data memebers com/android/server/wm/DimLayerController.java (1 line): - line 201: // TODO: This is a work around for b/34395537 as the dim user should have cleaned-up org/apache/harmony/xml/dom/ProcessingInstructionImpl.java (1 line): - line 42: this.target = target; // TODO: validate that target is well-formed com/android/server/soundtrigger/SoundTriggerDbHelper.java (1 line): - line 73: // TODO: For now, drop older tables and recreate new ones. android/telephony/SubscriptionInfo.java (1 line): - line 72: * TODO : Add a new field that identifies only SPN for a sim com/android/systemui/statusbar/KeyguardAffordanceView.java (1 line): - line 469: // TODO: Handle the case an animation is playing. android/app/backup/BackupManagerMonitor.java (1 line): - line 127: // TODO complete this list with all log messages. And document properly. android/content/pm/BaseParceledListSlice.java (1 line): - line 46: * TODO get this number from somewhere else. For now set it to a quarter of android/filterfw/core/SimpleFrame.java (1 line): - line 140: // TODO: Take this out! FrameFormats should not be modified and convenience formats used com/android/backupconfirm/BackupRestoreConfirmation.java (1 line): - line 267: // TODO: bail gracefully if we can't contact the backup manager java/io/StreamTokenizer.java (1 line): - line 151: * initializing ttype. FIXME This could be made public and com/android/server/location/GeofenceState.java (1 line): - line 71: //TODO: inside/outside detection could be made more rigorous com/android/server/backup/restore/PerformAdbRestoreTask.java (1 line): - line 492: // TODO: Refactor, so that there are no funny things like this. com/android/systemui/recents/views/TaskStackView.java (1 line): - line 544: // TODO: Optimize this com/android/internal/telephony/TelephonyIntents.java (1 line): - line 202: *
{@code IMSI}
FIXME: what is this state?
android/filterpacks/videosrc/CameraSource.java (1 line): - line 128: // Compile shader TODO: Move to onGLEnvSomething? org/apache/harmony/xml/dom/DOMImplementationImpl.java (1 line): - line 58: // TODO: fully implement these APIs: android/arch/core/executor/TaskExecutor.java (1 line): - line 26: * TODO: Don't use this from outside, we don't know what the API will look like yet. android/hardware/camera2/params/StreamConfiguration.java (1 line): - line 34: * com/android/server/display/PersistentDataStore.java (1 line): - line 71: * TODO: refactor this to extract common code shared with the input manager's data store android/support/v17/leanback/widget/HorizontalGridView.java (1 line): - line 294: // TODO: fix logic for sharing mTempBitmapLow com/android/server/accessibility/TouchExplorer.java (1 line): - line 973: // TODO: For now pass null for the raw event since the touch android/text/TextLine.java (1 line): - line 1168: // TODO: Support other stretchable whitespace. (Bug: 34013491) android/net/metrics/ConnectStats.java (1 line): - line 40: /** Latencies of successful blocking connects. TODO: add non-blocking connects latencies. */ com/android/server/backup/restore/RestoreEngine.java (1 line): - line 67: // TODO: abstract restore state and APIs android/hardware/input/InputManager.java (1 line): - line 1252: // TODO: Add support for prebaked effects com/android/layoutlib/bridge/bars/FrameworkActionBar.java (1 line): - line 237: // TODO: This is duplicated from RenderSessionImpl. android/widget/ProgressBar.java (1 line): - line 428: // TODO: This is a terrible idea that potentially destroys any drawable com/android/server/content/SyncStorageEngine.java (1 line): - line 118: // TODO: i18n -- grab these out of resources. com/android/server/backup/utils/FullBackupUtils.java (1 line): - line 81: // TODO: withWidgets is not used, decide whether it is needed. android/mtp/MtpDatabase.java (1 line): - line 730: // FIXME - implement group support com/android/server/pm/PackageManagerServiceUtils.java (1 line): - line 146: // TODO: add a property to control this? com/android/server/net/NetlinkTracker.java (1 line): - line 255: * TODO: Currently servers are only expired when a new DNS update is received. java/lang/invoke/MutableCallSite.java (1 line): - line 280: // // FIXME: NYI tck/java/time/temporal/TCKIsoFields.java (1 line): - line 473: // TODO: more tests android/filterfw/core/NativeFrame.java (1 line): - line 142: // TODO: This function may be a bit confusing: Is the offset the target or source offset? Maybe com/android/internal/util/Protocol.java (1 line): - line 69: //TODO: define all used protocols android/support/v7/media/SystemMediaRouteProvider.java (1 line): - line 344: // TODO: The framework media router should supply a unique route id that java/text/PatternEntry.java (1 line): - line 241: case ' ': break; // skip whitespace TODO use Character com/android/internal/telephony/gsm/SmsMessage.java (1 line): - line 496: // TODO Should be better. com/android/defcontainer/DefaultContainerService.java (1 line): - line 71: // TODO: migrate native code unpacking to always be a derivative work com/android/internal/os/ZygoteConnection.java (1 line): - line 915: // TODO get rid of this log message in the case where android/media/AudioTrack.java (1 line): - line 1981: //FIXME use lambda to pass startImpl to superclass android/support/v4/widget/NestedScrollView.java (1 line): - line 912: // TODO: Make this decision more intelligent. com/android/ex/chips/DropdownChipLayouter.java (1 line): - line 263: // TODO: see if this needs to be done outside the main thread android/service/notification/NotificationRankingUpdate.java (1 line): - line 26: // TODO: Support incremental updates. com/android/internal/telephony/Call.java (1 line): - line 128: * FIXME rename com/android/server/wm/RootWindowContainer.java (1 line): - line 562: // TODO: Super crazy long method that should be broken down... java/util/stream/DistinctOps.java (1 line): - line 94: // TODO Implement a more efficient set-union view, rather than copying android/hardware/Camera.java (1 line): - line 785: * FIXME: Unhide before release android/filterfw/core/Filter.java (1 line): - line 555: setupPorts(); // TODO: rename to addFilterPorts() ? com/android/server/pm/InstantAppRegistry.java (1 line): - line 752: // TODO: Track last used time for uninstalled instant apps for better pruning android/bluetooth/client/map/BluetoothMapMessagesListing.java (1 line): - line 64: /* TODO: provide something more useful here */ com/android/layoutlib/bridge/bars/AppCompatActionBar.java (1 line): - line 196: // TODO: this is duplicated from FrameworkActionBarWrapper$WindowActionBarWrapper com/android/systemui/qs/tiles/RotationLockTile.java (1 line): - line 96: // TODO: Handle accessibility rotation lock and whatnot. com/android/server/usb/descriptors/UsbMSMidiHeader.java (1 line): - line 34: // TODO - read data memebers org/xmlpull/v1/sax2/Driver.java (1 line): - line 394: // TODO Fixed this. Was "not equals". com/android/vcard/VCardParserImpl_V40.java (1 line): - line 60: // TODO: more strictly, vCard 4.0 requires different type of unescaping rule android/filterfw/core/SyncRunner.java (1 line): - line 44: // TODO: Provide factory based constructor? android/view/DragEvent.java (1 line): - line 26: //TODO: Improve Javadoc android/text/format/DateFormat.java (1 line): - line 560: if (count < 2) { // FIXME: shouldn't this be <= 2 ? com/android/systemui/statusbar/car/CarNavigationBarView.java (1 line): - line 54: // TODO: Populate. com/android/systemui/statusbar/SignalClusterView.java (1 line): - line 673: // TODO: Remove the 2 instances because now the drawable can handle darkness. android/hardware/SystemSensorManager.java (1 line): - line 51: //TODO: disable extra logging before release com/android/server/storage/DiskStatsLoggingService.java (1 line): - line 89: // TODO: Try to stop being handled. android/support/v7/widget/GapWorker.java (1 line): - line 398: // TODO: consider rescheduling self, if there's more work to do android/security/net/config/XmlConfigSource.java (1 line): - line 204: // TODO: Cache ResourceCertificateSources by sourceId com/android/systemui/recents/views/TaskStackViewTouchHandler.java (1 line): - line 412: // TODO: Animate Recents away as we launch the freeform tasks android/telecom/VideoCallbackServant.java (1 line): - line 30: * TODO: Generate this and similar classes using a compiler starting from AIDL interfaces. com/android/server/AlarmManagerService.java (1 line): - line 3099: // TODO: implement ANR policy for the target android/app/SystemServiceRegistry.java (1 line): - line 1004: * TODO: Delete this once its only user (ConnectivityManager) is known to work well in the com/android/internal/telephony/dataconnection/DataCallResponse.java (1 line): - line 47: // TODO: Change this to final if possible. android/media/AudioFormat.java (1 line): - line 937: // TODO Consider whether to keep the MIN and MAX range checks here. android/view/WindowManager.java (1 line): - line 1879: * TODO: Maybe there should be a bitfield of optional callbacks that we need. com/android/layoutlib/bridge/bars/FrameworkActionBarWrapper.java (1 line): - line 345: // TODO: Use an adapter, like List View to set up tabs. com/android/internal/policy/PhoneWindow.java (1 line): - line 466: // TODO Augment the scenes/transitions API to support this. android/view/textclassifier/TextClassifier.java (1 line): - line 41: String TYPE_UNKNOWN = ""; // TODO: Make this public API. android/os/LocaleList.java (1 line): - line 283: // TODO: Cache the results if this proves to be too slow com/android/gallery3d/exif/ExifTag.java (1 line): - line 204: // TODO: fix integer overflows with this java/util/TimeZone.java (1 line): - line 718: // TODO: give libcore access to Android system properties and read "persist.sys.timezone". com/android/setupwizardlib/items/ExpandableSwitchItem.java (1 line): - line 131: // TODO: If it is possible to detect, log a warning if this is being used with ListView. com/android/internal/telephony/dataconnection/ApnSetting.java (1 line): - line 511: // TODO - if we have this function we should also have hashCode. com/android/keyguard/KeyguardHostView.java (1 line): - line 355: // TODO: Actually handle MUTE. java/net/AbstractPlainSocketImpl.java (1 line): - line 326: // TODO - should make better effort to read TOS or TCLASS com/android/server/PreloadsFileCacheExpirationJobService.java (1 line): - line 44: // TODO move all JOB_IDs into a single class to avoid collisions android/hardware/camera2/legacy/ParameterUtils.java (1 line): - line 654: // TODO: change all uses of Rect activeArray to Size activeArray, android/telephony/CarrierConfigManager.java (1 line): - line 195: * TODO: This should be combined with config_use_hfa_for_provisioning and implemented as an enum com/android/internal/telephony/WakeLockStateMachine.java (1 line): - line 38: protected static final boolean DBG = true; // TODO: change to false com/android/server/pm/UserManagerService.java (1 line): - line 438: // TODO b/28848102 Add support for test dependencies injection android/content/SearchRecentSuggestionsProvider.java (1 line): - line 317: // TODO: Confirm no injection attacks here, or rewrite. android/widget/HorizontalScrollView.java (1 line): - line 718: // TODO: Make this decision more intelligent. com/android/settingslib/drawable/CircleFramedDrawable.java (1 line): - line 38: * TODO: Move this to an internal framework class and share with the one in Keyguard. android/widget/Gallery.java (1 line): - line 592: // TODO better search android/location/LocationManager.java (1 line): - line 1213: // TODO: It would be fantastic to deprecate mock providers entirely, and replace android/transition/Visibility.java (1 line): - line 411: // TODO: Need to do this for general case of adding to overlay android/bluetooth/BluetoothPbap.java (1 line): - line 300: // TODO optimize the rule com/android/internal/inputmethod/LocaleUtils.java (1 line): - line 63: // TODO: Need subscript matching. For example, Hanb should match with Bopo. com/android/server/usb/descriptors/UsbBinaryParser.java (1 line): - line 58: * TODO: This should be done in the model of UsbDescriptorsParser/Reporter model. com/android/internal/app/MediaRouteControllerDialogFragment.java (1 line): - line 31: * TODO: Move this back into the API, as in the support library media router. android/os/FileBridge.java (1 line): - line 50: // TODO: consider extending to support bidirectional IO java/net/Inet6AddressImpl.java (1 line): - line 123: // TODO: should getaddrinfo set the hostname of the InetAddresses it returns? tck/java/time/chrono/TCKThaiBuddhistChronology.java (1 line): - line 343: /* TODO: Test for missing ThaiBuddhistDate.of(Era, y, m, d) method. java/security/Provider.java (1 line): - line 101: // TODO: Change ProviderTest to no longer require this mechanism com/android/server/connectivity/IpConnectivityMetrics.java (1 line): - line 140: // Do not count as a dropped event. TODO: consider adding separate counter android/support/content/ContentPager.java (1 line): - line 443: // TODO: Any other ways we can find/access windows? com/android/server/security/KeyChainSystemService.java (1 line): - line 44: * TODO (b/35968281): take a more sophisticated look at what bits of KeyChain should be inside the org/apache/harmony/xml/dom/InnerNodeImpl.java (1 line): - line 230: // TODO: skip text nodes with ignorable whitespace? android/hardware/camera2/CaptureResult.java (1 line): - line 164: * TODO: Make this private or remove it altogether. android/view/ThreadedRenderer.java (1 line): - line 320: // TODO: Remove this and SYNC_LOST_SURFACE_REWARD_IF_FOUND? java/lang/Integer.java (1 line): - line 383: // TODO-FIXME: convert (x * 52429) into the equiv shift-add android/hardware/location/NanoAppFilter.java (1 line): - line 46: // TODO: Provide an API which will let us change this HubId. android/support/transition/ChangeBounds.java (1 line): - line 426: // TODO: also handle size changes: check bounds and animate size changes com/android/server/wifi/aware/WifiAwareServiceImpl.java (1 line): - line 359: // TODO: b/35676064 restricts access to this API until decide if will open. com/android/server/wifi/util/TelephonyUtil.java (1 line): - line 150: // TODO replace some of this code with Byte.parseByte com/android/internal/app/ResolverActivity.java (1 line): - line 2050: // TODO In a better world we would filter the UI presented here and let the android/support/media/tv/WatchNextProgram.java (1 line): - line 159: // TODO: Add additional API which does not use costly getColumnIndex(). android/graphics/CanvasProperty.java (1 line): - line 22: * TODO: Make public? android/util/jar/StrictJarManifestReader.java (1 line): - line 77: // TODO A bug: there might be several verification chunks for com/android/server/wifi/util/WifiHandler.java (1 line): - line 64: // TODO WifiInjector should be passed as a variable in the constructor java/lang/Runtime.java (1 line): - line 1103: // TODO: should be synchronized, but dalvik doesn't support synchronized internal natives. android/support/v4/media/session/MediaControllerCompatApi21.java (1 line): - line 216: // This is copied from AudioAttributes.toLegacyStreamType. TODO This android/preference/PreferenceActivity.java (1 line): - line 1421: // TODO: be smarter about popping the stack. com/android/internal/http/HttpDateTime.java (1 line): - line 111: // FIXME: Y2038 BUG! android/preference/PreferenceGroupAdapter.java (1 line): - line 158: // TODO: shouldn't always? com/android/vcard/VCardComposer.java (1 line): - line 463: // TODO: re-introduce or remove this logic. Needs to modify unit test when we android/bluetooth/SdpMnsRecord.java (1 line): - line 49: // TODO Auto-generated method stub android/bluetooth/BluetoothSocket.java (1 line): - line 530: //TODO: Since bindings can exist between the SDU size and the com/android/server/am/UserController.java (1 line): - line 1025: // TODO Move this block outside of synchronized if it causes lock contention android/graphics/pdf/PdfDocument.java (1 line): - line 73: // TODO: We need a constructor that will take an OutputStream to java/lang/ClassLoader.java (1 line): - line 223: // TODO Make this a java.net.URLClassLoader once we have those? android/provider/DocumentsContract.java (1 line): - line 777: // TODO: Avoid this type of interpackage copying. Added here to avoid android/hardware/display/DisplayManagerInternal.java (1 line): - line 151: * TODO: Technically this should be associated with a physical rather than logical android/view/textclassifier/logging/SmartSelectionEventTracker.java (1 line): - line 42: //TODO: Do not allow any crashes from this class. android/os/BaseBundle.java (1 line): - line 175: * TODO: optimize this later (getting just the value part of a Bundle android/support/v8/renderscript/FieldPacker.java (1 line): - line 46: // TODO: We should either have an actual FieldPacker copy constructor com/android/server/BatteryService.java (1 line): - line 91: * FIXME: Ideally the power manager would perform all of its calls into the battery com/android/server/pm/InstructionSets.java (1 line): - line 77: // TODO b/19550105 Build mapping once instead of querying each time org/apache/harmony/testframework/serialization/SerializationTest.java (1 line): - line 283: // TODO use generics to detect comparator android/security/net/config/PinSet.java (1 line): - line 39: // TODO: Cache this. android/hardware/camera2/marshal/impl/MarshalQueryableArray.java (1 line): - line 176: // TODO: Should this recurse deeper and check that there is android/net/wifi/WifiNetworkScoreCache.java (1 line): - line 64: // TODO: What about SSIDs that can't be encoded as UTF-8? android/support/v4/view/ViewPager.java (1 line): - line 2718: // TODO: Add versioned support here for transformed views. android/renderscript/FieldPacker.java (1 line): - line 45: // TODO: We should either have an actual FieldPacker copy constructor com/android/internal/widget/ActionBarView.java (1 line): - line 191: // TODO: Clean up the handoff between expanded/normal. android/content/pm/VerifierDeviceIdentity.java (1 line): - line 136: // TODO move this out to its own class (android.util.Base32) android/util/JsonReader.java (1 line): - line 358: return token = JsonToken.END_DOCUMENT; // TODO: avoid throwing here? com/android/server/NetworkTimeUpdateService.java (1 line): - line 77: // TODO: Have a way to look up the timezone we are in com/android/settingslib/applications/ApplicationsState.java (1 line): - line 1566: // TODO: Update for the new game category. com/android/internal/os/WifiPowerEstimator.java (1 line): - line 44: final long WIFI_BPS = 1000000; // TODO: Extract average bit rates from system com/android/internal/telephony/GsmCdmaConnection.java (1 line): - line 864: // TODO: remove the following code since the handler no longer executes anything. android/support/v4/widget/ViewDragHelper.java (1 line): - line 929: // TODO: Add versioned support here for transformed views. com/android/internal/telephony/cdma/CdmaInformationRecords.java (1 line): - line 105: // TODO: WHAT to do, for now fall through and throw exception android/databinding/tool/expr/ExprModelTest.java (1 line): - line 1081: // TODO uncomment when we have inner static access android/support/transition/ViewOverlayApi14.java (1 line): - line 300: // TODO: implement transforms com/android/internal/telephony/PhoneNotifier.java (1 line): - line 41: /** TODO - reason should never be null */ android/net/NetworkUtils.java (1 line): - line 366: * TODO - fix base libraries and remove this function com/android/uiautomator/core/UiSelector.java (1 line): - line 767: break; //TODO: do we need this for AccessibilityNodeInfo.id? com/android/internal/telephony/uicc/IccUtils.java (1 line): - line 548: // TODO fix me: com/android/server/net/NetworkPinner.java (1 line): - line 76: // TODO: what happens if an app calls a WifiManager API before ConnectivityManager is android/support/design/widget/TabLayout.java (1 line): - line 364: // TODO add attr for these android/app/Activity.java (1 line): - line 4521: // TODO Consider clearing/flushing other event sources and events for child windows. com/android/server/connectivity/KeepaliveTracker.java (1 line): - line 210: // TODO: at the moment we unconditionally return failure here. In cases where the com/android/internal/telephony/cdma/CdmaServiceCategoryProgramHandler.java (1 line): - line 177: // Ignore the RIL response. TODO: implement retry if SMS send fails. android/widget/AlphabetIndexer.java (1 line): - line 214: // TODO: Commenting out approximation code because it doesn't work for certain com/android/server/pm/ShortcutRequestPinProcessor.java (1 line): - line 95: // TODO When an app calls requestPinShortcut(), all pending requests should be android/arch/paging/TiledPagedList.java (1 line): - line 178: // TODO: consider counting loaded pages, return true if mLoadedPages == mMaxPageCount com/android/systemui/statusbar/NotificationData.java (1 line): - line 485: // TODO: This should not be public. Instead the Environment should notify this class when android/hardware/camera2/legacy/LegacyResultMapper.java (1 line): - line 331: // TODO: Implement precapture trigger, after which we can report CONVERGED ourselves com/android/keyguard/KeyguardEsimArea.java (1 line): - line 53: // TODO (b/62680294): Surface more info. to the end users for this failure. android/support/v7/app/MediaRouteControllerDialog.java (1 line): - line 581: // TODO: Update the top and bottom padding of the control layout according to the display com/android/internal/app/MediaRouteChooserDialog.java (1 line): - line 49: * TODO: Move this back into the API, as in the support library media router. android/databinding/tool/reflection/ModelClass.java (1 line): - line 562: // TODO: Make this configurable through IntelliJ com/android/internal/os/PowerProfile.java (1 line): - line 181: * TODO: Add more fine-grained camera power metrics. android/text/Hyphenator_Delegate.java (1 line): - line 42: /*package*/ @SuppressWarnings("UnusedParameters") // TODO implement this. com/android/systemui/recents/views/FixedSizeFrameLayout.java (1 line): - line 72: // TODO: Investigate whether we should coalesce these to the next frame if needed android/support/v7/preference/PreferenceGroup.java (1 line): - line 166: // TODO: fix (method is called tail recursively when inflating, com/android/internal/os/ProcessCpuTracker.java (1 line): - line 868: // disk" and should be fast. TODO: make BlockGuard ignore android/content/pm/ApplicationInfo.java (1 line): - line 807: * TODO: Change the layout of bundled installs so that we can use com/android/systemui/statusbar/policy/MobileSignalController.java (1 line): - line 75: // TODO: Reduce number of vars passed in, if we have the NetworkController, probably don't android/net/wifi/p2p/nsd/WifiP2pDnsSdServiceInfo.java (1 line): - line 187: dnsName = dnsName.toLowerCase(Locale.ROOT); // TODO: is this right? com/android/keyguard/EmergencyButton.java (1 line): - line 170: // TODO: implement a shorter timeout once new PowerManager API is ready. com/android/ex/photo/adapters/BaseCursorPagerAdapter.java (1 line): - line 69: // TODO: This shouldn't just return null - maybe it needs to wait for a cursor to be supplied? com/android/systemui/recents/RecentsConfiguration.java (1 line): - line 118: * TODO: This will be refactored out of RecentsConfiguration. android/view/Choreographer.java (1 line): - line 172: * TODO: Is there a better home for this? Currently Choreographer android/support/v4/media/session/MediaSessionCompatApi21.java (1 line): - line 75: // TODO update APIs to use support version of AudioAttributes com/android/vcard/VCardUtils.java (1 line): - line 851: // TODO: utilities for vCard 4.0: datetime, timestamp, integer, float, and boolean com/android/server/wifi/ScanResultMatchInfo.java (1 line): - line 69: // TODO: This matching algo works only if the scan result contains a string SSID. com/android/systemui/statusbar/car/FullscreenUserSwitcher.java (1 line): - line 169: // TODO: Switch according to some policy. This implementation just tries to drop the android/os/storage/StorageVolume.java (1 line): - line 376: // TODO: find out where toString() is called internally and replace these calls by dump(). android/net/DhcpResults.java (1 line): - line 30: * TODO - remove when DhcpInfo is deprecated. Move the remaining api to LinkProperties. android/filterpacks/imageproc/BlendFilter.java (1 line): - line 49: throw new RuntimeException("TODO: Write native implementation for Blend!"); com/android/internal/telephony/PhoneInternalInterface.java (1 line): - line 825: * TODO: Change the configValuesArray to a RIL_BroadcastSMSConfig com/android/server/DropBoxManagerService.java (1 line): - line 85: // TODO: This implementation currently uses one file per entry, which is android/widget/FastScroller.java (1 line): - line 1503: // TODO: Ignore jitter. android/support/v17/leanback/app/BrandedSupportFragment.java (1 line): - line 168: // TODO: handle interruptions? android/nfc/NfcAdapter.java (1 line): - line 389: // TODO javadoc android/media/browse/MediaBrowser.java (1 line): - line 164: // TODO: remove this extra check. com/android/ims/internal/uce/common/CapInfo.java (1 line): - line 370: // TODO Auto-generated method stub android/bluetooth/BluetoothAdapter.java (1 line): - line 909: return true; // TODO: FILTER SYSTEM APPS HERE <-- com/android/server/media/MediaSessionRecord.java (1 line): - line 1432: // TODO add session state android/databinding/tool/expr/MathExpr.java (1 line): - line 45: // TODO we need upper casting etc. android/drm/DrmErrorEvent.java (1 line): - line 69: // FIXME: android/ddm/DdmHandleViewDebug.java (1 line): - line 213: * TODO: Currently this only returns views starting at the root, need to fix so that com/android/server/wifi/RttService.java (1 line): - line 481: // TODO: remove once mac address is added when enabling responder. com/android/systemui/statusbar/car/CarBatteryController.java (1 line): - line 248: // TODO: Car demo mode. com/android/server/NativeDaemonConnector.java (1 line): - line 229: // TODO: migrate to sending NativeDaemonEvent instances com/android/server/wm/BoundsAnimationController.java (1 line): - line 363: // TODO: Fix this check for aspect ratio changes com/android/systemui/recents/events/EventBus.java (1 line): - line 826: // TODO: Investigate whether we can skip the object creation here com/android/internal/telephony/dataconnection/DcController.java (1 line): - line 65: * TODO: Move to RILConstants.java com/android/internal/telephony/cdma/CdmaMmiCode.java (1 line): - line 221: // TODO: This is the same as the code in GsmMmiCode.java, com/android/server/pm/UserRestrictionsUtils.java (1 line): - line 470: // TODO: should this be admin user? com/android/server/vr/VrManagerService.java (1 line): - line 758: //TODO: something more robust than picking the first one android/content/pm/SharedLibraryInfo.java (1 line): - line 76: // TODO: Make long when we change the paltform to use longs com/android/internal/widget/WeightedLinearLayout.java (1 line): - line 85: // TODO: Support height? java/net/AddressCache.java (1 line): - line 25: * TODO: benchmark and optimize InetAddress until we get to the point where we can just rely on android/hardware/camera2/impl/CallbackProxies.java (1 line): - line 38: // TODO: replace with codegen android/util/Rational.java (1 line): - line 280: // TODO: remove this duplicate function (used in CTS and the shim) com/android/internal/telephony/ImsSMSDispatcher.java (1 line): - line 218: // TODO We need to decide whether we should allow injecting GSM(3gpp)