~/talk

Digging into Android System Services

slides:none on file

Step-by-step recipe for a working custom Android system service: create AIDL in android.os that defines methods (example: add(a,b) and getServiceName), implement the generated Stub under com.android.server in the framework sources, add the AIDL to Android.mk, call addService via ServiceManager from SystemServer.java to publish an instance, add a unique name constant to Context.java and register the service/manager link so apps call getSystemService to obtain a manager that delegates over Binder. Requires rebuilding and flashing the system or using an AOSP-compatible device/emulator; example implementations return the expected results.

AI-written summary · about

  1. 0:00Introduction
  2. 1:16System Service Overview
  3. 4:01Architecture and Process
  4. 10:15Creating a Custom Service
  5. 17:01Implementing the Manager
  6. 20:15Application Usage
  7. 23:11Q&A and Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.