Move car service test cases to original package
Sharing package name between test and its target will require only
package-private API exposure instead of public.
Bug: 36189057
Test: runtest -x packages/services/Car/tests/carservice_test/
Change-Id: I3b0677c22d929f50b39d95dc0dc7b26d374236f1
diff --git a/service/src/com/android/car/ICarImpl.java b/service/src/com/android/car/ICarImpl.java
index d4acdb3..a513706 100644
--- a/service/src/com/android/car/ICarImpl.java
+++ b/service/src/com/android/car/ICarImpl.java
@@ -153,7 +153,7 @@
mAllServices = allServices.toArray(new CarServiceBase[0]);
}
- public void init() {
+ void init() {
traceBegin("VehicleHal.init");
mHal.init();
traceEnd();
@@ -164,7 +164,7 @@
traceEnd();
}
- public void release() {
+ void release() {
// release done in opposite order from init
for (int i = mAllServices.length - 1; i >= 0; i--) {
mAllServices[i].release();
@@ -172,7 +172,7 @@
mHal.release();
}
- public void vehicleHalReconnected(IVehicle vehicle) {
+ void vehicleHalReconnected(IVehicle vehicle) {
mHal.vehicleHalReconnected(vehicle);
for (CarServiceBase service : mAllServices) {
service.vehicleHalReconnected();