Home
last modified time | relevance | path

Searched refs:isValid (Results 1 – 25 of 113) sorted by relevance

12345

/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpVvmCarrierConfigHelper.java183 public boolean isValid() { in isValid() method in OmtpVvmCarrierConfigHelper
203 Assert.checkArgument(isValid()); in getString()
222 Assert.checkArgument(isValid()); in getCarrierVvmPackageNames()
251 if (!isValid()) { in isEnabledByDefault()
258 Assert.checkArgument(isValid()); in isCellularDataRequired()
263 Assert.checkArgument(isValid()); in isPrefetchEnabled()
268 Assert.checkArgument(isValid()); in getApplicationPort()
274 Assert.checkArgument(isValid()); in getDestinationNumber()
280 Assert.checkArgument(isValid()); in getSslPort()
296 Assert.checkArgument(isValid()); in getDisabledCapabilities()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleRecipientEntry.java33 final Uri photoThumbnailUri, final boolean isFirstLevel, final boolean isValid, in BugleRecipientEntry() argument
36 directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, lookupKey); in BugleRecipientEntry()
42 final long dataId, final String thumbnailUriAsString, final boolean isValid, in constructTopLevelEntry() argument
46 ? Uri.parse(thumbnailUriAsString) : null), true, isValid, lookupKey); in constructTopLevelEntry()
52 final long dataId, final String thumbnailUriAsString, final boolean isValid, in constructSecondLevelEntry() argument
56 ? Uri.parse(thumbnailUriAsString) : null), false, isValid, lookupKey); in constructSecondLevelEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_dict_buffers.h56 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()
Dver4_patricia_trie_node_writer.cpp183 const bool isValid = ForgettingCurveUtils::needsToKeep(&historicalInfo, mHeaderPolicy); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() local
184 if (!isValid) { in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
190 *outNeedsToKeepPtNode = isValid; in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp83 if (!prevWordProbabilityEntry.isValid()) { in getWordAttributes()
182 if (probabilityEntry.isValid()) { in exportAllNgramEntriesRelatedToWordInner()
221 const int wordId, const bool isValid, const HistoricalInfo historicalInfo, in updateAllEntriesOnInputWord() argument
229 originalUnigramProbabilityEntry, isValid, historicalInfo, headerPolicy); in updateAllEntriesOnInputWord()
245 originalNgramProbabilityEntry, isValid, historicalInfo, headerPolicy); in updateAllEntriesOnInputWord()
251 if (!originalNgramProbabilityEntry.isValid()) { in updateAllEntriesOnInputWord()
262 const ProbabilityEntry &originalProbabilityEntry, const bool isValid, in createUpdatedEntryFrom() argument
267 if (originalProbabilityEntry.isValid()) { in createUpdatedEntryFrom()
341 if (prevWordCount > 0 && probabilityEntry.isValid() in updateAllProbabilityEntriesForGCInner()
349 if (mHasHistoricalInfo && probabilityEntry.isValid()) { in updateAllProbabilityEntriesForGCInner()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java77 public boolean isValid() { in isValid() method in NgramContext.WordInfo
143 if (mPrevWordsInfo[i] != null && mPrevWordsInfo[i].isValid()) { in extractPrevWordsContext()
166 if (mPrevWordsInfo[i] != null && mPrevWordsInfo[i].isValid()) { in extractPrevWordsContextArray()
182 public boolean isValid() { in isValid() method in NgramContext
183 return mPrevWordsCount > 0 && mPrevWordsInfo[0].isValid(); in isValid()
212 if (wordInfo == null || !wordInfo.isValid()) { in outputToArray()
280 if (!wordInfo.isValid()) { in toString()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java536 if (testcase.config.isValid() != testcase.isValid) { in testInitialConfigurations()
544 boolean isValid; field in IpClientTest.InitialConfigurationTestCase
548 descr, config, validString(isValid), validString(!isValid)); in errorMessage()
550 static String validString(boolean isValid) { in validString() argument
551 return isValid ? VALID : INVALID; in validString()
566 String descr, boolean isValid, InitialConfiguration config) { in confTestCase() argument
569 testcase.isValid = isValid; in confTestCase()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java129 boolean isValid = isDefaultLocaleValid(); in updateState()
130 mDefaultLanguagePreference.setEnabled(isValid); in updateState()
134 mSpeechRatePreference.setEnabled(isValid); in updateState()
135 mVoicePitchPreference.setEnabled(isValid); in updateState()
136 mResetPreference.setEnabled(isValid); in updateState()
137 if (!isValid && mDefaultLanguagePreference.getEntries() != null) { in updateState()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp131 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/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipTransformation.java106 if (!isValid(transformation)) { in addTransformation()
119 if (!isValid(transformation)) { in removeTransformation()
133 private boolean isValid(int transformation) { in isValid() method in BipTransformation
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraPreview.java36 boolean isValid(); in isValid() method
140 public boolean isValid() { in isValid() method in CameraPreview
141 return mHost.isValid(); in isValid()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DPhoneNumberTestService.java98 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/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraPreview.java39 boolean isValid(); in isValid() method
164 public boolean isValid() { in isValid() method in CameraPreview
165 return host.isValid(); in isValid()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dlanguage_model_dict_content_test.cpp44 EXPECT_FALSE(languageModelDictContent.getProbabilityEntry(wordId).isValid()); in TEST()
47 EXPECT_TRUE(languageModelDictContent.getProbabilityEntry(wordId).isValid()); in TEST()
67 EXPECT_FALSE(languageModelDictContent.getProbabilityEntry(wordId).isValid()); in TEST()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java138 if (hasFocus && mScope.isValid() && v.getParent() == mScope.view) { in onFocusChange()
145 if (!mScope.isValid() || mScope.adapter.getItemCount() == 0) { in focusDirectoryList()
193 if (mScope.isValid()) { in clearFocus()
205 if (!mScope.isValid()) { in focusDocument()
690 boolean isValid() { in isValid() method in FocusManager.ContentScope
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_reading_helper.cpp50 if (!ptNodeParams.isValid()) { in traverseAllPtNodesInPostorderDepthFirstManner()
118 if (!ptNodeParams.isValid()) { in traverseAllPtNodesInPtNodeArrayLevelPreorderDepthFirstManner()
194 if (!ptNodeParams.isValid() || totalCodePointCount > maxCodePointCount) { in getCodePointsAndReturnCodePointCount()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientAutoCompleteView.java154 if (entry.isValid()) { in doInBackground()
262 if (entry != null && entry.isValid() && entry.getDestination() != null && in getRecipientParticipantDataForConversationCreation()
282 if (entry != null && entry.isValid() && entry.getDestination() != null) { in getSelectedDestinations()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java879 boolean isValid = true; in setRetransmissionTimeoutsMillis()
883 isValid = false; in setRetransmissionTimeoutsMillis()
887 isValid = false; in setRetransmissionTimeoutsMillis()
890 if (!isValid) throw new IllegalArgumentException("Invalid retransmission timeout list"); in setRetransmissionTimeoutsMillis()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dbigram_entry.h73 bool isValid() const { in isValid() function
86 return mHistoricalInfo.isValid(); in hasHistoricalInfo()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp57 if (!ptNodeParams.isValid()) { in createAndGetAllChildDicNodes()
147 if (!probabilityEntry.isValid()) { in iterateNgramEntries()
283 if (!ngramContext->isValid()) { in addNgramEntry()
345 if (!ngramContext->isValid()) { in removeNgramEntry()
Dver4_dict_buffers.h47 AK_FORCE_INLINE bool isValid() const { in isValid() function
48 return mHeaderBuffer && mDictBuffer && mHeaderPolicy.isValid(); in isValid()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java1004 if (!firstProgram.isValid()) { in addPlaceholderPrograms()
1020 if (!lastProgram.isValid()) { in addPlaceholderPrograms()
1054 if (!it.next().isValid()) { in removePlaceholderPrograms()
1153 if (program.isValid()) { in getLastValidProgram()
1352 boolean isValid = Math.abs(currentPositionMs - mCurrentPositionMs) < REQUEST_TIMEOUT_MS; in onCurrentPositionChanged()
1354 if (isValid || isTimeout) { in onCurrentPositionChanged()
/packages/apps/Messaging/src/com/android/messaging/util/
DEmailAddress.java38 return new EmailAddress(emailText).isValid(); in isValidEmail()
241 public boolean isValid() { in isValid() method in EmailAddress
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionary.java100 @Nonnull final NgramContext ngramContext, final String word, final boolean isValid, in addToDictionary() argument
106 isValid, 1 /* count */, timestamp); in addToDictionary()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java513 boolean isValid = mMapService.onConnect(device, BluetoothMapMasInstance.this); in onConnect()
515 if (isValid) { in onConnect()
521 return isValid; in onConnect()

12345