/frameworks/base/core/java/android/net/metrics/ |
D | ValidationProbeEvent.java | 71 public final @ReturnCode int returnCode; field in ValidationProbeEvent 73 private ValidationProbeEvent(long durationMs, int probeType, int returnCode) { in ValidationProbeEvent() argument 76 this.returnCode = returnCode; in ValidationProbeEvent() 82 returnCode = in.readInt(); in ValidationProbeEvent() 115 public Builder setReturnCode(int returnCode) { in setReturnCode() argument 116 mReturnCode = returnCode; in setReturnCode() 134 out.writeInt(returnCode); in writeToParcel() 174 getProbeName(probeType), returnCode, getValidationStage(probeType), durationMs); in toString() 183 && returnCode == other.returnCode; in equals()
|
D | DnsEvent.java | 58 boolean addResult(byte eventType, byte returnCode, int latencyMs) { in addResult() argument 59 boolean isSuccess = (returnCode == 0); in addResult() 68 returnCodes[eventCount] = returnCode; in addResult()
|
D | NetworkMetrics.java | 76 public void addDnsResult(int eventType, int returnCode, int latencyMs) { in addDnsResult() argument 80 boolean isSuccess = dnsMetrics.addResult((byte) eventType, (byte) returnCode, latencyMs); in addDnsResult()
|
/frameworks/av/media/module/codecs/amrwb/enc/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/core/java/android/app/ |
D | PackageDeleteObserver.java | 38 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { 39 PackageDeleteObserver.this.onPackageDeleted(basePackageName, returnCode, msg); 51 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/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/av/media/libaaudio/scripts/ |
D | measure_device_power.py | 86 returnCode = 1 89 while count < limit and returnCode != 0: 93 returnCode = subprocess.call(["adb", command]) 94 print(('returnCode = {}'.format(returnCode))) 96 return returnCode
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NonRequiredPackageDeleteObserver.java | 43 public void packageDeleted(String packageName, int returnCode) { in packageDeleted() argument 44 if (returnCode != PackageManager.DELETE_SUCCEEDED) { in packageDeleted()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 56 int returnCode = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0); in onReceive() local 60 if (returnCode == PackageInstaller.STATUS_PENDING_USER_ACTION) { in onReceive() 84 switch (returnCode) { in onReceive() 158 + returnCode + " no blocking user"); in onReceive() 181 + 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 | 39 const char* AudioGlobal_convertResultToText(aaudio_result_t returnCode);
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/uninstall/ |
D | UninstallCompleteCallbackTest.kt | 51 override fun onPackageDeleted(basePackageName: String, returnCode: Int, msg: String) { in onPackageDeleted() 52 mockAdapter.onPackageDeleted(basePackageName, returnCode, msg) in onPackageDeleted()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSessionVerifier.java | 62 void onResult(int returnCode, String msg); in onResult() argument 174 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in verifyAPK() 176 if (session.isStaged() && returnCode == PackageManager.INSTALL_SUCCEEDED) { in verifyAPK() 181 if (returnCode != PackageManager.INSTALL_SUCCEEDED) { in verifyAPK() 182 String errorMessage = PackageManager.installStatusToString(returnCode, msg); in verifyAPK() 183 session.setSessionFailed(returnCode, errorMessage); in verifyAPK() 184 callback.onResult(returnCode, msg); in verifyAPK()
|
D | DeletePackageHelper.java | 812 int returnCode; in deletePackageVersionedInternal() local 826 returnCode = deletePackageX(internalPackageName, versionCode, in deletePackageVersionedInternal() 830 if (returnCode == DELETE_SUCCEEDED && packageState != null) { in deletePackageVersionedInternal() 854 returnCode = PackageManager.DELETE_FAILED_FOR_CHILD_PROFILE; in deletePackageVersionedInternal() 864 returnCode = deletePackageX(internalPackageName, versionCode, in deletePackageVersionedInternal() 871 returnCode = deletePackageX(internalPackageName, versionCode, in deletePackageVersionedInternal() 873 if (returnCode != DELETE_SUCCEEDED) { in deletePackageVersionedInternal() 875 + ", returnCode " + returnCode); in deletePackageVersionedInternal() 881 returnCode = PackageManager.DELETE_FAILED_OWNER_BLOCKED; in deletePackageVersionedInternal() 885 returnCode = PackageManager.DELETE_FAILED_INTERNAL_ERROR; in deletePackageVersionedInternal() [all …]
|
/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/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/core/java/com/android/server/hdmi/ |
D | HdmiCecFeatureAction.java | 313 protected void finishWithCallback(int returnCode) { in finishWithCallback() argument 314 invokeCallback(returnCode); in finishWithCallback()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 214 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() argument 217 getMetricsForNetwork(timestamp, netId).addDnsResult(eventType, returnCode, latencyMs); in onDnsEvent() 222 callback.onDnsEvent(netId, eventType, returnCode, hostname, ipAddresses, in onDnsEvent()
|