/frameworks/base/core/java/android/net/metrics/ |
D | ValidationProbeEvent.java | 69 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()
|
D | DnsEvent.java | 61 boolean addResult(byte eventType, byte returnCode, int latencyMs) { in addResult() argument 62 boolean isSuccess = (returnCode == 0); in addResult() 71 returnCodes[eventCount] = returnCode; in addResult()
|
D | NetworkMetrics.java | 78 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/ |
D | AMRWB_E_SAMPLE.c | 82 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/ |
D | MbmsStreamingSession.java | 212 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()
|
D | MbmsGroupCallSession.java | 222 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()
|
D | MbmsDownloadSession.java | 421 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/ |
D | PackageDeleteObserver.java | 37 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
|
D | PackageInstallObserver.java | 38 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/ |
D | UninstallFinish.java | 57 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/ |
D | AudioGlobal.cpp | 50 const char* AudioGlobal_convertResultToText(aaudio_result_t returnCode) { in AudioGlobal_convertResultToText() argument 51 switch (returnCode) { in AudioGlobal_convertResultToText()
|
D | AudioGlobal.h | 28 const char* AudioGlobal_convertResultToText(aaudio_result_t returnCode);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | SystemAudioStatusAction.java | 100 private void finishWithCallback(int returnCode) { in finishWithCallback() argument 103 mCallback.onComplete(returnCode); in finishWithCallback()
|
D | SystemAudioAction.java | 200 protected void finishWithCallback(int returnCode) { in finishWithCallback() argument 203 mCallback.onComplete(returnCode); in finishWithCallback()
|
/frameworks/base/services/net/java/android/net/ |
D | NetworkMonitorManager.java | 137 public boolean notifyDnsResponse(int returnCode) { in notifyDnsResponse() argument 140 mNetworkMonitor.notifyDnsResponse(returnCode); in notifyDnsResponse()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageDeleteObserver.aidl | 27 void packageDeleted(in String packageName, in int returnCode); in packageDeleted() argument
|
D | IPackageDeleteObserver2.aidl | 25 void onPackageDeleted(String packageName, int returnCode, String msg); in onPackageDeleted() argument
|
D | IPackageInstallObserver2.aidl | 47 void onPackageInstalled(String basePackageName, int returnCode, String msg, in Bundle extras); in onPackageInstalled() argument
|
/frameworks/base/core/java/android/net/ |
D | INetdEventCallback.aidl | 44 void onDnsEvent(int netId, int eventType, int returnCode, String hostname, in onDnsEvent() argument
|
/frameworks/base/core/java/com/android/server/net/ |
D | BaseNetdEventCallback.java | 29 public void onDnsEvent(int netId, int eventType, int returnCode, String hostname, in onDnsEvent() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 974 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/ |
D | RestoreDeleteObserver.java | 63 public void packageDeleted(String packageName, int returnCode) throws RemoteException { in packageDeleted() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/ |
D | AdbDebuggingManagerTest.java | 853 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/ |
D | NetdEventListenerService.java | 201 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/ |
D | ValidationProbeEventTest.kt | 52 assertEquals(ValidationProbeEvent.DNS_SUCCESS, validationProbeEvent.returnCode) in hasType()
|