Skip to content
Snippets Groups Projects
  1. Apr 06, 2019
    • Raman Tenneti's avatar
      AOSP/Messaging - Update the Messaging version to 24 until notification related... · 8e71d1b7
      Raman Tenneti authored
      AOSP/Messaging - Update the Messaging version to 24 until notification related logic changes are made.
      Fixes the error "Developer warning for package com.android. messaging failed to post notification on channel null".
      
      Bug: 130046636
      
      Test: manual - Tested the messaging UI. Ran the following CTS tests on Pixel phone.
      
      $ make -j 40
      $ make messagingtests -j
      $ find out -name "messaging*.apk" -print -exec ls -l {} \;
        -rw-r--r-- 1 rtenneti primarygroup 8529760 Apr  5 18:50 out/target/product/marlin/system/app/messaging/messaging.apk
        -rw-r--r-- 1 rtenneti primarygroup 729713 Apr  5 18:54 out/target/product/marlin/testcases/messagingtests/arm64/messagingtests.apk
      
      $ adb install -r -d out/target/product/marlin/system/app/messaging/messaging.apk
      $ adb install -r -d out/target/product/marlin/testcases/messagingtests/arm64/messagingtests.apk
      
      $ adb shell am instrument -w com.android.messaging.test
        Time: 12.766
        OK (113 tests)
      
      CTS tests for Mesaging app
      ---------------------------
      $ ./development/testrunner/runtest.py --path cts/tests/app/src/android/app/cts/NotificationTest.java
        adb  shell am instrument -e class 'android.app.cts.NotificationTest' -w 'android.app.cts/androidx.test.runner.AndroidJUnitRunner'
        android.app.cts.NotificationTest:...........................
        Time: 0.2
        OK (27 tests)
      
      atest
      -----
      $ cd packages/apps/Messaging
      $ atest
        Summary
        -------
        messagingtests: Passed: 113, Failed: 0, Ignored: 0
      
      Change-Id: Ic263e2c63d675c40a2cfa1ca0a8776c8e2b510b9
      8e71d1b7
  2. Mar 22, 2019
  3. Feb 27, 2019
    • Raman Tenneti's avatar
      AOSP/Messaging - Added LOCAL_COMPATIBILITY_SUITE := device-tests to fix... · bada9f9b
      Raman Tenneti authored
      AOSP/Messaging - Added LOCAL_COMPATIBILITY_SUITE := device-tests to fix "Missing test_suite setting for test".
      
      + Added keepclass ContactPickerFragment to fix the following exception.
        Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.messaging.ui.contact.ContactPickerFragment"
      
      Bug: 126516784
      
      Test: make messagingtests and tested the messaging UI manually. Ran the following CTS tests on Pixel phone.
      
      $ make -j 40
        -rw-r--r-- 1 rtenneti primarygroup 8624061 Feb 27 10:55 out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ make messagingtests -j
        -rw-r--r-- 1 rtenneti primarygroup 729713 Feb 27 10:33 out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb install -r -d out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ adb install -r -d out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb shell am instrument -w com.android.messaging.test
        Time: 13.18
        OK (113 tests)
      
      CTS tests for Mesaging app
      ---------------------------
      $ ./development/testrunner/runtest.py --path cts/tests/app/src/android/app/cts/NotificationTest.java
        android.app.cts.NotificationTest:...........................
        Time: 0.263
        OK (27 tests)
      
      atest
      -----
      $ cd .../packages/apps/Messaging
      $ atest
        messagingtests: Passed: 113, Failed: 0, Ignored: 0
        All tests passed!
      
      Change-Id: I559b25aeb536489478fb3511b611e76da1891874
      bada9f9b
  4. Feb 19, 2019
    • Raman Tenneti's avatar
      AOSP/Messaging - update the Messaging version to target P (28) or higher. · cdf40bb0
      Raman Tenneti authored
      Use JobIntentService to start the Backgroundworkerservice and
      ActionServiceImpl services.
      
      + Deleted WakeLock code.
      + Made changes to com.android.messaging.test tests so that all tests
        pass with the new JobService. I am not sure if these tests passed
        before these changes.
      + CTS tests passed without any changes.
      + Added TEST_MAPPING file for presubmit tests.
      
      Bug: 115499280
      Bug: 119503204
      
      Test: manual - Tested the messaging UI. Ran the following CTS tests on Pixel phone.
      
      $ make -j 40
        rw-r--r-- 1 rtenneti primarygroup 8624061 Feb 19 12:37 out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ make messagingtests -j
        -rw-r--r-- 1 rtenneti primarygroup 729713 Feb 19 12:52 out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb install -r -d out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ adb install -r -d out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb shell am instrument -w com.android.messaging.test
        Test results for InstrumentationTestRunner=...........
        Time: 13.353
        OK (113 tests)
      
      CTS tests for Mesaging app
      ---------------------------
      $ ./development/testrunner/runtest.py --path cts/tests/app/src/android/app/cts/NotificationTest.java
        android.app.cts.NotificationTest:...........................
        Time: 0.299
        OK (27 tests)
      
      atest
      -----
      $ cd .../packages/apps/Messaging
      $ atest
        Running Tests...
        messagingtests (113 Tests)
        -------------------------
        ...
        [113/113] com.android.messaging.util.YouTubeUtilTest#testGetYoutubePreviewImageLink: PASSED (2ms)
      
        Results from tests that require device:
      
        Summary
        -------
        messagingtests: Passed: 113, Failed: 0, Ignored: 0
      
        All tests passed!
      
      Change-Id: I9494f0750954e6364abb695aa867494669ae54c4
      cdf40bb0
  5. Feb 14, 2019
  6. Jan 18, 2019
    • calvinpan's avatar
      Migrate to TelephonyProvider new URI when query the current sim APN · 7ea2a930
      calvinpan authored
      Since MCC, MNC and MVNO is deprecated in the TelephonyProvider and
      query based on SIM_APN_URI will return all matching APNs from current
      subscription carrier, so migrate to the new URI.
      
      Bug: 115709816
      Test: Build pass.
      Change-Id: I260f2da2677564f37ef6a7711d45040a61215ddc
      Merged-In: I260f2da2677564f37ef6a7711d45040a61215ddc
      7ea2a930
  7. Jan 11, 2019
  8. Jan 09, 2019
  9. Jan 08, 2019
  10. Dec 08, 2018
    • Xin Li's avatar
      DO NOT MERGE · c020ac4b
      Xin Li authored
      Merge pie-platform-release (PPRL.181205.001, history only) into master
      
      Bug: 120502534
      Change-Id: Id931c19bd78c83aa24c821f12691f92925fdafbe
      c020ac4b
  11. Dec 04, 2018
    • Raman Tenneti's avatar
      AOSP/Messaging - updated tests target version to 24 to match the Messaing... · c188adbe
      Raman Tenneti authored
      AOSP/Messaging - updated tests target version to 24 to match the Messaing app's targetSdkVersion. All messagingtests tests pass/work.
      + ParticipantRefreshTest - Added UIIntents and FakeDataModel. Fixed the errors in the data verification.
      + GetOrCreateConversationActionTest - changed the blankId assert to assertEquals because 10 conversations were inserted when database was created.
      + ConversationFragmentTest - Return mockDraftMessageData even if createDraftMessageData is called with null argument.
      
      Bug: 119503204
      
      Test: manual - Ran the following CTS tests on Pixel phone. Tested the messaging UI.
      
      $ make -j 40
      
      $ make messagingtests -j
      
      $ ls -l out/target/product/marlin/system/app/messaging/messaging.apk
        -rw-r--r-- 1 rtenneti primarygroup 8974412 Dec  3 17:21 out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ ls -l  out/target/product/marlin/testcases/messagingtests/messagingtests.apk
        -rw-r--r-- 1 rtenneti primarygroup 709233 Dec  3 17:25 out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb install -r -d out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ adb install -r -d out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb shell am instrument -w com.android.messaging.test
        Test results for InstrumentationTestRunner=.........................................
        Time: 13.376
        OK (113 tests)
      
      Change-Id: Ib5784b9ed0b9086f153dd438b2b791ae0bca2621
      c188adbe
  12. Dec 03, 2018
  13. Dec 01, 2018
    • Raman Tenneti's avatar
      AOSP/Messaging - update the Messaging version to target P (28) or higher.... · 9752cda5
      Raman Tenneti authored
      AOSP/Messaging - update the Messaging version to target P (28) or higher. Fixed tests in messagingtests. All tests pass/work.
      + ParticipantRefreshTest - Added UIIntents and FakeDataModel. Fixed the errors in the data verification.
      + GetOrCreateConversationActionTest - conversation already exists (changed the assert).
      + ConversationFragmentTest - Return mockDraftMessageData even if createDraftMessageData is called with null argument.
        These tests weren't passing witout any changes (they weren't even starting without the target version update).
      
      Bug: 119503204
      Bug: 115499280
      
      Test: manual - Ran the following CTS tests on Pixel phone. Tested the messaging UI.
      
      $ make -j 40
      
      $ make messagingtests -j
      
      $ ls -l out/target/product/marlin/system/app/messaging/messaging.apk
      -rw-r--r-- 1 rtenneti primarygroup 8716364 Nov 30 15:43 out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ ls -l  out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      -rw-r--r-- 1 rtenneti primarygroup 627313 Nov 30 15:45 out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb install -r -d out/target/product/marlin/system/app/messaging/messaging.apk
      
      $ adb install -r -d out/target/product/marlin/testcases/messagingtests/messagingtests.apk
      
      $ adb shell am instrument -w com.android.messaging.test
         Test results for InstrumentationTestRunner=.........................................
         Time: 12.921
      
         OK (113 tests)
      
         The following is from logcat output:
      
         11-30 23:47:31.861  6569  6590 I TestRunner: passed: testBindingReference(com.android.messaging.datamodel.BindingTest)
         11-30 23:47:31.868  6569  6590 I TestRunner: passed: testBindingStartsUnbound(com.android.messaging.datamodel.BindingTest)
         ...
         11-30 23:47:44.705  6569  6590 I TestRunner: passed: testGServiceGet(com.android.messaging.util.BugleGservicesTest)
      
      Change-Id: I8f67da024d86f15f7430b803237ae4cff4d8e2c2
      9752cda5
  14. Aug 08, 2018
  15. Aug 07, 2018
  16. Aug 06, 2018
  17. Jun 09, 2018
  18. Jun 08, 2018
  19. Jun 03, 2018
  20. Jun 01, 2018
  21. May 25, 2018
Loading