SYMBOL INDEX (114 symbols across 16 files) FILE: assets/common.js function copyToClipboard (line 8) | function copyToClipboard(text) { function ImagePool (line 31) | function ImagePool(size) { function b64toBlob (line 53) | function b64toBlob(b64Data, contentType, sliceSize) { function sendJSON (line 82) | function sendJSON(obj) { function coords (line 172) | function coords(boundingW, boundingH, relX, relY, rotation) { function HSVtoRGB (line 215) | function HSVtoRGB(h, s, v) { function getRandomRgb (line 252) | function getRandomRgb(brightness) { FILE: assets/libs/notify.js function Notification (line 275) | function Notification(elem, data, options) { FILE: assets/remote.js function receiver (line 241) | function receiver(_, data) { function dragMoveListener (line 447) | function dragMoveListener(evt) { function dragStopListener (line 453) | function dragStopListener(evt) { function calculateBounds (line 684) | function calculateBounds() { function activeFinger (line 698) | function activeFinger(index, x, y, pressure) { function deactiveFinger (line 705) | function deactiveFinger(index) { function mouseDownListener (line 709) | function mouseDownListener(event) { function mouseMoveListener (line 737) | function mouseMoveListener(event) { function mouseUpListener (line 757) | function mouseUpListener(event) { function stopMousing (line 773) | function stopMousing() { function mouseHoverListener (line 780) | function mouseHoverListener(event) { function markPosition (line 795) | function markPosition(pos) { function mouseWheelDelayTouchUp (line 812) | function mouseWheelDelayTouchUp() { function mouseWheelListener (line 823) | function mouseWheelListener(event) { FILE: database.go function initDB (line 18) | func initDB(address, dbName string) { type RdbUtils (line 59) | type RdbUtils struct method DBCreateAnyway (line 63) | func (db *RdbUtils) DBCreateAnyway(name string) error { method TableMustCreate (line 84) | func (db *RdbUtils) TableMustCreate(name string, optArgs ...r.TableCre... method TableCreateAnyway (line 90) | func (db *RdbUtils) TableCreateAnyway(name string, optArgs ...r.TableC... method DeviceUpdateOrInsert (line 99) | func (db *RdbUtils) DeviceUpdateOrInsert(dev proto.DeviceInfo) error { method DeviceUpdate (line 118) | func (db *RdbUtils) DeviceUpdate(udid string, arg interface{}) error { method DeviceList (line 123) | func (db *RdbUtils) DeviceList() (devices []proto.DeviceInfo, err erro... method DeviceGet (line 141) | func (db *RdbUtils) DeviceGet(udid string) (info proto.DeviceInfo, err... method DeviceFindAll (line 157) | func (db *RdbUtils) DeviceFindAll(info proto.DeviceInfo) (infos []prot... method ProvidersAll (line 179) | func (db *RdbUtils) ProvidersAll() (providers []proto.Provider, err er... method SetDeviceAbsent (line 197) | func (db *RdbUtils) SetDeviceAbsent(udid string) error { method WatchDeviceChanges (line 205) | func (db *RdbUtils) WatchDeviceChanges() (feeds chan r.ChangeResponse,... method ProductsFindAll (line 224) | func (db *RdbUtils) ProductsFindAll(brand, model string) (products []p... method ProductUpdate (line 245) | func (db *RdbUtils) ProductUpdate(id string, product proto.Product) er... method ProviderUpdateOrInsert (line 252) | func (db *RdbUtils) ProviderUpdateOrInsert(machineId string, ip string... method ProviderUpdate (line 271) | func (db *RdbUtils) ProviderUpdate(id string, provider proto.Provider)... method ProviderOffline (line 277) | func (db *RdbUtils) ProviderOffline(id string) error { method ProviderGet (line 290) | func (db *RdbUtils) ProviderGet(id string) (provider proto.Provider, e... FILE: database_test.go function TestInsertOrUpdateDevice (line 9) | func TestInsertOrUpdateDevice(t *testing.T) { FILE: heartbeat/heartbeat.go type Server (line 20) | type Server struct method ServeHTTP (line 34) | func (h *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewServer (line 27) | func NewServer(receiver Receiver) *Server { type Receiver (line 97) | type Receiver interface type Session (line 103) | type Session struct method Update (line 111) | func (hs *Session) Update() { method drain (line 118) | func (hs *Session) drain() { type Context (line 128) | type Context struct FILE: hostsmanager.go function deviceQueryToUdid (line 10) | func deviceQueryToUdid(query string) (udid string, err error) { function extractUdidFromInfos (line 18) | func extractUdidFromInfos(infos []proto.DeviceInfo) (udid string, err er... FILE: httplog.go function init (line 18) | func init() { type HTTPLogger (line 26) | type HTTPLogger struct method Log (line 31) | func (l HTTPLogger) Log(record accesslog.LogRecord) { FILE: httpserver.go function init (line 48) | func init() { function renderHTML (line 62) | func renderHTML(w http.ResponseWriter, filename string, value interface{... function renderJSON (line 69) | func renderJSON(w http.ResponseWriter, data interface{}) { function newHandler (line 80) | func newHandler() http.Handler { type ProviderReceiver (line 482) | type ProviderReceiver struct method OnConnect (line 484) | func (p *ProviderReceiver) OnConnect(ctx hb2.Context) error { method OnDisconnect (line 493) | func (p *ProviderReceiver) OnDisconnect(id string) { method OnRequest (line 501) | func (p *ProviderReceiver) OnRequest(ctx hb2.Context) error { FILE: main.go constant version (line 23) | version = "dev" constant defaultATXAgentVersion (line 24) | defaultATXAgentVersion = "0.4.3" function handleWebsocketMessage (line 37) | func handleWebsocketMessage(host string, message []byte) { function echo (line 41) | func echo(w http.ResponseWriter, r *http.Request) { function runAndroidShell (line 127) | func runAndroidShell(ip string, command string) (output string, err erro... function batchRunCommand (line 141) | func batchRunCommand(command string) { function main (line 159) | func main() { FILE: proto/message.go type MessageType (line 11) | type MessageType constant DeviceInfoMessage (line 14) | DeviceInfoMessage = MessageType(0) constant PingMessage (line 15) | PingMessage = MessageType(1) type CommonMessage (line 18) | type CommonMessage struct method MarshalJSON (line 23) | func (m *CommonMessage) MarshalJSON() []byte { type CpuInfo (line 28) | type CpuInfo struct type MemoryInfo (line 33) | type MemoryInfo struct type OwnerInfo (line 38) | type OwnerInfo struct type DeviceInfo (line 42) | type DeviceInfo struct type Product (line 85) | type Product struct type Provider (line 100) | type Provider struct method Addr (line 112) | func (p *Provider) Addr() string { FILE: rethinkdb-test/main.go type RdbUtils (line 12) | type RdbUtils struct method DBCreateAnyway (line 16) | func (db *RdbUtils) DBCreateAnyway(name string) error { method TableCreateAnyway (line 37) | func (db *RdbUtils) TableCreateAnyway(name string) error { method UpdateOrInsertDevice (line 47) | func (db *RdbUtils) UpdateOrInsertDevice(dev proto.DeviceInfo) error { method DeviceList (line 55) | func (db *RdbUtils) DeviceList() (devices []proto.DeviceInfo) { function init (line 67) | func init() { function main (line 83) | func main() { FILE: scripts/img2video/main.py class MainHandler (line 27) | class MainHandler(tornado.web.RequestHandler): method get (line 29) | def get(self): class VideoHandler (line 34) | class VideoHandler(tornado.web.RequestHandler): method get (line 35) | def get(self): method delete (line 56) | def delete(self, name): function resizefit (line 68) | def resizefit(im, size): # resize but keep aspect ratio class CorsMixin (line 82) | class CorsMixin(object): method set_default_headers (line 83) | def set_default_headers(self): method options (line 88) | def options(self): class Image2VideoWebsocket (line 94) | class Image2VideoWebsocket(tornado.websocket.WebSocketHandler): method check_origin (line 95) | def check_origin(self, origin): method open (line 98) | def open(self): method on_message (line 110) | def on_message(self, message): method on_close (line 129) | def on_close(self): class Image2VideoHandler (line 144) | class Image2VideoHandler(CorsMixin, tornado.web.RequestHandler): method post (line 146) | def post(self): function make_app (line 179) | def make_app(**settings): FILE: scripts/levenshtein.py function match_string (line 7) | def match_string(a, b): function backward (line 36) | def backward(steps, a, b): function main (line 65) | def main(): function match_distance (line 73) | def match_distance(a, b): FILE: scripts/update_coverage_umeng.py function get_umeng_data (line 64) | def get_umeng_data(): function main (line 95) | def main(): FILE: utils.go function newBool (line 3) | func newBool(v bool) *bool { function toBool (line 7) | func toBool(v *bool) bool {