/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ContentCacheTests.java | 96 assertTrue(token1a.isValid()); in testTokenList() 100 assertTrue(token1b.isValid()); in testTokenList() 112 assertFalse(token1a.isValid()); in testTokenList() 113 assertFalse(token1b.isValid()); in testTokenList() 115 assertTrue(token2.isValid()); in testTokenList() 128 assertTrue(token3a.isValid()); in testTokenList() 129 assertTrue(token3b.isValid()); in testTokenList() 130 assertTrue(token3c.isValid()); in testTokenList()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
D | ver4_dict_buffers.h | 56 AK_FORCE_INLINE bool isValid() const { in isValid() function 57 return mHeaderBuffer && mDictBuffer && mHeaderPolicy.isValid() in isValid() 58 && mProbabilityDictContent.isValid() && mTerminalPositionLookupTable.isValid() in isValid() 59 && mBigramDictContent.isValid() && mShortcutDictContent.isValid(); in isValid()
|
D | ver4_patricia_trie_node_writer.cpp | 183 const bool isValid = ForgettingCurveUtils::needsToKeep(&historicalInfo, mHeaderPolicy); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() local 184 if (!isValid) { in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() 190 *outNeedsToKeepPtNode = isValid; in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
|
D | ver4_patricia_trie_policy.cpp | 64 if (!ptNodeParams.isValid()) { in createAndGetAllChildDicNodes() 272 if (!prevWordsInfo->isValid()) { in addNgramEntry() 334 if (!prevWordsInfo->isValid()) { in removeNgramEntry()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | PrevWordsInfo.java | 60 public boolean isValid() { in isValid() method in PrevWordsInfo.WordInfo 114 public boolean isValid() { in isValid() method in PrevWordsInfo 115 return mPrevWordsInfo[0].isValid(); in isValid() 122 if (wordInfo == null || !wordInfo.isValid()) { in outputToArray() 153 if (wordInfo == null || !wordInfo.isValid()) { in toString()
|
D | BinaryDictionary.java | 361 if (!prevWordsInfo.isValid() || TextUtils.isEmpty(word)) { in getNgramProbability() 458 if (!prevWordsInfo.isValid() || TextUtils.isEmpty(word)) { in addNgramEntry() 476 if (!prevWordsInfo.isValid() || TextUtils.isEmpty(word)) { in removeNgramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.cpp | 131 if (!originalBigramEntry.isValid()) { in addNewEntry() 181 if (!bigramEntry.isValid()) { in updateAllBigramEntriesAndDeleteUselessEntries() 229 if (bigramEntry.isValid()) { in getBigramEntryConut() 252 } else if (!bigramEntry.isValid()) { in getEntryPosToUpdate()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/bigram/ |
D | ver4_bigram_list_policy.cpp | 132 if (!originalBigramEntry.isValid()) { in addNewEntry() 182 if (!bigramEntry.isValid()) { in updateAllBigramEntriesAndDeleteUselessEntries() 230 if (bigramEntry.isValid()) { in getBigramEntryConut() 257 } else if (!bigramEntry.isValid()) { in getEntryPosToUpdate()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | PhoneNumberTestService.java | 98 boolean isValid = false; in dump_PhoneNumberUtil_format() 102 isValid = util.isValidNumber(pn); in dump_PhoneNumberUtil_format() 111 + (isValid ? " (valid)" : " (invalid)")); in dump_PhoneNumberUtil_format()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/ |
D | dynamic_pt_reading_helper.cpp | 50 if (!ptNodeParams.isValid()) { in traverseAllPtNodesInPostorderDepthFirstManner() 118 if (!ptNodeParams.isValid()) { in traverseAllPtNodesInPtNodeArrayLevelPreorderDepthFirstManner() 197 if (!ptNodeParams.isValid() || totalCodePointCount > maxCodePointCount) { in getCodePointsAndProbabilityAndReturnCodePointCount()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 190 this.isValid = true; in MosaicJpeg() 197 this.isValid = false; in MosaicJpeg() 203 public final boolean isValid; field in PanoramaActivity.MosaicJpeg 625 if (jpeg != null && jpeg.isValid) { in stopCapture() 849 } else if (!jpeg.isValid) { // Error when generating mosaic. in saveHighResMosaic()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
D | ver4_patricia_trie_node_writer.cpp | 174 const bool isValid = ForgettingCurveUtils::needsToKeep(&historicalInfo, mHeaderPolicy); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() local 175 if (!isValid) { in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() 181 *outNeedsToKeepPtNode = isValid; in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
|
D | ver4_patricia_trie_policy.cpp | 54 if (!ptNodeParams.isValid()) { in createAndGetAllChildDicNodes() 283 if (!prevWordsInfo->isValid()) { in addNgramEntry() 346 if (!prevWordsInfo->isValid()) { in removeNgramEntry()
|
D | ver4_dict_buffers.h | 48 AK_FORCE_INLINE bool isValid() const { in isValid() function 49 return mHeaderBuffer && mDictBuffer && mHeaderPolicy.isValid(); in isValid()
|
/packages/apps/Camera/src/com/android/camera/ |
D | PanoramaModule.java | 186 this.isValid = true; in MosaicJpeg() 193 this.isValid = false; in MosaicJpeg() 199 public final boolean isValid; field in PanoramaModule.MosaicJpeg 601 if (jpeg != null && jpeg.isValid) { in stopCapture() 812 } else if (!jpeg.isValid) { // Error when generating mosaic. in saveHighResMosaic()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/ |
D | bigram_entry.h | 64 bool isValid() const { in isValid() function 77 return mHistoricalInfo.isValid(); in hasHistoricalInfo()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/ |
D | bigram_entry.h | 73 bool isValid() const { in isValid() function 86 return mHistoricalInfo.isValid(); in hasHistoricalInfo()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionary.java | 62 final PrevWordsInfo prevWordsInfo, final String word, final boolean isValid, in addToDictionary() argument 69 final int frequency = isValid ? in addToDictionary()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | DataStatus.java | 60 if (isValid() && !hasTimestamp) return; in possibleUpdate() 83 public boolean isValid() { in isValid() method in DataStatus
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | DataStatus.java | 62 if (isValid() && !hasTimestamp) return; in possibleUpdate() 85 public boolean isValid() { in isValid() method in DataStatus
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | LanguageModelParam.java | 157 && !prevWordsInfo.isValid() && !isValidWord) { in createAndGetLanguageModelParamOfWord() 171 if (!prevWordsInfo.isValid()) { in createAndGetLanguageModelParamOfWord()
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
D | FmUtils.java | 77 boolean isValid = (station >= LOWEST_STATION && station <= HIGHEST_STATION); in isValidStation() 78 return isValid; in isValidStation()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapMasInstance.java | 151 … boolean isValid = mMapService.onConnect(mRemoteDevice, BluetoothMapMasInstance.this); in run() 153 if(isValid == false) { in run()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
D | trie_map.h | 44 Result(const uint64_t value, const bool isValid, const int nextLevelBitmapEntryIndex) in Result() 45 : mValue(value), mIsValid(isValid), in Result()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | ContentCache.java | 255 /*package*/ boolean isValid() { in isValid() method in ContentCache.CacheToken 485 if (!token.isValid()) { in putCursorImpl()
|