/packages/modules/NeuralNetworks/runtime/test/ |
D | TestWrapper.cpp | 39 ASSERT_TRUE(mModel.isValid()); in TEST_F() 41 ASSERT_TRUE(mModel.isValid()); in TEST_F() 43 ASSERT_TRUE(mModel.isValid()); in TEST_F() 47 ASSERT_TRUE(mModel.isValid()); in TEST_F() 52 ASSERT_FALSE(mModel.isValid()); in TEST_F() 54 ASSERT_FALSE(mModel.isValid()); in TEST_F() 58 ASSERT_TRUE(mModel.isValid()); in TEST_F() 60 ASSERT_TRUE(mModel.isValid()); in TEST_F() 62 ASSERT_TRUE(mModel.isValid()); in TEST_F() 66 ASSERT_FALSE(mModel.isValid()); in TEST_F()
|
D | TestCompliance.cpp | 47 EXPECT_TRUE(modelBuilder->isValid()); in testAvailableSinceVersion() 76 ASSERT_TRUE(model.isValid()); in TEST_F() 90 ASSERT_TRUE(model.isValid()); in TEST_F() 107 ASSERT_TRUE(model.isValid()); in TEST_F() 131 ASSERT_TRUE(memory.isValid()); in TEST_F() 142 ASSERT_TRUE(model.isValid()); in TEST_F() 225 ASSERT_TRUE(model.isValid()); in TEST_P()
|
D | TestMemoryInternal.cpp | 121 ASSERT_TRUE(weights.isValid()); in TEST_F() 140 ASSERT_TRUE(model.isValid()); in TEST_F() 159 ASSERT_TRUE(input.isValid()); in TEST_F() 176 ASSERT_TRUE(actual.isValid()); in TEST_F() 239 ASSERT_TRUE(model.isValid()); in TEST_F()
|
D | TestPartitioning.cpp | 681 using WrapperModel::isValid; 1597 ASSERT_TRUE(model.isValid()); in TEST_F() 1645 ASSERT_TRUE(modelB0.isValid()); in TEST_F() 1669 ASSERT_TRUE(modelB1.isValid()); in TEST_F() 1692 ASSERT_TRUE(model.isValid()); in TEST_F() 1732 ASSERT_TRUE(modelB0.isValid()); in TEST_F() 1752 ASSERT_TRUE(modelB1.isValid()); in TEST_F() 1775 ASSERT_TRUE(modelB2.isValid()); in TEST_F() 1799 ASSERT_TRUE(modelB3.isValid()); in TEST_F() 1822 ASSERT_TRUE(model.isValid()); in TEST_F() [all …]
|
/packages/services/Car/cpp/car_binder_lib/largeParcelable/tests/ |
D | MappedFileSharedMemoryTest.cpp | 41 ASSERT_FALSE(sm.isValid()); in TEST() 49 ASSERT_FALSE(sm.isValid()); in TEST() 56 ASSERT_FALSE(sm.isValid()); in TEST() 62 ASSERT_TRUE(mappedFile->isValid()); in testSharedMemoryMapRead() 71 ASSERT_TRUE(sm.isValid()); in TEST() 80 ASSERT_TRUE(sm.isValid()); in TEST() 89 ASSERT_TRUE(writeFile->isValid()); in testSharedMemoryMapWriteAndRead() 102 ASSERT_TRUE(readFile->isValid()); in testSharedMemoryMapWriteAndRead() 115 ASSERT_TRUE(sm.isValid()); in TEST() 124 ASSERT_TRUE(sm.isValid()); in TEST() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | OmtpVvmCarrierConfigHelper.java | 183 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/modules/Wifi/framework/tests/src/android/net/wifi/rtt/ |
D | ResponderLocationTest.java | 210 boolean valid = responderLocation.isValid(); in testIfLciOrLcrIsNull() 226 boolean valid = responderLocation.isValid(); in testIfLciOrLcrIsEmpty() 244 boolean valid = responderLocation.isValid(); in testIfLciShortBuffer() 262 boolean valid = responderLocation.isValid(); in testLciValidSubelement() 306 boolean valid = responderLocation.isValid(); in testLciInvalidElement() 326 boolean valid = responderLocation.isValid(); in testSkipLciSubElementUnusedOrUnknown() 346 boolean valid = responderLocation.isValid(); in testInvalidLciSubElementLengthTooSmall() 366 boolean valid = responderLocation.isValid(); in testInvalidLciSubElementLengthTooBig() 385 boolean isValid = responderLocation.isValid(); in testLciValidZBufferSEAfterLci() 393 assertTrue(isValid); in testLciValidZBufferSEAfterLci() [all …]
|
D | CivicLocationTest.java | 104 boolean valid = civicLocation.isValid(); in testCivicLocationNullCountryCode() 116 boolean valid = civicLocation.isValid(); in testCivicLocationCountryCodeTooShort() 128 boolean valid = civicLocation.isValid(); in testCivicLocationCountryCodeTooLong() 140 boolean valid = civicLocation.isValid(); in testCivicLocationNullBuffer() 152 boolean valid = civicLocation.isValid(); in testCivicLocationEmptyBuffer() 164 boolean valid = civicLocation.isValid(); in testCivicLocationValid()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimConverter.cpp | 102 if (!resultModel.isValid()) { in convertSubgraphFromHAL() 110 if (!resultModel.isValid()) { in convertSubgraphFromHAL() 122 if (!resultModel.isValid()) { in convertSubgraphFromHAL() 187 if (!resultModel.isValid()) { in convertSubgraphFromHAL() 214 if (!resultModel.isValid()) { in convertSubgraphFromHAL() 223 if (!resultModel.isValid()) { in convertSubgraphFromHAL() 235 if (!resultModel.isValid()) { in convertSubgraphFromHAL() 247 if (!resultModel.isValid()) { in convertSubgraphFromHAL() 276 bool isValid(const Subgraph& subgraph) { in isValid() function 355 bool isValid(const neuralnetworks::Model& model) { in isValid() function [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleRecipientEntry.java | 33 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/ |
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()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImagePropertiesTest.java | 129 Assert.assertTrue(properties.isValid()); in testParsePropertiesSimple() 160 Assert.assertTrue(properties.isValid()); in testParsePropertiesRich() 185 Assert.assertFalse(properties.isValid()); in testParseNoHandle() 211 Assert.assertFalse(properties.isValid()); in testParseNoVersion() 236 Assert.assertTrue(properties.isValid()); in testParseNoFriendlyName() 258 Assert.assertTrue(properties.isValid()); in testParseFixedVariantThumbnailFormat() 280 Assert.assertTrue(properties.isValid()); in testParseRangeVariantThumbnailFormat() 302 Assert.assertTrue(properties.isValid()); in testParseFixedRangeVariantThumbnailFormat() 327 Assert.assertFalse(properties.isValid()); in testParseNoThumbnailFormats() 348 Assert.assertFalse(properties.isValid()); in testParseNoFormats() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/workspace/ |
D | WorkspaceSpecs.kt | 132 if (workspaceSpec.isValid()) { 178 fun isValid(): Boolean { in isValid() method in WorkspaceSpec 194 startPadding.isValid() && endPadding.isValid() && gutter.isValid() && cellSize.isValid() in allSpecsAreValid() 221 fun isValid(): Boolean { in allSpecsAreValid() method
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ProxyInfoTest.java | 107 assertTrue(proxy1.isValid()); in testIsValid() 111 assertFalse(proxy2.isValid()); in testIsValid() 114 assertFalse(proxy3.isValid()); in testIsValid() 117 assertFalse(proxy4.isValid()); in testIsValid() 120 assertFalse(proxy5.isValid()); in testIsValid() 126 assertFalse(proxy6.isValid()); in testIsValid()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | NgramContext.java | 77 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/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 83 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/modules/NeuralNetworks/runtime/ |
D | CompilationBuilder.cpp | 286 if (!mPlan.isValid()) { in getPreferredMemoryAlignmentForInput() 308 if (!mPlan.isValid()) { in getPreferredMemoryPaddingForInput() 331 if (!mPlan.isValid()) { in getPreferredMemoryAlignmentForOutput() 354 if (!mPlan.isValid()) { in getPreferredMemoryPaddingForOutput() 375 if (!mPlan.isValid()) { in createExecution() 394 if (!mPlan.isValid()) { in createBurst() 410 if (!mPlan.isValid()) { in forEachStepRoleOfInput() 429 if (!mPlan.isValid()) { in forEachStepRoleOfOutput()
|
/packages/services/Car/cpp/evs/manager/aidl/src/ |
D | VirtualCamera.cpp | 96 if (!isValid()) { in forcePrimaryClient() 135 if (!isValid()) { in getCameraInfo() 156 if (!isValid()) { in getExtendedInfo() 174 if (!isValid()) { in getIntParameter() 192 if (!isValid()) { in getIntParameterRange() 211 if (!isValid()) { in getParameterList() 249 if (!isValid()) { in importExternalBuffers() 275 if (!isValid()) { in pauseVideoStream() 290 if (!isValid()) { in resumeVideoStream() 306 if (!isValid()) { in setExtendedInfo() [all …]
|
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/ |
D | BluetoothActivityEnergyInfoTest.java | 82 public void isValid() { in isValid() method in BluetoothActivityEnergyInfoTest 92 assertThat(info.isValid()).isEqualTo(true); in isValid() 96 assertThat(info.isValid()).isEqualTo(false); in isValid() 100 assertThat(info.isValid()).isEqualTo(false); in isValid() 104 assertThat(info.isValid()).isEqualTo(false); in isValid()
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | BpfNetworkStats.cpp | 63 if (!appUidStatsMap.isValid()) { in bpfGetUidStats() 105 if (!ifaceStatsMap.isValid()) { in bpfGetIfaceStats() 111 if (!ifaceIndexNameMap.isValid()) { in bpfGetIfaceStats() 190 if (!ifaceIndexNameMap.isValid()) { in parseBpfNetworkStatsDetail() 197 if (!configurationMap.isValid()) { in parseBpfNetworkStatsDetail() 210 if (!statsMap.isValid()) { in parseBpfNetworkStatsDetail() 267 if (!ifaceIndexNameMap.isValid()) { in parseBpfNetworkStatsDev() 274 if (!ifaceStatsMap.isValid()) { in parseBpfNetworkStatsDev()
|
/packages/services/Car/service/src/com/android/car/ |
D | VehicleStub.java | 78 if (stub.isValid()) { in newVehicleStub() 86 if (!stub.isValid()) { in newVehicleStub() 105 public abstract boolean isValid(); in isValid() method in VehicleStub
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipTransformation.java | 106 if (!isValid(transformation)) { in addTransformation() 119 if (!isValid(transformation)) { in removeTransformation() 133 private boolean isValid(int transformation) { in isValid() method in BipTransformation
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | TlvBufferUtilsTest.java | 65 TlvBufferUtils.isValid(tlv11.getArray(), 1, 1), in testTlvBuild() 68 TlvBufferUtils.isValid(tlv01.getArray(), 0, 1), in testTlvBuild() 236 TlvBufferUtils.isValid(tlv22.getArray(), 2, 2), in testTlvIterate() 239 TlvBufferUtils.isValid(tlv02.getArray(), 0, 2), in testTlvIterate() 322 TlvBufferUtils.isValid(array, 0, 1), equalTo(false)); in testTlvInvalidByteArray()
|
/packages/inputmethods/LatinIME/native/jni/src/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/modules/NeuralNetworks/common/ |
D | IndexedShapeWrapper.cpp | 37 NN_CHECK(isValid(*index)); in nextIndexInplace() 63 NN_CHECK(isValid(index)); in indexToFlatIndex() 88 bool IndexedShapeWrapper::isValid(const std::vector<uint32_t>& index) const { in isValid() function in android::nn::IndexedShapeWrapper
|