Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 25 of 229) sorted by relevance

12345678910

/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp57 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 …]
Dslang_rs_special_func.cpp58 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()
Dslang_rs_special_kernel_param.cpp113 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()
Dslang_rs_context.cpp227 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/av/services/audiopolicy/fuzzer/
DREADME.md27 | `AudioFormat` | 77 values of type `audio_format_t` | Value chosen from valid values by obtaining …
28 | `AudioChannelMask` | 83 values of type `audio_channel_mask_t` | Value chosen from valid values by…
29 | `AudioOutputFlag` | 16 values of type `audio_output_flags_t` | Value chosen from valid values by …
30 …`AUDIO_DEVICE_IN_AUX_DIGITAL`, `AUDIO_DEVICE_IN_STUB` | Value chosen from valid values by obtainin…
31 | `MixType` | `MIX_TYPE_PLAYERS`, `MIX_TYPE_RECORDERS` | Value chosen from valid values by obtain…
32 …OUTE_FLAG_LOOP_BACK_AND_RENDER`, `MIX_ROUTE_FLAG_ALL` | Value chosen from valid values by obtainin…
34 …MUNICATION_DELAYED`, `AUDIO_USAGE_NOTIFICATION_EVENT` | Value chosen from valid values by obtainin…
35 …ONTENT_TYPE_MOVIE`, `AUDIO_CONTENT_TYPE_SONIFICATION` | Value chosen from valid values by obtainin…
36 | `AudioSource` | 14 values of type `audio_source_t` | Value chosen from valid values by obtaining …
37 | `AudioFlagMask` | 15 values of type `audio_flags_mask_t` | Value chosen from valid values by obta…
[all …]
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp455 bool valid = true; in Parse() local
463 valid = false; in Parse()
472 valid = false; in Parse()
475 if (valid) { in Parse()
480 if (!valid) { in Parse()
536 bool valid = true; in AbiGroupTagHandler() local
540 valid = false; in AbiGroupTagHandler()
553 return valid; in AbiGroupTagHandler()
559 valid = false; in AbiGroupTagHandler()
569 valid = false; in AbiGroupTagHandler()
[all …]
DConfigurationParser.internal.h56 bool valid = orders.size() == group.size(); in IsGroupValid() local
57 if (!valid) { in IsGroupValid()
61 return valid; in IsGroupValid()
162 bool valid = IsGroupValid(abi_groups, "abi-groups", diag); in ValidateVersionCodeOrdering() local
163 valid &= IsGroupValid(screen_density_groups, "screen-density-groups", diag); in ValidateVersionCodeOrdering()
164 valid &= IsGroupValid(locale_groups, "locale-groups", diag); in ValidateVersionCodeOrdering()
165 valid &= IsGroupValid(device_feature_groups, "device-feature-groups", diag); in ValidateVersionCodeOrdering()
166 valid &= IsGroupValid(gl_texture_groups, "gl-texture-groups", diag); in ValidateVersionCodeOrdering()
167 return valid; in ValidateVersionCodeOrdering()
/frameworks/base/libs/androidfw/
DLocale.cpp75 bool valid = false; in InitFromFilterString() local
80 valid = true; in InitFromFilterString()
84 if (!valid || num_tags == 1) { in InitFromFilterString()
85 return valid; in InitFromFilterString()
98 valid = false; in InitFromFilterString()
101 if (!valid || num_tags == 2) { in InitFromFilterString()
102 return valid; in InitFromFilterString()
114 valid = false; in InitFromFilterString()
117 if (!valid || num_tags == 3) { in InitFromFilterString()
118 return valid; in InitFromFilterString()
[all …]
/frameworks/native/libs/binder/
DDebug.cpp100 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/base/core/java/android/hardware/display/
DDisplayViewport.java51 public boolean valid; field in DisplayViewport
85 valid = viewport.valid; in copyFrom()
118 return valid == other.valid in equals()
135 result += prime * result + (valid ? 1 : 0); in hashCode()
155 + ", valid=" + valid in toString()
/frameworks/av/media/libaudioclient/fuzzer/
DREADME.md38 | `streamType` | 15 values of type `audio_stream_type_t` | Value chosen from valid values by obtain…
39 | `format` | 77 values of type `audio_format_t` | Value chosen from valid values by obtaining index…
40 | `channelMask` | 83 values of type `audio_channel_mask_t` | Value chosen from valid values by obta…
41 | `usage` | 22 values of type `audio_usage_t` | Value chosen from valid values by obtaining index f…
42 | `contentType` | 5 values of type `audio_content_type_t` | Value chosen from valid values by obtai…
43 | `inputSource` | 14 values of type `audio_source_t` | Value chosen from valid values by obtaining …
44 | `inputFlags` | 9 values of type `audio_input_flags_t` | Value chosen from valid values by obtaini…
45 | `outputFlags` | 16 values of type `audio_output_flags_t` | Value chosen from valid values by obta…
46 | `gainMode` | 3 values of type `audio_gain_mode_t` | Value chosen from valid values by obtaining i…
47 | `device` | 66 values of type `audio_devices_t` | Value chosen from valid values by obtaining inde…
/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp45 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/av/media/module/codecs/mp3dec/test/
Dmp3reader.cpp242 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/java/com/android/server/pm/verify/domain/
DDomainVerificationCollector.java140 boolean checkAutoVerify, boolean valid) {
142 collectDomains(pkg, checkAutoVerify, valid, domains, ARRAY_SET_COLLECTOR);
148 boolean checkAutoVerify, boolean valid, @Nullable InitialValue initialValue,
154 return collectDomainsInternal(pkg, checkAutoVerify, valid, initialValue,
157 return collectDomainsLegacy(pkg, checkAutoVerify, valid, initialValue, domainCollector);
166 @NonNull AndroidPackage pkg, boolean checkAutoVerify, boolean valid,
213 if (isValidHost(host) == valid) {
237 @NonNull AndroidPackage pkg, boolean checkAutoVerify, boolean valid,
279 if (isValidHost(host) == valid) {
/frameworks/av/services/oboeservice/fuzzer/
DREADME.md28 …AUDIO_FORMAT_PCM_I24_PACKED`, `AAUDIO_FORMAT_PCM_I32` | Value chosen from valid values by obtainin…
35 …| `AAUDIO_DIRECTION_OUTPUT`, `AAUDIO_DIRECTION_INPUT` | Value chosen from valid values by obtainin…
36 …SHARING_MODE_EXCLUSIVE`, `AAUDIO_SHARING_MODE_SHARED` | Value chosen from valid values by obtainin…
37 …E_VEHICLE_STATUS`, `AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT` | Value chosen from valid values by obtainin…
38 …NTENT_TYPE_MOVIE`, `AAUDIO_CONTENT_TYPE_SONIFICATION` | Value chosen from valid values by obtainin…
39 …UNPROCESSED`, `AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE` | Value chosen from valid values by obtainin…
43 …AUDIO_FORMAT_PCM_I24_PACKED`, `AAUDIO_FORMAT_PCM_I32` | Value chosen from valid values by obtainin…
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DFullBackupUtilsTest.java109 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/core/java/android/service/autofill/
DRequiredValidators.java51 final boolean valid = validator.isValid(finder); in isValid()
52 if (sDebug) Log.d(TAG, "isValid(" + validator + "): " + valid); in isValid()
53 if (!valid) return false; in isValid()
DOptionalValidators.java51 final boolean valid = validator.isValid(finder); in isValid()
52 if (sDebug) Log.d(TAG, "isValid(" + validator + "): " + valid); in isValid()
53 if (valid) return true; in isValid()
DRegexValidator.java66 final boolean valid = mRegex.matcher(value).matches(); in isValid()
67 if (sDebug) Log.d(TAG, "isValid(): " + valid); in isValid()
68 return valid; in isValid()
DLuhnChecksumValidator.java102 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/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java132 boolean valid = false; in onCommand()
171 valid = true; in onCommand()
185 valid = true; in onCommand()
189 valid = true; in onCommand()
198 valid = true; in onCommand()
206 valid = true; in onCommand()
218 valid = true; in onCommand()
226 valid = true; in onCommand()
234 valid = true; in onCommand()
244 valid = true; in onCommand()
[all …]
/frameworks/native/services/surfaceflinger/Utils/
DOnceFuture.h35 if (!mFuture.valid()) { in callOnce()
42 if (mFuture.valid()) { in wait()
/frameworks/av/media/codec2/vndk/
DC2Fence.cpp56 virtual bool valid() const = 0;
113 bool C2Fence::valid() const { in valid() function in C2Fence
115 return mImpl->valid(); in valid()
157 virtual bool valid() const { in valid() function in _C2FenceFactory::SurfaceFenceImpl
211 if (p->valid()) { in CreateSurfaceFence()
286 virtual bool valid() const { in valid() function in _C2FenceFactory::SyncFenceImpl
481 } else if (validate && (!p->valid() || p->ready())) { in CreateSyncFence()
700 virtual bool valid() const { in valid() function in _C2FenceFactory::PipeFenceImpl
807 if (p && !p->valid()) { in CreateFromNativeHandle()
/frameworks/native/services/inputflinger/reader/mapper/
DCapturedTouchpadEventConverter.cpp58 if (orientationInfo.valid) { in CapturedTouchpadEventConverter()
69 if (pressureInfo.valid && pressureInfo.maxValue > 0) { in CapturedTouchpadEventConverter()
76 mHasTouchMajor = touchMajorInfo.valid; in CapturedTouchpadEventConverter()
77 mHasToolMajor = toolMajorInfo.valid; in CapturedTouchpadEventConverter()
118 if (pressureInfo.valid) { in populateMotionRanges()
124 if (orientationInfo.valid && (orientationInfo.maxValue > 0 || orientationInfo.minValue < 0)) { in populateMotionRanges()
138 if (info.valid) { in tryAddRawMotionRange()
/frameworks/av/media/libstagefright/
DVideoRenderQualityTracker.cpp355 mFreezeEvent.valid = false; in getAndResetFreezeEvent()
361 mJudderEvent.valid = false; in getAndResetJudderEvent()
406 mFreezeEvent.valid = false; in resetForDiscontinuity()
407 mJudderEvent.valid = false; in resetForDiscontinuity()
590 if (e.valid == false) { in processFreeze()
592 e.valid = true; in processFreeze()
627 if (lastFreezeEndTimeUs == -1 || !e.valid) { in maybeCaptureFreezeEvent()
639 e.valid = false; in maybeCaptureFreezeEvent()
696 if (!e.valid) { in processJudder()
698 e.valid = true; in processJudder()
[all …]

12345678910