Open liuyq opened 2 years ago
04-23 03:56:09.571 0 0 I AidlLazyServiceRegistrar: Shutdown prevented by forcePersist override flag.
04-23 03:56:10.516 1443 1443 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
04-23 03:56:10.516 1443 1443 E AndroidRuntime: java.lang.RuntimeException: Failed to boot service com.android.server.timedetector.GnssTimeUpdateService$Lifecycle: onBootPhase threw an exception during phase 600
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:249)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.SystemServer.lambda$startOtherServices$5$com-android-server-SystemServer(SystemServer.java:2786)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.SystemServer$$ExternalSyntheticLambda7.run(Unknown Source:30)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.am.ActivityManagerService.systemReady(ActivityManagerService.java:7659)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:2661)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:883)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:614)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: provider "gps" does not exist
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.internal.util.Preconditions.checkArgument(Preconditions.java:59)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.location.LocationManagerService.registerLocationListener(LocationManagerService.java:718)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at android.location.LocationManager.requestLocationUpdates(LocationManager.java:1498)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.timedetector.GnssTimeUpdateService.requestGnssTimeUpdates(GnssTimeUpdateService.java:165)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.timedetector.GnssTimeUpdateService$Lifecycle.onBootPhase(GnssTimeUpdateService.java:82)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:246)
04-23 03:56:10.516 1443 1443 E AndroidRuntime: ... 9 more
04-23 03:56:11.054 0 0 I binder : undelivered TRANSACTION_COMPLETE
04-23 03:56:11.059 0 0 I binder : undelivered transaction 35570, process died.
04-23 03:56:11.085 1594 1594 E AndroidRuntime: FATAL EXCEPTION: main
public static BluetoothAdapter createAdapter(AttributionSource attributionSource) {
IBinder binder = ServiceManager.getService(BLUETOOTH_MANAGER_SERVICE);
if (binder != null) {
return new BluetoothAdapter(IBluetoothManager.Stub.asInterface(binder),
attributionSource);
} else {
Log.e(TAG, "Bluetooth binder is null");
return null;
}
}
frameworks/base/services/java/com/android/server/SystemServer.java
if (mFactoryTestMode == FactoryTest.FACTORY_TEST_LOW_LEVEL) {
Slog.i(TAG, "No Bluetooth Service (factory test)");
} else if (!context.getPackageManager().hasSystemFeature
(PackageManager.FEATURE_BLUETOOTH)) {
Slog.i(TAG, "No Bluetooth Service (Bluetooth Hardware Not Present)");
} else {
t.traceBegin("StartBluetoothService");
mSystemServiceManager.startService(BluetoothService.class);
t.traceEnd();
}
device/ti/beagle_x15/tablet_core_hardware_beagle_x15.xml
<feature name="android.hardware.bluetooth" />
error message:
04-23 05:37:45.525 5380 5380 D CAR.InitTiming: PerUserCarServiceHelper took to complete: 256ms
04-23 05:37:45.528 514 534 W ActivityManager: setHasOverlayUi called on unknown pid: 5227
04-23 05:37:45.529 514 557 E AppHibernationService: Attempt to call isHibernatingForUser on stopped or nonexistent user 0
04-23 05:37:45.529 514 557 E AppHibernationService: Attempt to call isHibernatingForUser on stopped or nonexistent user 0
04-23 05:37:45.529 514 557 E AppHibernationService: Attempt to call isHibernatingForUser on stopped or nonexistent user 0
04-23 05:37:45.530 5380 5380 D CarStorageMonitoringService: CarStorageMonitoringService init()
04-23 05:37:45.560 355 355 D Zygote : Forked child process 5465
04-23 05:37:45.561 5380 5380 D CAR.InitTiming: CarStorageMonitoringService took to complete: 31ms
04-23 05:37:45.562 514 542 I ActivityManager: Start proc 5465:com.android.systemui/u0a79 for restart com.android.systemui
04-23 05:37:45.562 5380 5380 D CAR.MEDIA: init(): currentUser=0
04-23 05:37:45.562 5380 5380 D CarLocationService: init
04-23 05:37:45.570 5380 5380 D CAR.InitTiming: CarLocationService took to complete: 8ms
04-23 05:37:45.577 5380 5380 I CarWatchdogDaemonHelper[CAR.WATCHDOG]: Connected to car watchdog daemon
04-23 05:37:45.577 5380 5380 D CAR.InitTiming: CarWatchdogService took to complete: 7ms
04-23 05:37:45.578 264 1205 I automotive.vehicle@2.0-impl: SubscriptionManager::addOrUpdateSubscription, callback: 0xa8580860
04-23 05:37:45.578 264 1205 I automotive.vehicle@2.0-impl: SubscriptionManager::addOrUpdateSubscription, prop: 0x11410f10
04-23 05:37:45.578 264 1205 I automotive.vehicle@2.0-impl: addOrUpdateSubscription opts.propId: 0x11410f10
04-23 05:37:45.579 5380 5442 I CAR.WatchdogStorage: Deleted 0 user package settings db rows while syncing with alive users
04-23 05:37:45.580 5380 5380 D CAR.EVS : Transition requested: UNAVAILABLE -> INACTIVE
04-23 05:37:45.581 236 236 I hwservicemanager: Since android.hardware.automotive.evs@1.1::IEvsEnumerator/default is not registered, trying to start it as a lazy HAL.
04-23 05:37:45.581 5380 5380 E CarServiceJNI: Failed to connect to EVS service.
04-23 05:37:45.581 5380 5380 E CarServiceJNI: Failed to initialize a service context
04-23 05:37:45.581 5380 5380 E CAR.EVS : Failed to create a service handle or transit to the INACTIVE state,
04-23 05:37:45.583 5380 5442 I CarWatchdogService: Read 0 user package settings from database
04-23 05:37:45.586 5380 5442 I CarWatchdogService: Read 0 I/O usage stats from database
04-23 05:37:45.588 5380 5442 I CarWatchdogService: Read 0 not forgiven overuse stats from database
04-23 05:37:45.592 5380 5380 D CAR.InitTiming: CarEvsService took to complete: 15ms
04-23 05:37:45.595 5380 5380 D CAR.InitTiming: CarService.initAllServices took to complete: 442ms
04-23 05:37:45.595 5380 5380 D CAR.InitTiming: ICarImpl.init took to complete: 471ms
04-23 05:37:45.610 514 557 E AppHibernationService: Attempt to call isHibernatingForUser on stopped or nonexistent user 0
04-23 05:37:45.615 5380 5380 D CAR.InitTiming: CarService.onCreate took to complete: 930ms
04-23 05:37:45.615 5466 5466 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdNativeBacktrace
04-23 05:37:45.616 3632 3632 D CarLatinIME: Car Service connected
04-23 05:37:45.617 5380 5394 I CAR.AM : onTaskStackChanged
04-23 05:37:45.617 3632 3632 I CarUxRManager: Context returns display ID 0
04-23 05:37:45.618 283 283 I tombstoned: received crash request for pid 353
04-23 05:37:45.618 283 283 I tombstoned: found intercept fd 512 for pid 353 and type kDebuggerdNativeBacktrace
04-23 05:37:45.619 5380 5425 I CAR.AM : Updating top task to: TaskInfoContainer [topActivity=ComponentInfo{com.android.car.settings/com.android.car.settings.FallbackHome}, taskId=2, stackId=1, userId=0, displayId=0, position=0
04-23 05:37:45.619 5380 5425 I CAR.AM : Notifying about top task: TaskInfoContainer [topActivity=ComponentInfo{com.android.car.settings/com.android.car.settings.FallbackHome}, taskId=2, stackId=1, userId=0, displayId=0, position=0
04-23 05:37:45.619 5466 5466 I crash_dump32: performing dump of process 353 (target tid = 353)
04-23 05:37:45.621 5380 5380 I PerUserCarService: created for user 0
04-23 05:37:45.623 5380 5380 E BluetoothAdapter: Bluetooth binder is null
04-23 05:37:45.624 5380 5380 D AndroidRuntime: Shutting down VM
04-23 05:37:45.624 5380 5380 E AndroidRuntime: FATAL EXCEPTION: main
04-23 05:37:45.624 5380 5380 E AndroidRuntime: Process: com.android.car, PID: 5380
04-23 05:37:45.624 5380 5380 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.android.car.PerUserCarService: java.lang.NullPointerException: Bluetooth adapter cannot be null
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:4567)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2111)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7889)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:933)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: Caused by: java.lang.NullPointerException: Bluetooth adapter cannot be null
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at java.util.Objects.requireNonNull(Objects.java:245)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at com.android.car.CarBluetoothUserService.<init>(CarBluetoothUserService.java:91)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at com.android.car.PerUserCarService.onCreate(PerUserCarService.java:75)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:4554)
04-23 05:37:45.624 5380 5380 E AndroidRuntime: ... 9 more
04-23 05:37:45.627 514 1788 W ActivityManager: Process com.android.car has crashed too many times, killing! Reason: crashed quickly
04-23 05:37:45.628 5338 5338 W CAR.L : waited for car_service (ms):1250
04-23 05:37:45.628 5338 5338 W CAR.L : java.lang.RuntimeException
04-23 05:37:45.628 5338 5338 W CAR.L : at android.car.Car.createCar(Car.java:1279)
04-23 05:37:45.628 5338 5338 W CAR.L : at android.car.Car.createCar(Car.java:1216)
04-23 05:37:45.628 5338 5338 W CAR.L : at com.android.experimentalcar.ExperimentalCarService.onCreate(ExperimentalCarService.java:39)
04-23 05:37:45.628 5338 5338 W CAR.L : at android.app.ActivityThread.handleCreateService(ActivityThread.java:4554)
04-23 05:37:45.628 5338 5338 W CAR.L : at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
04-23 05:37:45.628 5338 5338 W CAR.L : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2111)
04-23 05:37:45.628 5338 5338 W CAR.L : at android.os.Handler.dispatchMessage(Handler.java:106)
04-23 05:37:45.628 5338 5338 W CAR.L : at android.os.Looper.loopOnce(Looper.java:201)
04-23 05:37:45.628 5338 5338 W CAR.L : at android.os.Looper.loop(Looper.java:288)
04-23 05:37:45.628 5338 5338 W CAR.L : at android.app.ActivityThread.main(ActivityThread.java:7889)
04-23 05:37:45.628 5338 5338 W CAR.L : at java.lang.reflect.Method.invoke(Native Method)
04-23 05:37:45.628 5338 5338 W CAR.L : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
04-23 05:37:45.628 5338 5338 W CAR.L : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:933)
04-23 05:37:45.630 5380 5380 I Process : Sending signal. PID: 5380 SIG: 9
04-23 05:37:45.632 5465 5465 I Zygote : seccomp disabled by setenforce 0
04-23 05:37:45.634 514 5472 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
04-23 05:37:45.639 236 5469 W libc : Unable to set property "ctl.interface_start" to "android.hardware.automotive.evs@1.1::IEvsEnumerator/default": error code: 0x20
04-23 05:37:45.599 0 0 E init : Control message: Could not find 'android.hardware.automotive.evs@1.1::IEvsEnumerator/default' for ctl.interface_start from pid: 236 (/system/bin/hwservicemanager)
04-23 05:37:45.640 236 5469 I hwservicemanager: Tried to start android.hardware.automotive.evs@1.1::IEvsEnumerator/default as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
04-23 05:37:45.643 388 388 E BpTransactionCompletedListener: Failed to transact (-32)
04-23 05:37:45.644 388 388 E BpTransactionCompletedListener: Failed to transact (-32)
https://cs.android.com/android/kernel/superproject/+/common-android-mainline:common/fs/fuse/Makefile