본문 바로가기

Programming/Android Kernel,Native25

3.1.1 안드로이드 서비스 클라이언트와 서비스 서버 URL : http://insideandroid.org/3-1-1-%EC%84%9C%EB%B9%84%EC%8A%A4-%ED%81%B4%EB%9D%BC%EC%9D%B4%EC%96%B8%ED%8A%B8%EC%99%80-%EC%84%9C%EB%B9%84%EC%8A%A4-%EC%84%9C%EB%B2%84/ 음악 애플케이션이 음악을 재생하는 동안에 오디오 플링어 서비스와 빈번히 바인더 IPC하므로, 이 상황을 설명하기 위한 용어들이 필요하다. ..... 서비스 클라이언트에는 서비스 프록시가 있어 함수 호출 정보를 전달하고 서비스 서버에는 서비스가 있어 호출된 함수를 실행한다. 두 주체 사이에 위치한 화살표는 바인더 IPC를 의미하며, 바인더 드라이버가 이것을 처리한다. ..... 서비스 클라이언트와 서비스 서버의.. 2014. 10. 22.
3.1 안드로이드 바인더 IPC 개요 URL : http://insideandroid.org/3-1-%EB%B0%94%EC%9D%B8%EB%8D%94-ipc-%EA%B0%9C%EC%9A%94/ ..... 바인더 IPC 관점에서 시스템 서비스와 애플리케이션의 상호작용을 이해해 보자. 음악 애플리케이션에서 음악을 들을려면, 오디오 플링어 서비스에서 제공하는 play() 기능을 사용해야 한다. 그런데 오디오 플링어 서비스는 미디어 서버에서 동작하고 있고, 음악 애플리케이션은 자신의 프로세스에서 동작 중 임으로 음악 애플리케이션과 오디오 플링어 서비스 사이에는 play() 함수 호출을 전달하는 바인더 IPC가 필요하다. 안드로이드 플랫폼에서 애플리케이션을 실행하면 내부적으로 자이고트(Zygote)에 의해 새로운 프로세스에서 동작한다. 예를 들어, .. 2014. 10. 22.
Deep Dive into Android IPC/Binder Framework(2/2) URL : https://thenewcircle.com/s/post/1340/Deep_Dive_Into_Binder_Presentation.htm#slide-15 ..... Sharing Memory via Binder- Binder transactional data is copied among parties communicating - not ideal if we have a lot of data to send + In fact, binder imposes limits on how much data we can send via transactions - If the data we want to share comes from a file, then we should just send the file de.. 2014. 10. 21.
Deep Dive into Android IPC/Binder Framework(1/2) URL : https://thenewcircle.com/s/post/1340/Deep_Dive_Into_Binder_Presentation.htm Objectives- Binder Overview- IPC- Advantages of Binder- Binder vs Intent/ContentProvider/Messenger-based IPC- Binder Terminology- Binder Communication and Discovery- AIDL- Binder Object Reference Mapping- Binder by Example- Async Binder- Memory Sharing- Binder Limitations- Security ..... What is Binder?- An IPC/com.. 2014. 10. 21.
Android IPC Mechanism URL : http://www.slideshare.net/jserv/android-ipc-mechanism ..... (0) IPC: The heart of Android(1) Design Patterns(2) Binder IPC Internals(3) Use case: Graphics Binder IPC: The heart of Android Android TasksComponent View Why IPC? • Each process has its own address space• Provides data isolation• Prevents harmful direct interaction between two different processes– Sometimes, communication betwee.. 2014. 10. 21.
안드로이드 부팅 시 시작되는 프로세스 (혹은 activity) - Talking about Android process URL : http://shadowxx.egloos.com/viewer/10637004 ..... 출처 : http://letsgoustc.spaces.live.com/blog/cns!89AD27DFB5E249BA!459.entry Talking about Android process [First written by Steve Guo, please keep the mark if forwarding.] In this topic you will learn some information about Android process management. First let’s take a look at the launched processes during Android booting. USER PID PPID VSIZ.. 2014. 10. 20.