android-developers
[Arriba] [Todas las Listas]

[android-developers] Determinando el throughput de una aplicación parti

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] Determinando el throughput de una aplicación particular (uid)
From: insertwittytext <sujithrengan@xxxxxxxxx>
Date: Wed, 30 Aug 2017 07:18:31 -0700 (PDT)
Delivery-date: Wed, 30 Aug 2017 10:19:18 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=7e/0pyZk1tlj5ixVxs2bz8iOfmZIlI/5K0hAm6wkB+k=; b=P/A3ndUT5JlC9dyHJkIbEMfx8kR/jN0hD9CYNCj3uHlc+HK0pHEpRkCPvA+k2TUce9 KBegqalGwZRHLtyV4iTkZAThVmFjO51Coj9ObwD1T+Xj8JlGvHaKPPcxQgkjW9sX4DrF 1yHA1xcebBn5pdkbv3OFk2QMyQv09V8/bdRy7E7FyX0RXGwOrtZBsil1440KHDyIyEJs DXNp13jSpKCq7/RlpoSdMR9gOkgnuiwB+F/mw8Ghc0eLOuDmaQkgikdA1srhRynhJkYo 8ZI9Iap9dFKPEKGNXl/EWhnci1elkOZBckUshYytvMpJca8YOohIFw8pOvWKVUQsM7Y2 dfbg==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=7e/0pyZk1tlj5ixVxs2bz8iOfmZIlI/5K0hAm6wkB+k=; b=IoBL6prztCimwCvq/HSihYQcEVbJtpvdSRXUIeS5mENvOEK7afyxbDqkPAO5UJnu7p CGWygsKyNZBiLDST2+HfyJGuHEAuIcO2u5f+uJPofiGvXqYyCj+2Wxbnh16Oli8yc7fC SR26BzTw5c4vLjFQM001IYOH0LKZsE6tKVtZJU2tPmm4FA6wU1tMMhZJ1+Twh3m5a4sI lgDEWb30La8BMu9BcDFi5pc+t7QLiiaarUMywmRSE3TCxxJDsTEDlU3C9JrFs5fQHsYJ Wdyh+SWh7v8o8HKgCcZupu0s8sBcpTCBnvBIv+YCPEmbVmkWp+4RRrekPyKPU4pOO39l ghRQ==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <https://groups.google.com/group/android-developer>
List-help: <https://groups.google.com/support/>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <https://groups.google.com/group/android-developers/post>, <mailto:android-developers@googlegroups.com>
List-subscribe: <https://groups.google.com/group/android-developers/subscribe>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+364598216046+unsubscribe@googlegroups.com>, <https://groups.google.com/group/android-developers/subscribe>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
*Hey,

necesito calcular la velocidad de uso del dato de cualquier otra aplicación. Mi *app/ 
el servicio es un sistema-nivel *app.

*getUidRxBytes 
<*https://*developer.*android.*com/Referencia/*android/red/*TrafficStats.*html#*getUidRxBytes(*int)>(*int 
*uid) Del *TrafficStats 
<*https://*developer.*android.*com/Referencia/*android/red/*TrafficStats.*html#*TrafficStats()> La Clase 
es *deprecated de *android *N.
No regresa *statistics para ninguno otro *UIDs otro que el llamando 
*app. 
Dice tenemos que utilizar el *NetworkStatsManage 
<*https://*developer.*android.*com/Referencia/*android/*app/uso/*NetworkStatsManager.*html>
*r En cambio. 

Aun así *queryDetailsForUid 
<*https://*developer.*android.*com/Referencia/*android/*app/uso/*NetworkStatsManager.*html#*queryDetailsForUid(*int, 
*java.*lang.Cadena, mucho tiempo, mucho tiempo, *int)>(*int *networkType, Cadena 
<*https://*developer.*android.*com/Referencia/*java/*lang/Cadena.*html> 
*subscriberId, mucho tiempo *startTime,mucho tiempo *endTime, *int *uid)
sólo contiene *statistics en la gama de horas. Pero requiero uso de red de tiempo 
real de una
aplicación.

Dejado me sabe si hay una manera de hacer el encima.
*Thanks

 

-- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*Android *Developers" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/6*d9*b27*f8-2016-41*b4-966un-532*f47*b9*d5*b8%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
Hey,

I need to calculate the data usage speed of any other application. My app/ 
service is a system-level app.

getUidRxBytes 
<https://developer.android.com/reference/android/net/TrafficStats.html#getUidRxBytes(int)>(int 
uid) from the TrafficStats 
<https://developer.android.com/reference/android/net/TrafficStats.html#TrafficStats()> class 
is deprecated from android N.
It does not return statistics for any other UIDs other than the calling 
app. 
Says we have to use the NetworkStatsManage 
<https://developer.android.com/reference/android/app/usage/NetworkStatsManager.html>
r instead. 

However queryDetailsForUid 
<https://developer.android.com/reference/android/app/usage/NetworkStatsManager.html#queryDetailsForUid(int, 
java.lang.String, long, long, int)>(int networkType, String 
<https://developer.android.com/reference/java/lang/String.html> 
subscriberId, long startTime,long endTime, int uid)
only contains statistics in the range of hours. But I require real-time 
network usage of an
application.

Let me know if there is a way to do the above.
Thanks

 

-- 
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/6d9b27f8-2016-41b4-966a-532f47b9d5b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [android-developers] Determinando el throughput de una aplicación particular (uid), insertwittytext <=