Home
last modified time | relevance | path

Searched refs:DataServiceCallback (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DCellularDataService.java19 import static android.telephony.data.DataServiceCallback.RESULT_SUCCESS;
31 import android.telephony.data.DataServiceCallback;
65 private final Map<Message, DataServiceCallback> mCallbackMap = new HashMap<>();
79 DataServiceCallback callback = mCallbackMap.remove(message); in CellularDataServiceProvider()
86 ? DataServiceCallback.RESULT_ERROR_ILLEGAL_STATE in CellularDataServiceProvider()
92 ? DataServiceCallback.RESULT_ERROR_ILLEGAL_STATE in CellularDataServiceProvider()
97 ? DataServiceCallback.RESULT_ERROR_ILLEGAL_STATE in CellularDataServiceProvider()
102 ? DataServiceCallback.RESULT_ERROR_ILLEGAL_STATE in CellularDataServiceProvider()
108 ? DataServiceCallback.RESULT_ERROR_ILLEGAL_STATE in CellularDataServiceProvider()
141 @DataServiceCallback.ResultCode private int toResultCode(@Nullable Throwable t) { in toResultCode()
[all …]
DDataServiceManager.java51 import android.telephony.data.DataServiceCallback;
264 public void onSetupDataCallComplete(@DataServiceCallback.ResultCode int resultCode, in onSetupDataCallComplete()
281 public void onDeactivateDataCallComplete(@DataServiceCallback.ResultCode int resultCode) { in onDeactivateDataCallComplete()
289 public void onSetInitialAttachApnComplete(@DataServiceCallback.ResultCode int resultCode) { in onSetInitialAttachApnComplete()
296 public void onSetDataProfileComplete(@DataServiceCallback.ResultCode int resultCode) { in onSetDataProfileComplete()
303 public void onRequestDataCallListComplete(@DataServiceCallback.ResultCode int resultCode, in onRequestDataCallListComplete()
317 public void onHandoverStarted(@DataServiceCallback.ResultCode int resultCode) { in onHandoverStarted()
325 public void onHandoverCancelled(@DataServiceCallback.ResultCode int resultCode) { in onHandoverCancelled()
601 private void sendCompleteMessage(Message msg, @DataServiceCallback.ResultCode int code) { in sendCompleteMessage()
641 sendCompleteMessage(onCompleteMessage, DataServiceCallback.RESULT_ERROR_ILLEGAL_STATE); in setupDataCall()
[all …]
DDataConnection.java71 import android.telephony.data.DataServiceCallback;
1011 @DataServiceCallback.ResultCode int resultCode, in requestHandover()
1033 + DataServiceCallback.resultCodeToString(resultCode)); in requestHandover()
1114 private void onHandoverStarted(@DataServiceCallback.ResultCode int resultCode, in onHandoverStarted()
1368 private SetupResult onSetupConnectionCompleted(@DataServiceCallback.ResultCode int resultCode, in onSetupConnectionCompleted()
1379 } else if (resultCode == DataServiceCallback.RESULT_ERROR_ILLEGAL_STATE) { in onSetupConnectionCompleted()
1382 } else if (resultCode == DataServiceCallback.RESULT_ERROR_TEMPORARILY_UNAVAILABLE) { in onSetupConnectionCompleted()
1385 } else if (resultCode == DataServiceCallback.RESULT_ERROR_INVALID_ARG) { in onSetupConnectionCompleted()
1430 return resultCode == DataServiceCallback.RESULT_SUCCESS in isResultCodeSuccess()
1431 || resultCode == DataServiceCallback.RESULT_ERROR_UNSUPPORTED; in isResultCodeSuccess()
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DDataService.java172 @NonNull DataServiceCallback callback) { in setupDataCall()
175 callback.onSetupDataCallComplete(DataServiceCallback.RESULT_ERROR_UNSUPPORTED, in setupDataCall()
223 @NonNull DataServiceCallback callback) { in setupDataCall()
243 @Nullable DataServiceCallback callback) { in deactivateDataCall()
246 callback.onDeactivateDataCallComplete(DataServiceCallback.RESULT_ERROR_UNSUPPORTED); in deactivateDataCall()
258 @NonNull DataServiceCallback callback) { in setInitialAttachApn()
262 DataServiceCallback.RESULT_ERROR_UNSUPPORTED); in setInitialAttachApn()
276 @NonNull DataServiceCallback callback) { in setDataProfile()
279 callback.onSetDataProfileComplete(DataServiceCallback.RESULT_ERROR_UNSUPPORTED); in setDataProfile()
302 public void startHandover(int cid, @NonNull DataServiceCallback callback) { in startHandover()
[all …]
DDataServiceCallback.java41 public class DataServiceCallback { class
43 private static final String TAG = DataServiceCallback.class.getSimpleName();
75 public DataServiceCallback(IDataServiceCallback callback) { in DataServiceCallback() method in DataServiceCallback
244 public static String resultCodeToString(@DataServiceCallback.ResultCode int resultCode) { in resultCodeToString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java67 import android.telephony.data.DataServiceCallback;
335 msg.arg1 = DataServiceCallback.RESULT_SUCCESS; in setSuccessfulSetupDataResponse()
343 private void setFailedSetupDataResponse(@DataServiceCallback.ResultCode int resultCode) { in setFailedSetupDataResponse()
391 msg.arg1 = DataServiceCallback.RESULT_SUCCESS; in setUp()
1352 setFailedSetupDataResponse(DataServiceCallback.RESULT_ERROR_TEMPORARILY_UNAVAILABLE); in testDataServiceTempUnavailable()
1371 consumer.accept(DataServiceCallback.RESULT_SUCCESS); in testDataHandoverFailed()
/frameworks/base/core/api/
Dsystem-current.txt12416 …hod public void deactivateDataCall(int, int, @Nullable android.telephony.data.DataServiceCallback);
12420 method public void requestDataCallList(@NonNull android.telephony.data.DataServiceCallback);
12421 …android.telephony.data.DataProfile>, boolean, @NonNull android.telephony.data.DataServiceCallback);
12422 … android.telephony.data.DataProfile, boolean, @NonNull android.telephony.data.DataServiceCallback);
12423 …n, int, @Nullable android.net.LinkProperties, @NonNull android.telephony.data.DataServiceCallback);
12424 …id.telephony.data.TrafficDescriptor, boolean, @NonNull android.telephony.data.DataServiceCallback);
12427 public class DataServiceCallback {
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt56690 …taService$DataServiceProvider;->deactivateDataCall(IILandroid/telephony/data/DataServiceCallback;)V
56691 …ta/DataService$DataServiceProvider;->getDataCallList(Landroid/telephony/data/DataServiceCallback;)V
56698 …ataServiceProvider;->setDataProfile(Ljava/util/List;ZLandroid/telephony/data/DataServiceCallback;)V
56699 …nitialAttachApn(Landroid/telephony/data/DataProfile;ZLandroid/telephony/data/DataServiceCallback;)V
56700 …hony/data/DataProfile;ZZILandroid/net/LinkProperties;Landroid/telephony/data/DataServiceCallback;)V
56756 Landroid/telephony/data/DataServiceCallback;-><init>(Landroid/telephony/data/IDataServiceCallback;)V
56757 Landroid/telephony/data/DataServiceCallback;->mCallback:Ljava/lang/ref/WeakReference;
56758 Landroid/telephony/data/DataServiceCallback;->onDataCallListChanged(Ljava/util/List;)V
56759 Landroid/telephony/data/DataServiceCallback;->onDeactivateDataCallComplete(I)V
56760 Landroid/telephony/data/DataServiceCallback;->onGetDataCallListComplete(ILjava/util/List;)V
[all …]
/frameworks/base/boot/
Dpreloaded-classes6730 android.telephony.data.DataServiceCallback
Dboot-image-profile.txt30258 Landroid/telephony/data/DataServiceCallback;
/frameworks/base/config/
Dpreloaded-classes6752 android.telephony.data.DataServiceCallback
Dboot-image-profile.txt39922 Landroid/telephony/data/DataServiceCallback;