This project is mirrored from https://github.com/LineageOS/android_frameworks_base.git. Updated .
  1. 11 Feb, 2018 1 commit
    • Yida Wang's avatar
      Add auth framework for outgoing SMS messages. · e46deef2
      Yida Wang authored
      - Add the APIs required to register an authorization agent in order
        to allow/reject outgoing SMS messages and the core service that
        implements the sms security model.
      
      Change-Id: Ic7c35aef6acb50fde1fc52d20cea6547bc546aab
      e46deef2
  2. 10 Feb, 2018 1 commit
    • Martin Long's avatar
      Add Profiles. · 967b0cad
      Martin Long authored
      Change-Id: Id195de6f8c0b1cd08fc0c32b4347c7c97c347bb1
      967b0cad
  3. 07 Oct, 2017 1 commit
  4. 15 Sep, 2017 1 commit
    • Hall Liu's avatar
      Apply suggested edits to the file-download API · 1a5b1304
      Hall Liu authored
      * Rename Manager -> Session
      * Add Handler for callbacks in download flow
      * Separate out registering a state callback into another method
      * Rename dispose -> close, implement AutoClosable
      * No more thrown MbmsExceptions
      * Add sanity check for temp file root
      * Remove the getNames method, replace with getNameForLocale
      
      Bug: 30981736
      Test: testapps
      Change-Id: I1a2054d79c934bc4929464de4a644b6960db47e9
      1a5b1304
  5. 14 Sep, 2017 1 commit
    • Hall Liu's avatar
      Make changes to MBMS Streaming APIs per recommendations · a96478a9
      Hall Liu authored
      * Rename MbmsStreamingManager -> MbmsStreamingSession
      * MbmsStreamingSession now implements AutoClosable instead of using
      dispose()
      * No longer throw checked MbmsExceptions from any methods. All such
      errors will be reported via the async callback.
      * null arguments no longer accepted for Handlers
      * Guarantee that no further callbacks will get enqueued after closing.
      
      Test: run testapps
      Bug: 30981736
      Merged-In: I6db045053f1baa4cd4de3718865fcfe525e8a4d6
      Change-Id: I85e98850759c6c7fe7b883ffffa5b1f4e362770d
      a96478a9
  6. 13 Sep, 2017 1 commit
    • Hall Liu's avatar
      Make EMBMS adjustments for 08/04 · 9903558d
      Hall Liu authored
      * Add a download state callback to the callback formerly for progress
      * Rename EXTRA_SERVICE_INFO to EXTRA_SERVICE_ID, and specify that it
      should be a String rather than a ServiceInfo
      * Add documentation to clarify that the progress/state callback may be
      null
      
      Bug: 30981736
      Test: manual
      Change-Id: Ie1ec99868f5b09a270b500dc97abeb9f819cfa56
      9903558d
  7. 12 Aug, 2017 1 commit
    • Ian Pedowitz's avatar
      Revert "Time zone update API classes" · 4e9806c4
      Ian Pedowitz authored
      This reverts commit fe6ec56c.
      
      Fixes: 64606807
      Test: Grab the cts binaries(android-cts.zip) from OC Release
      Test: Extract and from android-cts/tools directory, launch ./cts-tradefed
      Test: On the DUT with CL cherrypicked, run the below(will run this test on both abi's):
      Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
      Test: android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered doesn't fail for android namespace:android.permission.TRIGGER_TIME_ZONE_RULES_CHECK
      Change-Id: I238e2b6fa7ce60e6a8cbfebcd13e5e4c596834af
      Merged-In: I31b55e88072dd73055cb3d8cf252be6eac920322
      4e9806c4
  8. 10 Aug, 2017 1 commit
    • Ian Pedowitz's avatar
      Revert "Initial support for proposed android.net.lowpan" · 3608d5fa
      Ian Pedowitz authored
      This reverts commit 4e0c2195.
      
      Fixes: 64111427
      Test: Grabbed OC CTS binaries
      Test: Extracted android-cts.zip  and from android-cts/tools directory launched ./cts-tradefed
      Test: On the DUT (running build which has this CL cherrypicked), ran the below (will run this test on both abi's):
      Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
      Test: Note, while b/64111427 is fixed, this uncovered b/64560640
      
      Change-Id: I1d2132678281a917f03c69d5ead1d28313d7f46d
      Merged-In: Icab67ba2c40bc02968e3f8ed2da5a4a3be6cf77f
      3608d5fa
  9. 07 Aug, 2017 1 commit
    • Todd Poynor's avatar
      thermalservice: Add ThermalService java interfaces · 875e5c74
      Todd Poynor authored
      Binder service ThermalService broadcasts thermal events to registered
      listeners.
      
      Test: manual: marlin with modified thermal-engine.conf and temporary
            java thermal event listener
      Bug: 30982366
      Change-Id: I11f7fd18feff3b9af0eecc3fd3a13d54c0b97ff0
      (cherry picked from commit dd05582e)
      875e5c74
  10. 06 Aug, 2017 1 commit
    • Jeff Sharkey's avatar
      Fix broken javadocs. · 67f9d507
      Jeff Sharkey authored
      Bug: 64337634
      Test: make -j32 doc-comment-check-docs
      Change-Id: I20fdd3dcddef09111d35946c41c596c7689effa6
      67f9d507
  11. 04 Aug, 2017 1 commit
    • Todd Kennedy's avatar
      Add native bindings for getNamesForUids · ad192a39
      Todd Kennedy authored
      A new API [getNamesForUids] was recently added to the PackageManager
      and this API needs to be accessible to native code. However, there
      were two constraints:
      1) Instead of hand-rolling the binder, we wanted to auto generate
      the bindings directly from the AIDL compiler.
      2) We didn't want to expose/annotate all 180+ PackageManager APIs
      when only a single API is needed.
      So, we chose to create a parallel API that can be used explicitly
      for native bindings without exposing the entirety of the
      PackageManager.
      
      Bug: 62805090
      Test: Manual
      Test: Create a native application that calls into the new service
      Test: See the call works and data and returned
      Change-Id: Ia571ab1607c6c88fef44eb0de6a313a28906c732
      ad192a39
  12. 27 Jul, 2017 1 commit
    • Dirk Dougherty's avatar
      Cherry-pick from master Doc change: Add API 26 to @since list · fdad0ba1
      Dirk Dougherty authored
      Add API 26 to @since list and turn off preview watermarking.
      Fix has been successfully submitted in master and affects doc files
      only.
      
      Bug: 62087404
      Bug: 64123587
      Test: make ds-docs
      
      Original change-Id: Idcf84882a1a1fe0864ee6ff3d0af6cd857c73a06
      
      Change-Id: I28700ad15d931256d9dfc1016df546bd2f0e718f
      fdad0ba1
  13. 21 Jul, 2017 2 commits
    • Andrii Kulian's avatar
      DO NOT MERGE VirtualDisplay wrapper with input forwarding · d313469e
      Andrii Kulian authored
      New version of ActivityView that doesn't use expensive
      ActivityContainer, but utilizes VirtualDisplays instead.
      
      Creation of this view is only allowed for callers who have
      android.Manifest.permission.INJECT_EVENTS permission.
      
      Launching activities into this container is restricted by
      the same rules that apply to launching on VirtualDisplays:
      - Owner is allowed to launch its own activities.
      - If activity that's being launched is not from the same
        app, then it must be embeddable and launcher must have
        permission to embed.
      
      Bug: 63338670
      Test: go/wm-smoke
      Change-Id: Id9a25752367ebe8e59d2fc21c5d9de5cf597ea01
      d313469e
    • Andrii Kulian's avatar
      DO NOT MERGE ActivityView be gone! · 94e82d9b
      Andrii Kulian authored
      This hidden functionality is no longer support/needed since
      we now have multi-window/display. A new view group class
      will be added later that uses multi-window to support remaining
      functionality of this class.
      
      Test: go/wm-smoke
      Change-Id: Ie2fa2de92841d33199da9988741905060dd1ddf4
      94e82d9b
  14. 20 Jul, 2017 1 commit
    • Love Khanna's avatar
      NFC DTA Integration · 755a8fa4
      Love Khanna authored
      Bug: 63903843
      Test: compiles.
      Change-Id: I07cbb321ffbdbe9d93d632c8a56f3bc53218e592
      755a8fa4
  15. 19 Jul, 2017 1 commit
  16. 18 Jul, 2017 1 commit
    • Lorenzo Colitti's avatar
      Allow more than one source of tethering statistics. · 07f1304c
      Lorenzo Colitti authored
      Currently, netd is the only source of tethering statistics.
      In order to support multiple sources, define a new
      ITetheringStatsProvider interface that can be registered with
      NetworkManagmentService. Convert the existing code into the
      first ITetheringStatsProvider.
      
      (cherry picked from commit ef7b2a13)
      
      Bug: 29337859
      Bug: 32163131
      Test: builds, boots
      Test: tethering stats continue to be collected
      Change-Id: Ie1b5a5e47ae4bf5af922365b09fa241e834236e4
      Merged-In: Ie1b5a5e47ae4bf5af922365b09fa241e834236e4
      07f1304c
  17. 17 Jul, 2017 1 commit
  18. 13 Jul, 2017 1 commit
    • Lorenzo Colitti's avatar
      Allow more than one source of tethering statistics. · ef7b2a13
      Lorenzo Colitti authored
      Currently, netd is the only source of tethering statistics.
      In order to support multiple sources, define a new
      ITetheringStatsProvider interface that can be registered with
      NetworkManagmentService. Convert the existing code into the
      first ITetheringStatsProvider.
      
      Bug: 29337859
      Bug: 32163131
      Test: builds, boots
      Test: tethering stats continue to be collected
      Change-Id: Ie1b5a5e47ae4bf5af922365b09fa241e834236e4
      ef7b2a13
  19. 06 Jul, 2017 1 commit
    • Hall Liu's avatar
      Implement getDownloadStatus and add permission · 55f557dc
      Hall Liu authored
      - Implement getDownloadStatus in the manager
      - Remove DownloadStatus and add constants in its place to reflect the
      status of a single file
      - Add ACT_AS_EMBMS_MIDDLEWARE permission
      
      Change-Id: Ica8b8a872a8088a2aaf56d40926051225aa39e87
      55f557dc
  20. 29 Jun, 2017 1 commit
    • Paul Duffin's avatar
      Refactor in preparation for removing android.test.mock · c08090f6
      Paul Duffin authored
      The goal of this change is two fold:
      1) Allow the test-runner/src classes to continue to be included in the
         JavaDoc even when they are removed from the Android API.
      
      2) Make it easy to remove android.test.mock classes from the API.
      
      This was done in two stages:
      1) Push the reference to test-runner/src from fwbase_dirs_to_document
         down to dirs_to_document and
         framework_docs_LOCAL_API_CHECK_SRC_FILES.
      
      2) Expand the reference in framework_docs_LOCAL_API_CHECK_SRC_FILES into
         two new variables that reference the classes from test-runner/src.
         One references those that are required for android.test.mock and the
         other references the remaining ones.
      
      Bug: 30188076
      Test: make checkbuild
      Change-Id: I558164e6c9ea2a24bd58e5f4f54dd4c3b2a11924
      c08090f6
  21. 28 Jun, 2017 1 commit
    • John Reck's avatar
      Add SharedMemory API · dea6a027
      John Reck authored
      SharedMemory is parcelable and AIDL friendly
      and exposes cool things like dropping write permissions
      that are useful for shared memory to have.
      
      Also exposes getFileDescriptor() on MemoryFile
      since that was necessary to use MemoryFile
      with IPC previously and there are a sizeable
      number of reflections that access it, so just make
      it public.
      
      Test: SharedMemory CTS tests pass
      
      Change-Id: I71a322abf2eb55267d7299a8e41f847339af8b08
      dea6a027
  22. 27 Jun, 2017 1 commit
    • Jeff Davidson's avatar
      Add EuiccManager#retainSubscriptionsOnFactoryReset API. · 7b69a86b
      Jeff Davidson authored
      By default, all subscriptions are wiped on first boot after a factory
      reset. This ensures that if data is wiped outside of userspace (e.g.
      in fastboot/recovery), the profiles are wiped, as there's no way to
      offer this option to users in those modes - the radio isn't available
      for us to access the eUICC.
      
      This API provides a way to bypass this wipe if the user opts to retain
      the policies for a wipe done from userspace (e.g. by unchecking the
      "Wipe eUICC" checkbox in platform settings before wiping). We tell the
      LPA to note this and skip the wipe on the ensuing factory reset.
      
      Change-Id: I2fe472417497e28b043841a5aa2dc9efa45ebbff
      Test: TreeHugger
      Fixes: 62681577
      7b69a86b
  23. 23 Jun, 2017 1 commit
    • Chong Zhang's avatar
      cas: convert MediaCas to HIDL · 2659c2f1
      Chong Zhang authored
      - Replace AIDL interfaces with corresponding HIDL ones.
      
      bug: 22804304
      Change-Id: I8c552ce6fc3766715cd1bc0ea05c0988d56f590e
      2659c2f1
  24. 14 Jun, 2017 1 commit
    • Lucas Dupin's avatar
      Scrims should be grey when in-app · 1ead7fc7
      Lucas Dupin authored
      Bug: 38164389
      Test: runtest -x colorextraction/tests/src/com/google/android/colorextraction/ColorExtractorTest.java
      Test: runtest -x tests/src/com/android/systemui/colorextraction/SysuiColorExtractorTests.java
      Change-Id: Ifcc04a8562e46b4f65bce0470ccd6c02dffcf377
      (cherry picked from commit e1571705)
      1ead7fc7
  25. 13 Jun, 2017 1 commit
    • Jeff Davidson's avatar
      eUICC API error code cleanup. · 83f8bc81
      Jeff Davidson authored
      -Remove result classes in cases that a simple int will do. Split the
      int error code space (now shared across all calls) into two parts -
      predefined errors (0 or negative) and custom errors (positive).
      
      -Replace "generic error" with "error" in naming.
      
      -Remove detailed code from any result returned by the LPA. There is
      still a detailed code in the platform API, which is equal to the
      result code returned by the LPA.
      
      Fixes: 38206601
      Test: TreeHugger
      Change-Id: I304081db2127a22d6dd67b6494b4f3279614d19c
      83f8bc81
  26. 12 Jun, 2017 2 commits
  27. 09 Jun, 2017 2 commits
    • Tomasz Wasilczyk's avatar
      Implement remaining ITunerCallback methods. · c9a1ac78
      Tomasz Wasilczyk authored
      Test: instrumentation tests passes, none added
      Bug: b/36863239
      Change-Id: I57de30992f679624c8fde0657c0e24b5cbfab905
      c9a1ac78
    • Jordan Liu's avatar
      Add IApnSourceService.aidl · 6d783e35
      Jordan Liu authored
      This service is bound to by TelephonyProvider on devices where we don't
      use the apns-conf.xml file.
      
      Bug: 37283190
      Test: manual
      Change-Id: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
      Merged-In: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
      6d783e35
  28. 08 Jun, 2017 1 commit
    • Jordan Liu's avatar
      Add IApnSourceService.aidl · e5c7420f
      Jordan Liu authored
      This service is bound to by TelephonyProvider on devices where we don't
      use the apns-conf.xml file.
      
      Bug: 37283190
      Test: manual
      Change-Id: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
      Merged-In: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
      e5c7420f
  29. 07 Jun, 2017 1 commit
  30. 06 Jun, 2017 1 commit
    • Jordan Liu's avatar
      Add IApnSourceService.aidl · e1ef510f
      Jordan Liu authored
      This service is bound to by TelephonyProvider on devices where we don't
      use the apns-conf.xml file.
      
      Bug: 37283190
      Test: manual
      Change-Id: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
      e1ef510f
  31. 05 Jun, 2017 3 commits
    • Jeff Sharkey's avatar
      Give Doclava our manifest; more permission docs. · bfc4fcde
      Jeff Sharkey authored
      We've seen some @SystemApi methods protected with non-system
      permissions, so give Doclava the platform AndroidManifest.xml so it
      can parse the actual permission protection levels to look for APIs
      that are letting in non-system apps.
      
      Also document more @SystemApi permissions.
      
      This is purely a docs change; no logic changes are being made.
      
      Test: make -j32 update-api
      Bug: 62263906
      Change-Id: Ie0f0a5fb0033817bcc95060f2183a52ae4ae7b06
      bfc4fcde
    • Keun-young Park's avatar
      add skeleton CarServiceHelperService · 067cf3e8
      Keun-young Park authored
      - CarServiceHelperService is a companion service for car service which
        is used only for car product.
      - HelperService starts car service and provide necessary interface
        for system server internal behavior control.
      
      bug: 62342376
      Test: test boot-up
      Change-Id: I1728437434eab36bd2df6ba0a534731823bbcf35
      067cf3e8
    • Robert Quattlebaum's avatar
      Initial support for proposed android.net.lowpan · 4e0c2195
      Robert Quattlebaum authored
      Change-Id: I0bf8edb5199d50d2a549a353b2785aef8134ff92
      4e0c2195
  32. 02 Jun, 2017 1 commit
  33. 23 May, 2017 1 commit
    • Tomasz Wasilczyk's avatar
      Fix makefile warning. · 191330e4
      Tomasz Wasilczyk authored
      Test: it builds.
      Bug: b/37159108
      Change-Id: I73c09c8eeb0bab5f506c3d81072cc80c71f63779
      Merged-In: I73c09c8eeb0bab5f506c3d81072cc80c71f63779
      191330e4
  34. 15 May, 2017 1 commit
    • Hall Liu's avatar
      startStreaming for MBMS apis · fb1ee0eb
      Hall Liu authored
      Clean up MBMS APIs a bit and make things functional for the
      startStreaming/getPlaybackUri APIs.
      
      Test: testapps
      Change-Id: I141a4114cc912b98ae22aefb760346061e286f1a
      fb1ee0eb
  35. 14 May, 2017 1 commit
    • Jeff Davidson's avatar
      Implement remaining core eUICC APIs. · 91c3d07f
      Jeff Davidson authored
      Includes:
      
      -getDefaultDownloadableSubscriptionList, which returns a list of
      default subscriptions available for the device.
      -getEuiccInfo, which returns an EuiccInfo object containing
      non-sensitive information about the eUICC device.
      -deleteSubscription, to delete a subscription.
      -switchToSubscription, to switch to (or away from) a subscription.
      -updateSubscriptionNickname, to update the nickname of a subscription
      which is saved to the eUICC.
      -eraseSubscriptions, to factory reset the eUICC.
      -Settings.Global#DEFAULT_SM_DP_PLUS, a default SM-DP+ server which is
      used to query for default subscriptions in
      getDefaultDownloadableSubscriptionList.
      
      These APIs follow the template of the APIs which have already been
      implemented.
      
      This completes the baseline implementation as designed; any additional
      APIs or tweaks to the APIs will be tracked as separate bugs.
      
      Fixes: 33075886
      Test: Build/boot
      Change-Id: I8057757c874f94e0c816af1ca071d656c8f145b9
      91c3d07f