Lines Matching refs:stats

27 | callback | AsyncCallback\<number> | 是   | 回调函数。当成功获取网卡实时下行流量时,error 为 undefined,stats 为获取到的网卡实时下行…
48 statistics.getIfaceRxBytes("wlan0", (error: BusinessError, stats: number) => {
50 console.log(JSON.stringify(stats));
91 statistics.getIfaceRxBytes("wlan0").then((stats: number) => {
92 console.log(JSON.stringify(stats));
109 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取网卡实时上行流量时,error 为 undefined,stats 为获取到的网卡实时上行…
130 statistics.getIfaceTxBytes("wlan0", (error: BusinessError, stats: number) => {
132 console.log(JSON.stringify(stats));
173 statistics.getIfaceTxBytes("wlan0").then((stats: number) => {
174 console.log(JSON.stringify(stats));
190 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取蜂窝实时下行流量时,error 为 undefined,stats 为获取到的蜂窝实时下行…
210 statistics.getCellularRxBytes((error: BusinessError, stats: number) => {
212 console.log(JSON.stringify(stats));
246 statistics.getCellularRxBytes().then((stats: number) => {
247 console.log(JSON.stringify(stats));
263 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取蜂窝实时上行流量时,error 为 undefined,stats 为获取到的蜂窝实时上行…
283 statistics.getCellularTxBytes((error: BusinessError, stats: number) => {
285 console.log(JSON.stringify(stats));
319 statistics.getCellularTxBytes().then((stats: number) => {
320 console.log(JSON.stringify(stats));
336 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取所有网卡实时下行流量,error 为 undefined,stats 为获取到的所有网卡实…
355 statistics.getAllRxBytes((error: BusinessError, stats: number) => {
357 console.log(JSON.stringify(stats));
390 statistics.getAllRxBytes().then((stats: number) => {
391 console.log(JSON.stringify(stats));
407 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取所有网卡实时上行流量,error 为 undefined,stats 为获取到的所有网卡实…
426 statistics.getAllTxBytes((error: BusinessError, stats: number) => {
428 console.log(JSON.stringify(stats));
461 statistics.getAllTxBytes().then((stats: number) => {
462 console.log(JSON.stringify(stats));
479 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取应用实时下行流量时,error 为 undefined,stats 为获取到的应用实时下行…
499 statistics.getUidRxBytes(20010038, (error: BusinessError, stats: number) => {
501 console.log(JSON.stringify(stats));
541 statistics.getUidRxBytes(20010038).then((stats: number) => {
542 console.log(JSON.stringify(stats));
559 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取应用实时上行流量时,error 为 undefined,stats 为获取到的应用实时上行…
579 statistics.getUidTxBytes(20010038, (error: BusinessError, stats: number) => {
581 console.log(JSON.stringify(stats));
621 statistics.getUidTxBytes(20010038).then((stats: number) => {
622 console.log(JSON.stringify(stats));
640 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取socket的下行流量时,error 为 undefined,stats 为获取到的该so…
660 statistics.getSockfdRxBytes(sockfd, (error: BusinessError, stats: number) => {
662 console.log(JSON.stringify(stats));
704 statistics.getSockfdRxBytes(sockfd).then((stats: number) => {
705 console.log(JSON.stringify(stats));
724 | callback | AsyncCallback\<number> | 是 | 回调函数。当成功获取socket的上行流量时,error 为 undefined,stats 为获取到的该so…
744 statistics.getSockfdTxBytes(sockfd, (error: BusinessError, stats: number) => {
746 console.log(JSON.stringify(stats));
788 statistics.getSockfdTxBytes(sockfd).then((stats: number) => {
789 console.log(JSON.stringify(stats));