/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CsvUtilsTests.java | 47 } 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/ |
D | pinyinime_dictbuilder.cpp | 32 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/ |
D | CertInstaller.java | 215 @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/ |
D | defines.h | 133 #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/ |
D | AbstractSyncService.java | 152 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/ |
D | AndroidBeam.java | 93 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/ |
D | PhotoAppWidgetProvider.java | 123 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/ |
D | P2pLinkManager.java | 632 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/ |
D | DialogSmsDisplayTests.java | 188 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/ |
D | EmergencyCallHelper.java | 374 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/ |
D | EasLoadAttachment.java | 313 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/ |
D | IccLockSettings.java | 358 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/ |
D | RotationTask.java | 95 boolean success = false; in rotateInJpegExif() 111 success = true; in rotateInJpegExif() 123 if (success) { in rotateInJpegExif()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 187 boolean success = true; in createProfileVCardFile() 201 success = false; in createProfileVCardFile() 205 return success; in createProfileVCardFile()
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
D | SaveImage.java | 291 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/ |
D | ComposeMessageActivityTests.java | 169 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/ |
D | SaveImage.java | 478 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/ |
D | AppsCustomizePagedView.java | 818 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()
|
D | IconCache.java | 420 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()
|
D | Folder.java | 760 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()
|
D | Launcher.java | 2194 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 …]
|
D | CellLayout.java | 1561 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/ |
D | AppsCustomizePagedView.java | 825 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()
|
D | CellLayout.java | 1573 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/ |
D | HandoverTransfer.java | 65 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()
|