<<

International Journal For Technological Research In Engineering Volume 3, Issue 3, November-2015 ISSN (Online): 2347 - 4718

ANDROID FRAMEWORK

Saksham Wason Dronacharya College of Engineering, Gurgaon, India

Abstract: Abstract Android is a mobile operating directories for easy navigation and usage. These directories system (OS) currently developed by Google, based on may contain files and other directions. OS Keeps track of the kernel and designed primarily for touch information, location, uses, status etc. The collective screen mobile devices such as smart phones and tablets. facilities are often known as . It Decides who gets Android's user interface is based on direct manipulation, the resources and also allocates and de-allocates the using touch gestures that loosely correspond to real-world resources. actions, such as swiping, tapping and pinching, to manipulate on-screen objects, along with a virtual II. INTRODUCTION TO VIRTUAL OPERATING keyboard for text input. In addition to touchscreen devices, SYSTEM Google has further developed Android TV for The idea of a virtual is to provide standard televisions, Android Auto for cars, and Android Wear for versions of the following- wrist watches, each with a specialized user interface. 1.Operating system primitives accessible through Variants of Android are also used on notebooks, game programming languages consoles, digital cameras, and other electronics. As of 2015, 2. The utility programs such as compilers, linkers and editors Android has the largest installed base of all operating 3. The command language or means by which users access systems. system resources from a terminal based on organizational requirements. I. INTRODUCTION OF OPERATING SYSTEM (OS) An operating system is a program that enables the VM (operating system) to communicate and operate with the Introduction: computer software. Without a computer operating system, a VM (often: VM/CMS) is a family of computer and software programs would be useless. IBM operating systems used on IBM Application programs usually require an operating system to mainframes System/370, System/390, zSeries, System z and function. The operating system provides two main functions. compatible systems, including the Hercules for The first function is managing the basic hardware operations. personal computers. The first version, released in 1972, was The control of input and output, storage space, detecting VM/370, or officially Virtual Machine Facility/370. This equipment failure, and management of storage are just some was a System/370 reimplementation of earlier CP/CMS of the responsibilities of the Operating System. The second operating system. Milestone versions included VM/SP.The function is managing and interacting with the applications current version, z/VM, is still widely used as one of the main software. It takes over the tasks of printing and saving data. full solutions mainframe market. To provide an environment for a computer user to execute Overview: programs. The heart of the VM architecture is a control program or Basic Function of OS: called VM-CP (usually: CP; sometimes,  Management: The Operating System also Treats ambiguously: VM). It runs on the physical hardware, and the Process Management means all the Processes those are creates the virtual machine environment. VM-CP provides given by the user or the Process those are System's own of the physical machine – including I/O Process are Handled by the Operating System. The Operating and other privileged operations. It performs system's System will Create the Priorities for the user and also Start or resource-sharing, including device management, dispatching, Stops the Execution of the Process and Also Makes the Child virtual storage management, and other traditional operating Process after dividing the Large Processes into the Small system tasks. Each VM user is provided with a separate Processes. virtual machine having its own address space, Management: Operating System also manages the devices, etc., and which is capable of running any software Memory of the Computer System means provide the Memory that could be run on a stand- alone machine. A given VM to the Process and Also deallocate the Memory from the mainframe typically runs hundreds or thousands of virtual Process. And also defines that if a Process gets completed machine instances. VM-CP began life as CP-370, a then this will deallocate the Memory from the Processes. reimplementation of CP-67, itself a reimplementation of CP- Device Management: OS manages device communication via 40. their respective drivers. It Allocates and De-allocates the Running within each virtual machine is another, "guest" device in the efficient way. It also decides which process gets operating system. This might be: the device when and for how much time. CMS ("Conversational Monitor System", renamed from the File Management: A file system is normally organized into "Cambridge Monitor System" of CP/CMS). Its official name

www.ijtre.com Copyright 2015.All rights reserved. 443

International Journal For Technological Research In Engineering Volume 3, Issue 3, November-2015 ISSN (Online): 2347 - 4718

is VM- CMS (confusing, since VM is commonly called VM remained an important platform within IBM, used for VM/CMS). Most virtual machines run CMS, a lightweight, operating system development and time- sharing use; but for single-user operating system. Its interactive environment is customers it remained IBM's "other operating system". The comparable to that of a single-user PC, including a file OS and DOS families remained IBM's strategic products, system, programming services, device access, and command- and customers were not encouraged to run VM. Those a that line processing. did formed close working relationships, continuing the A mainstream operating system. IBM's mainstream operating community-support model of early CP/CMS users. In the systems (i.e. the MVS or DOS/VSE families) can be loaded meantime, the system struggled with political infighting and run without modification. The VM hypervisor treats within IBM over what resources should be available to the guest operating systems as application programs with project, as compared with other IBM efforts. A basic has exceptional privileges – it prevents them from using "problem" with the system was seen at IBM's field sales privileged instructions but simulates privileged instructions level: VM/CMS demonstrably reduced the amount of on their behalf. Most mainframe operating systems terminate hardware needed to support a given a normal application which tries to usurp the operating system's privileges. Virtual Memory: A Virtual Memory has the advantage of Another copy of VM. A "second level" instance of VM can allowing more processes to run than the allowed memory be fully virtualized inside virtual machine. This is how VM size. This is achieved by only including parts of processes development and testing is done. (A "second- level" VM can that are necessary to run in memory and the rest on disk. The potentially implement a different virtualization of the absolute minimum part of a process that must always be in hardware. This technique was used to develop S/370 software memory is called its working set. Usually, a program doesn't before S/370 hardware was available, and it continued to play need to have its entire binary file in memory to run when it is a role in new hardware development at IBM. The literature performing a task that only uses part of its file. What this cites practical examples of virtualization five levels deep. means is that, say, a 16MB program could happily run on a Levels of VM below the top are also for the treated as machine with only 4MB of memory. applications but with exceptional privileges. A copy of the mainframe version of AIX or Linux. In the Virtual Machine: A virtual machine (VM) is a software mainframe environment, these operating systems often run implementation of a machine (for example, a computer) that under VM, and are handled like other guest operating executes programs like a physical machine. A virtual systems. A specialized VM subsystem. Several non- CMS machine is a completely isolated guest operating system systems run within VM-CP virtual machines, providing installation within a normal host operating system. Virtual services to CMS users all such as spooling, intercrosses Machine Operating System creates illusion of multiple communications, the and specialized device support. They processors each capable of executing independently. Virtual operate "behind the scenes", extending the services available machines are separated into two major categories, based on to CMS without adding to the VM- CP control program. By their use and degree of correspondence to any real machine:- running in separate virtual machines, they receive the same security and reliability protections as other VM users. System Virtual Machines: A provides a complete system platform which supports the Examples include: execution of a complete operating system. These usually  RSCS ("Remote Spooling and Communication emulate an existing architecture, and are built with the Subsystem", aka VNET) - communication and information purpose of either providing a platform to run programs transfer facilities between virtual machines where the real hardware is not available for use or of having  RACF ("Resource Access Control Facility") — a security multiple instances of virtual machines leading to more system efficient use of computing resources, both in terms of energy  GCS ("Group Control System"), which provides a limited consumption and cost effectiveness, or both. A virtual simulation of the MVS API. machine can provide an instruction set architecture (ISA) that can vary from the host hard drive, such as visual display History: The early history of VM is described in the articles formatting of adjunct software management tools, font CP/CMS and History of CP/CMS. VM/370 was a characteristics, and html formatting. Application reimplementation of CP/CMS, and was made available in provisioning, maintenance, high availability and disaster 1972 as part of IBM's "System/370 Advanced Function" recovery are inherent in the virtual machine software announcement (which added virtual memory hardware and selected. operating systems to the System/370 series). Early releases of VM through VM/370 Release 6 continued in open source, Process Virtual Machines: A process VM, sometimes called and today are considered to be in the public domain. This an application virtual machine, or Managed Runtime policy ended in the late 1970s with the chargeable VM/SE Environment (MRE), runs as a normal application inside a and VM/BSE upgrades and in 1980 with VM/System Product host OS and supports a single process. It is created when that (VM/SP). However, IBM continued providing updates in process is started and destroyed when it exits. Its purpose is source form for existing code for many years. toprovide a platform-independent programming environment

www.ijtre.com Copyright 2015.All rights reserved. 444

International Journal For Technological Research In Engineering Volume 3, Issue 3, November-2015 ISSN (Online): 2347 - 4718

that abstracts away details of the underlying hardware or mainframes after the IBM 3090. VM has been known as operating VM/SP (System Product, the successor to CP/67), VM/XA, Advantages of a virtual machine include: and currently as VM/ESA (Enterprise Systems Architecture). Allows multiple operating system environments on a single VM/ESA is still in used in 1999, featuring a web interface, physical computer without any intervention Java, and DB2. It is still a major IBM operating system. Virtual machines are widely available and are easy to manage and maintain. 2. A software emulation of a physical computing Offers application provisioning and disaster recovery environment. The term gave rise to the name of IBM's VM options operating system whose task is to provide one or more simultaneous execution environments in which operating Drawbacks of virtual machines include: systems or other programs may execute as though they were  They are not as efficient as a physical computer because running "on the bare iron", that is, without an eveloping the hardware resources are distributed in an indirect way. Control Program. A major use of VM is the running of both  Multiple VMs running on a single physical machine can outdated and current versions of the same operating system deliver unstable performance on a single CPU complex for the purpose of system Working Of Virtual Machine OS: A virtual- machine monitor migration, thereby obviating the need for a second processor. is a software layer that runs on a host platform and provides an abstraction of a complete computer system to higher-level REFERENCES software. The software running above the virtual- machine [1] http://en.wikipedia.org/wiki/VM_(operating_sys abstraction is called guest software (operating system and tem) applications).Our goal for this paper is to examine and reduce [2] [2]http://dictionary.reference.com/browse/virtual+ the performance overhead associated with running a VMM machine on a host operating system. Building it on a standard Linux [3] http://en.wikipedia.org/wiki/VM_(operating_system host operating system leads to an order of magnitude ). performance degradation [4] Brinch Hansen P. (1973) Operating System Principles. Save Legacy Systems- Offices and data centers often have an [5] Kernighan. Software Practice and Experience, 5 (4), old box around that just can't be mucked with. There's 395-406. additional software you can use to do what's called a P2V [6] https://www.google.co.in/search?biw=1366&bih switch, a physicalto- virtual conversion, where the old box's =667&q=virtual+machine+architecture+operating+ "image" gets copied onto the virtual machine files, and thus, system&revid=1615047011&sa=X&ei=73QeVKW gives you a hopefully operational clone of the old grandpa 4B9OA8gXy_IL4Ag&ved=0CHsQ1QIo box in the corner. [7] http://www.techopedia.com/definition/4805/virtual- machine-vm III. CONCLUSION AND FUTURE WORK [8] "VM/SP Announced 1980/02/11, GA 1980/12/12" In the future, there can be reduction in the size of the host Elliott, Jim (2004-08-17). "The Evolution of IBM operating system used to support a VMM. Much of the code Mainframes and VM" (PDF). SHARE Session in the host OS can be eliminated, because the VMM uses 9140. Retrieved 2007-10-21 only a small number of system calls and abstractions in the [9] www...com - release history host OS. Reducing the code size of the host OS will help make VM a fast and trusted base for future virtual- machine services. In this presentation we examine Virtual Machine on the basis of operating system. We study how there is actual working between Operating system and virtual machine and how we can access multiple operating system on same hardware.

Virtual Machine in Technology: Operating System (VM) An IBM pseudo- operating system hypervisor running on IBM 370, ESA and IBM 390 architecture computers. VM comprises CP( Control Program ) and CMS ( Conversational Monitor System ) providing Hypervisor and personal computing environments respectively. VM became most used in the early 1980s as a Hypervisor for multiple DOS/VS and DOS/VSE systems and as IBM's internal operating system of choice. It declined rapidly following widespread adoption of the IBM PC and hardware partitioning in microcode on IBM

www.ijtre.com Copyright 2015.All rights reserved. 445