Commit Graph
689 Commits
Author SHA1 Message Date
calvinpan 7ea2a930be Migrate to TelephonyProvider new URI when query the current sim APN
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
2019-01-18 03:25:55 +00:00
Calvin Pan ebb3c6d156 Merge "Migrate to TelephonyProvider new URI when query the current sim APN" 2019-01-12 11:34:15 +00:00
Dan Willemsen baa38c6a23 Replace USER with BUILD_USERNAME am: 88c7bd15a8 am: e0f4749cb7
am: 8c1ff04763

Change-Id: I240e695faeac98eff011057cfb9369b743bdf44d
2019-01-11 11:53:53 -08:00
Zach Riggle f4a51c8ebb [automerger skipped] Fix 'date' so that it does not cause regeneration for unbundled builds am: a48eac716c am: 7154309624
am: 7cca9ba4fd -s ours
am skip reason: change_id I2eeda1e9dd51a56bf0783f427b4fcf5a1f489254 with SHA1 058a0cb454 is in history

Change-Id: Ibcbcd6687aa709140239ccd7e486ad9eb1606f9f
2019-01-11 11:53:45 -08:00
Dan Willemsen 8c1ff04763 Replace USER with BUILD_USERNAME am: 88c7bd15a8
am: e0f4749cb7

Change-Id: I485aa7366ebf2443152a28c957dc377f57b642e8
2019-01-11 11:13:42 -08:00
Zach Riggle 7cca9ba4fd Fix 'date' so that it does not cause regeneration for unbundled builds am: a48eac716c
am: 7154309624

Change-Id: I9a177486d2feaa409656244e7e856396227581ef
2019-01-11 11:13:34 -08:00
Dan Willemsen e0f4749cb7 Replace USER with BUILD_USERNAME
am: 88c7bd15a8

Change-Id: Ia06610aac9728d4aedbb570f47e505e363a37e45
2019-01-11 10:54:05 -08:00
Zach Riggle 7154309624 Fix 'date' so that it does not cause regeneration for unbundled builds
am: a48eac716c

Change-Id: I8486eeafeb6e3c6de1e6a83a50bb159ea5a03ff8
2019-01-11 10:54:00 -08:00
Dan Willemsen 88c7bd15a8 Replace USER with BUILD_USERNAME
USER may be "nobody" if the build is sandboxed. BUILD_USERNAME will have
the original value in all cases.

Bug: 122270019
Test: none
Change-Id: Id7122113f1764cb2e676e96e255f47675f831f83
2019-01-10 17:16:24 -08:00
Zach Riggle a48eac716c Fix 'date' so that it does not cause regeneration for unbundled builds
Currently a 'tapas' build will regenerate each time with:

    $(shell date +%m%d%y_%H%M%S) was changed, regenerating...

Change-Id: I2eeda1e9dd51a56bf0783f427b4fcf5a1f489254
Merged-In: I2eeda1e9dd51a56bf0783f427b4fcf5a1f489254
2019-01-10 17:16:18 -08:00
calvinpan 7d0e40963a Migrate to TelephonyProvider new URI when query the current sim APN
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
2019-01-10 20:25:47 +08:00
Chih-Hung Hsieh b67a4468d6 Correct some errors in owners list. am: ebf6b1c285 am: b24a7af8e2
am: f1ee096503

Change-Id: Id9a7d0a143ecfbe71f35bb1a7cfaeaa72c5ceab1
2019-01-09 12:20:08 -08:00
Chih-Hung Hsieh f1ee096503 Correct some errors in owners list. am: ebf6b1c285
am: b24a7af8e2

Change-Id: Ib37f9932464718b0cacaf01dec06a3eda494637f
2019-01-09 12:14:30 -08:00
Chih-Hung Hsieh b24a7af8e2 Correct some errors in owners list.
am: ebf6b1c285

Change-Id: I92e0e55b96258bbdea5efb370bd55a1f8a126f48
2019-01-09 12:10:33 -08:00
Chih-Hung Hsieh ebf6b1c285 Correct some errors in owners list.
Bug: 33166666
Test: gerrit uploader
Change-Id: I2483e2afc4f6c89e7b59095b950160ffa4c7c874
2019-01-09 09:43:14 -08:00
Chih-Hung Hsieh fe28b9d4f8 Add default code reviewers into OWNERS am: 40ad6823a7 am: 55327087cd
am: 79a7e2dc9a

Change-Id: I2449778523c55cdcc95151f198cca900b4545e1b
2019-01-08 14:23:57 -08:00
Chih-Hung Hsieh 79a7e2dc9a Add default code reviewers into OWNERS am: 40ad6823a7
am: 55327087cd

Change-Id: I9eb950d88b720fb85a52647a532843dd40d2e5d7
2019-01-08 14:14:47 -08:00
Chih-Hung Hsieh 55327087cd Add default code reviewers into OWNERS
am: 40ad6823a7

Change-Id: I0c95cc57941669765d49010475631acc8825426e
2019-01-08 14:11:41 -08:00
Chih-Hung Hsieh 40ad6823a7 Add default code reviewers into OWNERS
Bug: 33166666
Test: gerrit uploader
Change-Id: I6f35e1234694c4ac91b77bbbb9acd0da7ea80cba
2019-01-08 11:36:29 -08:00
Xin Li a02c895f25 [automerger skipped] DO NOT MERGE am: c020ac4b78 -s ours am: ae78a1a65e -s ours
am: f531c6dc79  -s ours

Change-Id: I4d229684c5124f2ec6fda10e983b5580ea2dad56
2018-12-10 12:57:03 -08:00
Xin Li f531c6dc79 [automerger skipped] DO NOT MERGE am: c020ac4b78 -s ours
am: ae78a1a65e  -s ours

Change-Id: I89fb7af89188f9d046e082a998f0c69875de283a
2018-12-10 11:13:17 -08:00
Xin Li ae78a1a65e [automerger skipped] DO NOT MERGE
am: c020ac4b78  -s ours

Change-Id: I0e13b090f2aa21482afcf798333e20441fae0873
2018-12-10 10:10:14 -08:00
Xin Li c020ac4b78 DO NOT MERGE
Merge pie-platform-release (PPRL.181205.001, history only) into master

Bug: 120502534
Change-Id: Id931c19bd78c83aa24c821f12691f92925fdafbe
2018-12-07 16:14:49 -08:00
Raman Tenneti cc8502ad57 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. am: c188adbeaa am: a7f76f672a
am: c284495bbd

Change-Id: I0185a03ae7f2e78b04f1e5e10ba7dbf4f2a2d896
2018-12-04 00:09:28 -08:00
Raman Tenneti c284495bbd 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. am: c188adbeaa
am: a7f76f672a

Change-Id: Ic8af9d69b14a370036c0e4be910a586ec2c63bd9
2018-12-04 00:05:29 -08:00
Raman Tenneti a7f76f672a 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.
am: c188adbeaa

Change-Id: I652736cfaf848775fbbf09b8f393a5b381b5b78b
2018-12-03 23:58:01 -08:00
Raman Tenneti c188adbeaa 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
2018-12-03 17:34:14 -08:00
Raman Tenneti 0ccffe7520 Revert "AOSP/Messaging - update the Messaging version to target P (28) or higher. Fixed tests in messagingtests. All tests pass/work." am: a302369720 am: c7f3a297a3
am: be218f9e9c

Change-Id: I2c75b2e64683cf07046911c08bb9fded1be692d1
2018-12-03 16:21:20 -08:00
Raman Tenneti be218f9e9c Revert "AOSP/Messaging - update the Messaging version to target P (28) or higher. Fixed tests in messagingtests. All tests pass/work." am: a302369720
am: c7f3a297a3

Change-Id: I312e362e00a7836762ca1c260d9b5a0de549d12b
2018-12-03 16:11:33 -08:00
Raman Tenneti c7f3a297a3 Revert "AOSP/Messaging - update the Messaging version to target P (28) or higher. Fixed tests in messagingtests. All tests pass/work."
am: a302369720

Change-Id: Ifa397fe547adc645c6ffcb0027c0d54f09b8079a
2018-12-03 16:05:32 -08:00
Raman Tenneti a302369720 Revert "AOSP/Messaging - update the Messaging version to target P (28) or higher. Fixed tests in messagingtests. All tests pass/work."
This reverts commit 9752cda535.

Reason for revert: com.android.devicehealthchecks are failing https://sponge.corp.google.com/target?id=3b9a97f0-48bc-410d-94ce-0971c2f75361&target=com.android.devicehealthchecks&searchFor=&show=FAILED&sortBy=STATUS

Change-Id: I82d337b1d859083169ac6057b408f7e920f06609
2018-12-03 23:26:08 +00:00
Raman Tenneti 09cac4dae2 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). am: 9752cda535 am: ca5b535a2b
am: a6eb91daea

Change-Id: I71faef4fe7cc8ef985a8880da64998ce633afb10
2018-12-03 14:51:08 -08:00
Raman Tenneti a6eb91daea 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). am: 9752cda535
am: ca5b535a2b

Change-Id: Ia2a992cc0844cf9f64fc52e4046256dfb0fc1de8
2018-12-03 13:37:52 -08:00
Raman Tenneti ca5b535a2b 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).
am: 9752cda535

Change-Id: I61e05a893fe857749d13d918d68b2cf960717233
2018-12-03 12:49:08 -08:00
Raman Tenneti 9752cda535 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
2018-11-30 19:53:43 -08:00
Xin Li 4961a80798 Merge Android Pie into master am: 35e712c85b am: e6fe1592b3 am: 8b483ba642
am: 22810c53b8

Change-Id: I4af54b325165e312d0f3e9b5a871f695b756a92d
2018-08-08 03:37:43 -07:00
Xin Li 22810c53b8 Merge Android Pie into master am: 35e712c85b am: e6fe1592b3
am: 8b483ba642

Change-Id: Ibe891fee7857c9e771291e2fa0ff45f8c8f3ea38
2018-08-07 22:48:49 -07:00
Xin Li 8b483ba642 Merge Android Pie into master am: 35e712c85b
am: e6fe1592b3

Change-Id: Ic03ccbe728a5251e5f6947c6b3fe04cb3f29f094
2018-08-07 18:32:11 -07:00
Xin Li e6fe1592b3 Merge Android Pie into master
am: 35e712c85b

Change-Id: I0b3e50462003eb0c0ea77059b3e671812b9a447e
2018-08-07 15:01:25 -07:00
Xin Li 35e712c85b Merge Android Pie into master
Bug: 112104996
Change-Id: Ia50af15c2dbe544047e806de7d0ecff91385bf2c
2018-08-06 16:51:20 -07:00
Xin Li bdedf3439c Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master am: 268d3c8ccc
am: 8fb99c8d81

Change-Id: I2d9ff9702b6e0568750d774dd08f4f6a134f75bb
2018-06-09 06:47:44 -07:00
Xin Li 8fb99c8d81 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: 268d3c8ccc

Change-Id: I9783d2c9fa432af7d528727e7fed215cb1cee4dd
2018-06-09 03:18:04 -07:00
Xin Li 268d3c8ccc Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Bug: 79597307
Change-Id: Ie77e61094c5a4ec4c46c88e5d9659baab61dfd8b
2018-06-08 11:08:01 -07:00
android-build-team Robot 3bc028fb6d Snap for 4818534 from dc683fa0fd to pi-release
Change-Id: I2ca2f87c529031742b5a4baddfb5653e96ccd8ac
2018-06-03 07:24:32 +00:00
Atanas Kirilov dd1d5852f6 Merge changes from topic "am-d8363787-88bb-4e45-b57c-b18d9d8290cb" into oc-dev am: f7bdc8fd87 am: 24fba8cf55 am: 8f2f5671b0 am: dc683fa0fd
am: b6e222ec21

Change-Id: I1db1e411fcd7ee11dd7e8a0f345546ab2f75392a
2018-06-01 07:02:48 -07:00
David Smith 125d06d822 [automerger skipped] [automerger] RESTRICT AUTOMERGE: Messaging ignores file URIs shared via intent am: 0ee4c0e33b am: a04af950ce am: b40c396122 skipped: 520012db02 am: f53801c86c am: 4fc4f4e215 am: 7ad8e75fdb am: 4ef3ac9534 skipped: 69535177c6 am: 7459ff44a0 am: 26ae608af3 am: 999910ca54 -s ours am: a3a85140b6
am: 923cb12ba3  -s ours

Change-Id: Icf279ad4733357d77ebea2e51a3fe2009453a871
2018-06-01 06:53:05 -07:00
Atanas Kirilov b6e222ec21 Merge changes from topic "am-d8363787-88bb-4e45-b57c-b18d9d8290cb" into oc-dev am: f7bdc8fd87 am: 24fba8cf55 am: 8f2f5671b0
am: dc683fa0fd

Change-Id: I223ab91c15f919c996efa0ab4e10117dcf41253f
2018-06-01 05:51:09 -07:00
David Smith 923cb12ba3 [automerger skipped] [automerger] RESTRICT AUTOMERGE: Messaging ignores file URIs shared via intent am: 0ee4c0e33b am: a04af950ce am: b40c396122 skipped: 520012db02 am: f53801c86c am: 4fc4f4e215 am: 7ad8e75fdb am: 4ef3ac9534 skipped: 69535177c6 am: 7459ff44a0 am: 26ae608af3 am: 999910ca54 -s ours
am: a3a85140b6

Change-Id: Idf8e1eafdd8defcec751d22f0fea459f35a6e8a1
2018-06-01 05:50:43 -07:00
Atanas Kirilov dc683fa0fd Merge changes from topic "am-d8363787-88bb-4e45-b57c-b18d9d8290cb" into oc-dev am: f7bdc8fd87 am: 24fba8cf55
am: 8f2f5671b0

Change-Id: If409352ed52e8b4a1bf92b2bceedf5f032e8a7ed
2018-06-01 03:47:45 -07:00
David Smith a3a85140b6 [automerger skipped] [automerger] RESTRICT AUTOMERGE: Messaging ignores file URIs shared via intent am: 0ee4c0e33b am: a04af950ce am: b40c396122 skipped: 520012db02 am: f53801c86c am: 4fc4f4e215 am: 7ad8e75fdb am: 4ef3ac9534 skipped: 69535177c6 am: 7459ff44a0 am: 26ae608af3
am: 999910ca54  -s ours

Change-Id: I53237656bc4305a920e016552403018ba491c210
2018-06-01 03:47:21 -07:00