android 4.3.1, android 6.0.1, android wear source code comparison

5
Android 4.3.1 and newest versions of Android and Android Wear source codes are to be compared (android-4.3.1_r1 vs. android-6.0.1_r63 vs. android-wear-n-preview-2)

Upload: yongkyun-lee

Post on 21-Jan-2018

140 views

Category:

Software


3 download

TRANSCRIPT

• Android 4.3.1 and newest versions of Android and Android Wear source codes are to be compared(android-4.3.1_r1 vs. android-6.0.1_r63 vs. android-wear-n-preview-2)

KernelAndroid4.3.1_r1

Android(6.0.1_r63)

Android Wear(wear-n-preview2)

Language Written in C Written in C++ Written in C++

Init Same Same Same

Kernel Layer Differences

Native Framework(in C++)

Android4.3.1_r1

Android(6.0.1_r63)

Android Wear(wear-n-preview2)

Battery Service Not in this directory Basic FunctionsAndroid +

Voltage Info

Power ManagerBasic Functions(Acquire/release

wakelocks)

Basic Functions + Power Hint

Android +Reboot/Crash/Shutdow

n/goToSleepFunctions

Sensor ServiceBasic Sensors

(accelerometer, gyro, …)

Basic Functions + Better usage of wake locks

and buffers

Identical to Android 6.0.1

Surface Flinger O4.3.1 Version+API friendly

+ setPowerMode

Almost same asAndroid 6.0.1

Input FlingerNot in this directory(in multiple directory)

Android Wear +Status/layout bar

overlay permission

No consideration of status/layout bar

overlay permission

Native Framework Layer Differences

Base Framework(in Java)

Android4.3.1_r1

Android(6.0.1_r63)

Android Wear(wear-n-preview2)

Bluetooth Manager Basic FunctionsAndroid 4.3.1 +

BLE (Bluetooth LowEnergy)

Almost the same as Android 6.0.1

NFC Basic Functions Similar to Android-4.3.1Android +

NFCFCard Emulation

Telephony Basic FunctionsAndroid 4.3.1 +

LTE + precise call state/data conn.

Almost the same as Android 6.0.1

Wifi Manager Basic FunctionsAndroid 4.3.1 +

statistics + batch scanAlmost the same as

Android 6.0.1

Speech Recognition Basic FunctionsAlmost the same as

Android 4.3.1Almost the same as

Android 4.3.1

Voice Interaction Does not exist Exists Exists

Camera Basic FunctionsAndroid 4.3.1 +More parameters

Almost the same as 6.0.1

Base Framework Layer Differences

LibHardWareAndroid4.3.1_r1

Android(6.0.1_r63)

Android Wear(wear-n-preview2)

Power IncludedSame in hardware

aspectSame in hardware

aspect

Camera Basci FunctionsAndroid 4.3.1 +

Stream functions + use of multithreads

Almost the same as Android 6.0.1

Vibrator IncludedAndroid 4.3.1 +

More stable functionsNot included

Audio Included Almost the same Almost the same

Audio_remote_submix Basic FunctionsAndroid 4.3.1 +

More utilization of pipeline

Almost the same as Android 6.0.1

UsbAudio Included Almost the same Almost the same

LibHardWare Layer Differences