Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/security/
DVerityUtils.java51 public static SetupResult generateApkVeritySetupData(@NonNull String apkPath) { in generateApkVeritySetupData()
60 return SetupResult.skipped(); in generateApkVeritySetupData()
69 return SetupResult.failed(); in generateApkVeritySetupData()
71 return SetupResult.ok(Os.dup(rfd), contentSize); in generateApkVeritySetupData()
75 return SetupResult.failed(); in generateApkVeritySetupData()
129 public static class SetupResult { class in VerityUtils
143 public static SetupResult ok(@NonNull FileDescriptor fileDescriptor, int contentSize) { in ok()
144 return new SetupResult(RESULT_OK, fileDescriptor, contentSize); in ok()
147 public static SetupResult skipped() { in skipped()
148 return new SetupResult(RESULT_SKIPPED, null, -1); in skipped()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java331 public SetupResult setupResult = SetupResult.SUCCESS;
343 public enum SetupResult { enum in DataConnection
352 SetupResult() { in SetupResult() method in DataConnection.SetupResult
406 if (result.setupResult != SetupResult.SUCCESS) { in updateLinkProperty()
746 private SetupResult onSetupConnectionCompleted(@DataServiceCallback.ResultCode int resultCode, in onSetupConnectionCompleted()
749 SetupResult result; in onSetupConnectionCompleted()
755 result = SetupResult.ERROR_STALE; in onSetupConnectionCompleted()
757 result = SetupResult.ERROR_RADIO_NOT_AVAILABLE; in onSetupConnectionCompleted()
761 result = SetupResult.ERROR_RADIO_NOT_AVAILABLE; in onSetupConnectionCompleted()
764 result = SetupResult.ERROR_DATA_SERVICE_SPECIFIC_ERROR; in onSetupConnectionCompleted()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java70 import com.android.internal.telephony.dataconnection.DataConnection.SetupResult;
260 private SetupResult setLinkProperties(DataCallResponse response, in setLinkProperties()
268 return (SetupResult) method.invoke(mDc, response, linkProperties); in setLinkProperties()
530 assertEquals(SetupResult.SUCCESS, setLinkProperties(response, linkProperties)); in testSetLinkProperties()
569 assertEquals(SetupResult.ERROR_INVALID_ARG, in testSetLinkPropertiesEmptyAddress()
587 assertEquals(SetupResult.SUCCESS, setLinkProperties(response, linkProperties)); in testSetLinkPropertiesEmptyDns()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17470 final VerityUtils.SetupResult result =
/frameworks/base/config/
Dboot-image-profile.txt41054 HSPLcom/android/internal/telephony/dataconnection/DataConnection$SetupResult;-><init>(Ljava/lang/St…
41055 HSPLcom/android/internal/telephony/dataconnection/DataConnection$SetupResult;->toString()Ljava/lang…
41056 …taconnection/DataConnection$SetupResult;->values()[Lcom/android/internal/telephony/dataconnection/…
41075 …ection$ConnectionParams;)Lcom/android/internal/telephony/dataconnection/DataConnection$SetupResult;
41076 …roid/net/LinkProperties;)Lcom/android/internal/telephony/dataconnection/DataConnection$SetupResult;
60389 Lcom/android/internal/telephony/dataconnection/DataConnection$SetupResult;