Searched refs:valid (Results 1 - 25 of 63) sorted by relevance

123

/frameworks/base/core/java/android/hardware/display/
H A DDisplayViewport.java32 // True if this viewport is valid.
33 public boolean valid; field in class:DisplayViewport
56 valid = viewport.valid;
68 return "DisplayViewport{valid=" + valid
/frameworks/compile/slang/
H A Dslang_rs_special_func.cpp58 bool valid = true; local
72 valid = false;
81 valid = false;
89 valid = false;
97 valid = false;
103 return valid;
H A Dslang_rs_export_foreach.cpp57 bool valid = true; local
77 valid &= validateAndConstructKernelParams(Context, FD);
79 valid &= validateAndConstructOldStyleParams(Context, FD);
82 valid &= setSignatureMetadata(Context, FD);
83 return valid;
92 bool valid = true; local
101 valid = false;
107 valid &= processSpecialParameters(Context, FD, &IndexOfFirstSpecialParameter);
122 valid = false;
136 valid
167 bool valid = true; local
271 bool valid = true; local
[all...]
H A Dslang_rs_special_kernel_param.cpp113 bool valid = true; local
147 valid = false;
162 valid = false;
174 valid = false;
186 valid = false;
199 valid = false;
214 valid = false;
231 return valid;
H A Dslang_rs_context.cpp226 bool valid = true; local
253 valid = false;
256 if (valid && ShouldExportVariable && isSyntheticName(VD->getName()))
258 if (valid && ShouldExportVariable && !processExportVar(VD)) {
259 valid = false;
268 valid = false;
280 if (valid && mExportForEach[0] == nullptr) {
296 valid = false;
300 return valid;
312 bool valid local
[all...]
/frameworks/base/services/core/java/com/android/server/updates/
H A DTzDataInstallReceiver.java48 boolean valid = installer.install(content);
49 Slog.i(TAG, "Timezone data install valid for this device: " + valid);
50 // Even if !valid, we call super.install(). Only in the event of an exception should we
/frameworks/base/tools/aapt2/
H A DLocale.cpp79 bool valid = false; local
84 valid = true;
88 if (!valid || numTags == 1) {
89 return valid;
92 // At this point, valid == true && numTags > 1.
102 valid = false;
105 if (!valid || numTags == 2) {
106 return valid;
109 // At this point, valid == true && numTags > 1.
117 valid
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3reader.cpp203 // Resync to next valid MP3 frame in the file.
218 // out, even if there _were_ 10 bytes of valid mp3 audio data...
242 bool valid = false; local
304 // We found what looks like a valid frame,
309 valid = true;
315 valid = false;
322 valid = false;
328 valid = false;
335 if (valid) {
346 } while (!valid);
[all...]
/frameworks/av/include/common_time/
H A Dcc_helper.h48 status_t isCommonTimeValid(bool* valid, uint32_t* timelineID);
H A DICommonClock.h72 virtual status_t isCommonTimeValid(bool* valid, uint32_t* timelineID) = 0;
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapFactoryTest.java40 assertTrue("Got invalid FileDescriptor", fd.valid());
/frameworks/av/media/common_time/
H A Dcc_helper.cpp114 CCHELPER_METHOD(isCommonTimeValid(bool* valid, uint32_t* timelineID),
115 isCommonTimeValid(valid, timelineID))
H A DICommonClock.cpp54 virtual status_t isCommonTimeValid(bool* valid, uint32_t* timelineID) { argument
63 *valid = reply.readInt32();
244 bool valid; local
246 status_t status = isCommonTimeValid(&valid, &timelineID);
249 reply->writeInt32(valid);
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkTest.java45 assertFalse(fd.valid());
60 assertTrue(fis.getFD().valid());
84 assertTrue(mLocalClient.getFileDescriptor().valid());
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java70 boolean valid = false;
108 valid = true;
114 valid = true;
125 valid = true;
133 valid = false;
136 if (valid) {
/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java173 final ArrayMap<Uri, Condition> valid = new ArrayMap<Uri, Condition>(N);
176 if (valid.containsKey(id)) {
180 valid.put(id, conditions[i]);
182 if (valid.size() == 0) return null;
183 if (valid.size() == N) return conditions;
184 final Condition[] rt = new Condition[valid.size()];
186 rt[i] = valid.valueAt(i);
/frameworks/av/media/libstagefright/
H A DMP3Extractor.cpp64 // out, even if there _were_ 10 bytes of valid mp3 audio data...
94 bool valid = false; local
160 // We found what looks like a valid frame,
165 valid = true;
169 valid = false;
178 valid = false;
185 valid = false;
194 if (valid) {
201 ALOGV("no dice, no valid sequence of frames found.");
207 } while (!valid);
[all...]
/frameworks/base/libs/common_time/
H A Dcommon_clock_service.cpp41 status_t CommonClockService::isCommonTimeValid(bool* valid, argument
43 return mTimeServer.isCommonTimeValid(valid, timelineID);
H A Dcommon_clock_service.h34 virtual status_t isCommonTimeValid(bool* valid, uint32_t *timelineID);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.h70 bool valid() const { return mPixelStorageType != PixelStorageType::Invalid; } function in class:android::Bitmap
/frameworks/rs/api/
H A Drs_object_info.spec159 points to an actual valid object; it only checks for null.
305 Returns the Allocation for a given pointer. The pointer should point within a valid
306 allocation. The results are undefined if the pointer is not from a valid Allocation.
/frameworks/base/core/java/android/widget/
H A DDatePicker.java245 * Sets the callback that indicates the current date is valid.
517 protected void onValidationChanged(boolean valid) { argument
519 mValidationCallback.onValidationChanged(valid);
643 void onValidationChanged(boolean valid); argument
/frameworks/base/services/core/java/com/android/server/
H A DPinnerService.java106 if(fd.valid()) {
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java223 public void onValidationChanged(boolean valid) {
226 positive.setEnabled(valid);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp218 bool valid = false; local
223 valid = true;
227 if (!valid || numTags == 1) {
228 return valid;
231 // At this point, valid == true && numTags > 1.
241 valid = false;
244 if (!valid || numTags == 2) {
245 return valid;
248 // At this point, valid == true && numTags > 1.
256 valid
[all...]

Completed in 666 milliseconds

123