Searched refs:valid (Results 26 - 50 of 104) sorted by relevance

12345

/frameworks/base/core/java/android/content/pm/dex/
H A DDexMetadataHelper.java213 boolean valid = false;
216 valid = true;
220 if (!valid) {
/frameworks/base/tests/net/java/android/net/
H A DNetworkTest.java53 assertFalse(fd.valid());
68 assertTrue(fis.getFD().valid());
92 assertTrue(mLocalClient.getFileDescriptor().valid());
/frameworks/native/services/displayservice/
H A DDisplayEventReceiver.cpp64 if (!valid()) {
71 bool DisplayEventReceiver::AttachedEvent::valid() const { function in class:android::frameworks::displayservice::V1_0::implementation::DisplayEventReceiver::AttachedEvent
139 return mAttached->valid() ? Status::SUCCESS : Status::UNKNOWN;
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dchannel_handle.h35 bool valid() const { return value_ >= 0; } function in class:android::pdx::ChannelHandleBase
36 explicit operator bool() const { return valid(); }
/frameworks/native/services/displayservice/include/displayservice/
H A DDisplayEventReceiver.h52 bool valid() const;
/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java203 final ArrayMap<Uri, Condition> valid = new ArrayMap<Uri, Condition>(N);
206 if (valid.containsKey(id)) {
210 valid.put(id, conditions[i]);
212 if (valid.size() == 0) return null;
213 if (valid.size() == N) return conditions;
214 final Condition[] rt = new Condition[valid.size()];
216 rt[i] = valid.valueAt(i);
/frameworks/av/media/extractors/mp3/
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);
H A Dcommon_time_server_api.cpp69 status_t CommonTimeServer::isCommonTimeValid(bool* valid, argument
72 *valid = mCommonClock.isValid();
/frameworks/native/libs/gui/
H A DFrameTimestamps.cpp106 if (!valid) {
163 return frame.valid && mFrameNumber == frame.frameNumber;
200 // Uses !|valid| as the MSB.
203 if (lhs.valid == rhs.valid) {
206 return lhs.valid;
212 if (!earliestFrame->valid) {
296 // The consumer only sends valid frames.
297 frame.valid = true;
371 newTimestamps.valid
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeySessionLibrary.h51 bool valid; member in struct:android::clearkeycas::ClearKeyCasSession::KeyInfo
H A DClearKeyCasPlugin.cpp332 mKeyInfo[keyIndex].valid = (result == 0);
333 if (!mKeyInfo[keyIndex].valid) {
360 if (!mKeyInfo[keyIndex].valid) {
/frameworks/rs/script_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/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp59 return mNextSnapshot.valid() &&
77 if (!mNextSnapshot.valid()) {
188 if (mRunning && !mNextSnapshot.valid()) {
/frameworks/av/media/common_time/
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/av/include/common_time/
H A DICommonClock.h72 virtual status_t isCommonTimeValid(bool* valid, uint32_t* timelineID) = 0;
/frameworks/av/media/libaudioprocessing/
H A DRecordBufferConverter.cpp142 const bool valid = local
149 if (!valid) {
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java223 public void onValidationChanged(boolean valid) {
226 positive.setEnabled(valid);
/frameworks/base/core/java/android/os/
H A DSharedMemory.java52 if (!fd.valid()) {
59 throw new IllegalArgumentException("FileDescriptor is not a valid ashmem fd");
89 if (!mFileDescriptor.valid()) {
250 * open mappings of the shared memory will remain valid and may continue to be used. The
/frameworks/base/core/java/android/widget/
H A DDatePicker.java327 * Sets the callback that indicates the current date is valid.
659 protected void onValidationChanged(boolean valid) { argument
661 mValidationCallback.onValidationChanged(valid);
796 void onValidationChanged(boolean valid); argument
/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...]
/frameworks/base/services/core/java/com/android/server/security/
H A DVerityUtils.java68 if (rfd == null || !rfd.valid()) {
/frameworks/base/services/net/java/android/net/util/
H A DPacketReader.java199 private boolean isRunning() { return (mFd != null) && mFd.valid(); }
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp64 bool valid() { function in class:android::BitmapWrapper
74 LOG_ALWAYS_FATAL_IF(!valid(), "Error, cannot access an invalid/free'd bitmap here!");
161 bool valid() { function in class:android::LocalScopedBitmap
162 return mBitmapWrapper && mBitmapWrapper->valid();
278 if (!localBitmap->valid()) return nullptr;
295 if (!localBitmap->valid()) return false;
913 if (!bitmap.valid()) {
1266 if (!bitmapHolder.valid()) return JNI_TRUE;
1274 if (!bitmapHolder.valid()) return JNI_FALSE;
1285 if (!bitmapHolder.valid()) retur
[all...]

Completed in 7966 milliseconds

12345