History log of /frameworks/opt/telephony/tests/telephonytests/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
83c687ec72da1c98d962f4d5ea8ed072d3283258 20-Feb-2018 Nathan Harold <nharold@google.com> Grant Default Perms for DataService on Bind

When we bind to a DataService, it needs a
permissions grant that allows the data service
to access information relevant to setting up
a PDN connnection either over Cell (modem) or
over WiFi (using IWLAN w/ IPsec). This CL adds
a call to grant the required permissions for
those to work.

Bug: 66955045
Test: runtest frameworks-telephony (on taimen)
Change-Id: I9ae6edc0d5e01a99b1d630556cf25810c95fa50b
/frameworks/opt/telephony/tests/telephonytests/Android.mk
ca608075ff15608f67dcd447d8f001efff98afbd 23-Feb-2018 Anton Hansson <hansson@google.com> Merge "frameworks/opt/telephony: Set LOCAL_SDK_VERSION where possible." am: deee04be05 am: 9d3c64abdf
am: 98bf6b3a02

Change-Id: I95bd51a4deba6935ed1bf6e8fa8d2b09e27dea03
deee04be0577adee43e8981d8463191078634633 23-Feb-2018 Anton Hansson <hansson@google.com> Merge "frameworks/opt/telephony: Set LOCAL_SDK_VERSION where possible."
7c845dbcfa3e66278c307345d7733bcf82637d22 22-Feb-2018 Andreas Gampe <agampe@google.com> Merge "Telephony: Silence Errorprone wrong error" am: b61885fee2 am: 479b14e0ce
am: 951479fd8c

Change-Id: I7a215dc45d5ce2e171b527d91f6abb03edf8e85c
e3e6c5d2498b2661d99811f6a08cde5cc1117be2 22-Feb-2018 Anton Hansson <hansson@google.com> frameworks/opt/telephony: Set LOCAL_SDK_VERSION where possible.

This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Change-Id: I526d963bdd883440569ddc2fb34426e0a6ae8f92
/frameworks/opt/telephony/tests/telephonytests/Android.mk
8166fbb15418c198835b67b9b010f19178071188 27-Jan-2018 Andreas Gampe <agampe@google.com> Telephony: Silence Errorprone wrong error

Errorprone does not correctly pick up an @Ignore.

Bug: 72076216
Bug: 72971960
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ifdf8ecf975fba34de2adde42591d26a4d5908d9b
/frameworks/opt/telephony/tests/telephonytests/Android.mk
6097c6f81990adedfed799b501c3e23b487969d8 08-Dec-2017 Paul Duffin <paulduffin@google.com> Stop statically including legacy-android-test

Statically including legacy-android-test leads to duplicate classes
which causes build time problems (with Proguard) and runtime problems on
older SDK versions. This change:
* Stops statically including legacy-android-test.
* Adds compile time dependencies on andoid.test.base, android.test.mock
and android.test.runner where necessary.
* Adds <uses-library android:name="android.test.runner"/> to any
affected package to ensure that the classes that were included by
legacy-android-test are still available at runtime. That also adds a
dependency on android.test.base and android.test.mock.

The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.

* tests/telephonytests/Android.mk
Added 'android.test.base' and 'android.test.mock' to
LOCAL_JAVA_LIBRARIES because FrameworksTelephonyTests's source
depends on their classes and because of these changes they are no
longer present on the compilation path.

Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in
FrameworksTelephonyTests results in duplicate classes which leads
to build time and compile time issues.

Bug: 30188076
Test: make checkbuild
Change-Id: I6b43f94270d4698f96fd6c912265f9fe9ee4ed09
/frameworks/opt/telephony/tests/telephonytests/Android.mk
7ff8b690109b506a91f5da1a85ef09c4170ab536 30-Sep-2017 pkanwar <pkanwar@google.com> resolve merge conflicts of Imsi to oc-mr1-dev-plus-aosp

Bug: 35606429
Test: runtest -x CarrierKeyDownloadMgrTest
Change-Id: Ic2fd40be6aa3104dc74f19ea959973d42bdbc9f2
/frameworks/opt/telephony/tests/telephonytests/Android.mk
80ec25963e07b4454efb2d464cb1794e4a3556bc 05-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add test config to FrameworksTelephonyTests"
277a5a2aae73ef0233fffc350f3829aee779899f 01-Mar-2017 Jeff Davidson <jpd@google.com> Squashed merge of master-sim into master.

Includes the following commits:

==

Add stub implementation of EuiccController.

This class will provide the backing implementation for EuiccManager.

The service is only initialized if the eUICC hardware feature is
defined. This provides a simple gate to turn on/off the feature during
development.

==

Initial implementation of EuiccConnector.

EuiccConnector is a state machine responsible for finding and
connecting to, and then dispatching commands to the system
EuiccService implementation.

==

Update references to UiccAccessRule in UiccCarrierPrivilegeRules.

AccessRule is being moved to frameworks/base/telephony so that it can
be used to transfer access rules between an EuiccService
implementation and the platform.

==

Implementation of getEid() command.

Adds unit tests of command dispatch and bind lingering.

Also fixes a bug in ContextFixture that prevented bindService from
working when the Intent specified a component name but not a package
name.

==

Generalize EuiccConnector's resolution to work for activities.

Overall, resolving the active EuiccService implementation and
resolving the active Activity for a particular LUI intent action are
quite similar - both perform the same permission check on the app and
the activity/service declaration and require a priority. So we can
generalize the existing service lookup method to work for LUI
activities as well, and make this a utility method accessible to other
callers.

Also tweak the priority definition to use the more standard
android:priority instead of our own custom metadata. This reduces the
API surface and also ensures some sane behavior (like unbundled APK
updates not being able to adjust priorities without the OEM updating
the copy in /system in an OTA).

==

Euicc implementations for getting metadata and downloading.

These are fully implemented except for the following, which will be
handled as separate follow-up pieces:

-Carrier privilege checks (the privileged permission is currently a
strict requirement for the download API; this will be relaxed later
per the method spec)
-Resolution of user-resolvable errors

==

Test: TreeHugger
Change-Id: Ide3d81fdbdccff4573d58220fc2c603a7b9de5c4
/frameworks/opt/telephony/tests/telephonytests/Android.mk
0552dcd6bd0130ab66a50e0ecc1d6c527f5c9ef5 20-Mar-2017 Dan Shi <dshi@google.com> Add test config to FrameworksTelephonyTests

Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#

Bug: 35882476
Test: local test
Change-Id: I4a95ef655f72c307480857d8f171bc4e84468234
/frameworks/opt/telephony/tests/telephonytests/Android.mk
664894311e9e42962777fc1fc67e8361ad34e4ac 19-Jan-2017 Paul Duffin <paulduffin@google.com> Merge "Prepare for removal of legacy-test from default targets" am: c0da20357d am: 7776710e64 am: 5d916f30b8
am: 6cee73fbd6

Change-Id: If213d854eaea3e9c151d321472a9b04fec265f73
b5d0285b3ca934e2ad7f7e427140588f7f0c786a 17-Jan-2017 Paul Duffin <paulduffin@google.com> Prepare for removal of legacy-test from default targets

In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

Bug: 30188076
Test: make checkbuild
Change-Id: I3ac2ec9b145df5872045a44cc9a7aeb24c456c80
/frameworks/opt/telephony/tests/telephonytests/Android.mk
4766724481b8d09c4da65cb4f1b21c0ff3a0f118 26-Aug-2016 Amit Mahajan <amitmahajan@google.com> resolve merge conflicts of b1df66a to master

Change-Id: I933ac4ec9eeaf6f75a83e9fb551ca354e23da72c
38ea8753cf66bbdca0257e2c9bd02befec61764a 26-Aug-2016 Amit Mahajan <amitmahajan@google.com> Mark flaky/failing tests as @Postsubmit.

This is done so that telephony tests can be enabled for presubmit.
All tests not passing at least 95% of the time are marked
@Postsubmit. Test passing metrics are based on
go/tel-nyc-mr1-apct-dashboard and go/tel-master-apct-dashboard.
These tests will be fixed as part of b/29579544.

Bug: 31041734
Change-Id: I5e65e94696b6526eb3c270238fd80795319ea2ff
/frameworks/opt/telephony/tests/telephonytests/Android.mk
e4be0fc4fe16021908a38abc099e05f2f3eb76c0 24-Aug-2016 Guang Zhu <guangzhu@google.com> Avoid JUnit4 collision in android-support-test, mockito-target

Bug: 31072145
Test: make droid checkbuild

Change-Id: Ic56e6d4a909f729b1b19807683f5db439a5668dd
/frameworks/opt/telephony/tests/telephonytests/Android.mk
6bfc71d2b5340f6274b3e63926a7068e364fc9ff 28-Jan-2016 Robert Greenwalt <rgreenwalt@google.com> Make PhoneSwitcher class.

Monitors subscription->phone mapping, default subscription setting and
all mobile network requests to prioritize things, activate/deactivate phones
and also notify the curious about which phones are currently active.

Change-Id: I0ee67e6b05a5571b2f3c4e641823cf029420cb50
/frameworks/opt/telephony/tests/telephonytests/Android.mk
e5468b6b0242c072d0b7eea7e6c75a536cb650df 24-Nov-2015 Amit Mahajan <amitmahajan@google.com> Adding initial tests for GsmCdmaCall and GsmCdmaPhone.

Also includes:
- Changes to fix/comment out failing tests
- Some cleanup in CallManager related to deletion of PhoneBase and
PhoneProxy
- ContextFixture containing mock Context for all telephony tests
- Phone test that exercises BroadcastReceiver support in the mock
Context
- Test showing how static function can be mocked

Bug: 25691379
Change-Id: Ia38423cef3cfb86389d044cac4e601983fae1192
/frameworks/opt/telephony/tests/telephonytests/Android.mk
0cdc53a095b5e715b9730f78dbd80d160fdd665f 19-Jun-2015 Jeff Davidson <jpd@google.com> Disable carrier apps until needed per the SIM.

Similar to how InputMethodManagerService marks IME apps as
DISABLED_UNTIL_USED except for apps being used as IMEs, we mark
carrier apps bundled with the system as DISABLED_UNTIL_USED until a
SIM that marks those apps as privileged is inserted.

Bug: 21814643
Change-Id: I24006039c18f2b0ad01019d3bb27c1344f97d53c
/frameworks/opt/telephony/tests/telephonytests/Android.mk
79555c93820b5159b25c01fff47d16fe623ce866 31-Jan-2013 Wink Saville <wink@google.com> Fix some broken tests.

Change-Id: I10d48c6597bb0c45d70a6a2d77a0afb9d295568d
/frameworks/opt/telephony/tests/telephonytests/Android.mk
0825495a331bb44df395a0cdb79fab85e68db5d5 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/tests/telephonytests/Android.mk