/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
D | AAC_E_SAMPLES.c | 151 int returnCode; in main() local 159 returnCode = parsecmdline(argc,argv, &infileName, &outfileName, &aacpara); in main() 160 if(returnCode) in main() 205 returnCode = pGetAPI(&AudioAPI); in main() 206 if(returnCode) in main() 211 returnCode = AudioAPI.Init(&hCodec, VO_AUDIO_CodingAAC, &useData); in main() 212 if(returnCode < 0) in main() 218 returnCode = AudioAPI.SetParam(hCodec, VO_PID_AAC_ENCPARAM, &aacpara); in main() 233 returnCode = AudioAPI.SetInputData(hCodec,&inData); in main() 239 returnCode = AudioAPI.GetOutputData(hCodec,&outData, &outInfo); in main() [all …]
|
/frameworks/base/core/java/android/net/metrics/ |
D | ValidationProbeEvent.java | 63 public final @ReturnCode int returnCode; field in ValidationProbeEvent 67 int netId, long durationMs, int probeType, @ReturnCode int returnCode) { in ValidationProbeEvent() argument 71 this.returnCode = returnCode; in ValidationProbeEvent() 78 returnCode = in.readInt(); in ValidationProbeEvent() 86 out.writeInt(returnCode); in writeToParcel() 120 public static void logEvent(int netId, long durationMs, int probeType, int returnCode) { in logEvent() argument 126 getProbeName(probeType), returnCode, getValidationStage(probeType), durationMs); in toString()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
D | AMRWB_E_SAMPLE.c | 82 int returnCode; in encode() local 149 returnCode = pGetAPI(&AudioAPI); in encode() 150 if(returnCode) in encode() 207 returnCode = AudioAPI.SetInputData(hCodec,&inData); in encode() 210 returnCode = AudioAPI.GetOutputData(hCodec,&outData, &outFormat); in encode() 211 if(returnCode == 0) in encode() 226 else if((unsigned)returnCode == VO_ERR_LICENSE_ERROR) in encode() 231 } while((unsigned)returnCode != VO_ERR_INPUT_BUFFER_SMALL); in encode() 242 } while (!eofFile && returnCode); in encode() 246 returnCode = AudioAPI.Uninit(hCodec); in encode()
|
/frameworks/base/core/java/android/app/ |
D | PackageDeleteObserver.java | 31 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { 32 PackageDeleteObserver.this.onPackageDeleted(basePackageName, returnCode, msg); 44 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument
|
D | PackageInstallObserver.java | 32 public void onPackageInstalled(String basePackageName, int returnCode, 34 PackageInstallObserver.this.onPackageInstalled(basePackageName, returnCode, msg, 62 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument
|
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/ |
D | PreloadAppsInstaller.java | 122 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in installPackage() argument 126 + " returnCode: " + returnCode + " msg: " + msg); in installPackage() 129 if (returnCode == PackageManager.INSTALL_SUCCEEDED) { in installPackage() 133 } else if (returnCode == PackageManager.INSTALL_FAILED_ALREADY_EXISTS) { in installPackage() 141 + apkName + ": " + msg + " (returnCode " + returnCode + ")"); in installPackage()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 78 public void addResult(byte eventType, byte returnCode, int latencyMs) { in addResult() argument 80 mReturnCodes[mEventCount] = returnCode; in addResult() 169 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() argument 172 maybeVerboseLog("onDnsEvent(%d, %d, %d, %dms)", netId, eventType, returnCode, latencyMs); in onDnsEvent() 179 batch.addResult((byte) eventType, (byte) returnCode, latencyMs); in onDnsEvent()
|
D | IpConnectivityEventBuilder.java | 192 out.validationProbeEvent.probeResult = in.returnCode; in setValidationProbeEvent()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | SystemAudioStatusAction.java | 106 private void finishWithCallback(int returnCode) { in finishWithCallback() argument 109 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/core/java/android/content/pm/ |
D | IPackageInstallObserver.aidl | 25 void packageInstalled(in String packageName, int returnCode); in packageInstalled() argument
|
D | IPackageDeleteObserver.aidl | 26 void packageDeleted(in String packageName, in int returnCode); in packageDeleted() argument
|
D | IPackageDeleteObserver2.aidl | 24 void onPackageDeleted(String packageName, int returnCode, String msg); in onPackageDeleted() argument
|
D | IPackageInstallObserver2.aidl | 45 void onPackageInstalled(String basePackageName, int returnCode, String msg, in Bundle extras); in onPackageInstalled() argument
|
D | PackageManager.java | 5827 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument 5831 mLegacy.packageInstalled(basePackageName, returnCode); in onPackageInstalled() 5846 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument 5849 mLegacy.packageDeleted(basePackageName, returnCode); in onPackageDeleted()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 987 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument 988 if (PackageManager.DELETE_SUCCEEDED == returnCode && mNotification != null) { in onPackageDeleted() 996 PackageManager.deleteStatusToPublicStatus(returnCode)); in onPackageDeleted() 998 PackageManager.deleteStatusToString(returnCode, msg)); in onPackageDeleted() 999 fillIn.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, returnCode); in onPackageDeleted() 1037 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument 1039 if (PackageManager.INSTALL_SUCCEEDED == returnCode && mShowNotification) { in onPackageInstalled() 1057 PackageManager.installStatusToPublicStatus(returnCode)); in onPackageInstalled() 1059 PackageManager.installStatusToString(returnCode, msg)); in onPackageInstalled() 1060 fillIn.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, returnCode); in onPackageInstalled()
|
D | PackageInstallerSession.java | 645 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in commitLocked() 648 dispatchSessionFinished(returnCode, msg, extras); in commitLocked() 1131 private void dispatchSessionFinished(int returnCode, String msg, Bundle extras) { in dispatchSessionFinished() argument 1132 mFinalStatus = returnCode; in dispatchSessionFinished() 1137 mRemoteObserver.onPackageInstalled(mPackageName, returnCode, msg, extras); in dispatchSessionFinished() 1142 final boolean success = (returnCode == PackageManager.INSTALL_SUCCEEDED); in dispatchSessionFinished()
|
D | PackageManagerService.java | 1642 if (res.returnCode == PackageManager.INSTALL_SUCCEEDED) { in handlePackagePostInstall() 1788 installObserver.onPackageInstalled(res.name, res.returnCode, in handlePackagePostInstall() 1926 switch (res.returnCode) { in extrasForInstallResult() 12447 if (res.returnCode == PackageManager.INSTALL_SUCCEEDED) { in processPendingInstall() 12448 args.doPreInstall(res.returnCode); in processPendingInstall() 12452 args.doPostInstall(res.returnCode, res.uid); in processPendingInstall() 12475 if (res.returnCode == PackageManager.INSTALL_SUCCEEDED && doRestore) { in processPendingInstall() 12540 if (data.res.returnCode != PackageManager.INSTALL_SUCCEEDED) { in notifyFirstLaunch() 14162 int returnCode; field in PackageManagerService.PackageInstalledInfo 14180 returnCode = e.error; in setError() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 128 public int returnCode; field in PackageManagerTests.TestInstallObserver 133 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument 135 Log.d(TAG, "onPackageInstalled: code=" + returnCode + ", msg=" + msg + ", extras=" in onPackageInstalled() 138 this.returnCode = returnCode; in onPackageInstalled() 238 if (observer.returnCode != PackageManager.INSTALL_SUCCEEDED) { in invokeInstallPackage() 240 + observer.returnCode); in invokeInstallPackage() 243 if (observer.returnCode == PackageManager.INSTALL_SUCCEEDED) { in invokeInstallPackage() 292 assertEquals(expectedResult, observer.returnCode); in invokeInstallPackageFail() 920 public void packageDeleted(String packageName, int returnCode) throws RemoteException { in packageDeleted() argument 923 mReturnCode = returnCode; in packageDeleted()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | SystemImpl.java | 228 public void packageDeleted(String packageName, int returnCode) { in uninstallAndDisablePackageForAllUsers()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 495 public void assertScanReturnEntryEquals(int returnCode, int count) { in assertScanReturnEntryEquals() argument 497 if (mDeserializedWifiMetrics.scanReturnEntries[i].scanReturnCode == returnCode) { in assertScanReturnEntryEquals()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 5767 public void onPackageInstalled(String packageName, int returnCode, in onPackageInstalled() argument 5770 mResult = returnCode; in onPackageInstalled() 5799 public void packageDeleted(String packageName, int returnCode) throws RemoteException { in packageDeleted() argument 5801 mResult = returnCode; in packageDeleted() 7200 public void onPackageInstalled(String packageName, int returnCode, in onPackageInstalled() argument 7203 mResult = returnCode; in onPackageInstalled() 7232 public void packageDeleted(String packageName, int returnCode) throws RemoteException { in packageDeleted() argument 7234 mResult = returnCode; in packageDeleted()
|
/frameworks/base/api/ |
D | system-current.txt | 26190 field public final int returnCode;
|