Searched refs:apnId (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcRequest.java | 42 public final int apnId; field in DcRequest 47 apnId = apnIdForNetworkRequest(networkRequest); in DcRequest() 48 priority = priorityForApnId(apnId); in DcRequest() 52 return networkRequest.toString() + ", priority=" + priority + ", apnId=" + apnId; in toString() 80 int apnId = APN_INVALID_ID; in apnIdForNetworkRequest() local 84 if (apnId != APN_INVALID_ID) error = true; in apnIdForNetworkRequest() 85 apnId = APN_DEFAULT_ID; in apnIdForNetworkRequest() 88 if (apnId != APN_INVALID_ID) error = true; in apnIdForNetworkRequest() 89 apnId = APN_MMS_ID; in apnIdForNetworkRequest() 92 if (apnId != APN_INVALID_ID) error = true; in apnIdForNetworkRequest() [all …]
|
D | ApnContext.java | 578 int apnId = DctConstants.APN_INVALID_ID; in apnIdForNetworkRequest() local 582 apnId = DctConstants.APN_DEFAULT_ID; in apnIdForNetworkRequest() 585 if (apnId != DctConstants.APN_INVALID_ID) error = true; in apnIdForNetworkRequest() 586 apnId = DctConstants.APN_MMS_ID; in apnIdForNetworkRequest() 589 if (apnId != DctConstants.APN_INVALID_ID) error = true; in apnIdForNetworkRequest() 590 apnId = DctConstants.APN_SUPL_ID; in apnIdForNetworkRequest() 593 if (apnId != DctConstants.APN_INVALID_ID) error = true; in apnIdForNetworkRequest() 594 apnId = DctConstants.APN_DUN_ID; in apnIdForNetworkRequest() 597 if (apnId != DctConstants.APN_INVALID_ID) error = true; in apnIdForNetworkRequest() 598 apnId = DctConstants.APN_FOTA_ID; in apnIdForNetworkRequest() [all …]
|
D | DcTracker.java | 874 final int apnId = ApnContext.apnIdForNetworkRequest(networkRequest); in requestNetwork() local 875 final ApnContext apnContext = mApnContextsById.get(apnId); in requestNetwork() 881 final int apnId = ApnContext.apnIdForNetworkRequest(networkRequest); in releaseNetwork() local 882 final ApnContext apnContext = mApnContextsById.get(apnId); in releaseNetwork() 2567 private void onEnableApn(int apnId, int enabled) { in onEnableApn() argument 2568 ApnContext apnContext = mApnContextsById.get(apnId); in onEnableApn() 2570 loge("onEnableApn(" + apnId + ", " + enabled + "): NO ApnContext"); in onEnableApn() 3262 private void onCleanUpConnection(boolean tearDown, int apnId, String reason) { in onCleanUpConnection() argument 3264 ApnContext apnContext = mApnContextsById.get(apnId); in onCleanUpConnection()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | BaseIDevicePolicyManager.java | 123 public boolean updateOverrideApn(ComponentName admin, int apnId, ApnSetting apnSetting) { in updateOverrideApn() argument 128 public boolean removeOverrideApn(ComponentName admin, int apnId) { in removeOverrideApn() argument
|
D | DevicePolicyManagerService.java | 12937 public boolean updateOverrideApn(@NonNull ComponentName who, int apnId, in updateOverrideApn() argument 12948 if (apnId < 0) { in updateOverrideApn() 12954 Uri.withAppendedPath(DPC_URI, Integer.toString(apnId)), in updateOverrideApn() 12962 public boolean removeOverrideApn(@NonNull ComponentName who, int apnId) { in removeOverrideApn() argument 12971 return removeOverrideApnUnchecked(apnId); in removeOverrideApn() 12974 private boolean removeOverrideApnUnchecked(int apnId) { in removeOverrideApnUnchecked() argument 12975 if(apnId < 0) { in removeOverrideApnUnchecked() 12982 Uri.withAppendedPath(DPC_URI, Integer.toString(apnId)), null, null); in removeOverrideApnUnchecked()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 407 boolean updateOverrideApn(in ComponentName admin, int apnId, in ApnSetting apnSetting); in updateOverrideApn() argument 408 boolean removeOverrideApn(in ComponentName admin, int apnId); in removeOverrideApn() argument
|
D | DevicePolicyManager.java | 9450 public boolean updateOverrideApn(@NonNull ComponentName admin, int apnId, in updateOverrideApn() argument 9455 return mService.updateOverrideApn(admin, apnId, apnSetting); in updateOverrideApn() 9477 public boolean removeOverrideApn(@NonNull ComponentName admin, int apnId) { in removeOverrideApn() argument 9481 return mService.removeOverrideApn(admin, apnId); in removeOverrideApn()
|