Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/metrics/
DValidationProbeEvent.java69 public final @ReturnCode int returnCode; field in ValidationProbeEvent
71 private ValidationProbeEvent(long durationMs, int probeType, int returnCode) { in ValidationProbeEvent() argument
74 this.returnCode = returnCode; in ValidationProbeEvent()
80 returnCode = in.readInt(); in ValidationProbeEvent()
113 public Builder setReturnCode(int returnCode) { in setReturnCode() argument
114 mReturnCode = returnCode; in setReturnCode()
132 out.writeInt(returnCode); in writeToParcel()
172 getProbeName(probeType), returnCode, getValidationStage(probeType), durationMs); in toString()
181 && 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/telephony/java/android/telephony/
DMbmsStreamingSession.java212 int returnCode = streamingService.requestUpdateStreamingServices( in requestUpdateStreamingServices() local
214 if (returnCode == MbmsErrors.UNKNOWN) { in requestUpdateStreamingServices()
219 if (returnCode != MbmsErrors.SUCCESS) { in requestUpdateStreamingServices()
220 sendErrorToApp(returnCode, null); in requestUpdateStreamingServices()
264 int returnCode = streamingService.startStreaming( in startStreaming() local
266 if (returnCode == MbmsErrors.UNKNOWN) { in startStreaming()
271 if (returnCode != MbmsErrors.SUCCESS) { in startStreaming()
272 sendErrorToApp(returnCode, null); in startStreaming()
DMbmsGroupCallSession.java222 int returnCode = groupCallService.startGroupCall( in startGroupCall() local
224 if (returnCode == MbmsErrors.UNKNOWN) { in startGroupCall()
229 if (returnCode != MbmsErrors.SUCCESS) { in startGroupCall()
230 mInternalCallback.onError(returnCode, null); in startGroupCall()
DMbmsDownloadSession.java421 int returnCode = downloadService.requestUpdateFileServices(mSubscriptionId, classList); in requestUpdateFileServices() local
422 if (returnCode == MbmsErrors.UNKNOWN) { in requestUpdateFileServices()
427 if (returnCode != MbmsErrors.SUCCESS) { in requestUpdateFileServices()
428 sendErrorToApp(returnCode, null); in requestUpdateFileServices()
475 int returnCode = downloadService.addServiceAnnouncement( in addServiceAnnouncement() local
477 if (returnCode == MbmsErrors.UNKNOWN) { in addServiceAnnouncement()
482 if (returnCode != MbmsErrors.SUCCESS) { in addServiceAnnouncement()
483 sendErrorToApp(returnCode, null); in addServiceAnnouncement()
/frameworks/base/core/java/android/app/
DPackageDeleteObserver.java37 public void onPackageDeleted(String basePackageName, int returnCode, String msg) {
38 PackageDeleteObserver.this.onPackageDeleted(basePackageName, returnCode, msg);
50 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument
DPackageInstallObserver.java38 public void onPackageInstalled(String basePackageName, int returnCode,
40 PackageInstallObserver.this.onPackageInstalled(basePackageName, returnCode, msg,
69 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument
/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/av/media/libaaudio/src/core/
DAudioGlobal.cpp50 const char* AudioGlobal_convertResultToText(aaudio_result_t returnCode) { in AudioGlobal_convertResultToText() argument
51 switch (returnCode) { in AudioGlobal_convertResultToText()
DAudioGlobal.h28 const char* AudioGlobal_convertResultToText(aaudio_result_t returnCode);
/frameworks/base/services/core/java/com/android/server/hdmi/
DSystemAudioStatusAction.java100 private void finishWithCallback(int returnCode) { in finishWithCallback() argument
103 mCallback.onComplete(returnCode); in finishWithCallback()
DSystemAudioAction.java200 protected void finishWithCallback(int returnCode) { in finishWithCallback() argument
203 mCallback.onComplete(returnCode); in finishWithCallback()
/frameworks/base/services/net/java/android/net/
DNetworkMonitorManager.java137 public boolean notifyDnsResponse(int returnCode) { in notifyDnsResponse() argument
140 mNetworkMonitor.notifyDnsResponse(returnCode); in notifyDnsResponse()
/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/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/core/java/com/android/server/pm/
DPackageInstallerService.java974 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument
975 if (PackageManager.DELETE_SUCCEEDED == returnCode && mNotification != null) { in onPackageDeleted()
988 PackageManager.deleteStatusToPublicStatus(returnCode)); in onPackageDeleted()
990 PackageManager.deleteStatusToString(returnCode, msg)); in onPackageDeleted()
991 fillIn.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, returnCode); in onPackageDeleted()
1013 boolean showNotification, int userId, String basePackageName, int returnCode, in sendOnPackageInstalled() argument
1015 if (PackageManager.INSTALL_SUCCEEDED == returnCode && showNotification) { in sendOnPackageInstalled()
1035 PackageManager.installStatusToPublicStatus(returnCode)); in sendOnPackageInstalled()
1037 PackageManager.installStatusToString(returnCode, msg)); in sendOnPackageInstalled()
1038 fillIn.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, returnCode); in sendOnPackageInstalled()
/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/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java853 public TestResult(int returnCode) { in TestResult() argument
854 this(returnCode, null); in TestResult()
857 public TestResult(int returnCode, String message) { in TestResult() argument
858 mReturnCode = returnCode; in TestResult()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java201 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() argument
205 getMetricsForNetwork(timestamp, netId).addDnsResult(eventType, returnCode, latencyMs); in onDnsEvent()
209 callback.onDnsEvent(netId, eventType, returnCode, hostname, ipAddresses, in onDnsEvent()
/frameworks/base/tests/net/common/java/android/net/metrics/
DValidationProbeEventTest.kt52 assertEquals(ValidationProbeEvent.DNS_SUCCESS, validationProbeEvent.returnCode) in hasType()

12