Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java224 int returnCode; in proceedAndFinish() local
228 returnCode = RESULT_OK; in proceedAndFinish()
238 returnCode = mTimeout; in proceedAndFinish()
240 if (returnCode < RESULT_FIRST_USER) { in proceedAndFinish()
241 returnCode = RESULT_FIRST_USER; in proceedAndFinish()
244 returnCode = RESULT_CANCELED; in proceedAndFinish()
251 setResult(returnCode); in proceedAndFinish()
DRequestPermissionHelperActivity.java94 int returnCode; in onClick() local
114 returnCode = RequestPermissionActivity.RESULT_BT_STARTING_OR_STARTED; in onClick()
116 returnCode = RESULT_CANCELED; in onClick()
121 returnCode = RESULT_CANCELED; in onClick()
126 setResult(returnCode); in onClick()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
DJPEGOutputStream.java102 int returnCode = JpegConfig.J_ERROR_FATAL; in write() local
104 returnCode = writeInputBytes(buffer, offset, length); in write()
106 if (returnCode < 0) { in write()
110 if (returnCode < 0) { in write()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DInstallPackageTask.java152 public void packageInstalled(String packageName, int returnCode) { in packageInstalled() argument
158 if (returnCode == PackageManager.INSTALL_SUCCEEDED) { in packageInstalled()
163 } else if (returnCode == PackageManager.INSTALL_FAILED_VERSION_DOWNGRADE) { in packageInstalled()
172 "Errorcode returned by IPackageInstallObserver = " + returnCode); in packageInstalled()
DDeleteNonRequiredAppsTask.java342 public void packageDeleted(String packageName, int returnCode) { in packageDeleted() argument
343 if (returnCode != PackageManager.DELETE_SUCCEEDED) { in packageDeleted()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DMoveAppProgressFragment.java50 public static CharSequence moveStatusToMessage(Context context, int returnCode) { in moveStatusToMessage() argument
51 switch (returnCode) { in moveStatusToMessage()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveProgress.java85 private CharSequence moveStatusToMessage(int returnCode) { in moveStatusToMessage() argument
86 switch (returnCode) { in moveStatusToMessage()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java302 private native byte[] doTransceive(byte[] data, boolean raw, int[] returnCode); in doTransceive() argument
304 public synchronized byte[] transceive(byte[] data, boolean raw, int[] returnCode) { in transceive() argument
308 byte[] result = doTransceive(data, raw, returnCode); in transceive()
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeNfcTag.java290 private native byte[] doTransceive(byte[] data, boolean raw, int[] returnCode); in doTransceive() argument
292 public synchronized byte[] transceive(byte[] data, boolean raw, int[] returnCode) { in transceive() argument
296 byte[] result = doTransceive(data, raw, returnCode); in transceive()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DUninstallAppProgress.java238 public void packageDeleted(String packageName, int returnCode) { in packageDeleted() argument
240 msg.arg1 = returnCode; in packageDeleted()
DInstallAppProgress.java219 public void packageInstalled(String packageName, int returnCode) {
221 msg.arg1 = returnCode;
/packages/apps/Nfc/src/com/android/nfc/
DDeviceHost.java68 byte[] transceive(byte[] data, boolean raw, int[] returnCode); in transceive() argument