0c87b3c31f4ce9e47a07e40012cf669a763a1575 |
|
11-Jun-2016 |
Brad Ebinger <breadley@google.com> |
Add Group Id tracking in PhoneAccountRegistrar Adds Group Ids to the DefaultPhoneAccountHandle in Telecom in order to keep track of the group that the currently registered PhoneAccounts belong to. If registerPhoneAccount is called with a new PhoneAccount that has the same group Id as a currently registered PhoneAccount, then remove the registered PhoneAccount and register the new PhoneAccount with the old PhoneAccount's defaults and enabled status. This allows us to transparently change PhoneAccounts and keep the calling account defaults the same. Bug: 28173788 Change-Id: Ida44e348903d2ba6b8b8f8cc64a5b13cff68c1c2
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
a3799ae6aafba8ccd6448a7c4337acd3460b49f2 |
|
16-Mar-2016 |
Hall Liu <hallliu@google.com> |
Add even more test annotations Bug: 26853070 Change-Id: I8c6a6cdf2164afe88cc1cca1b5ea402c304994b3
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
54df728296ba42c46a9445271985ae1b74def5cc |
|
26-Jan-2016 |
Tony Mak <tonymak@google.com> |
Fix phone account is disabled everytime after reboot There is a bug in the code that deserializes phone account from xml, all phone accounts without extra are disabled after reboot! The tag next to "extra", which is "enabled", is swallowed in the readBundle function and hence the value is ignored. Also update test case to cover this case. BUG=26792269 Change-Id: I2387c7aed93b79d636ede2c9da4256b3272e86b0
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
4d34c5bc9ba32cb03c34fdb4186e084e85af79cf |
|
23-Jan-2016 |
Sailesh Nepal <sail@google.com> |
Fix missed call notification tests My changes to missed call notifications (ag/850080) caused tests to fail due to TelecomManager not being found. This CL fixes those tests. This CL also changes queryBroadcastReceivers to specify the given user handle. BUG: 22857261 Change-Id: I6f0a5a38b017b8fa32016fa5921d909c0fa61114
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
4a3e2fd2b783c9f667a719237ef527ebe686fe32 |
|
04-Dec-2015 |
Tony Mak <tonymak@google.com> |
Allow setting default phone account handle per user The problem we cannot have every users has their own user handle is becoz we did not store user handle. Store default phone account handle with user handle, so that every user can has it owns default phone account handle. Bug: 25941865 Change-Id: Iad8a920e9ceeb9caa8a7d8bc6a1d2f2dfc8dcd58
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
240656f19c078b4f703d0502ce29114de0d45a50 |
|
04-Dec-2015 |
Tony Mak <tonymak@google.com> |
Methods in PhoneAccountRegistrar should ask for userhandle explicitly 1. Get calling user handle before calling clearCallingIdentity 2. Methods in PhoneAccountRegistrar asked for the user handle explicitly instead of trying both current user and calling user 3. Modify isVisibleForUser in PhoneAccountRegistrar, - PA with CAPABILITY_MULTI_USER is visible to all users including managed profile (We are still discussing this, but let's assume it works in this way and change it later if necessary) - For other PAs, they are only visible within the user they are registered to. - TelecomManager.getPhoneAccount is an exception case. The visibility checking of getPhoneAccount allowing a PhoneAccountHandle from other profiles in the same user. Reason: Telecom passes PhoneAccountHandle to incall UI and incall UI retrieves PhoneAccount from the handle. It is because we never bind to managed profile's incall UI, and bind to its parent user provided one instead. So phone account handle in managed profile is passed to it's parent user incall UI. And we need to allow parent user incall UI to retrieve the PhoneAccount from the handle. 4. Please notice that the default PA account related APIs does not really support multi-users. The backend (xml storage) does not include user as a key and it should be able to store one default only and is shared among all users. This problem is not fixed in this commit. Bug: 25936882 Change-Id: Ia371723d68247a208a0c1185f6d02f1b5897946a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
2c93c50e5be7d85b78c4af15aaa10e44f0bcdf3e |
|
28-Oct-2015 |
Brad Ebinger <breadley@google.com> |
Revert "Move tests around to better organize Telecom" This reverts commit f6655ee7f26e85aef274be7e8c95e317d9d4af7f. Change-Id: Ia54fb6173de6425d5d9979b2498654764549ce19
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
f6655ee7f26e85aef274be7e8c95e317d9d4af7f |
|
26-Oct-2015 |
Brad Ebinger <breadley@google.com> |
Move tests around to better organize Telecom In order to better organize the Telecom system, the tests have been moved into the Telecom package instead of a separate .test package. Change-Id: I762372acc47c9bc4e671d8c66227eb272e20d88a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
1d903ddbf915a4aef4925a0e90042e76151c97a9 |
|
10-Oct-2015 |
Hall Liu <hallliu@google.com> |
Fix test harness by mocking TelecomManager Bug: 24618535 Change-Id: I28537b2a64cb401df41d7de892cf21125ce8f851
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
369c8740adecbb47a17171f861322a76588a6319 |
|
08-Oct-2015 |
Tyler Gunn <tgunn@google.com> |
Add store/retrieve of PhoneAccount extras to PhoneAccountRegistry. - Add write/read to parser. - Add Unit test case for XML parsing. - Add test extra data test ConnectionService phone accounts. Bug: 22806380 Change-Id: Ib01843ee859616eb6674f070a674b792d52b8869
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
59c21a747c31773a67a32675be29c4d0537a3513 |
|
11-Jun-2015 |
Santos Cordon <santoscordon@google.com> |
Change Sim Call Managers to use default dialer app instead. Bug: 21499476 Change-Id: I60505ac1699f287656434b55d81aa61d4ae4ce14
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
0a4b95fc7731943fdd1a9b295daae45eb46b28d0 |
|
18-May-2015 |
Ihab Awad <ihab@google.com> |
Fix test bitrot breakages Change-Id: I39cbcd078c07fd48ca9b00abce21871ef273b19d
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
ea5cb93d81099f17654e0fdf9b8eda3bfa89f081 |
|
08-May-2015 |
Santos Cordon <santoscordon@google.com> |
Provide enable property on phone accounts. Bug: 20303449 Change-Id: I4b9cb0e29377233ed4fc01757570351ee6e5856e
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
9c30c280f0007eb32d3ae9a7cad8ceb68120ca41 |
|
14-May-2015 |
Santos Cordon <santoscordon@google.com> |
[2/4] Use new Icon class in PhoneAccount. Bug: 21088522 Change-Id: If57c3cb2f1c6630b6bd66e55862bec564e817945
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
6a2126477ce3f527ecaec807fe4f40cd13ff02b0 |
|
09-May-2015 |
Santos Cordon <santoscordon@google.com> |
Clean up PhoneAccountRegistrar. Cleanup lots of duplicate code and consolidate all phone account retrievals into a single method: getPhoneAccounts(...). Consolidate checks for capabilities, package-name, uri, and isVisibleForUser(...). This will be very helpful when implementing enable/disable for phone accounts. Bug: 20303449 Change-Id: I24d63cd313876f5d9390f2eb31c0ce79d7cb0ab2
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
945a82ea92bf4fcc8b505738760650f9fb74960b |
|
02-Apr-2015 |
Ihab Awad <ihab@google.com> |
Split unit tests and interactive test apps apart This CL splits the automated unit tests (*.tests package) and the interactive test connection services (*.testapps package). Apart from code hygiene and flexibility moving forward, this makes Android manifest and build files, and the relevant dependencies, simpler and easier to follow. Change-Id: Id8c7763ae65f437fdfdabe8b0a4f3561adadbcb3
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|
b63b57e2c35c4769e756f47131c7ebbc0af42c59 |
|
23-Mar-2015 |
Ihab Awad <ihab@google.com> |
Further cleanup, and move functionality into TestFixture objects Change-Id: I62b514ae8fe10f720a60c681968efd2340616eba
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/PhoneAccountRegistrarTest.java
|