/frameworks/base/wifi/tests/src/android/net/wifi/rtt/ |
D | ResponderLocationTest.java | 209 boolean valid = responderLocation.isValid(); in testIfLciOrLcrIsNull() 213 assertFalse(valid); in testIfLciOrLcrIsNull() 225 boolean valid = responderLocation.isValid(); in testIfLciOrLcrIsEmpty() 229 assertFalse(valid); in testIfLciOrLcrIsEmpty() 243 boolean valid = responderLocation.isValid(); in testIfLciShortBuffer() 247 assertFalse(valid); in testIfLciShortBuffer() 261 boolean valid = responderLocation.isValid(); in testLciValidSubelement() 266 assertTrue(valid); in testLciValidSubelement() 305 boolean valid = responderLocation.isValid(); in testLciInvalidElement() 309 assertFalse(valid); in testLciInvalidElement() [all …]
|
D | CivicLocationTest.java | 104 boolean valid = civicLocation.isValid(); in testCivicLocationNullCountryCode() 106 assertFalse(valid); in testCivicLocationNullCountryCode() 116 boolean valid = civicLocation.isValid(); in testCivicLocationCountryCodeTooShort() 118 assertFalse(valid); in testCivicLocationCountryCodeTooShort() 128 boolean valid = civicLocation.isValid(); in testCivicLocationCountryCodeTooLong() 130 assertFalse(valid); in testCivicLocationCountryCodeTooLong() 140 boolean valid = civicLocation.isValid(); in testCivicLocationNullBuffer() 142 assertFalse(valid); in testCivicLocationNullBuffer() 152 boolean valid = civicLocation.isValid(); in testCivicLocationEmptyBuffer() 154 assertFalse(valid); in testCivicLocationEmptyBuffer() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_export_foreach.cpp | 57 bool valid = true; in validateAndConstructParams() local 77 valid &= validateAndConstructKernelParams(Context, FD); in validateAndConstructParams() 79 valid &= validateAndConstructOldStyleParams(Context, FD); in validateAndConstructParams() 82 valid &= setSignatureMetadata(Context, FD); in validateAndConstructParams() 83 return valid; in validateAndConstructParams() 92 bool valid = true; in validateAndConstructOldStyleParams() local 101 valid = false; in validateAndConstructOldStyleParams() 107 valid &= processSpecialParameters(Context, FD, &IndexOfFirstSpecialParameter); in validateAndConstructOldStyleParams() 122 valid = false; in validateAndConstructOldStyleParams() 136 valid = false; in validateAndConstructOldStyleParams() [all …]
|
D | slang_rs_special_func.cpp | 58 bool valid = true; in validateSpecialFuncDecl() local 72 valid = false; in validateSpecialFuncDecl() 81 valid = false; in validateSpecialFuncDecl() 89 valid = false; in validateSpecialFuncDecl() 97 valid = false; in validateSpecialFuncDecl() 103 return valid; in validateSpecialFuncDecl()
|
D | slang_rs_special_kernel_param.cpp | 113 bool valid = true; in processSpecialKernelParameters() local 147 valid = false; in processSpecialKernelParameters() 162 valid = false; in processSpecialKernelParameters() 174 valid = false; in processSpecialKernelParameters() 186 valid = false; in processSpecialKernelParameters() 199 valid = false; in processSpecialKernelParameters() 214 valid = false; in processSpecialKernelParameters() 231 return valid; in processSpecialKernelParameters()
|
D | slang_rs_context.cpp | 227 bool valid = true; in processExports() local 254 valid = false; in processExports() 257 if (valid && ShouldExportVariable && isSyntheticName(VD->getName())) in processExports() 259 if (valid && ShouldExportVariable && !processExportVar(VD)) { in processExports() 260 valid = false; in processExports() 269 valid = false; in processExports() 281 if (valid && mExportForEach[0] == nullptr) { in processExports() 297 valid = false; in processExports() 301 return valid; in processExports() 313 bool valid = true; in processReducePragmas() local [all …]
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.cpp | 459 bool valid = true; in Parse() local 466 valid = false; in Parse() 475 valid = false; in Parse() 478 if (valid) { in Parse() 483 if (!valid) { in Parse() 539 bool valid = true; in AbiGroupTagHandler() local 543 valid = false; in AbiGroupTagHandler() 556 return valid; in AbiGroupTagHandler() 562 valid = false; in AbiGroupTagHandler() 572 valid = false; in AbiGroupTagHandler() [all …]
|
D | ConfigurationParser.internal.h | 56 bool valid = orders.size() == group.size(); in IsGroupValid() local 57 if (!valid) { in IsGroupValid() 60 return valid; in IsGroupValid() 160 bool valid = IsGroupValid(abi_groups, "abi-groups", diag); in ValidateVersionCodeOrdering() local 161 valid &= IsGroupValid(screen_density_groups, "screen-density-groups", diag); in ValidateVersionCodeOrdering() 162 valid &= IsGroupValid(locale_groups, "locale-groups", diag); in ValidateVersionCodeOrdering() 163 valid &= IsGroupValid(device_feature_groups, "device-feature-groups", diag); in ValidateVersionCodeOrdering() 164 valid &= IsGroupValid(gl_texture_groups, "gl-texture-groups", diag); in ValidateVersionCodeOrdering() 165 return valid; in ValidateVersionCodeOrdering()
|
/frameworks/base/startop/iorap/tests/src/com/google/android/startop/iorap/ |
D | ParcelablesTest.kt | 100 assertThat(inputData.valid).isEqualTo(inputData.valid) in <lambda>() 101 assertThat(inputData.valid).isEqualTo(inputData.validCopy) in <lambda>() 102 assertThat(inputData.valid).isNotEqualTo(inputData.validOther) in <lambda>() 119 assertParcels(inputData.valid, inputData) in <lambda>() 124 data class InputData<T : Parcelable>(val valid: T, val validCopy: T, val validOther: T) { in <lambda>() constant in com.google.android.startop.iorap.ParcelablesTest.InputData 125 val kls = valid.javaClass in <lambda>() 127 assertThat(valid).isNotSameAs(validCopy) in <lambda>() 129 assertThat(validCopy.javaClass).isEqualTo(valid.javaClass) in <lambda>() 130 assertThat(validOther.javaClass).isEqualTo(valid.javaClass) in <lambda>()
|
/frameworks/base/libs/androidfw/ |
D | Locale.cpp | 82 bool valid = false; in InitFromFilterString() local 87 valid = true; in InitFromFilterString() 91 if (!valid || num_tags == 1) { in InitFromFilterString() 92 return valid; in InitFromFilterString() 105 valid = false; in InitFromFilterString() 108 if (!valid || num_tags == 2) { in InitFromFilterString() 109 return valid; in InitFromFilterString() 121 valid = false; in InitFromFilterString() 124 if (!valid || num_tags == 3) { in InitFromFilterString() 125 return valid; in InitFromFilterString() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayViewport.java | 50 public boolean valid; field in DisplayViewport 81 valid = viewport.valid; in copyFrom() 113 return valid == other.valid in equals() 129 result += prime * result + (valid ? 1 : 0); in hashCode() 146 + ", valid=" + valid in toString()
|
/frameworks/native/libs/binder/ |
D | Debug.cpp | 100 bool valid; in typetostring() local 104 valid = true; in typetostring() 107 while (valid && i<3) { in typetostring() 109 if (!zero) valid = false; in typetostring() 117 if (zero) valid = false; in typetostring() 119 valid = isident(c[3]) ? true : false; in typetostring() 122 while (valid && i<3) { in typetostring() 124 if (!zero) valid = false; in typetostring() 127 if (!isident(c[i])) valid = false; in typetostring() 132 if( valid && (!fullContext || c[0] != '0' || c[1] != 'x') ) { in typetostring()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.cpp | 242 bool valid = false; in resync() local 309 valid = true; in resync() 315 valid = false; in resync() 322 valid = false; in resync() 328 valid = false; in resync() 335 if (valid) { in resync() 346 } while (!valid); in resync() 348 return valid; in resync()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_lights_LightsService.cpp | 45 bool valid = true; in validate() local 49 valid = false; in validate() 56 valid = false; in validate() 63 valid = false; in validate() 69 valid = false; in validate() 72 return valid; in validate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | FullBackupUtilsTest.java | 109 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue(); in routeSocketDataToOutput_emptyInput_throwsEOFException() 130 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue(); in routeSocketDataToOutput_incompleteChunkSizeInput_throwsEOFException() 145 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue(); in routeSocketDataToOutput_validEmptyInput_doesNotWriteAnything() 167 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue(); in routeSocketDataToOutput_notEnoughData_throwsEOFException() 187 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue(); in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly() 207 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue(); in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly() 232 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue(); in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly() 257 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue(); in routeSocketDataToOutput_twoLargeChunks_writesOutputCorrectly()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsService.java | 131 boolean valid = false; in onCommand() 170 valid = true; in onCommand() 184 valid = true; in onCommand() 188 valid = true; in onCommand() 197 valid = true; in onCommand() 205 valid = true; in onCommand() 217 valid = true; in onCommand() 225 valid = true; in onCommand() 233 valid = true; in onCommand() 243 valid = true; in onCommand() [all …]
|
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | TestableNetworkCallback.kt | 212 valid: (CallbackEntry) -> Boolean in expectCallbackThat() 213 ) = pollForNextCallback(timeoutMs).also { assertTrue(valid(it), "Unexpected callback : $it") } in expectCallbackThat() 218 valid: (NetworkCapabilities) -> Boolean in expectCapabilitiesThat() 221 assertTrue(valid(it.caps), "Capabilities don't match expectations ${it.caps}") in expectCapabilitiesThat() 228 valid: (LinkProperties) -> Boolean in expectLinkPropertiesThat() 231 assertTrue(valid(it.lp), "LinkProperties don't match expectations ${it.lp}") in expectLinkPropertiesThat() 362 valid: (LinkProperties) -> Boolean in expectLinkPropertiesThat() 363 ) = expectLinkPropertiesThat(n.network, tmt, valid) in expectLinkPropertiesThat() 369 valid: (NetworkCapabilities) -> Boolean in expectLinkPropertiesThat() 370 ) = expectCapabilitiesThat(n.network, tmt, valid) in expectLinkPropertiesThat()
|
/frameworks/base/core/java/android/service/autofill/ |
D | OptionalValidators.java | 49 final boolean valid = validator.isValid(finder); in isValid() 50 if (sDebug) Log.d(TAG, "isValid(" + validator + "): " + valid); in isValid() 51 if (valid) return true; in isValid()
|
D | RequiredValidators.java | 49 final boolean valid = validator.isValid(finder); in isValid() 50 if (sDebug) Log.d(TAG, "isValid(" + validator + "): " + valid); in isValid() 51 if (!valid) return false; in isValid()
|
D | RegexValidator.java | 67 final boolean valid = mRegex.matcher(value).matches(); in isValid() 68 if (sDebug) Log.d(TAG, "isValid(): " + valid); in isValid() 69 return valid; in isValid()
|
D | LuhnChecksumValidator.java | 102 boolean valid = isLuhnChecksumValid(number); in isValid() 103 if (sDebug) Log.d(TAG, "isValid(" + number.length() + " chars): " + valid); in isValid() 104 return valid; in isValid()
|
/frameworks/base/tests/net/common/java/android/net/util/ |
D | SocketUtilsTest.kt | 83 assertTrue(fd.valid()) in testCloseSocket() 85 assertFalse(fd.valid()) in testCloseSocket() 88 assertFalse(fd.valid()) in testCloseSocket()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 92 bool valid = false; in Resync() local 163 valid = true; in Resync() 167 valid = false; in Resync() 176 valid = false; in Resync() 183 valid = false; in Resync() 192 if (valid) { in Resync() 205 } while (!valid); in Resync() 207 return valid; in Resync()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ConditionProviders.java | 209 final ArrayMap<Uri, Condition> valid = new ArrayMap<Uri, Condition>(N); in removeDuplicateConditions() local 212 if (valid.containsKey(id)) { in removeDuplicateConditions() 216 valid.put(id, conditions[i]); in removeDuplicateConditions() 218 if (valid.size() == 0) return null; in removeDuplicateConditions() 219 if (valid.size() == N) return conditions; in removeDuplicateConditions() 220 final Condition[] rt = new Condition[valid.size()]; in removeDuplicateConditions() 222 rt[i] = valid.valueAt(i); in removeDuplicateConditions()
|
/frameworks/native/services/displayservice/ |
D | DisplayEventReceiver.cpp | 64 if (!valid()) { in detach() 71 bool DisplayEventReceiver::AttachedEvent::valid() const { in valid() function in android::frameworks::displayservice::V1_0::implementation::DisplayEventReceiver::AttachedEvent 139 return mAttached->valid() ? Status::SUCCESS : Status::UNKNOWN; in init()
|