Home
last modified time | relevance | path

Searched refs:legacyType (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkRequest.java47 public final int legacyType; field in NetworkRequest
52 public NetworkRequest(NetworkCapabilities nc, int legacyType, int rId) { in NetworkRequest() argument
58 this.legacyType = legacyType; in NetworkRequest()
67 this.legacyType = that.legacyType; in NetworkRequest()
224 dest.writeInt(legacyType); in writeToParcel()
231 int legacyType = in.readInt();
233 NetworkRequest result = new NetworkRequest(nc, legacyType, requestId);
242 return "NetworkRequest [ id=" + requestId + ", legacyType=" + legacyType + in toString()
249 return (that.legacyType == this.legacyType && in equals()
257 return requestId + (legacyType * 1013) + in hashCode()
DConnectivityManager.java2776 int legacyType) { in sendRequestForNetwork() argument
2791 new Messenger(sCallbackHandler), timeoutSec, new Binder(), legacyType); in sendRequestForNetwork()
2816 int timeoutMs, int legacyType) { in requestNetwork() argument
2818 legacyType); in requestNetwork()
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java107 private boolean registerLegacyListener(int legacyType, int type, in registerLegacyListener() argument
111 if ((sensors & legacyType) != 0) { in registerLegacyListener()
132 if (legacyListener.registerSensor(legacyType)) { in registerLegacyListener()
160 private void unregisterLegacyListener(int legacyType, int type, in unregisterLegacyListener() argument
163 if ((sensors & legacyType) != 0) { in unregisterLegacyListener()
177 if (legacyListener.unregisterSensor(legacyType)) { in unregisterLegacyListener()
216 boolean registerSensor(int legacyType) { in registerSensor() argument
217 if ((mSensors & legacyType) != 0) { in registerSensor()
221 mSensors |= legacyType; in registerSensor()
222 if (alreadyHasOrientationSensor && hasOrientationSensor(legacyType)) { in registerSensor()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java750 Messenger messenger, int timeoutMs, IBinder binder, int legacyType) { in requestNetwork() argument
757 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, legacyType, in requestNetwork()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2453 if (nri.request.legacyType != TYPE_NONE && nai != null) { in handleReleaseNetworkRequest()
2460 if (otherRequest.legacyType == nri.request.legacyType && in handleReleaseNetworkRequest()
2469 mLegacyTypeTracker.remove(nri.request.legacyType, nai, false); in handleReleaseNetworkRequest()
3968 Messenger messenger, int timeoutMs, IBinder binder, int legacyType) { in requestNetwork() argument
3995 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, legacyType, in requestNetwork()
4797 if (nr.legacyType != TYPE_NONE && isRequest(nr)) { in rematchNetworkAndRequests()
4799 mLegacyTypeTracker.add(nr.legacyType, newNetwork); in rematchNetworkAndRequests()