Home
last modified time | relevance | path

Searched refs:returnCode (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/core/java/android/net/metrics/
DValidationProbeEvent.java68 public final @ReturnCode int returnCode; field in ValidationProbeEvent
70 private ValidationProbeEvent(long durationMs, int probeType, int returnCode) { in ValidationProbeEvent() argument
73 this.returnCode = returnCode; in ValidationProbeEvent()
79 returnCode = in.readInt(); in ValidationProbeEvent()
112 public Builder setReturnCode(int returnCode) { in setReturnCode() argument
113 mReturnCode = returnCode; in setReturnCode()
131 out.writeInt(returnCode); in writeToParcel()
170 getProbeName(probeType), returnCode, getValidationStage(probeType), durationMs); in toString()
179 && returnCode == other.returnCode; in equals()
DDnsEvent.java61 boolean addResult(byte eventType, byte returnCode, int latencyMs) { in addResult() argument
62 boolean isSuccess = (returnCode == 0); in addResult()
71 returnCodes[eventCount] = returnCode; in addResult()
DNetworkMetrics.java78 public void addDnsResult(int eventType, int returnCode, int latencyMs) { in addDnsResult() argument
82 boolean isSuccess = dnsMetrics.addResult((byte) eventType, (byte) returnCode, latencyMs); in addDnsResult()
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c82 int returnCode; in encode() local
151 returnCode = pGetAPI(&AudioAPI); in encode()
152 if(returnCode) in encode()
210 returnCode = AudioAPI.SetInputData(hCodec,&inData); in encode()
213 returnCode = AudioAPI.GetOutputData(hCodec,&outData, &outFormat); in encode()
214 if(returnCode == 0) in encode()
229 else if((unsigned)returnCode == VO_ERR_LICENSE_ERROR) in encode()
234 } while((unsigned)returnCode != VO_ERR_INPUT_BUFFER_SMALL); in encode()
245 } while (!eofFile && returnCode); in encode()
249 returnCode = AudioAPI.Uninit(hCodec); in encode()
/frameworks/base/core/java/android/app/
DPackageDeleteObserver.java32 public void onPackageDeleted(String basePackageName, int returnCode, String msg) {
33 PackageDeleteObserver.this.onPackageDeleted(basePackageName, returnCode, msg);
45 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument
DPackageInstallObserver.java33 public void onPackageInstalled(String basePackageName, int returnCode,
35 PackageInstallObserver.this.onPackageInstalled(basePackageName, returnCode, msg,
64 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument
/frameworks/base/telephony/java/android/telephony/
DMbmsStreamingSession.java209 int returnCode = streamingService.requestUpdateStreamingServices( in requestUpdateStreamingServices() local
211 if (returnCode == MbmsErrors.UNKNOWN) { in requestUpdateStreamingServices()
216 if (returnCode != MbmsErrors.SUCCESS) { in requestUpdateStreamingServices()
217 sendErrorToApp(returnCode, null); in requestUpdateStreamingServices()
261 int returnCode = streamingService.startStreaming( in startStreaming() local
263 if (returnCode == MbmsErrors.UNKNOWN) { in startStreaming()
268 if (returnCode != MbmsErrors.SUCCESS) { in startStreaming()
269 sendErrorToApp(returnCode, null); in startStreaming()
DMbmsGroupCallSession.java219 int returnCode = groupCallService.startGroupCall( in startGroupCall() local
221 if (returnCode == MbmsErrors.UNKNOWN) { in startGroupCall()
226 if (returnCode != MbmsErrors.SUCCESS) { in startGroupCall()
227 mInternalCallback.onError(returnCode, null); in startGroupCall()
DMbmsDownloadSession.java398 int returnCode = downloadService.requestUpdateFileServices(mSubscriptionId, classList);
399 if (returnCode == MbmsErrors.UNKNOWN) {
404 if (returnCode != MbmsErrors.SUCCESS) {
405 sendErrorToApp(returnCode, null);
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java57 int returnCode = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0); in onReceive() local
61 if (returnCode == PackageInstaller.STATUS_PENDING_USER_ACTION) { in onReceive()
85 switch (returnCode) { in onReceive()
165 + returnCode + " no blocking user"); in onReceive()
188 + returnCode); in onReceive()
/frameworks/base/services/core/java/com/android/server/hdmi/
DSystemAudioStatusAction.java106 private void finishWithCallback(int returnCode) { in finishWithCallback() argument
109 mCallback.onComplete(returnCode); in finishWithCallback()
DSystemAudioAction.java200 protected void finishWithCallback(int returnCode) { in finishWithCallback() argument
203 mCallback.onComplete(returnCode); in finishWithCallback()
/frameworks/base/core/java/android/content/pm/
DIPackageDeleteObserver.aidl27 void packageDeleted(in String packageName, in int returnCode); in packageDeleted() argument
DIPackageDeleteObserver2.aidl25 void onPackageDeleted(String packageName, int returnCode, String msg); in onPackageDeleted() argument
DIPackageInstallObserver2.aidl47 void onPackageInstalled(String basePackageName, int returnCode, String msg, in Bundle extras); in onPackageInstalled() argument
/frameworks/base/services/net/java/android/net/
DNetworkMonitorManager.java135 public boolean notifyDnsResponse(int returnCode) { in notifyDnsResponse() argument
138 mNetworkMonitor.notifyDnsResponse(returnCode); in notifyDnsResponse()
DINetworkMonitor.aidl63 void notifyDnsResponse(int returnCode); in notifyDnsResponse() argument
/frameworks/base/core/java/android/net/
DINetdEventCallback.aidl44 void onDnsEvent(int netId, int eventType, int returnCode, String hostname, in onDnsEvent() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java29 public void onDnsEvent(int netId, int eventType, int returnCode, String hostname, in onDnsEvent() argument
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreDeleteObserver.java63 public void packageDeleted(String packageName, int returnCode) throws RemoteException { in packageDeleted() argument
/frameworks/base/services/net/aidl/networkstack/1/android/net/
DINetworkMonitor.aidl9 oneway void notifyDnsResponse(int returnCode); in notifyDnsResponse() argument
/frameworks/base/services/net/aidl/networkstack/3/android/net/
DINetworkMonitor.aidl26 oneway void notifyDnsResponse(int returnCode); in notifyDnsResponse() argument
/frameworks/base/services/net/aidl/networkstack/2/android/net/
DINetworkMonitor.aidl9 oneway void notifyDnsResponse(int returnCode); in notifyDnsResponse() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java962 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument
963 if (PackageManager.DELETE_SUCCEEDED == returnCode && mNotification != null) { in onPackageDeleted()
976 PackageManager.deleteStatusToPublicStatus(returnCode)); in onPackageDeleted()
978 PackageManager.deleteStatusToString(returnCode, msg)); in onPackageDeleted()
979 fillIn.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, returnCode); in onPackageDeleted()
1017 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument
1019 if (PackageManager.INSTALL_SUCCEEDED == returnCode && mShowNotification) { in onPackageInstalled()
1039 PackageManager.installStatusToPublicStatus(returnCode)); in onPackageInstalled()
1041 PackageManager.installStatusToString(returnCode, msg)); in onPackageInstalled()
1042 fillIn.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, returnCode); in onPackageInstalled()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java829 public TestResult(int returnCode) { in TestResult() argument
830 this(returnCode, null); in TestResult()
833 public TestResult(int returnCode, String message) { in TestResult() argument
834 mReturnCode = returnCode; in TestResult()

12