search a presence manager from a dedicated session concode_field_sep Map<String,Integer> presenceOrderMap concode_elem_sep MyUser myUser concode_elem_sep String LOG_TAG concode_elem_sep Handler mHandler concode_elem_sep int DELAY_TS concode_elem_sep HashMap<MXSession,MyPresenceManager> instances concode_elem_sep String latestAdvertisedPresence concode_elem_sep String[] orderedPresenceArray concode_field_sep MyPresenceManager createInstance concode_elem_sep void advertisePresence concode_elem_sep void advertiseAll concode_elem_sep void advertiseAllOffline concode_elem_sep void remove concode_elem_sep void advertiseAllOnline concode_elem_sep void advertiseAllUnavailable concode_elem_sep void advertiseOffline concode_elem_sep void createPresenceManager
MyPresenceManager function ( Context arg0 , MXSession arg1 ) { MyPresenceManager loc0 = instances . get ( arg1 ) ; if ( loc0 == null ) { loc0 = createInstance ( arg0 , arg1 ) ; } return loc0 ; }