Home
last modified time | relevance | path

Searched refs:ProxyState (Results 1 – 6 of 6) sorted by relevance

/development/tools/winscope/src/trace_collection/
Dproxy_connection.ts25 ProxyState,
38 ProxyState.NO_PROXY,
39 ProxyState.UNAUTH,
40 ProxyState.INVALID_VERSION,
44 private proxyStateChangeCallback: (state: ProxyState) => void,
50 this.proxy.setState(ProxyState.CONNECTING);
76 return this.state() === ProxyState.DEVICES;
80 return this.state() === ProxyState.START_TRACE;
84 return this.state() === ProxyState.ERROR;
88 return this.state() === ProxyState.STARTING_TRACE;
[all …]
Dproxy_client.ts31 export enum ProxyState { enum
77 client.setState(ProxyState.NO_PROXY);
85 client.setState(ProxyState.INVALID_VERSION);
93 ProxyState.ERROR,
102 client.setState(ProxyState.UNAUTH);
113 client.setState(ProxyState.ERROR, client.errorText);
269 proxyClient.setState(ProxyState.ERROR, request.responseText);
284 client.setState(ProxyState.DEVICES);
292 client.setState(ProxyState.ERROR, client.errorText);
308 state: ProxyState = ProxyState.CONNECTING;
[all …]
/development/tools/winscope/src/app/components/
Dadb_proxy_component_test.ts25 import {proxyClient, ProxyState} from 'trace_collection/proxy_client';
57 await component.proxy.setState(ProxyState.NO_PROXY);
65 await component.proxy.setState(ProxyState.INVALID_VERSION);
74 await component.proxy.setState(ProxyState.UNAUTH);
83 await component.proxy.setState(ProxyState.NO_PROXY);
96 await component.proxy.setState(ProxyState.NO_PROXY);
103 expect(component.proxy.state).toBe(ProxyState.CONNECTING);
109 await component.proxy.setState(ProxyState.UNAUTH);
116 await component.proxy.setState(ProxyState.UNAUTH);
127 await component.proxy.setState(ProxyState.UNAUTH);
Dadb_proxy_component.ts21 ProxyState,
168 states = ProxyState;
Dcollect_traces_component.ts35 import {ProxyState} from 'trace_collection/proxy_client';
537 private async onProxyChange(newState: ProxyState) {
Dapp_component.ts55 import {proxyClient, ProxyState} from 'trace_collection/proxy_client';
330 states = ProxyState;