Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DRequestPermissionActivity.java253 int returnCode; in proceedAndFinish() local
257 returnCode = RESULT_OK; in proceedAndFinish()
267 returnCode = mTimeout; in proceedAndFinish()
269 if (returnCode < RESULT_FIRST_USER) { in proceedAndFinish()
270 returnCode = RESULT_FIRST_USER; in proceedAndFinish()
273 returnCode = RESULT_CANCELED; in proceedAndFinish()
280 setResult(returnCode); in proceedAndFinish()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java257 int returnCode; in proceedAndFinish() local
261 returnCode = RESULT_OK; in proceedAndFinish()
271 returnCode = mTimeout; in proceedAndFinish()
273 if (returnCode < RESULT_FIRST_USER) { in proceedAndFinish()
274 returnCode = RESULT_FIRST_USER; in proceedAndFinish()
277 returnCode = RESULT_CANCELED; in proceedAndFinish()
284 setResult(returnCode); in proceedAndFinish()
/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/StorageManager/src/com/android/storagemanager/deletionhelper/
DPackageDeletionTask.java68 public void packageDeleted(String packageName, int returnCode) { in packageDeleted() argument
69 if (returnCode != PackageManager.DELETE_SUCCEEDED) { in packageDeleted()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DMoveAppProgressFragment.java51 public static CharSequence moveStatusToMessage(Context context, int returnCode) { in moveStatusToMessage() argument
52 switch (returnCode) { in moveStatusToMessage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardMoveProgress.java83 private CharSequence moveStatusToMessage(int returnCode) { in moveStatusToMessage() argument
84 switch (returnCode) { in moveStatusToMessage()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java193 int returnCode = timeoutSeconds; in setDiscoverable() local
194 return returnCode < RESULT_FIRST_USER ? RESULT_FIRST_USER : returnCode; in setDiscoverable()
/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/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeleteNonRequiredAppsTask.java152 public void packageDeleted(String packageName, int returnCode) { in packageDeleted() argument
153 if (returnCode != PackageManager.DELETE_SUCCEEDED) { in packageDeleted()
/packages/modules/NetworkStack/common/
DCaptivePortalProbeSpec.java179 final int returnCode = statusMatch && locationMatch ? SUCCESS_CODE : PORTAL_CODE; in getResult() local
181 returnCode, locationHeader, getUrl().toString(), this); in getResult()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java54 @NonNull int[] returnCode, @NonNull long[] dnsTime, int evalType, int netType) { in DataStallDetectionStats() argument
59 dns.dnsReturnCode = returnCode; in DataStallDetectionStats()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java318 private native byte[] doTransceive(byte[] data, boolean raw, int[] returnCode); in doTransceive() argument
320 public synchronized byte[] transceive(byte[] data, boolean raw, int[] returnCode) { in transceive() argument
324 byte[] result = doTransceive(data, raw, returnCode); in transceive()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java355 public void notifyDnsResponse(int returnCode) { in notifyDnsResponse() argument
357 mNm.notifyDnsResponse(returnCode); in notifyDnsResponse()
/packages/apps/Nfc/src/com/android/nfc/
DDeviceHost.java73 byte[] transceive(byte[] data, boolean raw, int[] returnCode); in transceive() argument
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java457 public void notifyDnsResponse(int returnCode) { in notifyDnsResponse() argument
458 sendMessage(EVENT_DNS_NOTIFICATION, returnCode); in notifyDnsResponse()