/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 | 43 public final int returnCode; field in ValidationProbeEvent 45 private ValidationProbeEvent(int netId, long durationMs, int probeType, int returnCode) { in ValidationProbeEvent() argument 49 this.returnCode = returnCode; in ValidationProbeEvent() 56 returnCode = in.readInt(); in ValidationProbeEvent() 63 out.writeInt(returnCode); in writeToParcel() 86 public static void logEvent(int netId, long durationMs, int probeType, int returnCode) { in logEvent() argument 87 logEvent(new ValidationProbeEvent(netId, durationMs, probeType, returnCode)); in logEvent() 93 netId, getProbeName(probeType), returnCode, 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/core/java/com/android/server/connectivity/ |
D | DnsEventListenerService.java | 65 public void addResult(byte eventType, byte returnCode, int latencyMs) { in addResult() argument 67 mReturnCodes[mEventCount] = returnCode; in addResult() 129 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs) { in onDnsEvent() argument 131 netId, eventType, returnCode, latencyMs)); in onDnsEvent() 138 batch.addResult((byte) eventType, (byte) returnCode, latencyMs); in onDnsEvent()
|
/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 | 5803 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument 5807 mLegacy.packageInstalled(basePackageName, returnCode); in onPackageInstalled() 5822 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument 5825 mLegacy.packageDeleted(basePackageName, returnCode); in onPackageDeleted()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 984 public void onPackageDeleted(String basePackageName, int returnCode, String msg) { in onPackageDeleted() argument 985 if (PackageManager.DELETE_SUCCEEDED == returnCode && mNotification != null) { in onPackageDeleted() 993 PackageManager.deleteStatusToPublicStatus(returnCode)); in onPackageDeleted() 995 PackageManager.deleteStatusToString(returnCode, msg)); in onPackageDeleted() 996 fillIn.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, returnCode); in onPackageDeleted() 1034 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in onPackageInstalled() argument 1036 if (PackageManager.INSTALL_SUCCEEDED == returnCode && mShowNotification) { in onPackageInstalled() 1054 PackageManager.installStatusToPublicStatus(returnCode)); in onPackageInstalled() 1056 PackageManager.installStatusToString(returnCode, msg)); in onPackageInstalled() 1057 fillIn.putExtra(PackageInstaller.EXTRA_LEGACY_STATUS, returnCode); in onPackageInstalled()
|
D | PackageInstallerSession.java | 622 public void onPackageInstalled(String basePackageName, int returnCode, String msg, in commitLocked() 625 dispatchSessionFinished(returnCode, msg, extras); in commitLocked() 1107 private void dispatchSessionFinished(int returnCode, String msg, Bundle extras) { in dispatchSessionFinished() argument 1108 mFinalStatus = returnCode; in dispatchSessionFinished() 1113 mRemoteObserver.onPackageInstalled(mPackageName, returnCode, msg, extras); in dispatchSessionFinished() 1118 final boolean success = (returnCode == PackageManager.INSTALL_SUCCEEDED); in dispatchSessionFinished()
|
D | PackageManagerService.java | 1821 if (res.returnCode == PackageManager.INSTALL_SUCCEEDED) { in handlePackagePostInstall() 1967 installObserver.onPackageInstalled(res.name, res.returnCode, in handlePackagePostInstall() 2105 switch (res.returnCode) { in extrasForInstallResult() 12321 if (res.returnCode == PackageManager.INSTALL_SUCCEEDED) { 12322 args.doPreInstall(res.returnCode); 12326 args.doPostInstall(res.returnCode, res.uid); 12349 if (res.returnCode == PackageManager.INSTALL_SUCCEEDED && doRestore) { 14033 int returnCode; 14051 returnCode = e.error; 14056 public void setReturnCode(int returnCode) { [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 321 public void assertScanReturnEntryEquals(int returnCode, int count) { in assertScanReturnEntryEquals() argument 323 if (mDeserializedWifiMetrics.scanReturnEntries[i].scanReturnCode == returnCode) { in assertScanReturnEntryEquals()
|
/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/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 5735 public void onPackageInstalled(String packageName, int returnCode, in onPackageInstalled() argument 5738 mResult = returnCode; in onPackageInstalled() 5767 public void packageDeleted(String packageName, int returnCode) throws RemoteException { in packageDeleted() argument 5769 mResult = returnCode; in packageDeleted() 7164 public void onPackageInstalled(String packageName, int returnCode, in onPackageInstalled() argument 7167 mResult = returnCode; in onPackageInstalled() 7196 public void packageDeleted(String packageName, int returnCode) throws RemoteException { in packageDeleted() argument 7198 mResult = returnCode; in packageDeleted()
|
/frameworks/base/api/ |
D | system-current.txt | 26041 field public final int returnCode;
|