26
Introduction To Android Technology Nilay Mishra ([email protected]) Swathi C ([email protected])

Android System Design And Power Management

Embed Size (px)

Citation preview

Page 1: Android System Design And Power Management

Introduction To Android Technology Nilay Mishra ([email protected]) Swathi C ([email protected])

Page 2: Android System Design And Power Management

Android Basics.

Android System Architecture .

Power Management and Bindings.

Dalvik Virtual Machine

Android Vs Other OS.

Objective

Page 3: Android System Design And Power Management

A Software platform and operating system for

smart devices.

Based on the Linux kernel.

Android was found way back in 2003.

It was developed in Palo Alto, California.

WHAT IS ANDROID.?

Page 4: Android System Design And Power Management
Page 5: Android System Design And Power Management

Android

Android has open system architecture that means any one can develop there application according to there need

Android is open source over Symbian/iOS/RIM/BADA/others that are copyrighted by there respective companies

Page 6: Android System Design And Power Management
Page 7: Android System Design And Power Management

Android, Inc. was founded in Palo Alto, California in October 2003 by Andy Rubin (co-founder of Danger),Rich Miner (co-founder of Wildfire Communications, Inc.) and Nick Sears (once VP at T-Mobile).

In July 2005, Google acquired Android Inc. for at least $50 million and Google collaborate with OHA

Page 8: Android System Design And Power Management

A business alliance consisting of 80 companies to develop open standards for mobile devices

Companies in OHA are

Page 9: Android System Design And Power Management
Page 10: Android System Design And Power Management
Page 11: Android System Design And Power Management

Relying on Linux Kernel

2.6/3.4/3.10 for core syste

m services

Memory and Process

Management

Network Stack

Driver Model

Security

Providing an abstraction

between the H/W and the

rest of the S/W stack.

Android S/W Stack – Linux Kernel

Page 12: Android System Design And Power Management
Page 13: Android System Design And Power Management

Kernel Enhancements Power Management

Binder

Page 14: Android System Design And Power Management

Mobile devices depend on battery power and batteries have limited capacity

So The main Question is how to handle this???

Page 15: Android System Design And Power Management

PM is built on top of standard Linux Power Management.

PM supports more aggressive power management policy.

Components make requests to keep the power on through “Wake Locks”.

PM supports several different types of wake “Wake Locks”.

Page 16: Android System Design And Power Management
Page 17: Android System Design And Power Management

Binder facilitate IPC between applications and service

Why is Binder Required?

Page 18: Android System Design And Power Management

Applications and Services may run in separate processes but must communicate and share data

IPC can introduce significant processing overhead and security hole

Page 19: Android System Design And Power Management

Dalvik Virtual Machine Providing

environment on which every Android application runs Each Android

application runs in its own process, with its own instance of the Dalvik VM.

Page 20: Android System Design And Power Management

What is Dalvik machine

Page 21: Android System Design And Power Management

Dalvik Virtual Machine (Cont) Executing the Dalvik

Executable (.dex) format

.dex format is optimized for minimal memory footprint.

Compilation

Page 22: Android System Design And Power Management

Loaded into Dalvik VM

Page 23: Android System Design And Power Management

• Fastest growing mobile OS • Over 300,000+ Android activations a day • Android overtook iOS as the dominant OS in

US during 2H 2010 • First phone launched HTC G1 in 2008 • Currently an OS of choice for Motorola, HTC,

Samsung, Sony Ericsson, among others • Software updates every few months

Page 24: Android System Design And Power Management

OS Mkt Share

# of Apps

Revenue

Developer Interest

Easiness of PL

Platform

Multitasking

Security

OS Upgrades

App Approval

Payments & Avail.

Page 25: Android System Design And Power Management

Android OS: ◦ open platform, allowing the use of 3rd party tools

◦ Key to OS success

◦ can reach core components. More like PC swr

iOS: ◦ Restrictive guidelines

◦ Fixed set of tools, nothing outside, nothing deep

◦ No Flash!

Page 26: Android System Design And Power Management

Nilay Mishra ([email protected]) Swathi C ([email protected])