HomeSort by relevance Sort by last modified time
    Searched refs:DataUsageRequest (Results 1 - 9 of 9) sorted by null

  /frameworks/base/core/java/android/net/
DataUsageRequest.aidl 19 parcelable DataUsageRequest;
DataUsageRequest.java 33 public final class DataUsageRequest implements Parcelable {
35 public static final String PARCELABLE_KEY = "DataUsageRequest";
39 * Identifies the request. {@link DataUsageRequest}s should only be constructed by
54 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) {
72 public static final Creator<DataUsageRequest> CREATOR =
73 new Creator<DataUsageRequest>() {
75 public DataUsageRequest createFromParcel(Parcel in) {
79 DataUsageRequest result = new DataUsageRequest(requestId, template,
85 public DataUsageRequest[] newArray(int size)
    [all...]
INetworkStatsService.aidl 19 import android.net.DataUsageRequest;
64 DataUsageRequest registerUsageCallback(String callingPackage,
65 in DataUsageRequest request, in Messenger messenger, in IBinder binder);
68 void unregisterUsageRequest(in DataUsageRequest request);
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsObserversTest.java 36 import android.net.DataUsageRequest;
136 DataUsageRequest inputRequest = new DataUsageRequest(
137 DataUsageRequest.REQUEST_ID_UNSET, sTemplateWifi, thresholdTooLowBytes);
139 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder,
148 DataUsageRequest inputRequest = new DataUsageRequest(
149 DataUsageRequest.REQUEST_ID_UNSET, sTemplateWifi, highThresholdBytes);
151 DataUsageRequest request = mStatsObservers.register(inputRequest, mMessenger, mockBinder,
159 DataUsageRequest inputRequest = new DataUsageRequest
    [all...]
NetworkStatsServiceTest.java 61 import android.net.DataUsageRequest;
    [all...]
  /frameworks/base/core/java/android/app/usage/
NetworkStatsManager.java 25 import android.net.DataUsageRequest;
347 DataUsageRequest request = new DataUsageRequest(DataUsageRequest.REQUEST_ID_UNSET,
373 || callback.request.requestId == DataUsageRequest.REQUEST_ID_UNSET) {
397 private DataUsageRequest request;
433 DataUsageRequest request =
434 (DataUsageRequest) getObject(message, DataUsageRequest.PARCELABLE_KEY);
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsObservers.java 23 import android.net.DataUsageRequest;
64 // indexed by DataUsageRequest#requestId
82 public DataUsageRequest register(DataUsageRequest inputRequest, Messenger messenger,
84 DataUsageRequest request = buildRequest(inputRequest);
98 public void unregister(DataUsageRequest request, int callingUid) {
145 handleUnregister((DataUsageRequest) msg.obj, msg.arg1 /* callingUid */);
169 * Removes a {@link DataUsageRequest} if the calling uid is authorized.
173 private void handleUnregister(DataUsageRequest request, int callingUid) {
202 private DataUsageRequest buildRequest(DataUsageRequest request)
    [all...]
NetworkStatsService.java 76 import android.net.DataUsageRequest;
767 public DataUsageRequest registerUsageCallback(String callingPackage,
768 DataUsageRequest request, Messenger messenger, IBinder binder) {
770 checkNotNull(request, "DataUsageRequest is null");
777 DataUsageRequest normalizedRequest;
793 public void unregisterUsageRequest(DataUsageRequest request) {
794 checkNotNull(request, "DataUsageRequest is null");
    [all...]
  /frameworks/base/
compiled-classes-phone     [all...]

Completed in 238 milliseconds