Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c151 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/
DValidationProbeEvent.java43 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/
DAMRWB_E_SAMPLE.c82 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/
DPackageDeleteObserver.java31 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
DPackageInstallObserver.java32 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/
DDnsEventListenerService.java65 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/
DSystemAudioStatusAction.java106 private void finishWithCallback(int returnCode) { in finishWithCallback() argument
109 mCallback.onComplete(returnCode); in finishWithCallback()
DSystemAudioAction.java200 protected void finishWithCallback(int returnCode) { in finishWithCallback() argument
203 mCallback.onComplete(returnCode); in finishWithCallback()
/frameworks/base/core/java/android/content/pm/
DIPackageInstallObserver.aidl25 void packageInstalled(in String packageName, int returnCode); in packageInstalled() argument
DIPackageDeleteObserver.aidl26 void packageDeleted(in String packageName, in int returnCode); in packageDeleted() argument
DIPackageDeleteObserver2.aidl24 void onPackageDeleted(String packageName, int returnCode, String msg); in onPackageDeleted() argument
DIPackageInstallObserver2.aidl45 void onPackageInstalled(String basePackageName, int returnCode, String msg, in Bundle extras); in onPackageInstalled() argument
DPackageManager.java5803 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/
DPackageInstallerService.java984 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()
DPackageInstallerSession.java622 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()
DPackageManagerService.java1821 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/
DWifiMetricsTest.java321 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/
DPackageManagerTests.java128 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/
DSystemImpl.java228 public void packageDeleted(String packageName, int returnCode) { in uninstallAndDisablePackageForAllUsers()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java5735 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/
Dsystem-current.txt26041 field public final int returnCode;