Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 64) sorted by relevance

123

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCsvUtilsTests.java47 } catch (final CsvParseException success) { in testUnescapeException()
48 assertEquals("Unterminated quote", success.getMessage()); in testUnescapeException()
53 } catch (final CsvParseException success) { in testUnescapeException()
54 assertEquals("Unterminated quote", success.getMessage()); in testUnescapeException()
59 } catch (final CsvParseException success) { in testUnescapeException()
60 assertEquals("Unterminated quote", success.getMessage()); in testUnescapeException()
65 } catch (final CsvParseException success) { in testUnescapeException()
66 assertEquals("Unterminated quote", success.getMessage()); in testUnescapeException()
71 } catch (final CsvParseException success) { in testUnescapeException()
72 assertEquals("Raw quote in text", success.getMessage()); in testUnescapeException()
[all …]
/packages/inputmethods/PinyinIME/jni/command/
Dpinyinime_dictbuilder.cpp32 bool success; in main() local
34 success = dict_trie->build_dict(argv[1], argv[2]); in main()
36 success = dict_trie->build_dict("../data/rawdict_utf16_65105_freq.txt", in main()
39 if (success) { in main()
46 success = dict_trie->save_dict("../../res/raw/dict_pinyin.dat"); in main()
48 if (success) { in main()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java215 @Override protected void onPostExecute(Boolean success) { in onPostExecute() argument
216 if (success) { in onPostExecute()
300 @Override protected void onPostExecute(Boolean success) { in extractPkcs12InBackground() argument
301 MyAction action = new OnExtractionDoneAction(success); in extractPkcs12InBackground()
312 void onExtractionDone(boolean success) { in onExtractionDone() argument
315 if (success) { in onExtractionDone()
498 OnExtractionDoneAction(boolean success) { in OnExtractionDoneAction() argument
499 mSuccess = success; in OnExtractionDoneAction()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h133 #define ASSERT(success) do { if (!(success)) { showStackTrace(); assert(success);} } while (0) argument
152 #define ASSERT(success) assert(success) argument
162 #define ASSERT(success) argument
/packages/apps/Email/emailsync/src/com/android/emailsync/
DAbstractSyncService.java152 boolean success; field in AbstractSyncService.ValidationResult
158 success = _success; in ValidationResult()
164 success = _success; in ValidationResult()
168 success = false; in ValidationResult()
174 return success; in isSuccess()
/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java93 boolean success = false; in onCheckedChanged()
96 success = mNfcAdapter.enableNdefPush(); in onCheckedChanged()
98 success = mNfcAdapter.disableNdefPush(); in onCheckedChanged()
100 if (success) { in onCheckedChanged()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java123 boolean success = false; in setPhoto()
143 success = true; in setPhoto()
150 Log.d(TAG, "setPhoto success=" + success); in setPhoto()
152 return success; in setPhoto()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java632 boolean success = false; in doInBackground()
652 success = true; // Regardless of NDEF result in doInBackground()
662 success = true; in doInBackground()
667 if (!success) { in doInBackground()
671 success = true; in doInBackground()
698 return success; in doInBackground()
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java188 boolean success = true; in waitForSms()
197 success = false; in waitForSms()
201 if (success) { in waitForSms()
208 return success; in waitForSms()
/packages/services/Telephony/src/com/android/phone/
DEmergencyCallHelper.java374 boolean success; in placeEmergencyCall()
379 success = true; in placeEmergencyCall()
387 success = false; in placeEmergencyCall()
391 if (success) { in placeEmergencyCall()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasLoadAttachment.java313 final boolean success; in handleResponse()
318 success = (parser.getStatusCode() == 1); in handleResponse()
327 success = true; in handleResponse()
330 if (!success) { in handleResponse()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java358 private void iccLockChanged(boolean success, int attemptsRemaining) { in iccLockChanged() argument
359 if (success) { in iccLockChanged()
369 private void iccPinChanged(boolean success, int attemptsRemaining) { in iccPinChanged() argument
370 if (!success) { in iccPinChanged()
/packages/apps/Camera2/src/com/android/camera/data/
DRotationTask.java95 boolean success = false; in rotateInJpegExif()
111 success = true; in rotateInJpegExif()
123 if (success) { in rotateInJpegExif()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java187 boolean success = true; in createProfileVCardFile()
201 success = false; in createProfileVCardFile()
205 return success; in createProfileVCardFile()
/packages/apps/Camera2/src/com/android/camera/crop/
DSaveImage.java291 boolean success = auxDiretory.mkdirs(); in moveSrcToAuxIfNeeded()
292 if (!success) { in moveSrcToAuxIfNeeded()
324 boolean success = srcFile.renameTo(newSrcFile); in moveSrcToAuxIfNeeded()
325 if (!success) { in moveSrcToAuxIfNeeded()
/packages/apps/Mms/tests/src/com/android/mms/ui/
DComposeMessageActivityTests.java169 boolean success = true; in testSendMessage()
174 success = false; in testSendMessage()
178 assertTrue(success && boxChecker.getError() == null); in testSendMessage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java478 boolean success = auxDiretory.mkdirs(); in moveSrcToAuxIfNeeded()
479 if (!success) { in moveSrcToAuxIfNeeded()
511 boolean success = srcFile.renameTo(newSrcFile); in moveSrcToAuxIfNeeded()
512 if (!success) { in moveSrcToAuxIfNeeded()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppsCustomizePagedView.java818 private void endDragging(View target, boolean isFlingToDelete, boolean success) { in endDragging() argument
819 if (isFlingToDelete || !success || (target != mLauncher.getWorkspace() && in endDragging()
875 boolean success) { in onDropCompleted() argument
879 endDragging(target, false, success); in onDropCompleted()
883 if (!success) { in onDropCompleted()
902 cleanupWidgetPreloading(success); in onDropCompleted()
DIconCache.java420 boolean success = mContext.deleteFile(getResourceFilename(componentName)); in deletePreloadedIcon()
421 if (DEBUG && success) Log.d(TAG, "removed pre-loaded icon from persistent cache"); in deletePreloadedIcon()
423 return success; in deletePreloadedIcon()
DFolder.java760 final boolean isFlingToDelete, final boolean success) { in onDropCompleted() argument
765 onDropCompleted(target, d, isFlingToDelete, success); in onDropCompleted()
774 success && (!beingCalledAfterUninstall || mUninstallSuccessful); in onDropCompleted()
818 public void onUninstallActivityReturned(boolean success) { in onUninstallActivityReturned() argument
820 mUninstallSuccessful = success; in onUninstallActivityReturned()
DLauncher.java2194 boolean success = false; in addAppWidgetFromDrop()
2196 success = mAppWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, in addAppWidgetFromDrop()
2199 success = mAppWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, in addAppWidgetFromDrop()
2202 if (success) { in addAppWidgetFromDrop()
2398 boolean success = startActivitySafely(v, intent, tag); in onClick()
2402 if (success && v instanceof BubbleTextView) { in onClick()
2591 boolean success = false; in startActivitySafely()
2593 success = startActivity(v, intent, tag); in startActivitySafely()
2598 return success; in startActivitySafely()
4496 boolean success = false; in dumpLogsToLocalData()
[all …]
DCellLayout.java1561 boolean success = false; in addViewToTempLocation()
1570 success = true; in addViewToTempLocation()
1573 return success; in addViewToTempLocation()
1910 boolean success = false; in addViewsToTempLocation()
1952 success = true; in addViewsToTempLocation()
1960 return success; in addViewsToTempLocation()
2159 boolean success = false; in findReorderSolution()
2162 success = rearrangementExists(result[0], result[1], spanX, spanY, direction, dragView, in findReorderSolution()
2165 if (!success) { in findReorderSolution()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java825 private void endDragging(View target, boolean isFlingToDelete, boolean success) { in endDragging() argument
826 if (isFlingToDelete || !success || (target != mLauncher.getWorkspace() && in endDragging()
872 boolean success) { in onDropCompleted() argument
876 endDragging(target, false, success); in onDropCompleted()
880 if (!success) { in onDropCompleted()
899 cleanupWidgetPreloading(success); in onDropCompleted()
DCellLayout.java1573 boolean success = false; in addViewToTempLocation()
1582 success = true; in addViewToTempLocation()
1585 return success; in addViewToTempLocation()
1922 boolean success = false; in addViewsToTempLocation()
1964 success = true; in addViewsToTempLocation()
1972 return success; in addViewsToTempLocation()
2168 boolean success = false; in simpleSwap()
2171 success = rearrangementExists(result[0], result[1], spanX, spanY, direction, dragView, in simpleSwap()
2174 if (!success) { in simpleSwap()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverTransfer.java65 void onTransferComplete(HandoverTransfer transfer, boolean success); in onTransferComplete() argument
171 public void finishTransfer(boolean success, Uri uri, String mimeType) { in finishTransfer() argument
175 if (success && uri != null) { in finishTransfer()

123