+367
−376
File changed.
Preview size limit exceeded, changes collapsed.
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Factored MockSystemServices out of DpmMockContext. It contains all system mocks that should be shared by all contexts. So now we can have several contexts in the test without having to adjust mocks behavior for each of them separately. + minor cleanup: imports, lambdas, redundant generic arguments, unnecessary try-finally Bug: 38445735 Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java Change-Id: Id18b574b021c16f86fda8ae31291dd5defec0004
File changed.
Preview size limit exceeded, changes collapsed.
File changed.
Preview size limit exceeded, changes collapsed.