android/view/IWindowManagerImpl.java (59 lines): - line 86: // TODO Auto-generated method stub - line 92: // TODO Auto-generated method stub - line 97: // TODO Auto-generated method stub - line 103: // TODO Auto-generated method stub - line 108: // TODO Auto-generated method stub - line 114: // TODO Auto-generated method stub - line 119: // 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 251: // TODO Auto-generated method stub - line 257: // TODO Auto-generated method stub - line 263: // TODO Auto-generated method stub - line 270: // TODO Auto-generated method stub - line 276: // TODO Auto-generated method stub - line 282: // TODO Auto-generated method stub - line 293: // TODO Auto-generated method stub - line 298: // TODO Auto-generated method stub - line 303: // TODO Auto-generated method stub - line 308: // TODO Auto-generated method stub - line 313: // TODO Auto-generated method stub - line 329: // TODO Auto-generated method stub - line 338: // TODO Auto-generated method stub - line 344: // TODO Auto-generated method stub - line 350: // TODO Auto-generated method stub - line 355: // TODO Auto-generated method stub - line 360: // TODO Auto-generated method stub - line 365: // TODO Auto-generated method stub - line 370: // TODO Auto-generated method stub - line 376: // TODO Auto-generated method stub - line 381: // TODO Auto-generated method stub - line 386: // TODO Auto-generated method stub - line 391: // TODO Auto-generated method stub - line 400: // TODO Auto-generated method stub - line 406: // TODO Auto-generated method stub - line 412: // TODO Auto-generated method stub - line 418: // TODO Auto-generated method stub - line 428: // TODO Auto-generated method stub - line 448: // TODO Auto-generated method stub - line 458: // TODO Auto-generated method stub - line 464: // TODO Auto-generated method stub - line 469: // TODO Auto-generated method stub - line 476: // TODO Auto-generated method stub com/android/server/ConnectivityService.java (40 lines): - line 212: // TODO: create better separation between radio types and network types - line 246: // TODO: investigate if mLockdownEnabled can be removed and replaced everywhere by - line 802: // TODO: What is the "correct" way to do determine if this is a wifi only device? - line 922: // TODO: Move other elements into @Overridden getters. - line 955: // TODO: Delete this and either: - line 1110: // TODO: consider moving this check to NetworkPolicyManagerInternal.isUidNetworkingBlocked. - line 1195: // TODO : now that capabilities contain the UID, the appliesToUid test should - line 1385: // TODO - this should be ALL networks - line 1451: // TODO (b/73321673) : NetworkState contains a copy of the - line 1626: // TODO: notify UID when it has requested targeted updates - line 1630: // TODO: relocate this specific callback in Tethering. - line 2466: // TODO - if we move the logic to the network agent (have them disconnect - line 2485: // TODO - we shouldn't send CALLBACK_LOST to requests that can be satisfied - line 2733: // TODO: remove this code once we know that the Slog.wtf is never hit. - line 2737: // TODO - it's my understanding that for a request there is only a single - line 2887: // TODO: Evaluate whether this is of interest to other consumers of - line 3136: // TODO - proper iface API for selection by property, inspection, etc - line 3177: // TODO - move iface listing, queries, etc to new module - line 3506: // TODO: Switch PacManager to have its own message to send back rather than - line 3527: // TODO: Deprecate the broadcast extras as they aren't necessarily applicable in a multi-network - line 3803: * TODO : Fix this and call updateCapabilities inline to remove out-of-order events. - line 3959: // TODO: Remove? Any reason to trigger a provisioning check? - line 4359: // TODO: this is incorrect. We mark the request as metered or not depending on the state - line 4601: // TODO - eval if we can reduce the number of lists/hashmaps/sparsearrays - line 4653: // TODO: Instead of passing mDefaultRequest, provide an API to determine whether a Network - line 4698: // TODO - figure out what to do for clat - line 4719: // TODO - move this check to cover the whole function - line 4854: // TODO: make these permission strings AIDL constants instead. - line 4873: // TODO: remove this altogether and make it the responsibility of the NetworkFactories to - line 4878: // TODO: consider not complaining when a network agent degrades its capabilities if this - line 5090: // TODO: check if defensive copies of data is needed. - line 5303: // TODO - this could get expensive if we have alot of requests for this - line 5336: // TODO: Technically, sending CALLBACK_LOST here is - line 5408: // TODO: Avoid redoing this; this must only be done once when a network comes online. - line 5428: // TODO: Is there still a race here? We send the broadcast - line 5486: // TODO: This may get slow. The "changed" parameter is provided for future optimization - line 5520: // TODO: Update WiFi and cellular icons separately. b/17237507 - line 5605: // TODO: support proxy per network. - line 5645: // TODO (b/73132094) : remove this call once the few users of onSuspended and - line 5740: // TODO: if we're in the middle of a rematch, can we send a CAP_CHANGED callback for com/android/widget/MediaControlView2Impl.java (29 lines): - line 71: // TODO: Move these constants to public api to support custom video view. - line 72: // TODO: Combine these constants into one regarding TrackInfo. - line 81: // TODO: Remove this once integrating with MediaSession2 & MediaMetadata2 - line 89: // TODO: remove once the implementation is revised - line 114: // TODO: add support for Minimal size type. - line 242: // TODO: implement this - line 247: // TODO: implement this - line 268: // TODO: add member variables for Fast-Forward/Prvious/Rewind buttons to save visibility in - line 343: // TODO: Should this function be removed? - line 378: // TODO: add support for Advertisement Mode. - line 407: // TODO: move this to a different location. - line 417: // TODO: Merge the below code with disableUnsupportedButtons(). - line 593: // TODO: Show Fullscreen button when only it is possible. - line 656: // TODO What we really should do is add a canSeek to the MediaPlayerControl interface; - line 894: // TODO: implement - line 922: // TODO: Re-arrange the button layouts according to the UX. - line 999: // TODO: implement this. - line 1030: // TODO: implement this. - line 1059: // TODO: add support for video quality - line 1181: // TODO: screen may be smaller than the length needed for Full size. - line 1341: // TODO: Add support for Next and Previous buttons - line 1486: // TODO: Apply R.style.BottomBarButton to this button using library context. - line 1494: // TODO: Currently, we are just sending extras that came from session. - line 1524: // TODO: add more text about track info. - line 1603: // TODO: implement this. - line 1610: // TODO: implement this. - line 1656: // TODO: extend this class from SettingsAdapter - line 1683: // TODO: implement this. - line 1690: // TODO: implement this. com/android/widget/VideoView2Impl.java (28 lines): - line 107: // TODO: add support for Minimal size type. - line 135: // TODO: move music view inside SurfaceView/TextureView or implement VideoViewInterface. - line 172: // TODO: Remove mFallbackSpeed when integration with MediaPlayer2's new setPlaybackParams(). - line 246: // TODO: Resume local playback (if necessary) - line 265: // TODO: add attributes to get this value. - line 278: // TODO: try to keep a single child at a time rather than always having both. - line 306: // TODO: Choose TextureView when SurfaceView cannot be created. - line 335: // TODO: Call MediaControlView2.setRouteSelector only when cast availalbe. - line 353: // TODO: implement this - line 369: // TODO: integrate this with MediaSession2#MediaItem2 - line 372: // TODO: add support for handling website link - line 401: // TODO: remove setSpeed_impl once MediaController2 is ready. - line 454: // TODO: implement this - line 524: // TODO: remove this after moving MediaSession creating code inside initializing VideoView2 - line 580: // TODO: Test touch event handling logic thoroughly and simplify the logic. - line 652: // TODO: Do we need to call requestLayout here? - line 709: // TODO this should have a focus listener - line 725: // TODO: Add timely firing logic for more accurate sync between CC and video frame - line 777: // TODO: Fix NPE while MediaPlayer2.close() - line 840: // TODO: this should be replaced with MediaPlayer2.getBufferedPosition() once it is - line 888: // TODO: Decide what to show when the state is not in playback state - line 919: // TODO: should revise this part after integrating with MP2. - line 948: // TODO: make this selection dynamic - line 1033: // TODO: replace with visualizer - line 1036: // TODO: add dominant color for default album image. - line 1156: // TODO: Remove timed text related code later once relevant Renderer is defined. - line 1210: // TODO: change this to send TrackInfos to MediaControlView2 - line 1211: // TODO: create MediaSession when initializing VideoView2 com/android/internal/telephony/dataconnection/DcTracker.java (27 lines): - line 127: /* Currently requested APN type (TODO: This should probably be a parameter not a member) */ - line 229: // TODO: Evaluate hooking this up with DeviceStateMonitor - line 381: // FIXME STOPSHIP - phoneSubId is coming up as -1 way after boot and failing this? - line 418: // TODO: IF already associated should we send the EVENT_TRY_SETUP_DATA??? - line 483: // (TODO: Reconsider tying directly to screen, maybe this is - line 502: /** Convert an ApnType string to Id (TODO: Use "enumeration" instead of String for ApnType) */ - line 789: // TODO: We should register for DataEnabledSetting's data enabled/disabled event and - line 950: // TODO: Don't borrow "Connecting..." i18n string; give Telephony a version. - line 959: // TODO: Indicate to user that it is taking an unusually long time to connect? - line 1250: // TODO: Remove this hack added by ag/641832. - line 1441: // FIXME this can be improved - line 1579: // TODO - only do cleanup if not disconnected - line 1589: // TODO: Do we need mRequestedApnType? - line 1604: * TODO: Cleanup only a specified connection passed as a parameter. - line 1942: // TODO: Fix retry handling so free DataConnections have empty apnlists. - line 2138: // TODO: It'd be nice to only do this if the changed entrie(s) - line 2145: // FIXME: See bug 17426028 maybe no conditional is needed. - line 2391: // TODO: We should register for DataEnabledSetting's data enabled/disabled event and - line 2573: // TODO change our retry manager to use the appropriate numbers for the new APN - line 2588: // TODO: We shouldnt need this. - line 2738: // TODO: Remove this once all old vendor RILs are gone. We don't need to set initial apn - line 2806: // FIXME this can be improved - line 2834: // FIXME this can be improved - line 3360: // TODO: What is the right behavior? - line 3721: // TODO: Should all PDN states be checked to fail? - line 3864: // TODO - remove - line 4414: // TODO: We probably need to rebuild APN list when roaming status changes. 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/am/ActivityStack.java (26 lines): - line 593: // TODO: Need to remove use of PinnedActivityStack for this to be supported. - line 602: // TODO: Figure-out how to do all the stuff in - line 614: // TODO: Can we consolidate this and other sites that call this methods? - line 632: // TODO: This is only here to help out with the case where recents stack doesn't - line 637: // TODO: This is currently only called when entering split-screen while in another - line 639: // TODO (b/78247419): Check if launcher and overview are same then move home stack - line 660: // TODO: Should we just move this to ConfigurationContainer? - line 678: // TODO: We should probably resolve the windowing mode for the stack on the new display here - line 1151: // TODO Refactor to remove duplications. Check if logic can be simplified. - line 1848: // TODO: Should be re-worked based on the fact that each task as a stack in most cases. - line 2112: // TODO: Should probably be moved into ActivityRecord. - line 2126: // TODO: There is still a question surrounding activities in multi-window mode that want - line 2343: // TODO: Maybe this entire condition can get removed? - line 2523: next.packageName, false, next.userId); /* TODO: Verify if correct userid */ - line 2636: // TODO: Remove this once visibilities are set correctly immediately when - line 2839: // TODO: Better place to put all the code below...may be addTask... - line 2914: // TODO: Need to investigate if it is okay for the controller to already be created by the - line 4140: // TODO: If the callers to removeTask() changes such that we have multiple places - line 4751: // TODO: Figure-out a way to consolidate with resize() method below. - line 4758: // TODO: Can only be called from special methods in ActivityStackSupervisor. - line 4777: // TODO: Can be removed now since each freeform task is in its own stack. - line 5122: // TODO: VI what about activity? - line 5200: // TODO: figure-out a way to remove this call. - line 5206: // TODO: This shouldn't allow automatic reparenting. Remove the call to preAddTask and deal - line 5210: // TODO: Is this remove really needed? Need to look into the call path for the other addTask - line 5363: // TODO: Remove, no longer needed with windowingMode. com/android/server/wifi/WifiStateMachine.java (24 lines): - line 785: // TODO refactor WifiNative use of context out into it's own class - line 829: // TODO - needs to be a bit more dynamic - line 1202: //TODO: this is used only to track connection attempts, however the link state and packet per - line 1203: //TODO: second logic should be folded into that - line 1371: * TODO: doc - line 1447: * TODO: doc - line 1517: // TODO: This needs an implementation - line 2530: // TODO: Update all callers to use NetworkCallbacks and delete this. - line 2642: * TODO: b/79504296 This broadcast has been deprecated and should be removed - line 2812: // TODO: Remove this comment when the driver is fixed. - line 2946: // TODO: Move this to provisioning failure, not DHCP failure. - line 2984: // TODO: De-duplicated this and handleIpConfigurationLost(). - line 2989: // TODO: Determine whether to call some form of mWifiConfigManager.handleSSIDStateChange(). - line 3278: // TODO: We should probably do some cleanup or attempt a retry - line 3291: //TODO: Re-establish connection to state machine after a delay (b/34283611) - line 3672: // TODO: b/79504296 This broadcast has been deprecated and should be removed - line 3743: // TODO: b/79504296 This broadcast has been deprecated and should be removed - line 4290: // TODO: This check should not be needed after WifiStateMachinePrime refactor. - line 4340: // TODO: this should be fixed for a L MR release - line 4637: // TODO: Do we quash rssi values in this sorted array which are very close? - line 4984: // TODO: Only ever enter this state the first time we connect to a - line 5240: // TODO: b/64349637 Investigate getting default router IP/MAC address info from - line 5617: * TODO: b/35258354 investigate if this can be removed. Is the broadcast sent by - line 5737: * now in this helper method. TODO: b/35257965 is filed to track the possibility of merging com/android/server/connectivity/Tethering.java (23 lines): - line 200: // TODO: Figure out how to merge this and other downstream-tracking objects - line 204: // TODO: Delete SimChangeListener; it's obsolete. - line 255: // TODO: Remove SimChangeListener altogether. For now, we retain it - line 409: // TODO: find a better way to express this, or alter the checking process - line 498: // TODO: Enabling bluetooth tethering can fail asynchronously here. - line 608: // TODO: De-duplicate with above code, where possible. - line 639: // TODO: reexamine the threading and messaging model. - line 682: // TODO: Figure out how to update for local hotspot mode interfaces. - line 966: // TODO: Remove this altogether, once Wi-Fi reliably gives us an - line 1017: // TODO: Consider renaming to something more accurate in its description. - line 1088: // TODO - update callers to use getTetheringConfiguration(), - line 1112: // TODO review API - figure out how to delete these entirely. - line 1310: // TODO: Randomize DHCPv4 ranges, especially in hotspot mode. - line 1312: // TODO: Find a more accurate method name (startDHCPv4()?). - line 1394: // TODO: Set v4 and/or v6 DNS per available connectivity. - line 1397: // TODO: Properly support the absence of DNS servers. - line 1399: // TODO: remove this invocation of NetworkUtils.makeStrings(). - line 1408: // TODO: Investigate how this can fail and what exactly - line 1485: // TODO: In future, this is where upstream evaluation and selection - line 1517: // TODO: Re-evaluate possible upstreams. Currently upstream - line 1544: // TODO: De-duplicate with updateUpstreamWanted() below. - line 1745: // TODO: This suggests that the interface between OffloadController and - line 1907: // TODO: Move into TetherMasterSM. android/media/MediaPlayer.java (21 lines): - line 588: // FIXME: unhide. - line 589: // FIXME: add link to getMetadata(boolean, boolean) - line 596: // FIXME: unhide. - line 597: // FIXME: add link to getMetadata(boolean, boolean) - line 604: // FIXME: unhide. - line 605: // FIXME: add link to getMetadata(boolean, boolean) - line 612: // FIXME: unhide. - line 613: // FIXME: add link to getMetadata(boolean, boolean) - line 1314: //FIXME use lambda to pass startImpl to superclass - line 1927: // TODO: pass long to native, instead of truncating here. - line 1972: // TODO: get the timestamp from native side - line 2010: // FIXME: unhide. - line 2048: // FIXME: unhide. - line 2288: * FIXME: Merge this into javadoc comment above when setVolume(float) is not @hide. - line 2480: // TODO: parcel in the full MediaFormat; currently we are using createSubtitleFormat - line 2666: // TODO: create SubtitleController in MediaPlayer - line 2801: // TODO: do the conversion in the subtitle track - line 2867: /* TODO: Limit the total number of external timed text source to a reasonable number. - line 5230: // TODO: don't need an open session for a future specialKeyReleaseDrm mode but we should do - line 5846: // TODO get time when prepared - line 5853: // TODO: do this properly by introducing an exception com/android/server/NetworkManagementService.java (20 lines): - line 1097: /* TODO: This is right now a IPv4 only function. Works for wifi which loses its - line 1220: // TODO: remove from aidl if nobody calls externally - line 1578: // TODO: eventually migrate to be always enabled - line 1587: // TODO: support quota shared across interfaces - line 1612: // TODO: eventually migrate to be always enabled - line 1617: // TODO: eventually consider throwing - line 1625: // TODO: support quota shared across interfaces - line 1649: // TODO: eventually migrate to be always enabled - line 1663: // TODO: support alert shared across interfaces - line 1677: // TODO: eventually migrate to be always enabled - line 1682: // TODO: eventually consider throwing - line 1687: // TODO: support alert shared across interfaces - line 1701: // TODO: eventually migrate to be always enabled - line 1715: // TODO: eventually migrate to be always enabled - line 1729: // TODO: eventually consider throwing - line 1855: // TODO: consider keeping state in netd so we can simplify this code. - line 2043: // TODO: is there a better way of finding all existing users? If so, we could - line 2063: // TODO: tighten up this code by ensuring we never set the wrong type of rule, and - line 2223: // TODO: now that netd supports batching, NMS should not keep these data structures anymore... - line 2235: // TODO: eventually consider throwing com/android/server/net/NetworkPolicyManagerService.java (20 lines): - line 467: * TODO: An int array might be sufficient - line 475: * TODO: An int array might be sufficient - line 558: // TODO: keep whitelist of system-critical services that should never have - line 561: // TODO: migrate notifications to SystemUI - line 1128: // TODO: when switching to kernel notifications, compute next future - line 1241: // TODO: support shared UIDs - line 1637: // TODO: reset any policy-disabled networks when any policy is removed - line 1680: // TODO: reach into ConnectivityManager to proactively disable bringing - line 1849: // TODO: switch to shared quota once NMS supports - line 2242: // TODO: set for other users during upgrade - line 2641: // TODO: create permission for observing network policy - line 2648: // TODO: create permission for observing network policy - line 2807: // TODO: there is no need to iterate through all apps here, just those in the foreground, - line 2815: // TODO: if it knew the foreground apps (see TODO above), it could call - line 3739: // TODO: rename / document to make it clear these are global (not app-specific) rules - line 3770: // TODO: refactor / consolidate all those updateXyz methods, there are way too many of them... - line 3837: // TODO: the MEDIA / DRM restriction might not be needed anymore, in which case both - line 4037: // TODO: if statement below is used to avoid an unnecessary call to netd / iptables, - line 4046: // TODO: if statements below are used to avoid unnecessary calls to netd / iptables, - line 4975: // TODO: moved to using a legitimate NetworkSpecifier instead of string parsing com/android/server/InputMethodManagerService.java (20 lines): - line 694: *

TODO: Consider to follow what other system services have been doing to manage - line 702: *

TODO: Consider to follow what other system services have been doing to manage - line 1140: // TODO: Consider to create a utility method to do the following test. List.retainAll() - line 1295: // TODO: Dispatch this to a worker thread as needed. - line 1302: // TODO: Dispatch this to a worker thread as needed. - line 1460: // TODO: Is it really possible that switchUserLocked() happens before system ready? - line 1647: // TODO: Make this work even for non-current users? - line 1665: // TODO: Make this work even for non-current users? - line 1681: // TODO: Make this work even for non-current users? - line 2335: // TODO: Move this clearing calling identity block to setImeWindowStatus after making sure - line 2410: // TODO: Do not send the intent if the process of the targetImi is already dead. - line 2489: // TODO: Make sure that mSwitchingController and mSettings are sharing the - line 2705: // TODO: Clean up, IMMS#mInputShown, IMMS#mImeWindowVis and mShowRequested. - line 3161: // TODO: Handle the case of the last IME with no subtypes - line 3693: // TODO: The following code should find better place to live. - line 3751: // TODO: Make sure that mSwitchingController and mSettings are sharing the - line 4180: // TODO: Make this work even for non-current users? - line 4228: // TODO: We should change the return type from List to List - line 4259: // TODO: Make this work even for non-current users? - line 4276: // TODO: Cache the state for each user and reset when the cached user is removed. androidx/media/MediaPlayer2Test.java (19 lines): - line 187: /* FIXME: what's API for checking loop state? - line 193: /* FIXME: what's API for checking loop state? - line 504: /* FIXME: what's API for checking loop state? - line 510: /* FIXME: what's API for checking loop state? - line 553: /* FIXME: find out a public API for replacing AudioEffect contructor. - line 607: /* FIXME: find out a public API for replacing AudioEffect contructor. - line 692: // TODO: uncomment out line below when MediaPlayer2 can seek to requested position. - line 707: // TODO: uncomment out line below when MediaPlayer2 can seek to requested position. - line 717: // TODO: uncomment out line below when MediaPlayer2 can seek to requested position. - line 908: // TODO: enable this test when MediaPlayer2.setPlaybackParams() is fixed - line 1030: // TODO: pause() should NOT change PlaybackParams. - line 1078: // TODO: tighten checking range. For now, ensure mediaplayer doesn't - line 1084: // TODO: tighten checking range. For now, ensure mediaplayer doesn't - line 1090: // TODO: tighten checking range. For now, ensure mediaplayer doesn't - line 1096: // TODO: tighten checking range. For now, ensure mediaplayer doesn't - line 2055: /* FIXME: check the codec exists. - line 2137: /* FIXME: check the codec exists. - line 2252: /* FIXME: check the codec exists. - line 2290: /* FIXME: check the codec exists. com/android/server/wm/WindowManagerService.java (19 lines): - line 372: // TODO: eventually unify all keyguard state in a common place instead of having it spread over - line 720: // TODO: Move to RootWindowContainer - line 1459: // TODO: Not sure if onDisplayInfoUpdated() call is needed. - line 1653: * TODO: Maybe better handled with a method {@link WindowContainer#removeChild} if we can - line 1686: // TODO: Should this be moved into AppWindowToken.removeWindow? Might go away after - line 1832: //TODO (multidisplay): Magnification is supported only for the default display. - line 2588: // TODO (multidisplay): associate app transitions with displays - line 2695: // TODO: Remove once clients are updated. - line 3309: // TODO: Keep track of keyguardEnabled state per user and use here... - line 3638: // TODO: more accounting of which pid(s) turned it on, keep count, - line 3665: // TODO: Modify this to use the surface trace once it is not going crazy. - line 4293: // TODO: GET THE TRANSACTION CODE IN A SAFER MANNER - line 5009: // TODO: This is all about fixing b/21693547 - line 5108: // TODO: multi-display - line 5439: // TODO: Maintain display list in focus order in ActivityManager and remove this call. - line 5566: // TODO: multi-display. - line 5657: // TODO: Move to DisplayContent - line 6815: // TODO: The s at the end of the method name is the only difference with the name of the method - line 7368: // TODO (b/34628091): Use this method to address the window animation issue. android/net/ip/IpClient.java (18 lines): - line 231: // TODO: Find an lighter weight approach. - line 328: // TODO: Delete this default timeout once those callers that care are - line 615: // TODO: Revert this hack once IpClient and Nat464Xlat work in concert. - line 689: * TODO: migrate all test users to mock IpClient directly and remove this ctor. - line 721: // TODO: Consider creating, constructing, and passing in some kind of - line 749: // TODO: Also observe mInterfaceName going down and take some - line 752: // TODO: consider sending a message to the IpClient main - line 858: // TODO: Delete this. - line 1072: // TODO: Investigate folding all this into the existing static function - line 1188: // TODO: Add a proper ProvisionedState and cancel the alarm in - line 1260: // TODO: also learn via netlink routes specified by an InitialConfiguration and specified - line 1267: // TODO: Investigate deleting this reachability check. We should be - line 1303: // TODO: Investigate deleting this clearIPv4Address() call. - line 1370: // TODO: also support specifying a static IPv4 configuration in InitialConfiguration. - line 1585: // TODO: investigate the effects of any multicast filtering racing/interfering with the - line 1608: // TODO introduce a new IpManagerEvent constant to distinguish this error case. - line 1700: // TODO: Possibly introduce a second type of confirmation - line 1842: // TODO: extract out into CollectionUtils. com/android/internal/telephony/SubscriptionController.java (17 lines): - line 91: static final int MAX_LOCAL_LOG_LINES = 500; // TODO: Reduce to 100 when 17678050 is fixed - line 100: * TODO: Update LocalLog - line 158: // FIXME: Does not allow for multiple subs in a slot and change to SparseArray - line 243: * FIXME: Hopefully removed if the API council accepts SubscriptionInfoListener - line 262: // FIXME: Remove if listener technique accepted. - line 299: // FIXME: consider stick this into database too - line 733: // FIXME: This valid now but change to use TelephonyDevController in the future - line 985: // TODO While two subs active, if user deactivats first - line 988: // FIXME: Currently we assume phoneId == slotIndex which in the future - line 1126: // TODO: This can be removed once SubscriptionController is not running on devices - line 1445: // TODO: Not used anywhere sp consider deleting as it's somewhat nebulous - line 1520: // FIXME: Assumes phoneId == slotIndex - line 1540: // FIXME: Remove notion of Dummy SUBSCRIPTION_ID. - line 1736: // TODO Handle the general case of N modems and M subscriptions. - line 1740: // TODO Handle the general case of N modems and M subscriptions. - line 1753: // FIXME is this still needed? - line 1869: // FIXME: We need we should not be assuming phoneId == slotIndex as it will not be true android/media/MediaPlayer2Impl.java (17 lines): - line 278: // TODO: switch to next data source and play - line 346: // TODO: use cached state or call native function. - line 396: // TODO: setDataSource could update exist data source - line 494: // TODO: set the looping mode, send notification - line 1554: // TODO: pass long to native, instead of truncating here. - line 1595: // TODO: get the timestamp from native side - line 1618: // FIXME: unhide. - line 1657: // FIXME: unhide. - line 1954: // TODO: parcel in the full MediaFormat; currently we are using createSubtitleFormat - line 2106: // TODO: create SubtitleController in MediaPlayer2 - line 2238: // TODO: do the conversion in the subtitle track - line 2300: /* TODO: Limit the total number of external timed text source to a reasonable number. - line 4010: // TODO: don't need an open session for a future specialKeyReleaseDrm mode but we should do - line 4042: // TODO: Unhide AudioManager.getDevicesStatic. - line 4689: // TODO get time when prepared - line 4696: // TODO: do this properly by introducing an exception - line 4770: // TODO: Make native implementations asynchronous and let them send notifications. com/android/server/am/ActivityStackSupervisor.java (16 lines): - line 348: // TODO: Remove mActivitiesWaitingForVisibleActivity list and just remove activity from - line 422: // TODO: There should be an ActivityDisplayController coordinating am/wm interaction. - line 1042: // TODO: Not sure if this should check if all Paused are complete too. - line 1249: // TODO: We probably want to consider the top fullscreen stack as we could have a pinned - line 1527: // TODO: Have this take the merged configuration instead of separate global - line 2417: // TODO: Need to work this into the equation... - line 2444: // TODO: This should also take in the windowing mode and activity type into account. - line 2492: // TODO: Can be removed once we figure-out how non-standard types should launch - line 2546: // TODO: Can probably be consolidated into getLaunchStack()... - line 2749: * TODO: This should just change the windowing mode and resize vs. actually moving task around. - line 2896: // TODO: Checking for isAttached might not be needed as if the user passes in null - line 3177: // TODO: move call for creation here and other place into Stack.addTask() - line 3241: // TODO: Look into changing users to this method to ActivityDisplay.resolveWindowingMode() - line 4282: // TODO: Look into consolidating with getActivityDisplayOrCreateLocked() - line 4296: // TODO: Look into consolidating with getActivityDisplay() - line 4352: // TODO: The following code block should be moved into {@link ActivityDisplay}. com/android/server/wm/WindowState.java (15 lines): - line 541: * TODO: We should either have different booleans for the removal reason or use a bit-field. - line 913: // TODO: Investigate why this is contentFrame not parentFrame. - line 1147: // TODO: Look into whether this override is still necessary. - line 1516: // TODO: Can we consolidate this with #isVisible() or have a more appropriate name for this? - line 1603: // TODO: Another visibility method that was added late in the release to minimize risk. - line 1725: //TODO (multidisplay): Magnification is supported only for the default - line 1743: //TODO (multidisplay): Magnification is supported only for the default - line 1818: //TODO (multidisplay): Accessibility supported only for the default display. - line 1991: // TODO: We are overloading mAnimatingExit flag to prevent the window state from - line 2030: //TODO (multidisplay): Magnification is supported only for the default display. - line 2405: // TODO: We don't check if attrs != null here. Is it implicitly checked? - line 3020: //TODO (multidisplay): Accessibility supported only for the default display. - line 4125: //TODO (multidisplay): Accessibility is supported only for the default display. - line 4559: // TODO: Hack to work around the number of states AppWindowToken needs to access without having - line 4718: // TODO: This probably falls apart at some point and we should 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 874: // FIXME - For this and similar methods we're not doing anything to check if there's - line 961: // FIXME - We should check if there's a LocaleSpan in the text, this may be - line 1059: // FIXME - Shouldn't copy all of the text as only the area of the text relevant - line 1156: // TODO: Fix drag and drop in full screen extracted mode. - line 3261: // TODO: It is good to extract non trivial initialization code from constructor. - line 3525: private TextAppearanceSpan mHighlightSpan; // TODO: Make mHighlightSpan final. - line 3533: private Context mContext; // TODO: Make mContext final. - line 3639: // TODO The ExtractEditText should remove the span in the original text instead - line 6188: invalidate(true); // TODO invalidate cursor region only - line 6191: invalidate(false); // TODO invalidate cursor region only - line 6336: * TODO: Make this span aware. - line 6702: // TODO: Support forward delete. - line 6802: // TODO: Select all the text that was undone. com/android/systemui/statusbar/phone/StatusBar.java (13 lines): - line 552: // TODO: notify when keyguard has faded away instead of the scrim. - line 803: // TODO: Deal with the ugliness that comes from having some of the statusbar broken out - line 918: // TODO: Find better place for this callback. - line 1116: // TODO: Remove this. - line 1121: // TODO: Bring these out of StatusBar. - line 1591: // TODO: Move this to NotificationMediaManager. - line 3104: // TODO: Factor this transition out of FingerprintUnlockController. - line 3784: // TODO: Move this to NotificationLockscreenUserManager. - line 4142: // TODO: Figure out way to remove these. - line 4152: * TODO: Remove this method. Views should not be passed forward. Will cause theme issues. - line 5088: // TODO: Some of this code may be able to move to NotificationEntryManager. - line 5165: // TODO: Dismiss Keyguard. - line 5424: // TODO: Dismiss Keyguard. 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 1825: // TODO since hasActiveBgCall may get called often - line 1835: // TODO since hasActiveBgCall may get called often - line 2231: /* FIXME Taken from klp-sprout-dev but setAudioMode was removed in L. - line 2255: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L. - line 2343: // FIXME Taken from klp-sprout-dev but setAudioMode was removed in L. - line 2366: /* 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 android/media/MediaPlayer2.java (12 lines): - line 465: // TODO: load MediaUpdate APK - line 1349: // FIXME: unhide. - line 1373: // FIXME: unhide. - line 1556: /* TODO: Limit the total number of external timed text source to a reasonable number. - line 2688: // FIXME: unhide. - line 2689: // FIXME: add link to getMetadata(boolean, boolean) - line 2696: // FIXME: unhide. - line 2697: // FIXME: add link to getMetadata(boolean, boolean) - line 2704: // FIXME: unhide. - line 2705: // FIXME: add link to getMetadata(boolean, boolean) - line 2712: // FIXME: unhide. - line 2713: // FIXME: add link to getMetadata(boolean, boolean) com/android/server/backup/BackupManagerService.java (12 lines): - line 1191: // TODO: pick a better starting time than now + 1 minute - line 1402: // !!! TODO: cache this and regenerate only when necessary - line 1879: // manifest flag! TODO something less direct. - line 2222: // TODO: http://b/22388012 - line 2306: // TODO: http://b/22388012 - line 2309: // TODO: backups for all user profiles although don't add backup for profiles - line 2373: // !!! TODO: allow data-clear of ANY app? - line 2453: // TODO: http://b/22388012 - line 2530: // TODO: http://b/22388012 - line 2589: // TODO: http://b/22388012 - line 2693: // TODO: possibly require not just this signature-only permission, but even - line 3264: // TODO: handle backup being interrupted 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 559: // TODO: what does the WifiStateMachine client do? It isn't tracked through here! - line 1794: // TODO: dismiss dialog if not already done - line 1832: // TODO: dismiss dialog if not already done - line 1963: // TODO: Verify multi-channel scenarios and supplicant behavior are - line 2356: // TODO: figure out updating the status to declined - line 2452: // TODO: dismiss dialog if not already done - line 2761: // TODO: make the actual key come from a config value. - line 2770: // TODO: add timeout for this dialog. - line 2771: // TODO: update UI in appliance mode to tell user what to do. - line 2820: // TODO: The supplicant does not provide group capability changes as an event. - line 3261: // TODO: We could track individual service adds separately and avoid - line 3456: * TODO: This can be done better with full async channels. com/android/internal/inputmethod/InputMethodUtils.java (11 lines): - line 94: // TODO: Optimize all the critical paths including this one. - line 232: // TODO: The behavior of InputMethodSubtype#overridesImplicitlyEnabledSubtype() should be - line 285: // TODO: We should check isAsciiCapable instead of relying on fallbackLocale. - line 351: // TODO: Use {@link Locale#toLanguageTag()} and {@link Locale#forLanguageTag(languageTag)}. - line 489: // TODO: Refactor getImplicitlyApplicableSubtypesLockedImpl() so that it can receive - line 589: * TODO: Use {@link Locale#toLanguageTag()} and {@link Locale#forLanguageTag(String)} - line 840: * TODO: Move all putters and getters of settings to this class. - line 939: // TODO: mCurrentProfileIds should be cleared here. - line 943: // TODO: mCurrentProfileIds should be updated here. - line 1119: // TODO: Update callers of putEnabledInputMethodsStr to make str @NonNull. - line 1401: // TODO: Should we have TextServicesUtils.java? android/widget/VideoView2.java (11 lines): - line 48: // TODO: Replace MediaSession wtih MediaSession2 once MediaSession2 is submitted. - line 190: // TODO: add to Javadoc whether this value can be null or not when integrating with - line 203: * @hide TODO: remove - line 248: // TODO: Support this via MediaController2. - line 286: * @hide TODO remove - line 297: * @hide TODO remove - line 313: * @hide TODO remove - line 369: * @hide TODO remove - line 390: * @hide TODO remove - line 419: * @hide TODO remove - line 430: * @hide TODO remove com/android/server/am/TaskRecord.java (11 lines): - line 485: // TODO: Consolidate this with the resize() method below. - line 559: // TODO: Investigate combining with the resize() method above. - line 614: // TODO: Inspect all call sites and change to just changing windowing mode of the stack vs. - line 683: // TODO: Ensure that this is actually necessary here - line 703: // TODO: Should this call be moved inside the resize method in WM? - line 749: // 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 1003: // TODO: Use window container controller once tasks are better synced between AM and WM - line 1805: // TODO: Should also take care of Pip mode changes here. - line 1852: // TODO: Review if we actually want to do this - we are setting the launch bounds - line 2082: // TODO: Remove, no longer needed with windowingMode. 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/audio/AudioService.java (10 lines): - line 905: //FIXME: this is to maintain compatibility with deprecated intent - line 2376: // TODO: remove the isPlatformAutomotive check here. - line 5585: //FIXME: onLoadSoundEffects() should be executed in a separate thread as it - line 5764: // FIXME This synchronized is not necessary if mSettingsLock only protects mRingerMode. - line 6517: //FIXME: this is to maintain compatibility with deprecated intent - line 6565: // TODO Kill recording streams instead of killing processes holding permission - line 6627: // TODO this should target a user-selected panel - line 7639: // TODO implement clearing mix attribute matching info in native audio policy - line 7952: // TODO optimize to not have to unregister the mixes already in place - line 7961: // TODO optimize to not have to unregister the mixes already in place android/view/ViewRootImpl.java (10 lines): - line 587: // FIXME for perf testing only - line 592: * FIXME for perf testing only. Remove eventually - line 692: // TODO: Use real shadow insets for a constant max Z. - line 2164: // TODO: Need cutout? - line 2327: // TODO: AVOID THAT CALL BY CACHING THE RESULT? - line 2503: // TODO: Well, we are checking whether the frame has changed similarly - line 3110: // TODO: Use the frame number - line 3388: // TODO: Do this in native - line 5806: /* TODO: These constants should eventually be moved to ViewConfiguration. */ - line 8405: // TODO: Throw the exception com/android/server/notification/NotificationManagerService.java (10 lines): - line 1238: // TODO - replace these methods with a single VisibleForTesting constructor - line 1353: // TODO: All tests should use this init instead of the one-off setters above. - line 3163: //TODO: http://b/22388012 - line 3189: //TODO: http://b/22388012 - line 5471: // TODO: add unbundling stats? - line 5971: // TODO: need to combine a bunch of these getters with slightly different behavior. - line 5972: // TODO: Should enqueuing just add to mNotificationsByKey instead? - line 6087: // TODO: Most calls should probably move to isCallerSystem. - line 6267: // TODO: remove this for older listeners. - line 6885: // TODO: clean up locking object later 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/net/apf/ApfFilter.java (10 lines): - line 257: // TODO: Make these offsets relative to end of link-layer header; don't include ETH_HEADER_LEN. - line 304: // TODO: Select a proper max length - line 372: // TODO: ApfFilter should not generate programs until IpClient sends provisioning success. - line 549: // TODO: Make this static once RA is its own class. - line 766: // TODO: We may want to handle 0 lifetime RAs differently, if they are common. We'll - line 996: // TODO: can we invert this condition to fall through to the common pass case below? - line 1077: // TODO: Drop only if they don't contain the address of on-link neighbours. - line 1344: // TODO: consider sorting the RAs in order of increasing expiry time as well. - line 1357: // TODO: figure out how to proceed when we've received more then MAX_RAS RAs. - line 1546: // TODO: move to android.net.NetworkUtils com/android/server/wm/DisplayContent.java (10 lines): - line 1034: // TODO: Implement forced rotation changes. - line 1147: // TODO (multi-display): Magnification is supported only for the default display. - line 1274: // TODO: Probably best to set this based on some setting in the display content object, - line 2415: // TODO: This should probably be called any time a visual change is made to the hierarchy like - line 2594: // TODO: Figure-out a more efficient way to do this. - line 2837: // TODO: Super crazy long method that should be broken down... - line 2978: // TODO: Not sure if we really need to set the rotation here since we are updating from the - line 3076: // TODO: Can this use createRotationMatrix()? - line 3477: // TODO: Investigate if we need to continue to do this or if we can just process them - line 3944: // TODO: We need to use an extra level on the app surface to ensure android/widget/AbsListView.java (9 lines): - line 1942: // TODO: Should we check for acceptFilter()? - line 2169: // TODO: Move somewhere sane. This doesn't belong in onLayout(). - line 2726: // FIXME use isPressed for this - line 3911: // FIXME Debounce - line 4520: // TODO: Make this decision more intelligent. - line 5115: // FIXME account for grid vertical spacing too? - line 5538: // TODO: In the future we can recycle these views based on stable ID instead. - line 5714: // TODO: The 20 below should come from the theme - line 5715: // TODO: And the gravity should be defined in the theme as well com/android/server/wifi/WifiServiceImpl.java (9 lines): - line 214: // TODO: (b/71714381) Remove mWifiApState and broadcast mechanism, keep mSoftApState as the only - line 621: // TODO: investigate if the logic to cancel scans when idle can move to - line 986: // TODO: Deal with individual interfaces when we receive updates for them - line 1875: //TODO: pass the Uid the WifiStateMachine as a message parameter - line 1922: // TODO Add private logging for netId b/33807876 - line 1943: // TODO b/33807876 Log netId - line 1968: // TODO b/33807876 Log netId - line 2185: //TODO (b/80552904): Should move towards adding a driver API that checks at runtime - line 2568: * TODO: b/71548157 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 com/android/internal/telephony/ServiceStateTracker.java (9 lines): - line 138: // TODO - this should not be public, right now used externally GsmConnetion. - line 732: // TODO: Consider not lying and instead have callers know the difference. - line 1527: // TODO: When RUIM is enabled, IMSI will come from RUIM not build-time props. - line 1731: // TODO this will be removed when we handle roaming on LTE on CDMA+LTE phones - line 1955: // FIXME: Giving brandOverride higher precedence, is this desired? - line 1970: // TODO: Do we care about overriding in this case. - line 2687: // TODO: Add WLAN support. - line 2846: // TODO: we may add filtering to reduce the event logged, - line 3789: // TODO Don't poll signal strength if screen is off 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/accessibility/AccessibilityManagerService.java (9 lines): - line 149: // TODO: This is arbitrary. When there is time implement this by watching - line 155: // TODO: Restructure service initialization so services aren't connected before all of - line 253: //TODO: Remove this hack - line 973: // TODO: (multi-display) Make sure this works for multiple displays. - line 1104: // TODO: http://b/22388012 - line 1129: // TODO: Now we are giving the gestures to the last enabled - line 1770: // TODO: Remove this hack - line 2495: //TODO remove after refactoring KeyEventDispatcherTest - line 2847: //TODO: (multi-display) We need to support multiple displays. com/android/server/wifi/aware/WifiAwareStateManager.java (9 lines): - line 1402: * TODO: b/28615938. Use reason code to determine whether or not need clean-up - line 1990: // TODO: fix status: timeout - line 1994: // TODO: fix status: timeout - line 1998: // TODO: fix status: timeout - line 2002: // TODO: fix status: timeout - line 2006: // TODO: fix status: timeout - line 2063: * due to test code needs: there's no way to mock elapsedRealtime(). TODO: replace with - line 2931: // TODO: do something with this - line 3095: // TODO: continue working on merge algorithm: com/android/server/accounts/AccountManagerService.java (9 lines): - line 245: private SQLiteStatement statementForLogging; // TODO Move to AccountsDb - line 479: * TODO: Only allow accounts that were shared to be added by a limited user. - line 1752: // TODO: Anything to do if if succedded? - line 1753: // TODO: If it failed: Show error notification? Should we remove the shadow - line 1755: // TODO: what we do with the visibility? - line 1763: // TODO: Show error notification to user - line 1764: // TODO: Should we remove the shadow account so that it doesn't keep trying? - line 2410: // TODO Move to AccountsDB - line 5612: // TODO: Skip this check when running automated tests. Replace this android/net/dhcp/DhcpClient.java (9 lines): - line 70: * TODO: - line 156: DHCP_BROADCAST_ADDRESS, // TODO: currently ignored. - line 191: // TODO: MacAddress-ify more of this class hierarchy. - line 225: // TODO: Take an InterfaceParams instance instead of an interface name String. - line 435: // TODO: should we use the transaction ID from the server? - line 458: // TODO: consider getting the renew and rebind timers from T1 and T2. - line 649: // TODO: check checksum. - line 807: // TODO: Wait a while before returning into INIT state. - line 881: // TODO: Consider deleting this check, following testing on several kernels. androidx/media/MockPlayer.java (8 lines): - line 233: // TODO: Uncomment or remove - line 250: // TODO: Implement this - line 255: // TODO: Implement this - line 260: // TODO: Implement this - line 265: // TODO: Implement this - line 271: // TODO: implement this - line 285: // TODO: implement this - line 290: // TODO: implement this 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/connectivity/Vpn.java (8 lines): - line 163: // TODO: create separate trackers for each unique VPN to support - line 646: * TODO: Rename the variables - or split this method into two - and end this confusion. - line 647: * TODO: b/29032008 Migrate code from prepare(oldPackage=non-null, newPackage=LEGACY_VPN) - line 863: // TODO: Stop setting the MTU in jniCreate and set it here. - line 911: // TODO: we currently do not support seamless handover if the allowed or disallowed - line 1890: // TODO: clear arguments from memory once launched - line 1896: // internal interface soon. TODO - add inner/outer to mconfig - line 1897: // TODO - we have a race - if the outer iface goes away/disconnects before we hit this com/android/server/wm/WindowContainer.java (8 lines): - line 365: // TODO: figure-out implementation that works best for this. - line 438: // TODO: Removing the child before reinserting requires the caller to provide a - line 623: // TODO: Will this be more correct if it checks the visibility of its parents? - line 712: // TODO: Maybe mOrientation should default to SCREEN_ORIENTATION_UNSET vs. - line 750: // TODO: Users would have their own window containers under the display container? - line 1078: * TODO: Once we totally eliminate global transaction we will pass transaction in here - line 1124: * @param hidden Whether our container is currently hidden. TODO This should use isVisible at - line 1130: // TODO: This should use isVisible() but because isVisible has a really weird meaning at 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/server/search/Searchables.java (8 lines): - line 58: // TODO how should these be documented for the developer, in a more structured way than - line 110: * TODO: cache the result in the map, and check the map first. - line 111: * TODO: it might make sense to implement the searchable reference as - line 114: * TODO: can we skip the constructor step if it's a non-searchable? - line 115: * TODO: does it make sense to plug the default into a slot here for - line 214: * TODO: every activity that provides a ACTION_SEARCH intent should - line 221: * TODO: sort the list somehow? UI choice. - line 420: // TODO: do some sanity checks here? com/android/internal/telephony/uicc/SIMRecords.java (8 lines): - line 169: // TODO: Possibly move these to IccRecords.java - line 779: // FIXME should use SST to decide - line 783: // FIXME right now, only load line1's CPHS voice mail entry - line 801: // FIXME should use SST to decide - line 802: // FIXME right now, only load line1's CPHS voice mail entry - line 1423: // TODO: Handle other cases, instead of fetching all. - line 1487: if (false) { // FIXME: writing seems to crash RdoServD - line 1652: // FIXME should examine EF[MSISDN]'s capability configuration com/android/server/connectivity/NetworkMonitor.java (8 lines): - line 102: // TODO: append a random length parameter to the default HTTPS url. - line 103: // TODO: randomize browser version ids in the default User-Agent String. - line 248: // TODO: Consider requiring validation for DUN networks. - line 442: // TODO: Distinguish this from a network that actually validates. - line 450: // TODO: Should teardown network. - line 817: // TODO: Consider abandoning this state after a few attempts and - line 1135: // TODO: Ping gateway and DNS server and log results. - line 1250: * TODO: This should be moved to the transports. The latency could be passed to the transports android/net/ConnectivityManager.java (8 lines): - line 713: * TODO: Remove this after deprecating the static methods in favor of non-static methods or - line 1384: * TODO - This should be removed when the legacy APIs are removed. - line 1992: /* TODO: These permissions checks don't belong in client-side code. Move them to - line 3034: // TODO: throw exception instead and enforce 1:1 mapping of callbacks - line 3066: * TODO: update said system code to rely on NetworkCallbacks and make this method private. - line 3488: // TODO: throw exception if callback was registered more than once (http://b/20701525). - line 3706: // TODO: Deprecate this static method and replace it with a non-static version. - line 3767: // TODO: convert the existing system users (Tethering, GnssLocationProvider) to the new APIs and com/android/server/connectivity/NetworkDiagnostics.java (7 lines): - line 120: // Package private. TODO: investigate better encapsulation. - line 186: // TODO: we could use mLinkProperties.isReachable(TEST_DNS6) here, because we won't set any - line 279: // TODO: Consider moving waitForMeasurements() in here to minimize the - line 397: // TODO: Use IP_RECVERR/IPV6_RECVERR, pending OsContants availability. - line 487: // TODO: send a few pings back to back to guesstimate packet loss. - line 526: // TODO: Ideally, query the target for both types regardless of address family. - line 577: // TODO: more correct and detailed evaluation of the response, com/android/server/StorageManagerService.java (7 lines): - line 586: // TODO: Reintroduce shouldBenchmark() test - line 590: // TODO: fstrim is non-blocking, so remove this useless callback - line 1171: // TODO: only look at first public partition - line 1278: // TODO: this should eventually be handled by new ObbVolume state changes - line 1319: // TODO: estimate remaining time - line 1882: // TODO: benchmark when desired - line 2207: // TODO: separate state object from request data 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/server/pm/Settings.java (7 lines): - line 413: * TODO: make this just a local variable that is passed in during package - line 927: // TODO: Move to scanPackageOnlyLI() after verifying signatures are setup correctly - line 1364: // TODO: Implement a cleaner solution when adding tests. - line 1371: // TODO: Implement a cleaner solution when adding tests. - line 3059: // TODO: check whether this is okay! as it is very - line 3063: // TODO: check whether this is okay! as it is very - line 4142: // TODO: triage flags! com/android/internal/telephony/sip/SipPhoneBase.java (7 lines): - line 100: // FIXME: we may need to provide this when data connectivity is lost - line 327: // FIXME: what to reply for SIP? - line 334: // FIXME: what to reply for SIP? - line 351: // FIXME: what to reply? - line 359: // FIXME: what's this for SIP? - line 489: // FIXME: what's this for SIP? - line 496: // FIXME: what's this for SIP? android/telephony/ims/ImsCallForwardInfo.java (7 lines): - line 32: // TODO: Make private, do not modify this field directly, use getter. - line 36: // TODO: Make private, do not modify this field directly, use getter. - line 40: // TODO: Make private, do not modify this field directly, use getter. - line 44: // TODO: Make private, do not modify this field directly, use getter. - line 48: // TODO: Make private, do not modify this field directly, use getter. - line 52: // TODO: Make private, do not modify this field directly, use getter. - line 56: // TODO: Will be removed in the future, use public constructor instead. androidx/work/impl/background/systemjob/SystemJobServiceTest.java (7 lines): - line 77: // TODO: Remove after we figure out why these tests execute on API 17 emulators. - line 113: // TODO: Remove after we figure out why these tests execute on API 17 emulators. - line 126: // TODO: Remove after we figure out why these tests execute on API 17 emulators. - line 152: // TODO: Remove after we figure out why these tests execute on API 17 emulators. - line 168: // TODO: Remove after we figure out why these tests execute on API 17 emulators. - line 185: // TODO: Remove after we figure out why these tests execute on API 17 emulators. - line 202: // TODO: Remove after we figure out why these tests execute on API 17 emulators. com/android/server/am/ActivityRecord.java (7 lines): - line 237: // TODO: This is duplicated state already contained in info.applicationInfo - remove - line 252: // TODO: See if it possible to combine this with the fullscreen field. - line 295: // TODO: See if this is still needed. - line 1055: // TODO: Ensure that we do not directly reparent activities across stacks, as that may leave - line 1633: // TODO: Look into merging with #setVisibility() - line 1873: // TODO: To be more accurate, the mark should be before the onCreate, - line 2520: // TODO: We should add ActivityRecord.shouldBeVisible() that checks if the activity should 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 163: * Implementation class names. TODO: Move them to a codegen class or load - line 256: // TODO: remove all of these references by improving dependency resolution and boot phases - line 900: // TODO: Use service dependencies instead. - line 906: // TODO: Use a more reliable check to see if this product should - line 1686: // TODO: use boot phase - line 1699: // TODO: use boot phase and communicate these flags some other way - line 1915: // 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 88: * TODO: Should be removed as soon as Microsoft updates their driver. - line 356: * TODO: Could use getHeaderList() to get the array of headers to include - line 698: // TODO: - line 755: // TODO: Ensure SRM and SRMP headers are not split into two OBEX packets com/android/server/wm/TaskStack.java (7 lines): - line 85: // TODO: Track parent marks like this in WindowContainer. - line 119: // TODO: maybe tie this to WindowContainer#removeChild some how... - line 577: // TODO: Checkout the call points of this method and the ones below to see how they can fit in WC. - line 592: // TODO: We pass stack to task's constructor, but we still need to call this method. - line 632: // TODO: We should really have users as a window container in the hierarchy so that we don't - line 837: // TODO: Find a cleaner way for computing new stack bounds while minimized that - line 1067: // TODO: Should each user have there own stacks? androidx/appcompat/widget/LinearLayoutCompat.java (7 lines): - line 446: // TODO: This should try to take into account the virtual offsets - line 800: // TODO: Use a field like lp.isMeasured to figure out if this - line 845: // TODO: Should we recompute the heightSpec based on the new total length? - line 904: // FIXME: this may not be right for something like wrapping text? - line 1189: // TODO: Use a field like lp.isMeasured to figure out if this - line 1252: // TODO: Should we update widthSize with the new total length? - line 1326: // FIXME: this may not be right for something like wrapping text? android/content/pm/PackageParser.java (7 lines): - line 163: // TODO: switch outError users to PackageParserException - line 164: // TODO: refactor "codePath" to "apkPath" - line 1590: // TODO: factor signature related items out of Package object - line 4711: // TODO add visibleToInstantApps attribute to activity alias - line 6204: // TODO: work towards making these paths invariant - line 6353: * TODO: This seems like a horrible place to put the abiOverride because - line 6918: // 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/TextServicesManagerService.java (7 lines): - line 299: // TODO: Dispatch this to a worker thread as needed. - line 383: // TODO: Update for each locale - line 460: // TODO: Still there is a room to improve in the following logic: e.g., check if the package - line 481: // TODO: We may have more spell checkers that fall into this category. - line 496: // TODO: Save SpellCheckerService by supported languages. Currently only one spell - line 509: // TODO: Respect allowImplicitlySelectedSubtype - line 510: // TODO: Save SpellCheckerSubtype by supported languages by looking at "locale". com/android/server/companion/CompanionDeviceManagerService.java (7 lines): - line 94: //TODO onStop schedule unbind in 5 seconds - line 95: //TODO make sure APIs are only callable from currently focused app - line 96: //TODO schedule stopScan on activity destroy(except if configuration change) - line 97: //TODO on associate called again after configuration change -> replace old callback with new - line 98: //TODO avoid leaking calling activity in IFindDeviceCallback (see PrintManager#print for example) - line 259: //TODO also revoke notification access - line 548: //TODO deprecated method - what's the right replacement? android/graphics/drawable/AnimatedVectorDrawable.java (7 lines): - line 931: // TODO: Skip the AnimatorSet creation and init the VectorDrawableAnimator directly - line 1249: // TODO: Consider using NativeAllocationRegistery to track native allocation - line 1316: // TODO: This method reads animation data from already parsed Animators. We need to move - line 1352: // TODO: We need to support the rare case in AVD where no start value is provided - line 1496: // TODO: (Optimization) We should pass the path down in native and chop it into segments - line 1750: // TODO: Implement pause for Animator On RT. - line 1755: // TODO: Implement resume for Animator On RT. com/android/server/backup/restore/PerformUnifiedRestoreTask.java (7 lines): - line 362: // TODO: http://b/22388012 - line 676: // !!! TODO: get the dirs from the transport - line 1125: // TODO: http://b/22388012 - line 1166: // TODO: clean up naming; this is now used at finish by both k/v and stream restores - line 1186: // !!! TODO: the restored data could be migrated on the server - line 1197: mNewStateName.delete(); // TODO: remove; see above comment - line 1198: //mNewStateName.renameTo(mSavedStateName); // TODO: replace with this com/android/internal/telephony/imsphone/ImsPhoneBase.java (7 lines): - line 141: // FIXME: we may need to provide this when data connectivity is lost - line 370: // FIXME: what to reply for Volte? - line 377: // FIXME: what to reply for Volte? - line 394: // FIXME: what to reply? - line 402: // 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 64: * TODO: Move upstream selection logic here. - line 178: // TODO: Change the timeout from 0 (no onUnavailable callback) to some - line 199: // Next TODO: return NetworkState instead of just the type. - line 296: // TODO: If sufficient information is available to select a more - line 324: // TODO: If sufficient information is available to select a more - line 345: // TODO: If sufficient information is available to select a more - line 381: // TODO: If sufficient information is available to select a more android/media/update/VideoView2Provider.java (7 lines): - line 53: // TODO @SystemApi - line 60: * @hide TODO: remove - line 68: // TODO: remove setSpeed_impl once MediaController2 is ready. - line 74: * @hide TODO: remove - line 78: * @hide TODO: remove - line 86: * @hide TODO: remove - line 96: * @hide TODO: remove android/widget/SelectionActionModeHelper.java (7 lines): - line 79: // TODO remove nullable marker once the switch gating the feature gets removed - line 297: // TODO do not trigger the animation if the change included only non-printable characters - line 346: // TODO: Move public pure functions out of this class and make it package-private. - line 532: // TODO: log (b/70246800) - line 655: // TODO: Write tests - line 1018: // TODO: Consider making this a ViewConfiguration. - line 1117: // TODO: Investigate why/when TextView.getText() is null. 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/policy/PhoneWindowManager.java (7 lines): - line 536: // FIXME This state is shared between the input reader and handler thread. - line 3509: // TODO: Use XML interpolators when we have log interpolators available in XML. - line 4004: // TODO: Deprecate this behavior when we fully migrate to IME subtype-based layout rotation. - line 4265: // TODO: This only stops the factory-installed search manager. - line 4543: // TODO: Should probably be moved into DisplayFrames. - line 7799: // TODO (multidisplay): Support multiple displays in WindowManagerPolicy. - line 7814: // TODO (multidisplay): Support multiple displays in WindowManagerPolicy. androidx/media/widget/VideoView2ImplBase.java (7 lines): - line 85: @RequiresApi(28) // TODO correct minSdk API use incompatibilities and remove before release. - line 229: // TODO: b/77556429 - line 244: // TODO: Resume local playback (if necessary) - line 245: // TODO: b/77556429 - line 387: * @hide TODO: remove - line 901: // TODO: b/77556429 - line 965: // TODO: Fix NPE while MediaPlayer2.close() android/media/MediaRouter.java (7 lines): - line 299: // TODO: All of this should be managed by the media router service. - line 968: // TODO: Remove the following logging when no longer needed. - line 1023: // TODO: Be smarter about the route types here; this selects for all valid. - line 1105: // TODO Right now, RouteGroups only ever contain user routes. - line 1279: // FIXME: This is a strong signal that we should deprecate route type filtering - line 1426: // TODO: This hack will go away once all of this is moved into the media router service. - line 2655: // TODO: There's probably a much more correct way to localize this. com/android/internal/telephony/PhoneFactory.java (7 lines): - line 93: // TODO - make this a dynamic property read from the modem - line 103: * FIXME replace this with some other way of making these - line 207: // FIXME: This is a first best guess at what the defaults will be. It - line 208: // FIXME: needs to be done in a more controlled manner in the future. - line 283: // CAF_MSIM FIXME need to introduce default phone id ? - line 333: // TODO: Fix when we "properly" have TelephonyDevController/SubscriptionController .. - line 400: * TODO - is there a better way to do this? Think about design when we have a minute. com/android/server/net/NetworkStatsService.java (7 lines): - line 628: // TODO: Track down and fix the cause of this crash and remove this catch block. - line 766: // TODO: switch to data layer stats once kernel exports - line 1275: // TODO: consider marking "untrusted" times in historical stats - line 1326: // TODO: migrate trustedtime fixes to separate binary log events - line 1568: // TODO Right now it writes all history. Should it limit to the "since-boot" log? - line 1603: // TODO: remove 464xlat adjustments from NetworkStatsFactory and apply all at once here. - line 1755: // TODO: adjust these timings for production builds android/app/ActivityThread.java (7 lines): - line 353: // TODO Remove it once we move CPR.wait() from AMS to the client side. - line 1451: // TODO: Tune this since things like gmail sync are important background but not jank perceptible. - line 3151: // TODO: decide if lastSessionId logic applies to autofill sessions - line 3204: // TODO: decide if lastSessionId logic applies to autofill sessions - line 3815: // TODO Push resumeArgs into the activity for consideration - line 4267: // TODO: This method should be changed to use {@link #performStopActivityInner} to perform to - line 6169: // TODO: it would be nice to post a delayed message, so android/provider/FontsContract.java (6 lines): - line 318: // TODO: Factor out to other class. Consider to switch MessageQueue.IdleHandler. - line 599: // TODO: Should we allow if the peer process is system or myself? - line 631: // TODO: Should we allow if the peer process is system or myself? - line 684: // TODO: try other approach?, e.g. read all contents instead of mmap. - line 778: // TODO: Should we restrict the amount of fonts that can be returned? - line 779: // TODO: Write documentation explaining that all results should be from the same family. 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 481: // TODO: Turning off hinting has undesirable side effects, we need to - line 507: // TODO: Turning off hinting has undesirable side effects, we need to - line 2725: // TODO: take mCompatScaling into account (or eliminate compat scaling)? - line 2755: // TODO performance: specialized alternatives to avoid buffer copy, if win is significant - line 2802: // TODO: take mCompatScaling into account (or eliminate compat scaling)? - line 2829: // TODO performance: specialized alternatives to avoid buffer copy, if win is significant com/android/server/pm/ShortcutService.java (6 lines): - line 141: * TODO: - line 450: // TODO Refactor PackageMonitor to support priorities. - line 486: // TODO This should get the per-user locale. b/30123329 b/30119489 - line 1146: // TODO Randomize?? - line 1152: // TODO Randomize?? - line 1444: // 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 371: // TODO: examine return code and decide what to do if programming - line 512: // TODO: Factor in downstream LinkProperties once that information is available. - line 518: // TODO: If a downstream interface (not currently passed in) is reusing - line 624: // TODO: Consider other sanitization steps here, including perhaps: - line 648: // TODO: Replace this with more thoughtful work, perhaps reading from android/os/StrictMode.java (6 lines): - line 357: // TODO: wrap in some ImmutableHashMap thing. - line 854: // TODO: always add DETECT_VM_CLEARTEXT_NETWORK once we have - line 865: // TODO: Decide whether to detect non SDK API usage beyond a certain API level. - line 1154: // TODO: this was a last minute Gingerbread API change (to - line 1558: // TODO: if in gather mode, ignore Looper.myLooper() and always - line 2275: *

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 624: // TODO A correct previousSpanStart cannot be computed at this point. - line 643: // TODO same as above for previousSpanEnd - line 1788: // TODO These value are tightly related to the public SPAN_MARK/POINT values in {@link Spanned} android/telephony/SubscriptionManager.java (6 lines): - line 73: /** FIXME: Remove DummySubId's, but for now have them map just below INVALID_SUBSCRIPTION_ID - line 425: * TODO: Change to a listener - line 1017: // FIXME: This returns 1 on success, 0 on error should should we return it? - line 1026: // FIXME: Always returns null? - line 1437: //FIXME this is vulnerable to race conditions - line 1512: //FIXME this is using phoneId and slotIndex interchangeably androidx/media/widget/VideoView2ImplBaseWithMp1.java (6 lines): - line 80: @RequiresApi(21) // TODO correct minSdk API use incompatibilities and remove before release. - line 218: // TODO: b/77556429 - line 233: // TODO: Resume local playback (if necessary) - line 234: // TODO: b/77556429 - line 366: * @hide TODO: remove - line 858: // TODO: b/77556429 com/android/server/connectivity/tethering/TetherInterfaceStateMachine.java (6 lines): - line 129: // TODO: De-duplicate this with mLinkProperties above. Currently, these link - line 198: // TODO: Refactor this in terms of calls to InterfaceController. - line 202: // TODO: Replace this hard-coded information with dynamically selected - line 300: // TODO: Evaluate using a data structure than is more directly suited to - line 393: // TODO: Is this really necessary? Can we not fail earlier if INetd cannot be located? - line 528: // TODO: Make this a fatal error once Bluetooth IPv6 is sorted. android/media/AudioManager.java (6 lines): - line 1907: * TODO: Replace with a more generic key:value get/set mechanism - line 2335: // TODO use generation counter as the key instead - line 2702: // TODO status contains result and generation counter for ext policy - line 3995: // FIXME Deprecate - line 4006: // FIXME Deprecate - line 4196: @SuppressLint("Doclava125") // FIXME is this still used? com/android/server/wm/DragDropController.java (6 lines): - line 123: return null; // !!! TODO: throw here? - line 126: // !!! TODO: if input is not still focused on the initiating window, fail - line 130: // !!! TODO: extract the current touch (x, y) in screen coordinates. That - line 133: // !!! FIXME: put all this heavy stuff onto the mHandler looper, as well as - line 233: return; // !!! TODO: throw here? - line 356: // !!! TODO: ANR the drag-receiving app android/media/AudioTrack.java (6 lines): - line 193: * TODO only for offload - line 198: * TODO: when received, java AudioTrack must be released - line 204: * TODO: not just for offload - line 958: //TODO tie offload to PERFORMANCE_MODE_POWER_SAVING? - line 2076: //FIXME use lambda to pass startImpl to superclass - line 3157: // TODO also release track as it's not longer usable 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/net/ip/IpReachabilityMonitor.java (6 lines): - line 146: // TODO: refactor to something like notifyProvisioningLost(String msg). - line 152: * TODO: consider also wrapping MultinetworkPolicyTracker in this interface. - line 206: // TODO: Consider what to do with other states that are not within - line 259: // TODO: figure out whether / how to cope with interface changes. - line 299: // TODO: Consider using NeighborEvent#isValid() here; it's more - line 324: // TODO: remove |ip| when the callback signature no longer has android/view/autofill/AutofillManager.java (6 lines): - line 76: //TODO: use java.lang.ref.Cleaner once Android supports Java 9 - line 1433: // TODO: the result code is being ignored, so this method is not reliably - line 1890: // TODO: we should provide a callback so the parent can call failures; something - line 2468: // TODO: move to Helper as static method - line 2482: // TODO: move to Helper as static method - line 2503: // TODO: move to Helper as static method android/view/textclassifier/TextClassifier.java (6 lines): - line 63: @interface TextClassifierType {} // TODO: Expose as system APIs. - line 213: // TODO: Remove once apps can build against the latest sdk. - line 292: // TODO: Remove once apps can build against the latest sdk. - line 333: // TODO: Remove once apps can build against the latest sdk. - line 426: // TODO: Remove once apps can build against the latest sdk. - line 461: // TODO: Remove once apps can build against the latest sdk. 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 552: // TODO:shall we send this if it occurs during SRM? Errata on the subject - line 599: * TODO: I think this is an error in the specification. If we discard other messages, - line 616: // TODO: should we throw an exception here anyway? - don't see how to - line 626: /* 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 1875: // TODO: Is it worth converting by hand in order to not allocate? - line 2432: * TODO: Will change when we add the OutputStream version of ProtoOutputStream. - line 2601: // TODO: What does regular proto do if the object would be 0 size - line 2631: // TODO: The compacting code isn't ready yet to compact unless we're done. - line 2632: // TODO: Fix that. android/app/StatsManager.java (6 lines): - line 118: // TODO: Temporary for backwards compatibility. Remove. - line 153: // TODO: Temporary for backwards compatibility. Remove. - line 221: // TODO: Temporary for backwards compatibility. Remove. - line 274: // TODO: Temporary for backwards compatibility. Remove. - line 311: // TODO: Temporary for backwards compatibility. Remove. - line 347: // TODO: Temporary for backwards compatibility. Remove. com/android/server/wm/AppWindowToken.java (5 lines): - line 203: // TODO: Have a WindowContainer state for tracking exiting/deferred removal. - line 415: //TODO (multidisplay): Magnification is supported only for the default display. - line 808: // TODO: Something smells about the code below...Is there a better way? - line 1275: // TODO: Transfer thumbnail - line 1546: // TODO: Investigate if we need to continue to do this or if we can just process them 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 437: // CAF_MSIM TODO this need to be replated with TelephonyManager API ? - line 2776: * TODO: Revisit if we always should return at least one entry. - line 2918: * 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/pm/PackageInstallerSession.java (5 lines): - line 159: // TODO: enforce INSTALL_ALLOW_TEST - line 160: // TODO: enforce INSTALL_ALLOW_DOWNGRADE - line 656: // TODO: this should delegate to DCS so the system process avoids - line 1000: // TODO: this should delegate to DCS so the system process - line 1010: // TODO: surface more granular state from dexopt android/telephony/TelephonyManager.java (5 lines): - line 1248: // FIXME this assumes phoneId == slotIndex - line 1505: * TODO: This is a last minute change and hence hidden. - line 2406: // FIXME Input argument slotIndex should be of type int - line 5130: // FIXME Need to get it from Telephony Dev Controller when that gets implemented! - line 5527: * TODO: Add an overload that takes no args. android/hardware/camera2/impl/CameraDeviceImpl.java (5 lines): - line 78: // TODO: guard every function with if (!mRemoteDevice) check (if it was closed) - line 284: // TODO: Move from decorator to direct binder-mediated exceptions - line 656: // TODO: dont block for this - line 695: // TODO: wait until current session closes, then create the new session - line 2022: // TODO: Handle CameraCharacteristics access from CaptureResult correctly. androidx/slice/widget/RowView.java (5 lines): - line 167: // TODO -- can be smarter about this - line 270: // TODO: if start item is tappable, touch feedback should exclude it - line 319: // TODO: if start item is an image touch feedback should include it - line 375: // TODO: Need to handle custom accessibility for min - line 409: // TODO: sending this PendingIntent should be rate limited. com/android/server/location/GnssLocationProvider.java (5 lines): - line 670: // TODO: we should get rid of C2K specific setting. - line 1219: // TODO: remove the following native calls if we can make sure they are redundant. - line 2127: // TODO Add Permission check - line 2374: // TODO: When this object "finishes" we should unregister by invoking - line 2562: // TODO: replace the use of this deprecated API com/android/internal/telephony/SMSDispatcher.java (5 lines): - line 258: /* TODO: Need to figure out how to keep track of status report routing in a - line 697: // TODO: According to TS 23.040, 9.2.3.6, we should resend - line 990: // TODO: We currently set this to true since our messaging app will never - line 1071: //TODO FIX - line 1630: // TODO: we should add a "failed" URI for this in SmsProvider? com/android/server/soundtrigger/SoundTriggerHelper.java (5 lines): - line 125: // TODO: Figure out how to determine which module corresponds to the DSP hardware. - line 645: // TODO: Remove this block if the lower layer supports multiple triggers. - line 701: // TODO: Handle sound model update here. - line 750: // TODO: Handle more than one keyphrase extras. - line 785: // 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/RadioResponse.java (5 lines): - line 1363: //TODO: Error code translation - line 1479: // TODO: change name of function stateFromCLCC() in DriverCall.java to name - line 1558: // TODO: change name of function stateFromCLCC() in DriverCall.java to name - line 1895: // TODO: The logic of providing default values should - line 2081: /* TODO: Handle excluded carriers */ android/telephony/ims/ImsSsData.java (5 lines): - line 178: // TODO: Make final, do not modify this field directly! - line 191: // TODO: Make final, do not modify this field directly! - line 205: // TODO: Make this param final! Do not try to modify this param directly. - line 222: // TODO: Make this param final! Do not try to modify this param directly. - line 232: // TODO: Make this param final! Do not try to modify this param directly. com/android/internal/telephony/DefaultPhoneNotifier.java (5 lines): - line 250: // FIXME: subId? - line 261: // FIXME: subId? - line 278: // FIXME: subId? - line 288: // FIXME: subId? - line 298: // FIXME: subID android/provider/ContactsContract.java (5 lines): - line 643: * Return TRUE if it is a remote stored directory. TODO: Remove this method once all - line 2883: // TODO: use a lighter query by joining rawcontacts with contacts in provider - line 3055: * TODO: javadoc - line 5078: * TODO: remove, or implement this feature completely. As of now (Eclair), - line 9171: // TODO add structured name values here. 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 android/text/StaticLayout.java (5 lines): - line 619: LineBreaks lineBreaks = new LineBreaks(); // TODO: move to builder to avoid allocation costs - line 650: // TODO: Support more justification mode, e.g. letter spacing, stretching. - line 746: // TODO: Stop keeping duplicated width copy in native and Java. - line 1047: // TODO: could move TAB to share same column as HYPHEN, simplifying this code and gaining - line 1179: // FIXME: It may be faster to do a linear search for layouts without many lines. com/android/settingslib/bluetooth/CachedBluetoothDevice.java (5 lines): - line 57: //TODO: consider remove, BluetoothDevice.getName() is already cached - line 62: //TODO: consider remove, BluetoothDevice.getBluetoothClass() is already cached - line 380: // TODO: do any of these need to run async on a background thread? - line 1027: // TODO: name com.android.settingslib.bluetooth.Utils something different - line 1122: // TODO: name com.android.settingslib.bluetooth.Utils something different android/view/SurfaceControl.java (5 lines): - line 167: // TODO: Move this to native. - line 341: * TODO: b/64227542 - line 534: * TODO: Finish conversion to individual builder methods? - line 1235: // TODO: should take the display as a parameter - line 1276: // TODO: should take the display as a parameter androidx/slice/widget/SliceView.java (5 lines): - line 202: // TODO: action row background should support light / dark / maybe presenter customization - line 328: // TODO: consider scaling the shortcut to fit if too small - line 358: // TODO: consider scaling the shortcut to fit if too small - line 563: // TODO: Smarter mapping here from one state to the next. - line 606: // TODO: take priority attached to actions into account com/android/server/am/ActivityDisplay.java (5 lines): - line 164: // TODO: Keep in sync with WindowContainer.positionChildAt(), once we change that to adjust - line 302: // TODO: Should be okay to have stacks with with undefined windowing mode long term, but - line 439: // TODO: Would be better to use ActivityDisplay.positionChildAt() for this, however - line 538: // TODO: Do we need to check for freeform and Pip support here? - line 762: // TODO: Remove this logic when WindowContainer.positionChildAt() is updated to adjust the android/widget/LinearLayout.java (5 lines): - line 594: // TODO: This should try to take into account the virtual offsets - line 1004: // TODO: Should we recompute the heightSpec based on the new total length? - line 1062: // FIXME: this may not be right for something like wrapping text? - line 1411: // TODO: Should we update widthSize with the new total length? - line 1484: // 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 640: // FIXME: CSIM IMSI may not contain the MNC. - line 704: // TODO: probably EF_CST should be read instead - line 780: // FIXME: CSIM IMSI may not contain the MNC. - line 814: // TODO: The below is hacky since the SubscriptionController may not be ready at this time. - line 899: // TODO together with spn android/content/res/BridgeTypedArray.java (5 lines): - line 193: // FIXME: handle styled strings! - line 695: // TODO: Get the right Theme Attribute ID to enable caching of the drawables. - line 800: // TODO: more switch cases for other types. - line 869: // TODO: handle fractions. - line 971: // 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/widget/FloatingToolbar.java (5 lines): - line 596: // TODO: Consider to use PopupWindow.setLayoutInScreenEnabled(true) so that we can - line 664: // TODO: Consider to use PopupWindow.setLayoutInScreenEnabled(true) so that we can - line 758: // TODO: Consider to use PopupWindow.setLayoutInScreenEnabled(true) so that we can avoid - line 1322: // TODO: Investigate why this happens and fix. - line 1725: // TODO: Use .setLayoutInScreenEnabled(true) instead of .setClippingEnabled(false) com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java (5 lines): - line 305: // TODO: remove - line 309: // TODO: remove - line 313: // TODO: remove - line 337: // TODO: remove - line 341: // TODO: remove com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java (5 lines): - line 647: * TODO: Remove this code; it is a workaround. - line 1417: //TODO : implement - line 1858: // TODO : what should be done? - line 2607: // TODO: the call to notifySuppServiceFailed throws up the "merge failed" dialog - line 3341: // TODO: Remove this when we can better formalize the format of session modify requests. com/android/server/NetworkScoreService.java (5 lines): - line 278: // TODO: Need to update when we support per-user scorers. http://b/23422763 - line 386: // TODO: Need to update when we support per-user scorers. http://b/23422763 - line 507: // TODO: 1/23/17 - Consider a Map if we implement more filters. - line 885: // TODO: 12/15/16 - Consider pushing null scores into the cache to - line 890: // 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 1778: // TODO: We need a new hack or a complete fix for http://b/8049507 --- We would - line 1781: if (result == null) { // TODO: do we need to do this, or does ICU do it for us? - line 1855: if (result == null) { // TODO: do we need to do this, or does ICU do it for us? - line 1904: if (result == null) { // TODO: do we need to do this, or does ICU do it for us? - line 1999: 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 androidx/media/SessionPlaylistAgentImplBase.java (5 lines): - line 52: // TODO: Check if having the same item is okay (b/74090741) - line 407: // TODO: implement this - line 437: // TODO: Do not call onDataSourceMissing with the lock (b/74090741). - line 446: // TODO: consider to call updateCurrentIfNeededLocked inside (b/74090741) - line 503: // TODO: Call setNextDataSource (b/74090741) android/net/IpSecTransform.java (5 lines): - line 114: // TODO: Pass Error string back from bundle so that errors can be more specific - line 316: 4500, // FIXME urgently, we need to get the port number from the Encap socket - line 359: // TODO: throw IllegalArgumentException if algo is not an encryption algorithm. - line 374: // TODO: throw IllegalArgumentException if algo is not an authentication algorithm. - line 461: // FIXME: modifying a builder after calling build can change the built transform. 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. 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/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 594: // TODO: design an escape hatch in case client never finishes - line 1253: checkPermission(MANAGE_FINGERPRINT); // TODO: Maybe have another permission - line 1267: checkPermission(MANAGE_FINGERPRINT); // TODO: Maybe have another permission - line 1371: // 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 android/view/inputmethod/InputMethodManager.java (4 lines): - line 1449: // TODO: Check view.isTemporarilyDetached() when re-enable the following code. - line 1771: // TODO: Consider always emitting this message once we have addressed redundant - line 2261: // TODO: We should change the return type from List to List - line 2309: *

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

android/provider/MetadataReader.java (4 lines): - line 34: *

TODO: Add support for common video and audio types, as well as PDF files. - line 67: // TODO: Move this over to ExifInterface.java - line 241: // TODO: Add support for PDF and Video metadata - line 242: // TODO: Broaden image support to all images com/android/server/lowpan/LowpanServiceImpl.java (4 lines): - line 101: // TODO: Bring up any daemons(like wpantund)? - line 163: // TODO: Consider removing the listener...? - line 180: // TODO: Consider removing the listener...? - line 324: // TODO: Shouldn't we be unlinking from the death notification? 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 256: * TODO: Candidate for Public API when the API to start capture with a session ID - line 259: * TODO: Add this to {@link #getCaptureAudioFormat()}: - line 264: * TODO: Should this return a known invalid value instead? - line 566: // TODO: Do we need to do something about the confidence level here? android/media/audiofx/DynamicsProcessing.java (4 lines): - line 2365: //TODO: just for testing, we are calling the getters one by one, this is - line 2377: //TODO:with config settings.inputGain[ch] = getInputGain(ch); - line 2397: //TODO: for now calling multiple times. - line 2399: //TODO: use config setInputGain(ch, settings.inputGain[ch]); android/graphics/Matrix_Delegate.java (4 lines): - line 323: // TODO: do it in one pass - line 986: // TODO: do it in one pass - line 1038: // TODO: do it in one pass - line 1063: // TODO: do it in one pass com/android/server/wifi/WifiVendorHal.java (4 lines): - line 1124: return featureSet; // TODO: can't get capabilities with Wi-Fi down - line 1792: // TODO: Must also take the wakelock here to prevent going to sleep with APF disabled. - line 2413: //TODO - belongs in NativeUtil - line 2703: // TODO: This ugly conversion can be removed if we put IE elements in ScanResult. 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 576: // TODO: Investigate its feasibility. Update JavaDoc of #showWindow() of - line 1810: // TODO: Give developers a clear guideline of whether it's OK to call this method or - line 1814: // TODO: Is it OK to set true when we get BadTokenException? - line 2793: // TODO: Handle the subtype change event 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/content/SyncManager.java (4 lines): - line 227: // TODO: add better locking around mRunningAccounts - line 1606: // TODO Should we give the winning one SYNC_EXTRAS_APP_STANDBY_EXEMPTED - line 3727: // TODO: set these correctly when the SyncResult is extended to include it - line 3758: // TODO: set these correctly when the SyncResult is extended to include it com/android/internal/telephony/uicc/UiccSlot.java (4 lines): - line 140: // TODO: (b/79432584) evaluate whether should broadcast card state change - line 155: // TODO: (b/79432584) Create UiccCard or EuiccCard object here. - line 277: // TODO: Here we assume the device can't handle SIM hot-swap - line 284: // TODO: SimRecords is not reset while SIM ABSENT (only reset while com/android/server/pm/PackageInstallerService.java (4 lines): - line 115: // TODO: remove outstanding sessions when installer package goes away - line 116: // TODO: notify listeners in other users when package has been installed there - line 117: // TODO: purge expired sessions periodically in addition to at reboot - line 1007: // TODO: dispatch notifications for slave profiles com/android/systemui/plugins/PluginInstanceManager.java (4 lines): - line 280: // TODO: Show warning. - line 306: // TODO: This probably isn't needed given that we don't have IGNORE_SECURITY on - line 317: // TODO: Only create the plugin before version check if we need it for - line 360: // TODO: Warn user. androidx/leanback/widget/GridLayoutManager.java (4 lines): - line 588: * TODO: This is somewhat duplication of RecyclerView getOldPosition() which is - line 1424: // TODO: investigate allowing a second layout pass, - line 2731: // TODO We should be able to deduce direction from bounds of current and target - line 3645: // save views currently is on screen (TODO save cached views) android/graphics/Typeface.java (4 lines): - line 205: // TODO: introduce ttc index and variation settings to resource type font. - line 905: * TODO: Remove private API use in supportlib: http://b/72665240 - line 1121: // TODO: normal in non-Minikin case, remove or make error when Minikin-only - line 1197: // TODO: clean up: change List to FontVariationAxis[] com/android/server/backup/fullbackup/FullBackupEngine.java (4 lines): - line 224: // TODO: http://b/22388012 - line 296: // TODO: handle backing up split APKs - line 302: // TODO: migrate this to SharedStorageBackup, since AID_SYSTEM - line 307: // TODO: http://b/22388012 com/android/server/appwidget/AppWidgetServiceImpl.java (4 lines): - line 445: // TODO: http://b/22388012 - line 3066: // TODO: do we need to check that this package has the same signature - line 3118: // TODO: do we need to check that this package has the same signature - line 4358: // 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 com/android/server/wifi/WifiConfigManager.java (4 lines): - line 498: * TODO: Need to understand the current use case of this API. - line 1975: // TODO: Do we really need to do this after every scan result? - line 2104: // TODO (b/30706406): Link networks only with same passwords if the - line 2166: // TODO (b/30638473): This needs to become a set instead of map, but it will need 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 androidx/vectordrawable/graphics/drawable/VectorDrawableCompat.java (4 lines): - line 1372: mThemeAttrs = null; // TODO TINT THEME Not supported yet a.extractThemeAttrs(); - line 1598: // TODO TINT THEME Not supported yet - line 1722: mThemeAttrs = null; // TODO TINT THEME Not supported yet a.extractThemeAttrs(); - line 1786: * TODO TINT THEME Not supported yet final TypedArray a = 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. androidx/recyclerview/widget/RecyclerViewAnimationsTest.java (4 lines): - line 210: // TODO don't use this after moving this class to Junit 4 - line 523: // TODO TEST ITEM INVALIDATION OR TYPE CHANGE IN BETWEEN - line 524: // TODO TEST ITEM IS RECEIVED FROM RECYCLER BUT NOT RE-ADDED - line 525: // TODO TEST ITEM ANIMATOR IS CALLED TO GET NEW INFORMATION ABOUT LOCATION com/android/server/media/MediaSessionService.java (4 lines): - line 104: static final boolean USE_MEDIA2_APIS = false; // TODO: Change this to true when we're ready. - line 138: // Used to notify system UI when remote volume was changed. TODO find a - line 1383: // TODO: Consider the case when both volume up and down keys are pressed - line 1919: // TODO: Find a way to also send PID/UID in secure way. androidx/media/MediaPlayer2TestBase.java (4 lines): - line 419: /* FIXME: ensure device has capability. - line 431: // TODO: close afd only after setDataSource is confirmed. - line 438: /* FIXME: ensure device has capability. - line 453: /* FIXME: ensure device has capability. android/net/ip/RouterAdvertisementDaemon.java (4 lines): - line 64: * TODO: - line 106: // TODO: This should be handled with a more RCU-like approach. - line 565: // TODO: Consider looking at ra.remaining() to determine how many - line 669: // TODO: Consider moving this to run on a provided Looper as a Handler, android/graphics/Canvas_Delegate.java (4 lines): - line 210: // FIXME: implement throwOnUnderflow. - line 223: // FIXME: implement throwOnUnderflow. - line 445: // FIXME properly implement quickReject - line 453: // FIXME properly implement quickReject com/android/server/wm/Task.java (4 lines): - line 56: // TODO: Track parent marks like this in WindowContainer. - line 131: // TODO: Confirm that this is the behavior we want long term. - line 165: // TODO: This should probably return false if mChildren.isEmpty() regardless if the stack - line 509: // TODO: Yeah...not sure if this works with WindowConfiguration, but shouldn't be a com/android/media/SessionPlaylistAgent.java (4 lines): - line 56: // TODO: Check if having the same item is okay (b/74090741) - line 412: // TODO: Do not call onDataSourceMissing with the lock (b/74090741). - line 421: // TODO: consider to call updateCurrentIfNeededLocked inside (b/74090741) - line 475: // TODO: Call setNextDataSource (b/74090741) 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/server/usage/AppStandbyController.java (4 lines): - line 254: // TODO: Provide a mechanism to set an external bucketing service - line 616: // TODO: Remove any history of removed packages - line 832: // TODO: Ideally this should call isAppIdleFiltered() to avoid calling back - line 1814: // TODO: Maybe apply different thresholds for different users. androidx/media/widget/VideoView2.java (4 lines): - line 103: @RequiresApi(21) // TODO correct minSdk API use incompatibilities and remove before release. - line 208: * @hide TODO: remove - line 303: * @hide TODO unhide and remove setAudioAttributes with framework attributes - line 483: * @hide TODO remove com/android/commands/bmgr/Bmgr.java (4 lines): - line 367: // TODO: implement monitor here? - line 610: // TODO implement monitor here - line 720: // TODO implement monitor here - line 748: // TODO implement monitor here com/android/server/backup/SystemBackupAgent.java (4 lines): - line 62: // TODO: Will need to change if backing up non-primary user's wallpaper - line 63: // TODO: http://b/22388012 - line 70: // TODO: Will need to change if backing up non-primary user's wallpaper - line 71: // 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 530: // TODO: Fire onClosed anytime we get the device onClosed or the ISE? - line 541: // TODO: call onError instead of onClosed if this happens - line 797: // TODO: Queue captures during abort instead of failing them - line 958: // TODO: call onError instead of onClosed if this happens com/android/server/backup/restore/FullRestoreEngine.java (4 lines): - line 240: // TODO: Refactor, so that there are no funny things like this. - line 339: // TODO: Fix this properly with manifest parameter. - line 417: // TODO: Refactor to clearly separate the flows. - line 661: // TODO: use a more user-friendly name string 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 383: // TODO: Check first whether there is an artifact, to save the roundtrip time. androidx/core/widget/TextViewCompat.java (3 lines): - line 501: @TargetApi(26) // TODO was anonymous but https://issuetracker.google.com/issues/76458979 - line 679: // TODO: Decide if we want to ignore density ratio (i.e. when the user changes font size - line 720: // TODO: Decide if we want to ignore density ratio (i.e. when the user changes font size 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 androidx/core/app/NotificationCompat.java (3 lines): - line 1685: // TODO: implement for all styles - line 1717: // TODO: implement for all styles - line 1725: // TODO: implement for all styles 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 971: // TODO: better source address evaluation for destination addresses. - line 980: // TODO: verify it matches the ifindex of one of the interfaces. - line 985: // 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 104: * TODO: if decide that no need for separating construction from initialization (e.g. both are - line 1445: * TODO: optimize by using a Set as opposed to a []: will remove duplicates. Will need to - line 1779: // 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/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 831: // FIXME figure out the return value? - line 984: // FIXME: support contextStart and contextEnd - line 1308: // 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 988: // TODO: Rename all screen off/on references to interactive/sleeping - line 1292: // TODO: clean this up when we have better support at the window manager level - line 1840: // 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/hardware/camera2/CameraCharacteristics.java (3 lines): - line 167: * TODO: Make this private or remove it altogether. - line 1890: * TODO: Remove property.

- line 1906: * 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). android/telephony/ims/ImsSsInfo.java (3 lines): - line 39: // TODO: Make private, do not modify this field directly, use getter! - line 42: // TODO: Make private, do not modify this field directly, use getter! - line 46: // TODO: Remove! Do not use this constructor, instead use public version. 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 com/android/media/MediaSession2Impl.java (3 lines): - line 853: // TODO (jaewan): Notify controllers through appropriate callback. (b/74505936) - line 869: // TODO (jaewan): Notify controllers through appropriate callback. (b/74505936) - line 898: // TODO (jaewan): Notify controllers through appropriate callback. (b/74505936) android/bluetooth/BluetoothDevice.java (3 lines): - line 103: // TODO: Change API to not broadcast RSSI if not available (incoming connection) - line 378: //TODO: is this actually useful? - line 716: * 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. com/android/server/am/ActivityStarter.java (3 lines): - line 1903: // TODO: This should be reevaluated in MW v2. - line 2225: // TODO: Shouldn't we already know what stack to use by the time we get here? - line 2369: // TODO: This method can probably be consolidated into getLaunchStack() below. android/media/AudioRecord.java (3 lines): - line 385: //TODO: update native initialization when information about hardware init failure - line 429: //TODO: update native initialization when information about hardware init failure - line 1755: // 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 androidx/core/view/ViewCompat.java (3 lines): - line 1350: // TODO: use and link to View#requireViewById() directly, once available - line 2200: @RequiresApi(21) // TODO remove https://issuetracker.google.com/issues/76458979 - line 2429: // TODO: getters for various view properties (rotation, etc) 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/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 847: // TODO: implement flush androidx/transition/Transition.java (3 lines): - line 742: // TODO: what to do about targetIds and itemIds? - line 894: // TODO: could be a single listener instance for all of them since it uses the param - line 1893: // TODO: maybe pass auto-end as a boolean parameter? android/content/ContentResolver.java (3 lines): - line 154: /* Extensions to API. TODO: Not clear if we will keep these as public flags. */ - line 2242: // TODO: No references to Google in AOSP - line 3109: * TODO: Would be nice to explicitly validate that colums referenced in com/android/mtp/MtpDocumentsProvider.java (3 lines): - line 309: // TODO: Clear the parent document loader task (if exists) and call notify - line 320: // TODO: Add support for "rw" mode. - line 683: // TODO: Flush the device before closing (if not closed externally). androidx/slice/widget/SliceActionView.java (3 lines): - line 91: // TODO - find nice way to tint toggles - line 108: // TODO - Consider allowing option for untinted custom toggles - line 164: // TODO - Show loading indicator here? 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/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 com/android/server/wifi/p2p/WifiP2pMonitor.java (3 lines): - line 149: * TODO: Add unit tests for these once we remove the legacy code. - line 160: * TODO: Add unit tests for these once we remove the legacy code. - line 172: * TODO: Add unit tests for these once we remove the legacy code. 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. androidx/core/widget/NestedScrollView.java (3 lines): - line 960: // TODO: Make this decision more intelligent. - line 1613: // TODO: screenTop should be incremented by fadingEdge * getTopFadingEdgeStrength (but for - line 1620: // TODO: screenBottom should be decremented by fadingEdge * getBottomFadingEdgeStrength (but android/telephony/PhoneNumberUtils.java (3 lines): - line 2330: * TODO: This should come from a resource. - line 2391: * @hide TODO: pending API Council approval - line 2821: // TODO: for nonNanp, should the '+' be removed if following number is country code com/android/internal/telephony/imsphone/ImsPhoneMmiCode.java (3 lines): - line 964: // TODO: isRegister() case needs to be handled. - line 970: // TODO: Should we route through queryCallBarring() here? - line 1875: * 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 626: //FIXME add support for canvas, screen and bitmap densities. com/android/server/locksettings/LockSettingsService.java (3 lines): - line 671: // TODO: maybe skip this for split system user mode. - line 1154: // TODO: make this method fully async so we can update UI with progress strings - line 2678: // 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(); com/android/server/HardwarePropertiesManagerService.java (3 lines): - line 70: // TODO - Make HardwarePropertiesManager APIs require a userId to verifiy - line 81: // TODO - Make HardwarePropertiesManager APIs require a userId to verifiy - line 91: // TODO - Make HardwarePropertiesManager APIs require a userId to verifiy 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/wm/AppWindowThumbnail.java (3 lines): - line 63: // TODO: This should be attached as a child to the app token, once the thumbnail animations - line 107: // TODO: Not needed anymore once thumbnail is attached to the app. - line 154: // TODO: Once attached to app token, we don't need to hide it immediately if thumbnail android/media/AudioAttributes.java (3 lines): - line 291: // FIXME not guaranteed yet - line 292: // TODO add in FLAG_ALL_PUBLIC when supported and in public API - line 904: // TODO: is the data in mBundle useful for debugging? com/android/server/connectivity/MultipathPolicyTracker.java (3 lines): - line 241: // TODO: calculate with proper timezone information - line 337: // TODO: re-register if day changed: budget may have run out but should be refreshed. - line 443: // TODO: this races with app code that might respond to onAvailable() by immediately calling androidx/slidingpanelayout/widget/SlidingPaneLayout.java (3 lines): - line 447: // TODO Better communication with tools of this bogus state. - line 461: // TODO Better communication with tools of this bogus state. - line 1251: // TODO: Add versioned support here for transformed views. com/android/server/wifi/scanner/WifiScanningServiceImpl.java (3 lines): - line 875: // TODO move merging logic to a scheduler - line 1075: // TODO this should be moved to a common location since it is used outside - line 1874: // TODO migrate batterystats to accept scan duration per hour instead of csph com/android/server/am/ActivityStartController.java (3 lines): - line 256: // TODO: Switch to user app stacks here. - line 291: // TODO: Switch to user app stacks here. - line 345: // TODO: New, check if this is correct com/android/keyguard/KeyguardPasswordView.java (3 lines): - line 53: // TODO: Remove this by ensuring such a race condition never happens. - line 151: // TODO: Check if we still need this hack. - line 213: // 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 androidx/media/MediaPlayer2Impl.java (3 lines): - line 182: // TODO: To make sure MediaPlayer1 listeners work, the caller thread should have a looper. - line 399: // TODO: setDataSource could update exist data source - line 1635: // TODO: The actual seeked position might be different from the androidx/appcompat/widget/SearchView.java (3 lines): - line 415: // TODO: use imeOptions to disable voice input when the new API will be available - line 1062: // TODO: Reverse left/right for right-to-left languages, e.g. - line 1076: // TODO: restoreUserQuery(); 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 143: // FIXME - support devices with different number of input and output ports - line 164: // FIXME - support devices with different number of input and output ports - line 173: // 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/wifi/aware/WifiAwareNativeApi.java (3 lines): - line 581: // TODO: configure security - line 646: // TODO: b/69428593 remove correction factors once HAL converted from CM to MM - line 658: // TODO: configure security 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 80: // TODO: Set this flag to FORCE_DEBUG once the new conference call logic gets more mileage - line 1254: // TODO: Fix the fact that user invoked call terminations during - line 1309: // FIXME: We should update the state on the callback because that is where com/android/ims/ImsManager.java (3 lines): - line 374: //TODO: Move these caches into the MmTelFeature Connection and restrict their lifetimes to the - line 1282: // TODO: Extend ImsConfig API and set all feature values in single function call. - line 1667: // FIXME: manage the multiple Ut interfaces based on the session id android/graphics/drawable/GradientDrawable.java (3 lines): - line 1481: // TODO: Update these to be themeable. - line 1569: // TODO: Update these to be themeable. - line 1772: // 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 com/android/keyguard/KeyguardUpdateMonitor.java (3 lines): - line 1821: // TODO: only count SIMs that handle voice - line 1901: // TODO: use these callbacks elsewhere in place of the existing notifyScreen*() - line 2021: * TODO: fix the tests and remove this. 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 androidx/media/subtitle/SubtitleController.java (3 lines): - line 440: // TODO how to get available renderers in the system - line 442: // TODO should added renderers override existing ones (to allow replacing?) - line 457: // TODO how to get available renderers in the system 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. 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 500: // TODO: Detect and optimize single-output paths here to skip stream teeing. com/android/server/connectivity/NetdEventListenerService.java (3 lines): - line 74: // TODO: dedup this String constant with the one used in - line 173: // TODO: allow to change transport for a given netid. - line 365: // TODO: directly query ConnectivityService instead of going through Binder interface. android/service/textclassifier/TextClassifierService.java (3 lines): - line 241: // TODO: Remove once apps can build against the latest sdk. - line 275: // TODO: Remove once apps can build against the latest sdk. - line 310: // TODO: Remove once apps can build against the latest sdk. com/android/server/connectivity/NetworkNotificationManager.java (3 lines): - line 85: // TODO: deal more gracefully with multi-transport networks. - line 105: R.drawable.stat_notify_wifi_in_range : // TODO: Distinguish ! from ?. - line 186: // 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 577: // TODO - actually try to match the set of capabilities - line 627: // TODO: If this error condition is removed, the framework's handling of - line 639: // TODO - kill The use of these strings com/android/server/wifi/WifiController.java (3 lines): - line 499: // TODO b/71559473: remove the defered enable after mode management changes are complete - line 609: * TODO (b/78244565): move from many ifs to a switch - line 673: * TODO (b/79209870): merge DeviceActiveState and StaEnabledState into a single state android/media/MediaCodec.java (3 lines): - line 2145: // TODO get this from codec - line 3065: // FIXME: check codec status - line 3096: // FIXME: check codec status com/android/internal/telephony/SubscriptionInfoUpdater.java (3 lines): - line 506: * TODO: Simplify more, as no one is interested in what happened - line 598: //FIXME: addSubInfoRecord can return an error. - line 810: // TODO - we'd like this intent to have a single snapshot of all sim state, com/android/internal/telephony/gsm/GsmMmiCode.java (3 lines): - line 657: // TODO in cases other than USSD, it would be nice to cancel - line 1018: // TODO: This is the same as the code in CmdaMmiCode.java, - line 1707: * 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 276: //TODO also, on timeout -> call onFailure - line 298: //TODO is this the right userId? - line 358: //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 763: // TODO: verify that emulated adopted devices have UUID of - line 965: // TODO: switch to explicit wipe command when we have it, - line 1361: // TODO: extend to support shared storage android/media/AudioPlaybackConfiguration.java (3 lines): - line 93: // TODO unhide for SystemApi, update getPlayerType() - line 101: // TODO unhide for SystemApi, update getPlayerType() - line 110: // 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 . com/android/media/subtitle/SubtitleController.java (3 lines): - line 421: // TODO how to get available renderers in the system - line 423: // TODO should added renderers override existing ones (to allow replacing?) - line 431: // TODO how to get available renderers in the system 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/bluetooth/BluetoothPbap.java (3 lines): - line 272: // TODO: This is currently being used by SettingsLib and internal app. - line 282: // TODO: This is currently being used by SettingsLib and will be used in the future. - line 283: // TODO: Must specify target device. Implement this in the service. 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. 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? com/android/server/connectivity/DnsManager.java (3 lines): - line 286: // TODO: Replace these Maps with SparseArrays. - line 306: // TODO: Create and register ContentObservers to track every setting - line 407: // TODO: netd should listen on [::1]:53 and proxy queries to the current android/net/NetworkStats.java (3 lines): - line 53: // TODO: Rename TAG_ALL to TAG_ANY. - line 72: // TODO: Rename TAG_NONE to TAG_ALL. - line 106: // TODO: move fields to "mVariable" notation com/android/server/pm/PackageDexOptimizer.java (3 lines): - line 81: // TODO b/19550105 Remove error codes and use exceptions - line 286: // TODO: Consider adding 2 different APIs for primary and secondary dexopt. - line 542: // TODO we should pass the actual flag value to dexopt, rather than assuming blacklist com/android/server/backup/Trampoline.java (3 lines): - line 110: // TODO: http://b/22388012 - line 158: // TODO: http://b/22388012 - line 190: // TODO: http://b/22388012 android/hardware/camera2/legacy/CameraDeviceUserShim.java (3 lines): - line 373: // TODO: Make this async instead of blocking - line 646: // TODO: implement getCameraInfo. - line 653: // TODO: b/63912484 implement updateOutputConfiguration. com/android/systemui/recents/Recents.java (3 lines): - line 213: // TODO: Once we start building the AAR, move these into the loader - line 408: // TODO: Proxy to Launcher - line 441: // TODO: Proxy to Launcher 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 org/apache/harmony/xml/ExpatParser.java (3 lines): - line 91: * TODO: Let Expat try to guess the encoding instead of defaulting. - line 375: // TODO: We could just try our systemId here. - line 625: // TODO: Can we please remove this? It appears unused, and the finalizer android/hardware/camera2/impl/CameraMetadataNative.java (3 lines): - line 249: // TODO: remove this; other places should use #getTypeReference() instead - line 1072: // TODO: Optimization. Cache the byte[] and reuse if the size is big enough. - line 1322: // TODO: Optimization. Native code returns a ByteBuffer instead. androidx/textclassifier/TextClassifier.java (3 lines): - line 47: // TODO: describe in the class documentation how a TC implementation in chosen/located. - line 89: // TODO: add constructor, suggestSelection, classifyText, generateLinks, logEvent - line 98: // TODO: forward call to the classifier implementation. android/view/ViewGroup.java (3 lines): - line 1636: // TODO: Write real docs - line 3076: // TODO Applications really shouldn't change this setting mid-touch event, - line 8721: // 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 424: // 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 76: // TODO: Implement this method natively. - line 283: // TODO: Implement this method natively. android/text/MeasuredParagraph.java (3 lines): - line 411: // TODO: Stop creating empty measured text for empty lines. - line 522: // TODO: passing uninitizlied FontMetrics to developers. Do we need to keep this for - line 604: // TODO: No need to call updateMeasureState for ReplacementSpan as well? com/android/internal/telephony/CommandsInterface.java (3 lines): - line 783: // TODO: Add java doc and indicate that msg.arg1 contains the number of attempts remaining. - line 1966: // FIXME Update the doc and consider modifying the request to make more generic. - line 1978: // FIXME We may need to pass AID and slotid also android/media/MediaCodecInfo.java (3 lines): - line 941: // TODO restrict features by mFlagsVerified once all codecs reliably verify them - line 2428: // TODO: set to 100Mbps for now, need a number for VP8 - line 2755: // 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 com/android/systemui/statusbar/NotificationMediaManager.java (3 lines): - line 82: // TODO: use MediaSessionManager.SessionListener to hook us up to future updates - line 146: // TODO: Should this really be for all users? - line 256: // TODO: confirm that there's a valid media key com/android/server/slice/SliceManagerService.java (3 lines): - line 289: //TODO: http://b/22388012 - line 318: //TODO: http://b/22388012 - line 496: // TODO: Unify if possible 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/autofill/Session.java (3 lines): - line 2318: // TODO: add a metric for number of responses set by server, so we can use its average - line 2471: // TODO: this should never be null, but we got at least one occurrence, probably due to a race. - line 2560: // TODO: add method on AssistStructure to dump on pw com/android/server/backup/internal/PerformBackupTask.java (3 lines): - line 780: // TODO: http://b/22388012 - line 974: // TODO - We call finishBackup() for each application backed up, because - line 1139: // !!! TODO: keep track of failure counts per agent, and blacklist those which 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 androidx/work/impl/utils/Preferences.java (2 lines): - line 28: * TODO: Migrate all preferences, including IdGenerator, to this file. - line 76: // TODO Remove this before WorkManager 1.0 beta. com/android/server/wm/AppWindowContainerController.java (2 lines): - line 210: // TODO: Should this throw an exception instead? - line 333: // 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 84: // 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/app/AppOpsManager.java (2 lines): - line 2031: // TODO: Uncomment below annotation once b/73559440 is fixed - line 2560: // TODO: Uncomment below annotation once b/73559440 is fixed android/graphics/FontFamily_Delegate.java (2 lines): - line 307: // TODO: support lang. This is required for japanese locale. - line 464: // FIXME: support ttc fonts. Hack JRE?? com/android/internal/app/LocaleStore.java (2 lines): - line 217: *

TODO: decide if it is worth moving such kind of monitoring in this shared code. - line 295: // TODO: See if we can reuse what LocaleList.matchScore does android/os/WorkSource.java (2 lines): - line 222: // TODO: This is a public API so it cannot be renamed. Because it is used in several places, - line 919: // TODO: The following three trivial getters are purely for testing and will be removed 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/connectivity/Nat464Xlat.java (2 lines): - line 90: // TODO: migrate to NetworkCapabilities.TRANSPORT_*. - line 205: // TODO: should we only do this if mNMService.startClatd() succeeds? com/android/systemui/Dependency.java (2 lines): - line 154: // TODO: Think about ways to push these creation rules out of Dependency to cut down - line 410: * 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 489: // TODO: need to be smarter, for now, just return the 1st sensor - line 1182: // TODO: move this to native code for efficiency com/android/internal/net/NetworkStatsFactory.java (2 lines): - line 68: // TODO: only do adjustments in NetworkStatsService and remove this. - line 265: // TODO: remove this and only apply adjustments in NetworkStatsService. com/android/server/wm/BlackFrame.java (2 lines): - line 56: .setParent(null) // TODO: Work-around for b/69259549 - line 123: // TODO: Why do we use 4 surfaces instead of just one big one behind the screenshot? com/android/server/pm/permission/PermissionManagerService.java (2 lines): - line 651: // TODO: switch this back to SecurityException - line 1718: // TODO: Most of the methods exposing BasePermission internals [source package name, androidx/textclassifier/TextClassification.java (2 lines): - line 63: * TODO: describe how to start action mode for classified text. - line 73: // TODO: investigate a way to derive this based on device properties. android/media/MediaRecorder.java (2 lines): - line 316: // TODO make AudioSource static (API change) and move this method inside the AudioSource class - line 1147: * FIXME: benchmarks/regression/StringCaseMappingBenchmark.java (2 lines): - line 26: // TODO: include hairy inputs like turkish and greek. - line 27: // TODO: locale makes a difference too. androidx/recyclerview/widget/AsyncDifferConfig.java (2 lines): - line 154: // TODO: remove the below once supportlib has its own appropriate executors - line 158: // TODO: use MainThreadExecutor from supportlib once one exists com/android/systemui/recents/views/TaskViewHeader.java (2 lines): - line 104: // TODO: Consider using the saturation of the color to adjust the lightness as well - line 431: // TODO: Consider using the saturation of the color to adjust the lightness as well com/android/internal/telephony/uicc/euicc/EuiccCard.java (2 lines): - line 121: // TODO: Set supportExtendedApdu based on ATR. - line 1047: *

TODO: Use com/android/internal/telephony/RIL.java (2 lines): - line 3661: /* TODO: add excluded carriers */ - line 4235: // TODO: Remove rr and clean up acquireWakelock for response and ack androidx/slice/widget/RemoteInputView.java (2 lines): - line 61: // TODO this should be unified with SystemUI RemoteInputView (b/67527720) - line 136: // TODO: Figure out API for telling the system about slice interaction. 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 java/lang/reflect/Executable.java (2 lines): - line 336: // TODO: This may eventually need to be guarded by security - line 349: // TODO: is there a way to synthetically derive the androidx/customview/widget/ExploreByTouchHelper.java (2 lines): - line 969: // TODO: Check virtual view visibility. - line 979: // TODO: Only invalidate virtual view bounds. android/media/RingtoneManager.java (2 lines): - line 719: //FIXME bypass the notion of stream types within the class - line 734: //FIXME deprecated call 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 607: // TODO we can probably avoid this if neither stackFromEnd/reverseLayout/RTL values have - line 1476: // 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. com/android/server/wifi/WifiInjector.java (2 lines): - line 550: * TODO: share worker thread with other Wi-Fi handlers (b/27924886) - line 563: * TODO: share worker thread with other Wi-Fi handlers (b/27924886) 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/server/DeviceIdleController.java (2 lines): - line 1122: // TODO: What is keeping the device awake at this point? Does it need to be? - line 1127: // TODO: What is keeping the device awake at this point? Does it need to be? android/os/storage/VolumeInfo.java (2 lines): - line 316: // TODO: plumb through cleaner path from vold - line 401: // TODO: avoid this layering violation 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/server/IpSecService.java (2 lines): - line 1261: // TODO: Check that underlying network exists, and IP addresses not assigned to a different - line 1620: // TODO: make this a function. 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/media/update/MediaControlView2Provider.java (2 lines): - line 37: // TODO: @SystemApi - line 44: * @hide TODO: remove android/hardware/display/DisplayManager.java (2 lines): - line 265: // TODO: Update name and documentation and un-hide the flag. Don't change the value before that. - line 388: // TODO: We cannot currently provide any override configurations for metrics on displays android/accounts/AccountManager.java (2 lines): - line 1508: // TODO: remove this when the bug is found that sometimes causes a null bundle to be - line 2257: // TODO: somehow a null is being set as the result of the Future. Log this android/security/KeyStore.java (2 lines): - line 430: // TODO: remove this when it's removed from Settings - line 915: // 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. com/android/server/pm/BackgroundDexOptService.java (2 lines): - line 477: // TODO: We should reschedule if we didn't process all apps, yet. - line 483: // TODO: Should this be dependent on the stop reason? android/content/pm/ShortcutManager.java (2 lines): - line 612: // TODO Implement it properly using xdpi. - line 624: // 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 1329: // TODO update audio stream with AudioAttributes support version - line 1364: // TODO switch to AudioAttributesCompat when it is added. androidx/transition/Visibility.java (2 lines): - line 393: // TODO: Need to do this for general case of adding to overlay - line 575: // TODO: Implement API 23; isTransitionRequired androidx/recyclerview/selection/DefaultBandHost.java (2 lines): - line 134: // TODO: mRecyclerView.invalidateItemDecorations() should work, but it isn't currently. - line 143: // TODO: mRecyclerView.invalidateItemDecorations() should work, but it isn't currently. android/net/NetworkCapabilities.java (2 lines): - line 547: * TODO: consider: - line 1286: // TODO: properly support NOT_METERED as a mutable and requestable capability. com/android/server/display/DisplayManagerService.java (2 lines): - line 387: // TODO: Use dependencies or a boot phase - line 1242: // TODO: no logical display for the device, blank it androidx/exifinterface/media/ExifInterface.java (2 lines): - line 5075: // TODO: Check this behavior in other ORF files - line 5698: // TODO: Add support for lossless Huffman JPEG data 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 1038: // TODO: remove this extra check. - line 1698: // TODO: When MediaBrowser is connected to framework's MediaBrowserService, com/android/internal/telephony/cdma/SmsMessage.java (2 lines): - line 605: Rlog.e(LOG_TAG, "TODO: Originating Addr is email id"); - line 608: "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 2468: // 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 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 androidx/recyclerview/widget/SortedList.java (2 lines): - line 649: // TODO this done in 1 pass to avoid shifting twice. - line 686: // TODO can be improved com/android/server/wm/WindowToken.java (2 lines): - line 205: // TODO: Should we also be setting layout needed here and other places? - line 250: // TODO: Not sure if this is the best way to handle this vs. using instanceof and casting. androidx/recyclerview/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? com/android/systemui/statusbar/policy/NetworkControllerImpl.java (2 lines): - line 195: // TODO: Find a way to move this into DataUsageController. - line 252: // TODO: Move off of the deprecated CONNECTIVITY_ACTION broadcast and rely on callbacks 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. com/android/server/job/JobSchedulerService.java (2 lines): - line 1732: * TODO: It would be nice to consolidate these sort of high-level policies somewhere. - line 1997: // TODO: log/trace that we're deferring the job due to bucketing if we hit this com/android/internal/widget/LockPatternView.java (2 lines): - line 1115: // TODO: Infinite loop here... - line 1145: // TODO: the path should be created and cached every time we hit-detect a cell com/android/systemui/statusbar/NotificationMenuRow.java (2 lines): - line 593: // TODO should animate back to 0f from current alpha - line 611: // TODO -- handle / allow custom menu items! com/android/captiveportallogin/CaptivePortalLoginActivity.java (2 lines): - line 289: // TODO: This misses when mNetwork underlies a VPN. - line 334: // TODO: reuse NetworkMonitor facilities for consistent captive portal detection. android/telephony/CellIdentity.java (2 lines): - line 110: // TODO: b/69384059 Should throw IllegalArgumentException for the invalid MCC format - line 122: // TODO: b/69384059 Should throw IllegalArgumentException for the invalid MNC format android/app/SharedPreferencesImpl.java (2 lines): - line 200: // TODO: wait for any pending writes to disk? - line 341: // TODO: remove the need to call awaitLoadedLocked() when com/android/server/pm/ShortcutPackageInfo.java (2 lines): - line 173: // TODO (b/73988180) use entire signing history in case of rollbacks - line 203: // TODO (b/73988180) use entire signing history in case of rollbacks com/android/server/usb/descriptors/report/ReportCanvas.java (2 lines): - line 127: //TODO Look into renaming the "getHexString()" functions to be more - line 149: //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? com/android/server/job/controllers/ConnectivityController.java (2 lines): - line 174: // TODO: treat this as "maybe" response; need to check quotas - line 210: // TODO: consider matching against non-active networks 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... androidx/drawerlayout/widget/DrawerLayout.java (2 lines): - line 429: * TODO Someone someday might want to set more complex drawables here. - line 1040: // TODO Better communication with tools of this bogus state. 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 557: // FIXME fix overflow & underflow - line 560: // 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 117: // TODO: re-register network callback on user change. - line 379: // TODO Find another way to receive VPN lost. This may be delayed depending on androidx/slice/widget/LargeSliceAdapter.java (2 lines): - line 55: static final int TYPE_HEADER = 2; // TODO: headers shouldn't scroll off - line 211: // TODO: Better way to determine me or not? Something more like Messaging style. com/android/internal/content/PackageHelper.java (2 lines): - line 174: // TODO: handle existing apps installed in ASEC; currently assumes - line 324: // TODO: distinguish if this is external ASEC androidx/media/MediaInterface2.java (2 lines): - line 29: // TODO: relocate methods among different interfaces and classes. - line 74: // TODO: consider to add fastForward, rewind. com/android/server/backup/internal/PerformClearTask.java (2 lines): - line 61: // TODO - need to handle failures - line 68: // TODO - need to handle failures com/android/internal/telephony/cat/CatService.java (2 lines): - line 757: /* TODO: eventDownload should be extended for other Envelope Commands */ - line 800: //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. androidx/slice/render/SliceCreator.java (2 lines): - line 295: // TODO: Remote input. - line 315: // TODO: Remote input. 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? android/widget/MediaControlView2.java (2 lines): - line 34: // TODO: Use link annotation to refer VideoView2 once VideoView2 became unhidden. - line 177: * @hide TODO: remove once the implementation is revised 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 413: // TODO Investigate why it can happen. For now initialize with an empty set - line 882: // 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/wm/WindowAnimator.java (2 lines): - line 181: //TODO (multidisplay): Accessibility supported only for the default - line 212: //TODO (multidisplay): Magnification is supported only for the default display. android/view/PixelCopy.java (2 lines): - line 186: // TODO: Make this actually async and fast and cool and stuff - line 285: // 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 java/lang/System.java (2 lines): - line 979: // TODO: does this make any sense? Should we just leave java.home unset? - line 1708: // 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/wm/DockedStackDividerController.java (2 lines): - line 601: // TODO: Maybe only allow split-screen windowing modes? - line 817: // TODO: Have a real system where we can wait on different windows to be drawn with com/android/server/backup/utils/TarBackupReader.java (2 lines): - line 184: // File in shared storage. !!! TODO: implement this. - line 302: // 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 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/telecom/TelecomManager.java (2 lines): - line 1335: //TODO: L-release - need to convert all invocation of ITelecmmService#answerRingingCall to use - line 1465: // TODO add "return" after DUO team adds support for new handover API android/content/pm/PackageManager.java (2 lines): - line 1858: * TODO remove when depending apps have moved to new constant. - line 2516: * TODO: Remove after dependencies updated b/17392243 com/android/server/notification/ZenModeHelper.java (2 lines): - line 608: //TODO: http://b/22388012 - line 655: //TODO: http://b/22388012 com/android/server/wallpaper/WallpaperManagerService.java (2 lines): - line 687: // TODO: fall back to default wallpaper in this case - line 2809: // 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 1726: // TODO: Sometimes it is useful to be able to TAB through the items in - line 2335: // TODO: Account for vertical spacing too android/os/UserManager.java (2 lines): - line 1488: // TODO: reconcile stopped vs stopping? - line 1819: // TODO: Keep this in sync with com/android/server/wifi/aware/WifiAwareDataPathStateManager.java (2 lines): - line 780: // TODO: understand how/when can be called again/while in progress (seems - line 987: * 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 jsr166/BlockingQueueTest.java (2 lines): - line 42: // // TODO: filter the returned tests using the configuration - line 341: * TODO: move to superclass CollectionTest.java androidx/recyclerview/widget/AdapterHelperTest.java (2 lines): - line 360: // TODO test MOVE then remove items in between. - line 361: // TODO test MOVE then remove it, make sure it is not dispatched androidx/room/InvalidationTracker.java (2 lines): - line 231: // TODO sync versions ? - line 384: // TODO we should consider doing this sync instead of async. com/android/server/fingerprint/AuthenticationClient.java (2 lines): - line 186: ? new Fingerprint("" /* TODO */, groupId, fingerId, getHalDeviceId()) - line 213: // TODO: if the dialog is showing, this error should be delayed. On a similar com/android/internal/telephony/UiccSmsController.java (2 lines): - line 110: // TODO: Use a more specific error code to replace RESULT_ERROR_GENERIC_FAILURE. - line 270: //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 371: // TODO: Unregister this handler if PendingIntent.FLAG_ONE_SHOT? - line 3441: // 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 androidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat.java (2 lines): - line 516: // TODO: support theming in older platform. - line 525: // TODO: support theming in older platform. 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 androidx/slice/widget/GridContent.java (2 lines): - line 106: // TODO: this can be removed at release - line 203: // TODO: This see more can be removed at release 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 800: // TODO Maybe remove it? - line 1332: // TODO Log update frequency too. android/media/ExifInterface.java (2 lines): - line 2715: // TODO: Check this behavior in other ORF files - line 3350: // TODO: Add support for lossless Huffman JPEG data android/net/Network.java (2 lines): - line 275: // TODO: This creates a connection pool and host resolver for - line 321: // TODO: Should this be optimized to avoid fetching the global proxy for every request? android/hardware/camera2/CameraManager.java (2 lines): - line 391: // TODO: factor out callback to be non-nested, then move setter to constructor - line 1131: // 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 100: // TODO: Evaluate deleting this altogether now that Wi-Fi always passes - line 260: // 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/text/TextLine.java (2 lines): - line 844: // TODO: Enable measured getRunAdvance for ReplacementSpan and RTL text. - line 1284: // TODO: Support NBSP and other stretchable whitespace (b/34013491 and b/68204709). 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 97: // TODO reference intent for credential installation when public - line 447: * TODO currently keyTypes, issuers are unused. They are meant androidx/appcompat/view/menu/ActionMenuItemView.java (2 lines): - line 170: // TODO Support checkable action items - line 175: // TODO Support checkable action items android/net/wifi/WifiInfo.java (2 lines): - line 321: * TODO: makes real freq boundaries - line 329: * TODO: makes real freq boundaries com/android/server/backup/utils/FullBackupUtils.java (2 lines): - line 82: // TODO: withWidgets is not used, decide whether it is needed. - line 115: // TODO (b/73988180) use entire signing history in case of rollbacks com/android/server/backup/PerformBackupTaskTest.java (2 lines): - line 381: // TODO: Should it not call mListener.onFinished()? PerformBackupTask:891 return? - line 401: // TODO: Should it be 2 times? (PBT.beginBackup() and PBT.finalizeBackup()) com/android/server/backup/PackageManagerBackupAgent.java (2 lines): - line 249: // TODO (b/73988180) use entire signing history in case of rollbacks - line 421: // TODO: add a CTS test to verify that backups of PMBA generated on Android P+ always com/android/support/mediarouter/app/MediaRouteControllerDialog.java (2 lines): - line 208: // TODO (b/72975976): Avoid to use ContextThemeWrapper with app context and lib theme. - line 585: // TODO: Update the top and bottom padding of the control layout according to the display 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 802: // TODO: Update "ForManage" variant to support query args. - line 886: // TODO: move this to a direct AMS call 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 132: // TODO: This is the same as mChannel = -1 - is this intentional? - line 220: /* 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 472: // TODO: Investigate how to handle the outside touch in window manager - line 744: // 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 787: long deviceId = 0; /* TODO: plumb hardware id to FPMS */ - line 1191: // 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 623: // TODO: multi-display - line 691: // TODO: Fix w.canReceiveTouchInput() to handle this case com/android/server/hdmi/HdmiControlService.java (2 lines): - line 1011: // TODO: find better name instead of model name. - line 2062: // TODO: Initialize MHL local devices. android/text/Emoji.java (2 lines): - line 65: // TODO: Remove once emoji-data.text 11 is in ICU or update to 11. - line 78: // TODO: Remove once emoji-data.text 11 is in ICU or update to 11. com/android/server/backup/internal/BackupHandler.java (2 lines): - line 212: // TODO: refactor full backup to be a looper-based state machine - line 269: // TODO: refactor full restore to be a looper-based state machine android/view/textclassifier/TextLinks.java (2 lines): - line 449: * TODO: make available as system API - line 637: // TODO: Remove once apps can build against the latest sdk. 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 432: // FIXME: There should be a better way to do this. - line 2049: // TODO: True, but connection pooling does still make sense... android/app/assist/AssistStructure.java (2 lines): - line 623: // TODO: once we have more flags, it might be better to store the individual - line 667: // TODO: autofill data is made of many fields and ideally we should verify com/android/settingslib/wifi/WifiUtils.java (2 lines): - line 78: * TODO: use a string formatter - line 114: // TODO: sort list by RSSI or age android/net/NetworkAgent.java (2 lines): - line 301: // TODO: Change signal strength thresholds API to use an ArrayList - line 417: * 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 2439: // TODO: Need proper support if this is used by test... - line 2736: // 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. com/android/systemui/statusbar/NotificationLogger.java (2 lines): - line 196: // TODO: Call NotificationEntryManager to do this, once it exists. - line 197: // TODO: Consider not catching all runtime exceptions here. androidx/core/view/MenuItemCompat.java (2 lines): - line 210: // TODO Wrap the support ActionProvider and assign it - line 228: // TODO Wrap the framework ActionProvider and return it android/view/ThreadedRenderer.java (2 lines): - line 327: // TODO: Remove this and SYNC_LOST_SURFACE_REWARD_IF_FOUND? - line 976: * TODO: deduplicate against ThreadedRenderer. 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 1380: // TODO: handle children fade out better - line 2470: // TODO: remove this once we found the gfx bug for this. androidx/appcompat/app/ToolbarActionBar.java (2 lines): - line 404: // TODO: Consider a better transition for this. - line 411: // TODO: Consider a better transition 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. androidx/recyclerview/widget/AdapterHelper.java (2 lines): - line 244: // TODO Since move ops are pushed to end, we should not need this anymore - line 419: // TODO optimize. android/app/Notification.java (2 lines): - line 4769: // TODO: Remove the span entirely to only have the string with propper formating. - line 5417: // TODO: also check bounds, transparency, that sort of thing. 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. com/android/settingslib/bluetooth/LocalBluetoothProfileManager.java (2 lines): - line 437: // not synchronized: use only from UI thread! (TODO: verify) - line 444: // 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. 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 897: .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() - line 898: .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel() com/android/server/connectivity/tethering/IPv6TetheringCoordinator.java (2 lines): - line 168: // TODO: Figure out IPv6 support on PAN interfaces. - line 248: // TODO: Delete this and switch to LinkAddress#isGlobalPreferred once we android/app/LocalActivityManager.java (2 lines): - line 97: // TODO: put back in stopping of activities. - line 508: // FIXME: child activities will freeze as part of onPaused. Do we com/android/server/notification/RankingHelper.java (2 lines): - line 208: //TODO: http://b/22388012 - line 399: //TODO: http://b/22388012 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 479: // TODO: further validation of request here - line 675: // TODO: remove this override since the default format should be com/android/settingslib/applications/ApplicationsState.java (2 lines): - line 805: // TODO: Legacy, remove this later once all usages are switched to Lifecycle - line 1687: // TODO: Update for the new game category. com/android/clockwork/bluetooth/BluetoothScanModeEnforcer.java (2 lines): - line 74: // TODO: bring back once this class knows what devices are connected or not - line 88: // TODO do we need to account for DUAL type devices that are not iOS companion? android/text/Layout.java (2 lines): - line 1406: // FIXME: It may be faster to do a linear search for layouts without many lines. - line 1468: // TODO: use Paint.getOffsetForAdvance to avoid binary search android/net/TrafficStats.java (2 lines): - line 447: // TODO: move to NetworkStatsService once it exists - line 929: // TODO: take snapshot locally, since proc file is now visible com/android/mtp/MtpDatabase.java (2 lines): - line 83: * TODO: Improve performance by SQL optimization. - line 531: // 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 359: // TODO: Deal with global services - line 1899: // TODO: come back and remove this assumption to triage all services android/webkit/WebViewProvider.java (2 lines): - line 325: // TODO: See if the pattern of the super-class calls can be rationalized at all, and document - line 440: // TODO: Combine into ViewDelegate? android/net/wifi/ScanResult.java (2 lines): - line 369: * TODO: makes real freq boundaries - line 384: * TODO: makes real freq boundaries androidx/media/widget/MediaControlView2.java (2 lines): - line 93: @RequiresApi(21) // TODO correct minSdk API use incompatibilities and remove before release. - line 371: * @hide TODO: remove once the implementation is revised 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 1044: // TODO: consider adding onResponderAborted once it's supported. - line 1097: // TODO: make all fields final once we can get mac address from responder HAL APIs. android/ext/services/notification/Assistant.java (2 lines): - line 85: // TODO: prune deleted channels and apps - line 176: // TODO: ensure channel still exists 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? androidx/recyclerview/widget/LinearLayoutManager.java (2 lines): - line 636: // TODO we can probably avoid this if neither stackFromEnd/reverseLayout/RTL values have - line 1504: // TODO ugly bug fix. should not happen android/app/Activity.java (2 lines): - line 1349: // TODO: in Activity killed/recreated case, i.e. SessionLifecycleTest# - line 4606: // TODO Consider clearing/flushing other event sources and events for child windows. com/android/server/wm/StackWindowController.java (2 lines): - line 131: // TODO: Fix the call-points that cause this to happen. - line 153: // TODO: Fix the call-points that cause this to happen. 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 203: // FIXME this doesn't support index-based masks - line 209: // FIXME this doesn't support index-based masks android/os/Environment.java (2 lines): - line 345: // TODO: keep consistent with installd - line 362: // 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/server/backup/SliceBackupHelper.java (2 lines): - line 47: // TODO: http://b/22388012 - line 66: // TODO: http://b/22388012 com/android/systemui/statusbar/policy/MobileSignalController.java (2 lines): - line 75: // TODO: Reduce number of vars passed in, if we have the NetworkController, probably don't - line 590: mQsDataType = dataType; // TODO: remove this field com/android/datetimepicker/date/DatePickerDialog.java (2 lines): - line 240: // TODO: Replace with animation decided upon by the design team. - line 244: // 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. android/text/PrecomputedText.java (2 lines): - line 252: // TODO: implement MinikinPaint::hashCode and use it to keep consistency with equals. - line 448: // TODO: Maybe good to remove paragraph concept from PrecomputedText and add substring com/android/internal/telephony/Connection.java (2 lines): - line 255: * TODO: distinguish reasons for unavailability - line 509: * 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 313: * FIXME can this method be private so subclasses don't have to worry about when to check - line 568: // 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 39: protected static final String TAG = FingerprintService.TAG; // TODO: get specific name - line 170: // TODO: remove when duplicate call bug is found androidx/appcompat/widget/SuggestionsAdapter.java (2 lines): - line 749: .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() - line 750: .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel() 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 885: // FIXME - add DESCRIPTION - line 1664: //FIXME - should we look for "../" within the path? 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 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 1063: // TODO: If we haven't parsed all of the segments already, just - line 2225: // 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 197: // TODO: Use duration - line 203: // TODO: use delay and duration android/security/net/config/CertificatesEntryRef.java (1 line): - line 38: // TODO: cache this [but handle mutable sources] com/android/internal/app/WindowDecorActionBar.java (1 line): - line 512: // TODO animate this android/filterfw/core/FilterGraph.java (1 line): - line 328: throw new RuntimeException("TODO: Unsynced branches not implemented yet!"); com/android/server/textclassifier/TextClassificationManagerService.java (1 line): - line 390: // TODO: Handle bind timeout. java/time/format/DateTimeFormatter.java (1 line): - line 2079: // TODO: Fix tests to not depend on toString() com/android/server/backup/fullbackup/PerformAdbBackupTask.java (1 line): - line 258: // TODO: http://b/22388012 androidx/preference/PreferenceGroup.java (1 line): - line 228: // TODO: fix (method is called tail recursively when inflating, java/lang/invoke/Transformers.java (1 line): - line 1013: // TODO: We should do the comparison by hand if this new type creation 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/text/TextUtils.java (1 line): - line 83: // TODO: Based on CLDR data, these need to be localized for Dzongkha (dz) and perhaps android/net/wifi/WifiManager.java (1 line): - line 2214: /* 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. com/android/layout/remote/api/RemoteHardwareConfig.java (1 line): - line 31: // TODO: Just make HardwareConfig serializable 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 126: // TODO: this does not check proxy settings, gateways, etc. android/mtp/MtpStorageManager.java (1 line): - line 745: // TODO make this smarter com/android/server/usb/UsbHostManager.java (1 line): - line 368: //TODO If this is the same peripheral as is being connected, replace com/android/server/power/PowerManagerService.java (1 line): - line 2579: // 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 838: // TODO: The current design of settings looking different based on user restrictions android/preference/GenericInflater.java (1 line): - line 35: // TODO: fix generics 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 37: // TODO: put this in carrier config? com/android/server/accessibility/KeyEventDispatcher.java (1 line): - line 125: // TODO: The locking policy for keyEventFilters needs some thought. android/text/util/Linkify.java (1 line): - line 685: // TODO: This is a bug. We shouldnot call getMaxGenerateLinksTextLength() on the UI thread. com/android/server/wifi/hotspot2/OsuNetworkConnection.java (1 line): - line 182: // TODO: Handle OSEN. 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 211: // TODO: Unused android/net/util/PrefixUtils.java (1 line): - line 63: // TODO: Add directly-connected routes as well (ones from which we did androidx/lifecycle/ViewModelProvider.java (1 line): - line 131: // TODO: log a warning. 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 61: // 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/server/devicepolicy/DevicePolicyCacheImpl.java (1 line): - line 27: * TODO Move other copies of policies into this class too. androidx/slice/builders/impl/GridRowBuilderBasicImpl.java (1 line): - line 62: // TODO: Consider extracting some grid content for the basic version. com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java (1 line): - line 577: // 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 66: // TODO Auto-generated method stub com/android/systemui/statusbar/phone/StatusBarWindowManager.java (1 line): - line 496: * 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/server/wifi/WifiMonitor.java (1 line): - line 210: * TODO: Add unit tests for these once we remove the legacy code. 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: android/app/IntentService.java (1 line): - line 113: // TODO: It would be nice to have an option to hold a partial wakelock com/android/systemui/globalactions/GlobalActionsDialog.java (1 line): - line 486: // TODO: instead, omit global action dialog layer com/android/server/vr/Vr2dDisplay.java (1 line): - line 144: // TODO: Consider not creating the display until ActivityManager needs one on android/net/netlink/NetlinkSocket.java (1 line): - line 75: // TODO: consider ignoring EINVAL (-22), which appears to be com/android/server/wm/WindowSurfacePlacer.java (1 line): - line 507: // TODO: Do we need to add to mNoAnimationNotifyOnTransitionFinished like above if not androidx/media/MediaController2Test.java (1 line): - line 1442: // TODO: check that calls from the controller to session shouldn't be delivered. com/android/server/net/watchlist/PrivacyUtils.java (1 line): - line 42: * TODO: Add links to explain the math behind. androidx/emoji/text/FontRequestEmojiCompatConfig.java (1 line): - line 311: // TODO: Good to add new API to create Typeface from FD not to open FD twice. junit/runner/TestSuiteLoader.java (1 line): - line 7: // TODO: deprecate com/android/internal/telephony/MccTable.java (1 line): - line 246: * 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/net/watchlist/WatchlistConfig.java (1 line): - line 202: * TODO: Review if we should use CRC32 or other algorithms 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 com/android/widget/VideoTextureView.java (1 line): - line 142: // requestLayout(); // TODO: figure out if it should be called here? android/bluetooth/BluetoothHeadsetClient.java (1 line): - line 249: // TODO verify if all of those are actually useful android/media/MediaDrm.java (1 line): - line 245: // TODO get this from DRM session android/graphics/BidiRenderer.java (1 line): - line 313: // 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 com/android/settingslib/wifi/AccessPoint.java (1 line): - line 966: // TODO: Handle hex string SSIDs. org/apache/harmony/xml/dom/NodeImpl.java (1 line): - line 351: // TODO: get this value from the parser, falling back to the android/filterfw/core/VertexFrame.java (1 line): - line 115: // TODO: Optimize 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 365: // 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 androidx/core/provider/FontsContractCompat.java (1 line): - line 536: // TODO: Cache the result. 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 544: * (TODO: We should fix this by making MessageQueue aware of blocking runnables.) com/android/systemui/recents/RecentsImpl.java (1 line): - line 373: // TODO: We can not handle quick tabs that happen between the initial showRecents() call com/android/server/backup/KeyValueAdbRestoreEngine.java (1 line): - line 35: * TODO: We should create unified backup/restore engines that can be used for both transport and 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 567: // 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 193: * TODO: Make this private or remove it altogether. android/telephony/data/ApnSetting.java (1 line): - line 740: // TODO - if we have this function we should also have hashCode. 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 875: // TODO: Find a better solution, potentially live regions? com/android/server/testing/FrameworkRobolectricTestRunner.java (1 line): - line 68: * TODO: Remove this when we are using locally built android jars in the method's environment. 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.. java/net/URLStreamHandler.java (1 line): - line 511: // TODO: The variant has been removed. We can potentially revert the change androidx/fragment/app/FragmentManager.java (1 line): - line 1235: // TODO: remove or fix transitionStyle -- it apparently never worked. 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 375: * FIXME rename to THREAD_GROUP_BACKGROUND. android/media/AudioGain.java (1 line): - line 156: //TODO: check params here 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 165: // TODO: Remove once internal user stop using private API. android/util/apk/ApkSigningBlockUtils.java (1 line): - line 232: // TODO: Compute digests of chunks in parallel when beneficial. This requires some research android/view/textclassifier/TextClassifierImpl.java (1 line): - line 589: // TODO: Fix the issue mentioned above so the behaviour is correct. org/apache/harmony/xml/dom/DocumentImpl.java (1 line): - line 181: // TODO: implement this when we support these node types androidx/fragment/app/Fragment.java (1 line): - line 1260: // TODO: move the implementation in getLayoutInflater to here android/view/SurfaceView.java (1 line): - line 32: * TODO: generate automatically. android/net/ip/InterfaceController.java (1 line): - line 35: * TODO: refactor/eliminate the redundant ways to set and clear addresses. 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 com/android/server/net/watchlist/ReportEncoder.java (1 line): - line 71: // TODO: Handle watchlist config changed case android/hardware/camera2/marshal/MarshalRegistry.java (1 line): - line 60: // TODO: can avoid making a new token each time by code-genning androidx/transition/TransitionSet.java (1 line): - line 487: // TODO: Need to add listeners in such a way that we can remove them later if canceled android/view/textservice/SpellCheckerSubtype.java (1 line): - line 223: *

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

androidx/leanback/widget/Grid.java (1 line): - line 149: // TODO support non staggered multiple rows grid com/android/server/AppOpsService.java (1 line): - line 1338: // TODO: should have a privileged permission to protect this. android/graphics/ImageDecoder.java (1 line): - line 334: * // FIXME: Can be an @DrawableRes? 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 1631: // TODO: Move the PathEvaluator and this setter and the getter above into native. android/net/metrics/DnsEvent.java (1 line): - line 64: // TODO: implement better rate limiting that does not biases metrics. androidx/leanback/media/PlaybackControlGlue.java (1 line): - line 425: // TODO: calculate a better update period based on total duration and screen size 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/telephony/CellSignalStrengthCdma.java (1 line): - line 67: // FIXME: Combine all checking and setting logic between this and SignalStrength. com/android/internal/telephony/PhoneSubInfoController.java (1 line): - line 287: // 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 com/android/server/wm/Dimmer.java (1 line): - line 309: // TODO: Once we use geometry from hierarchy this falls away. 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 com/android/server/wifi/hotspot2/OsuServerConnection.java (1 line): - line 132: // TODO : Validate friendly name android/hardware/Sensor.java (1 line): - line 871: // FIXME: sensor HAL should advertise how much data is returned per sensor android/telephony/SmsMessage.java (1 line): - line 311: * 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 2063: // TODO: support moving primary physical to emulated volume com/android/internal/app/UnlaunchableAppActivity.java (1 line): - line 55: // TODO: Use AlertActivity so we don't need to hide title bar and create a dialog android/media/audiopolicy/AudioMixingRule.java (1 line): - line 154: //TODO iterate over rules to check they contain the same criterion com/android/server/locksettings/LockSettingsStrongAuth.java (1 line): - line 191: byte[] token = null; /* TODO: pass real auth token once fp HAL supports it */ java/util/concurrent/LinkedBlockingDeque.java (1 line): - line 838: * TODO: Add support for more efficient bulk operations. com/android/server/stats/StatsCompanionService.java (1 line): - line 625: // TODO: Consider caching the following call to get BatteryStatsInternal. android/filterfw/core/ShaderProgram.java (1 line): - line 96: // TODO: We do the same in the NativeProgram... can we find a better way?! 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/systemui/recents/views/RecentsTransitionComposer.java (1 line): - line 107: // TODO: Sometimes targetStackId is not initialized after reboot, so we also have to com/android/internal/telephony/uicc/UiccController.java (1 line): - line 169: // TODO remove this once modem correctly notifies the unsols 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/mediacompat/client/MediaControllerCompatCallbackTest.java (1 line): - line 253: // TODO: Add test with a large bitmap. com/android/server/power/batterysaver/BatterySavingStats.java (1 line): - line 44: * TODO: The use of the terms "percent" and "level" in this class is not standard. Fix it. android/media/Ringtone.java (1 line): - line 309: // TODO: detect READ_EXTERNAL and specific content provider case, instead of relying on throwing com/android/settingslib/bluetooth/HidProfile.java (1 line): - line 157: // TODO: distinguish between keyboard and mouse? java/time/format/DateTimeTextProvider.java (1 line): - line 506: // 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().

android/net/IpSecManager.java (1 line): - line 526: *

TODO: Update javadoc for tunnel mode APIs at the same time the APIs are re-worked. com/android/server/display/WifiDisplayAdapter.java (1 line): - line 378: 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 837: * - 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 274: // 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 androidx/tvprovider/media/tv/PreviewProgram.java (1 line): - line 172: // TODO: Add additional API which does not use costly getColumnIndex(). com/android/internal/app/ChooserActivity.java (1 line): - line 778: // TODO do this in the background androidx/arch/core/executor/TaskExecutor.java (1 line): - line 27: * TODO: Don't use this from outside, we don't know what the API will look like yet. android/database/SQLiteDatabasePerfTest.java (1 line): - line 47: // TODO b/64262688 Add Concurrency tests to compare WAL vs DELETE read/write androidx/recyclerview/widget/GapWorker.java (1 line): - line 399: // TODO: consider rescheduling self, if there's more work to do android/graphics/ComposeShader_Delegate.java (1 line): - line 68: // FIXME not supported yet. androidx/leanback/graphics/ColorFilterDimmer.java (1 line): - line 98: // FIXME: Current framework has bug that not triggering invalidate when change layer androidx/mediarouter/media/MediaRouter.java (1 line): - line 2571: // TODO: Remove the following logging when no longer needed. android/text/StaticLayout_Delegate.java (1 line): - line 169: // TODO: Rename to LineBreakerRef and move everything other than LineBreaker to LineBreaker. 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. androidx/paging/PagedList.java (1 line): - line 353: // TODO: define defaults, once they can be used in module without android dependency android/security/net/config/NetworkSecurityConfigProvider.java (1 line): - line 29: // TODO: More clever name than this com/android/support/mediarouter/media/MediaRouter.java (1 line): - line 2558: // TODO: Remove the following logging when no longer needed. 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 173: // TODO: parse this as MCC+MNC instead of hard-coding com/android/server/BootReceiver.java (1 line): - line 407: // 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 androidx/leanback/widget/GuidedActionAdapter.java (1 line): - line 485: // TODO: requires API 19 android/view/RectShadowPainter.java (1 line): - line 59: // TODO replacing the algorithm here to create better shadow android/net/SntpClient.java (1 line): - line 139: // 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 com/android/server/wifi/hotspot2/PasspointProvisioner.java (1 line): - line 262: // TODO : send Initial SOAP Exchange android/hardware/display/DisplayManagerGlobal.java (1 line): - line 57: // 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 155: // TODO: Read /proc/yaffs and report interesting values; com/android/systemui/recents/Constants.java (1 line): - line 24: // TODO: Move into RecentsMetrics androidx/room/integration/testapp/dao/UserDao.java (1 line): - line 208: // TODO: switch to PositionalDataSource once Room supports it 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 663: // 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 androidx/customview/widget/ViewDragHelper.java (1 line): - line 940: // TODO: Add versioned support here for transformed views. android/perftests/utils/ManualBenchmarkState.java (1 line): - line 56: // TODO: Tune these values. com/android/settingslib/widget/AnimatedImageView.java (1 line): - line 45: // TODO: define in drawable xml once we have public attrs. org/w3c/domts/DOM4JTestDocumentBuilderFactory.java (1 line): - line 92: // TODO: Process settings android/webkit/WebView.java (1 line): - line 34: * TODO: generate automatically. com/android/companiondevicemanager/DeviceChooserActivity.java (1 line): - line 127: //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. androidx/lifecycle/SimpleAppFullLifecycleTest.java (1 line): - line 100: // TODO: bug 35122523 com/android/systemui/qs/QSAnimator.java (1 line): - line 212: // 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 com/android/internal/telephony/dataconnection/DataConnection.java (1 line): - line 1881: // TODO: b/72331356 to add support for Keepalive to the DataService android/widget/SimpleMonthView.java (1 line): - line 1108: // TODO: This should use activated once that's supported. android/graphics/drawable/AnimatedVectorDrawable_Delegate.java (1 line): - line 62: // TODO: implement 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[]. com/android/server/am/LockTaskController.java (1 line): - line 299: // TODO: Double check what's going on here. If the task is already in lock task mode, it's android/databinding/tool/reflection/java/JavaAnalyzer.java (1 line): - line 80: // TODO handle imports com/android/systemui/pip/phone/PipMenuActivity.java (1 line): - line 511: // TODO: Check if the action drawable has changed before we reload it android/bluetooth/SdpPseRecord.java (1 line): - line 55: // 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 44: * 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 901: * FIXME: it's not correct to use this magic value because it com/android/server/backup/testing/TransportTestUtils.java (1 line): - line 119: // TODO: Mock rest of description methods 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 932: * TODO: This function is called a *lot*. We should probably just have it check an com/android/internal/telephony/InboundSmsHandler.java (1 line): - line 1143: // TODO: Validate that this is the right place to store the SMS. androidx/navigation/fragment/NavHostFragment.java (1 line): - line 184: // TODO This feature should probably be a first-class feature of the Fragment system, android/provider/UserDictionary.java (1 line): - line 178: values.put(APP_ID, 0); // TODO: Get App UID com/android/internal/util/MimeIconUtils.java (1 line): - line 212: // TODO: generic icon? android/perftests/utils/BenchmarkState.java (1 line): - line 62: // TODO: Tune these values. com/android/server/policy/keyguard/KeyguardServiceDelegate.java (1 line): - line 154: // TODO: Fix synchronisation model in this class. The other state in this class androidx/transition/ChangeBounds.java (1 line): - line 427: // TODO: also handle size changes: check bounds and animate size changes android/os/DropBoxManager.java (1 line): - line 369: // TODO: It may be useful to have some sort of notification mechanism android/media/AudioSystem.java (1 line): - line 346: // TODO receive package name from native androidx/recyclerview/widget/StaggeredGridLayoutManager.java (1 line): - line 1559: // TODO optimize com/android/systemui/statusbar/RemoteInputController.java (1 line): - line 57: * TODO: Remove once enough apps specify remote inputs on their own. androidx/room/util/StringUtil.java (1 line): - line 44: // TODO pool: java/net/DatagramSocket.java (1 line): - line 482: // 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/media/audiopolicy/AudioMix.java (1 line): - line 357: // FIXME Can we eliminate this? Will AudioMix work with an unspecified sample rate? com/android/internal/telephony/RILConstants.java (1 line): - line 20: * TODO: This should probably not be an interface see androidx/mediarouter/app/MediaRouteActionProvider.java (1 line): - line 176: // FIXME: We currently have no way of knowing whether the action provider androidx/work/impl/background/firebase/FirebaseDelayedJobAlarmReceiver.java (1 line): - line 47: // TODO (rahulrav@) Use WorkManager's task executor here instead. com/android/settingslib/core/instrumentation/SharedPreferencesLogger.java (1 line): - line 118: // TODO: Remove count logging to save some resource. androidx/transition/TransitionManager.java (1 line): - line 140: // TODO: cached in Scene instead? long-term, cache in View itself 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/internal/telephony/SmsDispatchersController.java (1 line): - line 190: // TODO We need to decide whether we should allow injecting GSM(3gpp) androidx/paging/PagedStorageDiffHelper.java (1 line): - line 121: * TODO: improve diffing logic 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) com/android/widget/VideoSurfaceView.java (1 line): - line 148: // TODO: Investigate the way to move onMeasure() code into FrameLayout. 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. com/android/server/policy/WindowManagerPolicy.java (1 line): - line 677: * TODO: Consider removal as this is unused. */ android/app/admin/DevicePolicyManager.java (1 line): - line 4590: // TODO introduce a policy for guest user creation com/android/carrierdefaultapp/CaptivePortalLoginActivity.java (1 line): - line 140: // TODO: This misses when mNetwork underlies a VPN. com/android/internal/car/CarServiceHelperService.java (1 line): - line 88: //TODO define recovery bahavior 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 androidx/contentpager/content/ContentPager.java (1 line): - line 444: // TODO: Any other ways we can find/access windows? com/android/internal/telephony/imsphone/ImsPhoneConnection.java (1 line): - line 570: // 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 111: // 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 androidx/webkit/PostMessageTest.java (1 line): - line 112: @SdkSuppress(minSdkVersion = 23) // TODO (gsennton) remove this restriction when we can 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 323: // FIXME: Ideally this code should take into account the accuracy of the com/android/keyguard/KeyguardPatternView.java (1 line): - line 218: /** TODO: hook this up */ com/android/server/am/BroadcastQueue.java (1 line): - line 496: // TODO: Uncomment this when (b/28322359) is fixed and we aren't getting android/app/Instrumentation.java (1 line): - line 1290: // TODO: the following block causes intermittent hangs when using startActivity com/android/server/voiceinteraction/VoiceInteractionManagerService.java (1 line): - line 200: // TODO: VI Make sure the caller is the current user or profile android/media/update/ViewGroupProvider.java (1 line): - line 38: // TODO @SystemApi com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java (1 line): - line 1811: // TODO: Make this decision more intelligent. com/android/settingslib/wifi/WifiTracker.java (1 line): - line 103: // TODO: Allow control of this? 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 30: * 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 112: * TODO: Investigate if this method can be further optimized. androidx/paging/AsyncPagedListDiffer.java (1 line): - line 125: // TODO: REAL API android/bluetooth/BluetoothMap.java (1 line): - line 260: // TODO optimize the rule 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 1860: //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 183: // TODO - get INVALID_OPERATION from platform. com/android/internal/alsa/AlsaDevicesParser.java (1 line): - line 206: // 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. com/android/internal/backup/LocalTransport.java (1 line): - line 138: // TODO: consider adding simple UI to wipe the archives entirely, com/android/support/mediarouter/media/SystemMediaRouteProvider.java (1 line): - line 346: // TODO: The framework media router should supply a unique route id that com/android/media/MediaSessionService2Impl.java (1 line): - line 141: // TODO: Implement this android/hardware/camera2/CameraMetadata.java (1 line): - line 252: // TODO: don't just assume all public+synthetic keys are always available com/android/server/pm/permission/BasePermission.java (1 line): - line 86: // TODO: Can we get rid of this? Seems we only use some signature info from the setting com/android/server/locksettings/LockSettingsStorage.java (1 line): - line 596: //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 179: // TODO: refactor / rename / document this method (and maybeCallOnFillReady) to make it clear com/android/systemui/statusbar/policy/HotspotControllerImpl.java (1 line): - line 205: // 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 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 638: // TODO: get this color from somewhere. android/os/Build.java (1 line): - line 1021: /* 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 androidx/collection/ArraySet.java (1 line): - line 531: // TODO: If array is sufficiently large, a marking approach might be beneficial. In a first android/media/update/ViewGroupHelper.java (1 line): - line 47: // TODO @SystemApi android/filterpacks/imageproc/CropFilter.java (1 line): - line 88: // TODO: Add CPU version com/android/systemui/shared/recents/model/IconLoader.java (1 line): - line 56: * TODO: Move this to an ActivityInfoCache class 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 2768: * TODO: this should be removed. android/media/tv/TvInputInfo.java (1 line): - line 130: // TODO: Remove mIconUri when createTvInputInfo() is removed. com/android/systemui/shared/recents/model/RecentsTaskLoader.java (1 line): - line 310: // TODO: Investigate improving this androidx/slice/builders/TemplateSliceBuilder.java (1 line): - line 137: // TODO: Support getting specs from pinned info. 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 com/android/layoutlib/bridge/remote/server/RemoteBridgeImpl.java (1 line): - line 104: // TODO: Also unpack remote flags and pass them to RenderParams 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 androidx/leanback/media/MediaControllerAdapterTest.java (1 line): - line 495: // TODO: considering chaning default buffered position to -1 android/net/util/PacketReader.java (1 line): - line 65: * TODO: rename this class to something more correctly descriptive (something com/android/settingslib/bluetooth/BluetoothEventManager.java (1 line): - line 234: // TODO Pick up UUID. They should be available for 2.1 devices. com/android/server/lowpan/LowpanInterfaceTracker.java (1 line): - line 61: *

TODO: Research if 30 is an appropriate value. android/text/PackedIntVector.java (1 line): - line 230: // TODO: Reclaim memory when the new height is much smaller com/android/systemui/statusbar/stack/NotificationChildrenContainer.java (1 line): - line 798: // TODO: do something that makes sense, like placing the invisible views correctly com/android/server/am/AppErrors.java (1 line): - line 1134: null, false, false, MY_PID, Process.SYSTEM_UID, 0 /* TODO: Verify */); androidx/recyclerview/selection/BandSelectionHelper.java (1 line): - line 288: // TODO: Currently when a band select operation ends outside androidx/leanback/app/BackgroundManager.java (1 line): - line 80: // TODO: support for multiple app processes requires a proper android service android/media/midi/MidiReceiver.java (1 line): - line 104: // TODO add public static final TIMESTAMP_NONE = 0L android/net/NetworkStatsHistory.java (1 line): - line 504: // TODO: subtract removed values from totalBytes android/telephony/DataConnectionRealTimeInfo.java (1 line): - line 25: * TODO: How to handle multiple subscriptions? android/widget/ScrollView.java (1 line): - line 778: // TODO: Make this decision more intelligent. com/android/smspush/WapPushManager.java (1 line): - line 98: // TODO: when table structure is changed, need to dump and restore data. android/service/autofill/FillResponse.java (1 line): - line 568: // TODO: create a dump() method instead com/android/location/fused/FusionEngine.java (1 line): - line 152: mLocationManager.removeUpdates(this); //TODO GLOBAL androidx/mediarouter/app/MediaRouteControllerDialog.java (1 line): - line 578: // TODO: Update the top and bottom padding of the control layout according to the display androidx/tvprovider/media/tv/Program.java (1 line): - line 175: // TODO: Add additional API which does not use costly getColumnIndex(). androidx/core/graphics/ColorUtils.java (1 line): - line 110: @SuppressLint("Range") // TODO Remove after upgrading Android Gradle Plugin to 3.1 or newer. android/security/keystore/KeymasterUtils.java (1 line): - line 127: // TODO: Restore USE_FINGERPRINT permission check in com/android/server/wm/WallpaperController.java (1 line): - line 397: // 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 1478: // TODO: Isn't that strange that we ignore exact position of the containingFrame? 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 38: * TODO: We should create unified backup/restore engines that can be used for both transport and android/net/NetworkTemplate.java (1 line): - line 365: // TODO: consider matching against WiMAX subscriber identity com/android/internal/widget/ViewPager.java (1 line): - line 2415: // TODO: Add support for transformed views. com/android/internal/widget/ResolverDrawerLayout.java (1 line): - line 808: // 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. 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 520: // 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 com/android/server/net/watchlist/WatchlistReportDbHelper.java (1 line): - line 121: // TODO: For now, drop older tables and recreate new ones. android/app/WindowConfiguration.java (1 line): - line 46: * TODO: Investigate combining with {@link mAppBounds}. Can the latter be a product of the com/android/internal/telephony/uicc/UiccPkcs15.java (1 line): - line 159: // 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 com/android/server/backup/BackupAgentTimeoutParametersTest.java (1 line): - line 130: * only stores the value. TODO: Implement properly in ShadowSettings. android/text/BidiFormatter.java (1 line): - line 611: // 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 com/android/server/backup/restore/ActiveRestoreSessionTest.java (1 line): - line 550: // TODO: Create a builder for PackageInfo/ApplicationInfo and unify usage with androidx/recyclerview/widget/ItemAnimatorV2ApiTest.java (1 line): - line 576: // TODO we should be able to map old type to the new one but doing that change has some android/view/RenderNode.java (1 line): - line 167: // TODO: Removed temporarily androidx/appcompat/widget/AppCompatSpinner.java (1 line): - line 813: // TODO: This might be appropriate to push all the way down to PopupWindow, com/android/server/usage/StorageStatsService.java (1 line): - line 478: // TODO: Handle all private volumes. android/ddm/DdmHandleHello.java (1 line): - line 177: // TODO: query the VM to ensure that support for these features org/json/JSONObject.java (1 line): - line 300: // TODO: Change {@code append) to {@link #append} when append is android/telephony/SignalStrength.java (1 line): - line 915: // TODO the range here is probably supposed to be (0..31, 99). It's unclear if anyone relies android/app/ProfilerInfo.java (1 line): - line 183: // TODO: Also check #profileFd for equality. com/android/systemui/qs/AutoAddTracker.java (1 line): - line 54: // TODO: remove migration code and shared preferences keys after P release com/android/providers/settings/SettingsHelper.java (1 line): - line 141: // 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? com/android/server/usb/UsbAlsaManager.java (1 line): - line 94: // FIXME Does not yet handle the case where the setting is changed android/view/textclassifier/TextClassification.java (1 line): - line 721: // TODO: Remove once apps can build against the latest sdk. android/util/ReflectiveProperty.java (1 line): - line 46: // TODO: cache reflection info for each new class/name pair com/android/systemui/plugins/qs/QS.java (1 line): - line 75: * TODO: Do this using NestedScroll capabilities. 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 com/android/server/wm/WindowStateAnimator.java (1 line): - line 1322: //TODO (multidisplay): Magnification is supported only for the default display. android/preference/PreferenceGroup.java (1 line): - line 145: // TODO: fix (method is called tail recursively when inflating, com/android/server/accessibility/MagnificationGestureHandler.java (1 line): - line 748: //TODO long tap should never happen here 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 558: // TODO: what if attach failed, throw RTE or detach a slot then attach? 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. com/android/internal/telephony/GsmCdmaCall.java (1 line): - line 39: // FIXME should return Collections.unmodifiableList(); com/android/settingslib/license/LicenseHtmlGeneratorFromXml.java (1 line): - line 45: * TODO: Remove duplicate codes once backward support ends. com/android/support/mediarouter/app/MediaRouteActionProvider.java (1 line): - line 174: // FIXME: We currently have no way of knowing whether the action provider androidx/recyclerview/widget/SortedListTest.java (1 line): - line 292: // TODO this cannot work com/android/keyguard/KeyguardSecurityContainer.java (1 line): - line 277: // TODO: http://b/23522538 android/graphics/ColorSpace.java (1 line): - line 4066: // TODO: We should find a better way to handle these cases 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 460: // TODO: Logging android/media/SRTRenderer.java (1 line): - line 111: // TODO make reentrant com/android/server/SystemService.java (1 line): - line 126: * TODO: we should define in which phase this becomes valid androidx/media/widget/VideoTextureViewWithMp1.java (1 line): - line 124: // requestLayout(); // TODO: figure out if it should be called here? 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/backup/ProcessedPackagesJournal.java (1 line): - line 54: // TODO: at some point consider splitting the bookkeeping to be per-transport com/android/server/LocationManagerService.java (1 line): - line 2359: // TODO: http://b/23822629 com/android/location/provider/ActivityRecognitionProvider.java (1 line): - line 83: // TODO: if this functionality is exposed to 3rd party developers, handle unregistration (here com/android/systemui/statusbar/stack/AnimationFilter.java (1 line): - line 184: // TODO: migrate all existing animators to properties androidx/core/view/inputmethod/InputConnectionCompat.java (1 line): - line 121: // TODO: Support COMMIT_CONTENT_RESULT_RECEIVER. 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 androidx/media/widget/VideoView2Test.java (1 line): - line 64: @SdkSuppress(minSdkVersion = Build.VERSION_CODES.P) // TODO: KITKAT androidx/leanback/widget/SearchOrbView.java (1 line): - line 353: // TODO: set interpolator (material if available) android/privacy/internal/longitudinalreporting/LongitudinalReportingEncoder.java (1 line): - line 46: * TODO: Add a public blog / site to explain how it works. com/android/systemui/statusbar/phone/StatusBarIconControllerImpl.java (1 line): - line 223: //TODO: remove this (used in command queue and for 3rd party tiles?) 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 75: * 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/telephony/ims/compat/ImsService.java (1 line): - line 173: // TODO: Remove once new onFeatureReady AIDL is merged in. android/app/backup/BackupManagerMonitor.java (1 line): - line 132: // TODO complete this list with all log messages. And document properly. android/security/keystore/recovery/TrustedRootCertificates.java (1 line): - line 53: * TODO: Add insecure certificate to TestApi. android/net/ip/IpManager.java (1 line): - line 34: * TODO: Delete this altogether in favor of its renamed successor: IpClient. 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 310: // TODO: bail gracefully if we can't contact the backup manager android/media/audiopolicy/AudioPolicy.java (1 line): - line 323: // TODO also check mix is currently contained in list of mixes 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 502: // TODO: Refactor, so that there are no funny things like this. com/android/systemui/recents/views/TaskStackView.java (1 line): - line 495: // 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: androidx/viewpager/widget/ViewPager.java (1 line): - line 2726: // TODO: Add versioned support here for transformed views. android/security/keystore/AndroidKeyStoreSpi.java (1 line): - line 820: 0, // FIXME fingerprint id? androidx/recyclerview/widget/RecyclerViewLayoutTest.java (1 line): - line 4154: // TODO create test case for type change android/hardware/camera2/params/StreamConfiguration.java (1 line): - line 34: * com/android/server/display/PersistentDataStore.java (1 line): - line 89: * TODO: refactor this to extract common code shared with the input manager's data store androidx/slice/widget/ListContent.java (1 line): - line 86: // TODO: duplicated code from SliceChildView; could do something better androidx/media/MediaBrowserServiceCompat.java (1 line): - line 438: // TODO: Handle getBrowserRootHints when connected with framework MediaBrowser. com/android/server/accessibility/TouchExplorer.java (1 line): - line 957: // TODO: For now pass null for the raw event since the touch android/net/metrics/ConnectStats.java (1 line): - line 41: /** 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 androidx/media/subtitle/SubtitleTrack.java (1 line): - line 350: // delay update so we don't update view on every cue. TODO why 10? androidx/slice/SliceTest.java (1 line): - line 110: // TODO: Test spannables here. android/hardware/input/InputManager.java (1 line): - line 1207: // TODO: Add support for prebaked effects com/android/layoutlib/bridge/bars/FrameworkActionBar.java (1 line): - line 237: // TODO: This is duplicated from RenderSessionImpl. androidx/slice/widget/MessageView.java (1 line): - line 79: // TODO: try and turn this into a drawable com/android/internal/telephony/uicc/UiccProfile.java (1 line): - line 971: // TODO: 2/15/18 Add check to see if ISIM app will go to READY state, and if yes, check for com/android/support/mediarouter/app/MediaRouteChooserDialog.java (1 line): - line 101: // TODO (b/72975976): Avoid to use ContextThemeWrapper with app context and lib theme. 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 2010: * TODO Remove it. It's super old code that was used to migrate the information from a sqlite com/android/media/subtitle/SubtitleTrack.java (1 line): - line 334: // delay update so we don't update view on every cue. TODO why 10? com/android/server/wifi/aware/WifiAwareNativeCallback.java (1 line): - line 418: // TODO: b/69428593 get rid of conversion once HAL moves from CM to MM androidx/navigation/fragment/FragmentNavigator.java (1 line): - line 134: // TODO Build first class singleTop behavior for fragments android/mtp/MtpDatabase.java (1 line): - line 475: // FIXME - implement group support com/android/server/pm/PackageManagerServiceUtils.java (1 line): - line 189: // 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 androidx/leanback/widget/HorizontalGridView.java (1 line): - line 295: // TODO: fix logic for sharing mTempBitmapLow 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 androidx/transition/TransitionInflaterTest.java (1 line): - line 78: // TODO: Add test for TransitionManager com/android/server/backup/utils/RestoreUtils.java (1 line): - line 69: // TODO: Refactor to get rid of unneeded params. 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 603: // TODO Should be better. com/android/defcontainer/DefaultContainerService.java (1 line): - line 63: // TODO: migrate native code unpacking to always be a derivative work com/android/internal/os/ZygoteConnection.java (1 line): - line 1004: // TODO get rid of this log message in the case where androidx/navigation/ui/NavigationUI.java (1 line): - line 83: //TODO provide proper API instead of using Exceptions as Control-Flow. 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. androidx/mediarouter/media/SystemMediaRouteProvider.java (1 line): - line 345: // TODO: The framework media router should supply a unique route id that com/android/internal/telephony/Call.java (1 line): - line 128: * FIXME rename com/android/server/wm/RootWindowContainer.java (1 line): - line 558: // 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 841: * 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 758: // TODO: Track last used time for uninstalled instant apps for better pruning com/android/server/usage/AppTimeLimitController.java (1 line): - line 183: // TODO: Remove any inflight delayed messages com/android/layoutlib/bridge/bars/AppCompatActionBar.java (1 line): - line 296: // TODO: this is duplicated from FrameworkActionBarWrapper$WindowActionBarWrapper com/android/clockwork/connectivity/WearConnectivityControllerTest.java (1 line): - line 143: // TODO set up various radio matrix/configurations and test that they get toggled com/android/server/net/watchlist/HarmfulDigests.java (1 line): - line 30: * TODO: Optimize memory usage using byte array with binary search. androidx/work/impl/WorkContinuationImpl.java (1 line): - line 152: // TODO (rahulrav@) We need to decide if we want to allow chaining of continuations after 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/server/AppStateTracker.java (1 line): - line 320: // TODO This case happens rather frequently; consider optimizing and update jobs androidx/recyclerview/widget/BaseRecyclerViewInstrumentationTest.java (1 line): - line 918: // TODO: fix b/36042615 getAdapterPosition() is wrong in 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 androidx/viewpager2/widget/ViewPager2.java (1 line): - line 295: // TODO: handle current item's menuVisibility userVisibleHint as FragmentStatePagerAdapter android/text/format/DateFormat.java (1 line): - line 544: if (count < 2) { // FIXME: shouldn't this be <= 2 ? 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/security/net/config/XmlConfigSource.java (1 line): - line 186: // TODO: Cache ResourceCertificateSources by sourceId android/telecom/VideoCallbackServant.java (1 line): - line 30: * TODO: Generate this and similar classes using a compiler starting from AIDL interfaces. com/android/systemui/shared/recents/model/RecentsTaskLoadPlan.java (1 line): - line 141: // TODO: Refactor to not do this every preload com/android/settingslib/bluetooth/CachedBluetoothDeviceManager.java (1 line): - line 435: // TODO: Look for more cleanups on unpairing the device. com/android/server/AlarmManagerService.java (1 line): - line 4154: // TODO: implement ANR policy for the target android/app/SystemServiceRegistry.java (1 line): - line 1161: * TODO: Delete this once its only user (ConnectivityManager) is known to work well in the android/media/AudioFormat.java (1 line): - line 974: // TODO Consider whether to keep the MIN and MAX range checks here. android/view/WindowManager.java (1 line): - line 2234: * 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 467: // TODO Augment the scenes/transitions API to support this. androidx/tvprovider/media/tv/Channel.java (1 line): - line 413: // TODO: Add additional API which does not use costly getColumnIndex(). android/os/LocaleList.java (1 line): - line 304: // 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/server/oemlock/OemLockService.java (1 line): - line 184: * TODO: Figure out better place to run sync e.g. adding new API com/android/internal/telephony/dataconnection/TransportManager.java (1 line): - line 35: // TODO: get transpot list from AccessNetworkManager. 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 661: // TODO - if we have this function we should also have hashCode. com/android/keyguard/KeyguardHostView.java (1 line): - line 361: // TODO: Actually handle MUTE. java/net/AbstractPlainSocketImpl.java (1 line): - line 358: // 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/net/util/MultinetworkPolicyTracker.java (1 line): - line 125: // TODO: move this to MultipathPolicyTracker. 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 228: * 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 501: // 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. androidx/recyclerview/widget/StaggeredGridLayoutManagerSavedStateTest.java (1 line): - line 223: // TODO add tests for changing values after restore before layout 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 1427: // TODO: It would be fantastic to deprecate mock providers entirely, and replace android/transition/Visibility.java (1 line): - line 417: // TODO: Need to do this for general case of adding to overlay androidx/leanback/app/BrandedFragment.java (1 line): - line 176: // TODO: handle interruptions? com/android/systemui/qs/touch/SwipeDetector.java (1 line): - line 346: // TODO: make these values constants after tuning. 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 138: // 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/backup/BackupManagerConstantsTest.java (1 line): - line 223: * only stores the value. TODO: Implement properly in ShadowSettings. com/android/server/wifi/WifiConfigStoreLegacy.java (1 line): - line 166: // TODO: Need to revisit the scan detail cache persistance. We're not doing it in the new com/android/server/backup/transport/TransportClient.java (1 line): - line 446: // TODO: Investigate why this is happening androidx/core/app/ActivityCompat.java (1 line): - line 362: // TODO: use and link to Activity#requireViewById() directly, once available androidx/work/integration/testapp/sherlockholmes/AnalyzeSherlockHolmesActivity.java (1 line): - line 106: // TODO: not efficient, this should be part of its own LiveData thing. androidx/navigation/ActivityNavigator.java (1 line): - line 197: // TODO Replace with ComponentName.createRelative() when minSdkVersion is 23 com/android/internal/telephony/dataconnection/DataServiceManager.java (1 line): - line 94: // TODO: try to rebind the service. com/android/server/connectivity/IpConnectivityMetrics.java (1 line): - line 171: // Do not count as a dropped event. TODO: consider adding separate counter 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 173: * TODO: Make this private or remove it altogether. java/lang/Integer.java (1 line): - line 386: // TODO-FIXME: convert (x * 52429) into the equiv shift-add android/hardware/location/NanoAppFilter.java (1 line): - line 48: // TODO: Provide an API which will let us change this HubId. androidx/recyclerview/selection/SelectionTracker.java (1 line): - line 223: * TODO: Reconcile this with startRange. Maybe just docs need to be updated. com/android/server/connectivity/PermissionMonitor.java (1 line): - line 192: // TODO : remove this check (b/31479477). Not all preinstalled apps should android/view/WindowManagerPolicyConstants.java (1 line): - line 76: // TODO: move this to a more appropriate place. com/android/server/pm/permission/PermissionsState.java (1 line): - line 612: // TODO: fix this to use arraycopy and append all ints in one go com/android/server/wifi/util/TelephonyUtil.java (1 line): - line 274: // 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 androidx/wear/widget/ProgressDrawable.java (1 line): - line 75: // TODO: replace this with BakedBezierInterpolator when its available in support library. com/android/server/wm/DisplayWindowController.java (1 line): - line 71: // TODO: The container receives override configuration changes through other means. enabling 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 android/app/ActivityManager.java (1 line): - line 3525: // TODO: implement the cut point in the system process to avoid IPCs. android/support/v4/media/session/MediaControllerCompatApi21.java (1 line): - line 220: // This is copied from AudioAttributes.toLegacyStreamType. TODO This com/android/systemui/qs/PagedTileLayout.java (1 line): - line 306: // TODO: potentially show a bounce animation for first page QS tiles androidx/slice/SliceProvider.java (1 line): - line 263: // TODO: Provide alternate notifyChange that takes in the slice (i.e. notifyChange(Uri, Slice)). android/view/textclassifier/TextSelection.java (1 line): - line 380: // TODO: Remove once apps can build against the latest sdk. 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/widget/SmartSelectSprite.java (1 line): - line 363: // TODO nullability checks on parameters 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 50: // TODO Auto-generated method stub android/bluetooth/BluetoothSocket.java (1 line): - line 566: //TODO: Since bindings can exist between the SDU size and the androidx/fragment/app/StrictFragment.java (1 line): - line 147: // FIXME: We should not allow onSaveInstanceState except when STARTED or greater. com/android/server/am/UserController.java (1 line): - line 2084: // TODO b/64165549 Verify that mLock is not held before calling AMS methods 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 776: // TODO: Avoid this type of interpackage copying. Added here to avoid android/hardware/display/DisplayManagerInternal.java (1 line): - line 152: * 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 181: * 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 112: * 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 com/android/systemui/statusbar/NotificationViewHierarchyManager.java (1 line): - line 100: // TODO: This area uses a lot of calls into NotificationLockscreenUserManager. 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/renderscript/FieldPacker.java (1 line): - line 45: // TODO: We should either have an actual FieldPacker copy constructor com/android/server/wm/ConfigurationContainer.java (1 line): - line 77: // TODO: Can't have ag/2592611 soon enough! com/android/internal/telephony/NetworkRegistrationManager.java (1 line): - line 121: // TODO: try to restart the service. 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 139: // 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/systemui/statusbar/phone/PanelView.java (1 line): - line 411: //TODO: keyguard opens QS a different way; log that too? com/android/clockwork/power/TimeOnlyMode.java (1 line): - line 88: // TODO: do we stay in TimeOnlyMode even when device is on charger? 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 895: // TODO: remove the following code since the handler no longer executes anything. androidx/leanback/app/BrandedSupportFragment.java (1 line): - line 171: // TODO: handle interruptions? com/android/server/usb/descriptors/UsbDescriptorParser.java (1 line): - line 53: //TODO some error checking here.... android/telephony/CellIdentityTdscdma.java (1 line): - line 69: * FIXME: This is a temporary constructor to facilitate migration. 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 androidx/tvprovider/media/tv/BaseProgram.java (1 line): - line 338: // TODO: Add additional API which does not use costly getColumnIndex(). com/android/internal/telephony/PhoneNotifier.java (1 line): - line 42: /** TODO - reason should never be null */ androidx/slice/widget/GridRowView.java (1 line): - line 157: // TODO -- could be smarter about this android/net/NetworkUtils.java (1 line): - line 367: * TODO - fix base libraries and remove this function androidx/transition/ViewOverlayApi14.java (1 line): - line 299: // TODO: implement transforms com/android/server/am/RecentsAnimation.java (1 line): - line 176: // TODO: Maybe wait for app to draw in this particular case? com/android/uiautomator/core/UiSelector.java (1 line): - line 767: break; //TODO: do we need this for AccessibilityNodeInfo.id? com/android/layoutlib/bridge/remote/server/adapters/RemoteLayoutlibCallbackAdapter.java (1 line): - line 125: // TODO: Convert this to remote com/android/internal/telephony/uicc/IccUtils.java (1 line): - line 588: // 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 androidx/slice/widget/SliceLiveData.java (1 line): - line 90: // TODO: Check if uri points at a Slice? 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. androidx/appcompat/widget/ActionBarOverlayLayout.java (1 line): - line 201: // TODO: Add workaround for this 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 com/android/systemui/statusbar/NotificationData.java (1 line): - line 668: // 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/internal/telephony/CellularNetworkService.java (1 line): - line 201: // TODO: unify when voiceRegStateResult and DataRegStateResult are unified. com/android/server/net/watchlist/WatchlistLoggingHandler.java (1 line): - line 81: // TODO: Use more efficient data structure. com/android/internal/app/MediaRouteChooserDialog.java (1 line): - line 49: * TODO: Move this back into the API, as in the support library media router. com/android/server/display/DisplayPowerController.java (1 line): - line 1770: // TODO: Should we have a a timeout for the temporary brightness? 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 192: * TODO: Add more fine-grained camera power metrics. com/android/systemui/recents/views/FixedSizeFrameLayout.java (1 line): - line 72: // TODO: Investigate whether we should coalesce these to the next frame if needed androidx/car/widget/AlphaJumpOverlayView.java (1 line): - line 56: // TODO: change the hamburger button into a back button... androidx/media/widget/VideoTextureView.java (1 line): - line 124: // requestLayout(); // TODO: figure out if it should be called here? android/telephony/ims/ImsCallSessionListener.java (1 line): - line 34: // TODO: APIs in here do not conform to API guidelines yet. This can be changed if com/android/internal/os/ProcessCpuTracker.java (1 line): - line 869: // disk" and should be fast. TODO: make BlockGuard ignore android/content/pm/ApplicationInfo.java (1 line): - line 841: * TODO: Change the layout of bundled installs so that we can use android/net/wifi/p2p/nsd/WifiP2pDnsSdServiceInfo.java (1 line): - line 187: dnsName = dnsName.toLowerCase(Locale.ROOT); // TODO: is this right? androidx/tvprovider/media/tv/WatchNextProgram.java (1 line): - line 195: // TODO: Add additional API which does not use costly getColumnIndex(). 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 106: * TODO: This will be refactored out of RecentsConfiguration. android/view/Choreographer.java (1 line): - line 180: * TODO: Is there a better home for this? Currently Choreographer android/support/v4/media/session/MediaSessionCompatApi21.java (1 line): - line 76: // 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. android/os/storage/StorageVolume.java (1 line): - line 354: // 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. androidx/media/MockMediaLibraryService2.java (1 line): - line 189: // TODO: For the error case, how should we notify the browser? android/filterpacks/imageproc/BlendFilter.java (1 line): - line 49: throw new RuntimeException("TODO: Write native implementation for Blend!"); com/android/internal/widget/MessagingImageMessage.java (1 line): - line 221: // TODO: ensure that this isn't called when transforming com/android/server/wifi/WifiMetrics.java (1 line): - line 1720: * TODO: (b/72443859) Use notifierTag param to separate metrics for OpenNetworkNotifier and com/android/internal/telephony/PhoneInternalInterface.java (1 line): - line 873: * 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 androidx/recyclerview/selection/MouseInputHandlerTest.java (1 line): - line 233: // TODO: Add testSpaceBar_Previews, but we need to set a system property android/widget/FastScroller.java (1 line): - line 1503: // TODO: Ignore jitter. com/android/clockwork/bluetooth/BluetoothScanModeEnforcerTest.java (1 line): - line 107: // TODO this test is actually testing the exact same thing as above because androidx/leanback/widget/ResizingTextView.java (1 line): - line 78: // TODO We should define our own style that inherits from TextViewStyle, to set defaults android/nfc/NfcAdapter.java (1 line): - line 419: // TODO javadoc android/media/browse/MediaBrowser.java (1 line): - line 164: // TODO: remove this extra check. android/view/textclassifier/SystemTextClassifier.java (1 line): - line 150: // TODO: retrieve this from the bound service. com/android/ims/internal/uce/common/CapInfo.java (1 line): - line 370: // TODO Auto-generated method stub androidx/tvprovider/media/tv/BasePreviewProgram.java (1 line): - line 451: // TODO: Add additional API which does not use costly getColumnIndex(). android/bluetooth/BluetoothAdapter.java (1 line): - line 963: return true; // TODO: FILTER SYSTEM APPS HERE <-- com/android/server/media/MediaSessionRecord.java (1 line): - line 1463: // 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/media/update/ApiHelper.java (1 line): - line 82: // TODO (b/72975976): Avoid to use ContextThemeWrapper with app context and lib theme. com/android/server/wifi/WifiNative.java (1 line): - line 1966: // TODO: Change variable names to camel style. com/android/systemui/statusbar/car/CarBatteryController.java (1 line): - line 248: // TODO: Car demo mode. com/android/server/NativeDaemonConnector.java (1 line): - line 239: // TODO: migrate to sending NativeDaemonEvent instances android/widget/Magnifier.java (1 line): - line 387: // TODO: pull the position update outside #performPixelCopy com/android/server/wm/BoundsAnimationController.java (1 line): - line 365: // TODO: Fix this check for aspect ratio changes com/android/server/wm/RecentsAnimationController.java (1 line): - line 312: // TODO: Refactor this to use the task's animator 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 71: * 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 500: // TODO: should this be admin user? com/android/server/vr/VrManagerService.java (1 line): - line 798: //TODO: something more robust than picking the first one androidx/slice/widget/ActionRow.java (1 line): - line 141: // TODO - should log events here com/android/internal/telephony/uicc/euicc/apdu/OpenLogicalChannelInvocation.java (1 line): - line 55: // TODO: move this code into IccOpenLogicalChannelResponse so that it can be shared. 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 androidx/core/view/WindowCompat.java (1 line): - line 84: // TODO: use and link to Window#requireViewById() directly, once available android/util/Rational.java (1 line): - line 280: // TODO: remove this duplicate function (used in CTS and the shim) com/android/systemui/qs/QSFooterImpl.java (1 line): - line 418: // TODO: show mobile data off/no internet text for 5 seconds before carrier text