History log of /frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe4ae0c5b1bc3b31adc4cc2c5a0197e29e97b6bc 25-Jan-2018 Michal Karpinski <mkarpinski@google.com> Rename RefactoredBackupManagerService to BackupManagerService

The interface will be removed in a subsequent CL, it will be
easier to deal with merge conflicts.

Test: 1) m -j RunFrameworksServicesRoboTests
2) runtest -p com.android.server.backup frameworks-services
Bug: 65823538
Change-Id: I37c4c6758c646e1b18889ed05aa1b1d7c6129cf0
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
728dceac63884f90aa9f2d4a297fdbda96d5922a 30-Nov-2017 Bernardo Rufino <brufino@google.com> Remove old BackupManagerService

As discussed, only removed the class, local interface and trampoline
still exist. That will go into a next CL.

Bug: 65823538
Test: make RunFrameworksServicesRoboTests
Test: runtest -p com.android.server.backup frameworks-services
Test: gts-tradefed run commandAndExit gts-dev -m GtsBackupTestCases
Test: gts-tradefed run commandAndExit gts-dev -m GtsBackupHostTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsBackupTestCases
Test: adb shell bmgr backupnow <kv and full-backup packages>
Test: adb backup & adb restore
Change-Id: Ifcb4c02e364b8c4899ff376ff20cd8c89fc1af28
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
ab953332bca70799b908ae0bfffb10c5d7a7a7f7 22-Nov-2017 Bernardo Rufino <brufino@google.com> Binding on-demand #3: updateTransportAttributes() API

This CL introduces the updateTransportAttributes() API to be used by the
transport hosts. It doesn't actually use the description attributes yet,
this will go in another CL. This is because I want to test that CL
together with transport usage. Tests are lacking for TransportManager
and BMS, I'll still add them, but I'm trying to migrate Robolectric
first.

Ref: http://go/br-binding-on-demand
Bug: 17140907
Test: make RunFrameworksServicesRoboTests
Test: runtest -p com.android.server.backup frameworks-services
Test: gts-tradefed run commandAndExit gts-dev -m GtsBackupTestCases
Test: gts-tradefed run commandAndExit gts-dev -m GtsBackupHostTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsBackupTestCases
Change-Id: I56f7b5a5026d21d8f11afb371d5560d4913c5f2a
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
2dd109d2385e555491f58741db78a4ebb0dcbafa 04-May-2017 Tony Mak <tonymak@google.com> Add null checking and exception handling in selectBackupTransportAsync

Bug: 37304539

Test: bit FrameworksServicesTests:com.android.server.backup.TrampolineTest

Change-Id: I01ffa25bfca6ca743220ee7277c2a6473c055bf1
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
8b20b2c2ec33416224fbee5b3dd83c6fd195557d 02-May-2017 Tony Mak <tonymak@google.com> selectBackupTransportAsync should report failure when backup is disabled

Fix: 37304539
Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
Test: setup device owner, then set up profile.
Ensure tapping Settings->Google->Work->Security -> Verify app
is working

Change-Id: I393308857ea6082dca167e3e417b946615a83c20
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
e5263c62ee58c1e99244cb4cf922657135502c69 21-Apr-2017 Artem Iglikov <artikz@google.com> Add remaining tests for Trampoline.

Also a bit of refactoring on TrampolineTestable and enable it for
presubmits.

Bug: 37520021
Test: manually ran the unit test.
Change-Id: I20214b70d3eb35017d50983bd8bebef93b66e839
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
c92eb4658a579df59df07944fde327ca624ca28d 21-Apr-2017 Artem Iglikov <artikz@google.com> Fix and enable test for Trampoline.requestBackup().

This was disabled because of NPE.

Test: manual

Bug: 37535747

Change-Id: I30dfeadcddb8003fde7fa92c28fa1f06164201dc
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
6052ef563c656e3bd524415e6d35fc1a5f50aca1 20-Apr-2017 Artem Iglikov <artikz@google.com> Add unit test for Trampoline.

This adds the test to FrameworksServicesTests test suite, which can be
run with the following command:

make FrameworksServicesTests -j &&
adb install -r ${OUT}/data/app/FrameworksServicesTests/FrameworksServicesTests.apk &&
adb shell am instrument -w -e package com.android.server.backup \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Bug: 37520021

Test: manually ran the test

Change-Id: I3f0dc50b0eb2ff2bc9360c68714c27e82b820897
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java