/**@class android.os.ServiceManager @extends java.lang.Object @hide */ var ServiceManager = { /**Returns a reference to a service with the given name. @param {String} name the name of the service to get @return {Object {android.os.IBinder}} a reference to the service, or <code>null</code> if the service doesn't exist */ getService : function( ) {}, /**Place a new @a service called @a name into the service manager. @param {String} name the name of the new service @param {Object {IBinder}} service the service object */ addService : function( ) {}, /**Place a new @a service called @a name into the service manager. @param {String} name the name of the new service @param {Object {IBinder}} service the service object @param {Boolean} allowIsolated set to true to allow isolated sandboxed processes to access this service */ addService : function( ) {}, /**Retrieve an existing service called @a name from the service manager. Non-blocking. */ checkService : function( ) {}, /**Return a list of all currently running services. */ listServices : function( ) {}, /**This is only intended to be called when the process is first being brought up and bound by the activity manager. There is only one thread in the process at that time, so no locking is done. @param {Object {java.util.Map}} cache the cache of service references @hide */ initServiceCache : function( ) {}, };