/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
H A D | NetworkStatsObserversTest.java | 137 DataUsageRequest inputRequest = new DataUsageRequest( in testRegister_thresholdTooLow_setsDefaultThreshold() 150 DataUsageRequest inputRequest = new DataUsageRequest( in testRegister_highThreshold_accepted() 162 DataUsageRequest inputRequest = new DataUsageRequest( in testRegister_twoRequests_twoIds() 180 DataUsageRequest unknownRequest = new DataUsageRequest( in testUnregister_unknownRequest_noop() 188 DataUsageRequest inputRequest = new DataUsageRequest( in testUnregister_knownRequest_releasesCaller() 206 DataUsageRequest inputRequest = new DataUsageRequest( in testUnregister_knownRequest_invalidUid_doesNotUnregister() 233 DataUsageRequest inputRequest = new DataUsageRequest( in testUpdateStats_initialSample_doesNotNotify() 257 DataUsageRequest inputRequest = new DataUsageRequest( in testUpdateStats_belowThreshold_doesNotNotify() 287 DataUsageRequest inputRequest = new DataUsageRequest( in testUpdateStats_deviceAccess_notifies() 318 DataUsageRequest inputRequest = new DataUsageRequest( in testUpdateStats_defaultAccess_notifiesSameUid() [all …]
|
H A D | NetworkStatsServiceTest.java | 88 import android.net.DataUsageRequest; 1224 DataUsageRequest inputRequest = new DataUsageRequest( 1225 DataUsageRequest.REQUEST_ID_UNSET, sTemplateWifi, thresholdInBytes); 1238 DataUsageRequest request = 1302 DataUsageRequest unknownRequest = new DataUsageRequest(
|
/aosp12/frameworks/base/core/java/android/net/ |
H A D | DataUsageRequest.java | 34 public final class DataUsageRequest implements Parcelable { class 55 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) { in DataUsageRequest() method in DataUsageRequest 73 public static final @android.annotation.NonNull Creator<DataUsageRequest> CREATOR = 74 new Creator<DataUsageRequest>() { 76 public DataUsageRequest createFromParcel(Parcel in) { 80 DataUsageRequest result = new DataUsageRequest(requestId, template, 86 public DataUsageRequest[] newArray(int size) { 87 return new DataUsageRequest[size]; 100 if (obj instanceof DataUsageRequest == false) return false; in equals() 101 DataUsageRequest that = (DataUsageRequest) obj; in equals()
|
H A D | INetworkStatsService.aidl | 19 import android.net.DataUsageRequest; 79 DataUsageRequest registerUsageCallback(String callingPackage, in registerUsageCallback() 80 in DataUsageRequest request, in Messenger messenger, in IBinder binder); in registerUsageCallback() 83 void unregisterUsageRequest(in DataUsageRequest request); in unregisterUsageRequest()
|
H A D | DataUsageRequest.aidl | 19 parcelable DataUsageRequest;
|
/aosp12/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsObservers.java | 24 import android.net.DataUsageRequest; 77 public DataUsageRequest register(DataUsageRequest inputRequest, Messenger messenger, in register() 79 DataUsageRequest request = buildRequest(inputRequest); in register() 93 public void unregister(DataUsageRequest request, int callingUid) { in unregister() 168 private void handleUnregister(DataUsageRequest request, int callingUid) { in handleUnregister() 197 private DataUsageRequest buildRequest(DataUsageRequest request) { in buildRequest() 204 return new DataUsageRequest(mNextDataUsageRequestId.incrementAndGet(), in buildRequest() 208 private RequestInfo buildRequestInfo(DataUsageRequest request, in buildRequestInfo() 228 protected final DataUsageRequest mRequest; 236 RequestInfo(NetworkStatsObservers statsObserver, DataUsageRequest request, in RequestInfo() [all …]
|
H A D | NetworkStatsService.java | 92 import android.net.DataUsageRequest; 1043 public DataUsageRequest registerUsageCallback(String callingPackage, 1044 DataUsageRequest request, Messenger messenger, IBinder binder) { 1053 DataUsageRequest normalizedRequest; 1069 public void unregisterUsageRequest(DataUsageRequest request) {
|
/aosp12/frameworks/base/core/java/android/app/usage/ |
H A D | NetworkStatsManager.java | 32 import android.net.DataUsageRequest; 510 DataUsageRequest request = new DataUsageRequest(DataUsageRequest.REQUEST_ID_UNSET, in registerUsageCallback() 585 || callback.request.requestId == DataUsageRequest.REQUEST_ID_UNSET) { in unregisterUsageCallback() 609 private DataUsageRequest request; 743 DataUsageRequest request = in handleMessage() 744 (DataUsageRequest) getObject(message, DataUsageRequest.PARCELABLE_KEY); in handleMessage()
|
/aosp12/frameworks/base/boot/ |
H A D | preloaded-classes | 4943 android.net.DataUsageRequest$1 4944 android.net.DataUsageRequest
|
H A D | boot-image-profile.txt | 28194 Landroid/net/DataUsageRequest$1; 28195 Landroid/net/DataUsageRequest;
|
/aosp12/frameworks/base/config/ |
H A D | preloaded-classes | 4941 android.net.DataUsageRequest$1 4942 android.net.DataUsageRequest
|
H A D | boot-image-profile.txt | 37831 Landroid/net/DataUsageRequest$1; 37832 Landroid/net/DataUsageRequest;
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 9372 Landroid/app/usage/NetworkStatsManager$UsageCallback;->request:Landroid/net/DataUsageRequest; 35341 Landroid/net/DataUsageRequest;-><init>(ILandroid/net/NetworkTemplate;J)V 35342 Landroid/net/DataUsageRequest;->CREATOR:Landroid/os/Parcelable$Creator; 35343 Landroid/net/DataUsageRequest;->PARCELABLE_KEY:Ljava/lang/String; 35344 Landroid/net/DataUsageRequest;->requestId:I 35345 Landroid/net/DataUsageRequest;->REQUEST_ID_UNSET:I 35346 Landroid/net/DataUsageRequest;->template:Landroid/net/NetworkTemplate; 35347 Landroid/net/DataUsageRequest;->thresholdInBytes:J 35853 …(Ljava/lang/String;Landroid/net/DataUsageRequest;Landroid/os/Messenger;Landroid/os/IBinder;)Landro… 35876 …(Ljava/lang/String;Landroid/net/DataUsageRequest;Landroid/os/Messenger;Landroid/os/IBinder;)Landro… [all …]
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 25657 …-><init>(Lcom/android/server/net/NetworkStatsObservers;Landroid/net/DataUsageRequest;Landroid/os/M… 25661 …-><init>(Lcom/android/server/net/NetworkStatsObservers;Landroid/net/DataUsageRequest;Landroid/os/M… 25673 …ervers;->access$100(Lcom/android/server/net/NetworkStatsObservers;Landroid/net/DataUsageRequest;I)V 25675 …et/NetworkStatsObservers;->buildRequest(Landroid/net/DataUsageRequest;)Landroid/net/DataUsageReque… 25676 HPLcom/android/server/net/NetworkStatsObservers;->buildRequestInfo(Landroid/net/DataUsageRequest;La… 25680 HPLcom/android/server/net/NetworkStatsObservers;->handleUnregister(Landroid/net/DataUsageRequest;I)… 25682 …ervers;->register(Landroid/net/DataUsageRequest;Landroid/os/Messenger;Landroid/os/IBinder;II)Landr… 25683 HPLcom/android/server/net/NetworkStatsObservers;->unregister(Landroid/net/DataUsageRequest;I)V+]Lan… 25872 …(Ljava/lang/String;Landroid/net/DataUsageRequest;Landroid/os/Messenger;Landroid/os/IBinder;)Landro… 25879 …erver/net/NetworkStatsService;->unregisterUsageRequest(Landroid/net/DataUsageRequest;)V+]Lcom/andr…
|