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

123

/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java173 if (!descriptor.valid()) {
/frameworks/native/opengl/libs/EGL/
H A Degl_display.h68 // add reference to this object. returns true if this is a valid object.
172 void setDisplayValid(bool valid);
H A Degl_display.cpp306 // by construction, these are either 0 or valid (possibly terminated)
332 // by construction, these are either 0 or valid (possibly terminated)
431 void egl_display_t::HibernationMachine::setDisplayValid(bool valid) { argument
433 mDpyValid = valid;
/frameworks/base/libs/common_time/
H A Dcommon_time_server_api.cpp69 status_t CommonTimeServer::isCommonTimeValid(bool* valid, argument
72 *valid = mCommonClock.isValid();
H A Dcommon_time_server.h56 status_t isCommonTimeValid(bool* valid, uint32_t* timelineID);
235 // network synchronization whenever it has a valid network interface to bind
237 // will only participate in network synchronization when it has both a valid
249 bool mBindIfaceValid; // whether or not the bind Iface is valid.
250 bool mBindIfaceDirty; // whether or not the bind Iface is valid.
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
H A DWebViewUpdateServiceTest.java89 true /* valid */, true /* installed */));
102 // Add (enabled and valid) package infos for each provider
140 String packageName, boolean enabled, boolean valid, boolean installed) {
151 if (valid) {
158 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, argument
160 PackageInfo p = createPackageInfo(packageName, enabled, valid, installed);
166 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, argument
169 createPackageInfo(packageName, enabled, valid, installed, signatures, updateTime);
223 // Ensure that package with valid signatures is chosen rather than package with invalid
226 String validPackage = "valid packag
139 createPackageInfo( String packageName, boolean enabled, boolean valid, boolean installed) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java949 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, mantissaOffset,
952 return valid;
957 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent);
959 return valid;
1213 boolean valid = mgl11.glIsBuffer(buffer);
1215 return valid;
1220 boolean valid = mgl11.glIsEnabled(cap);
1222 return valid;
1227 boolean valid = mgl11.glIsTexture(texture);
1229 return valid;
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp153 bool valid = true; local
156 valid = false;
160 valid = (to == HWC2::Composition::Client);
164 valid = (to == HWC2::Composition::Client ||
171 if (!valid) {
652 ALOGE("setActiveConfig: Display %d is not valid", displayId);
701 ALOGE("setOutputBuffer: Display %d is not valid", displayId);
732 ALOGE("clearReleaseFences: Display %d is not valid", displayId);
741 ALOGE("getHdrCapabilities: Display %d is not valid", displayId);
/frameworks/base/core/java/android/os/
H A DEnvironment.java186 * @deprecated This directory is valid and still exists, but callers should
204 * @deprecated This directory is valid and still exists, but callers should
550 for (String valid : STANDARD_DIRECTORIES) {
551 if (valid.equals(dir)) {
798 * @throws IllegalArgumentException if the path is not a valid storage
842 * @throws IllegalArgumentException if the path is not a valid storage
H A DMemoryFile.java98 * will fail, but {@link #getFileDescriptor()} will still return a valid file descriptor.
124 return !mFD.valid();
253 * @throws IOException If <code>fd</code> is not a valid file descriptor.
/frameworks/native/services/inputflinger/
H A DEventHub.h82 bool valid; // true if the information is valid, false otherwise member in struct:android::RawAbsoluteAxisInfo
91 valid = false;
H A DInputReader.cpp1925 if (axis.valid) {
3268 // Ensure we have valid X and Y axes.
3269 if (!mRawPointerAxes.x.valid || !mRawPointerAxes.y.valid) {
3411 if (mRawPointerAxes.touchMajor.valid
3414 } else if (mRawPointerAxes.toolMajor.valid
3465 } else if (mRawPointerAxes.pressure.valid
3484 mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid;
3520 if (mRawPointerAxes.orientation.valid) {
[all...]
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp602 ; // a valid mPosLoop should be available if ackDone is true.
890 bool valid = false; local
895 valid = true;
904 valid = true;
907 if (!valid || position > mFrameCount) {
/frameworks/base/core/jni/
H A Dandroid_text_StaticLayout.cpp142 if (icuLocale.valid()) {
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java719 // there is no need to add a valid subId or slotId.
811 if (VDBG) log("notifySignalStrengthForPhoneId: valid phoneId=" + phoneId);
1393 * a valid subId, in which case this function fires a subId-specific intent, or it
1419 // If a valid subId was specified, we should fire off a subId-specific state
1602 boolean valid = false;
1605 valid = r.callerUserId == foregroundUser && r.matchPhoneStateListenerEvent(events);
1607 log("validateEventsAndUserLocked: valid=" + valid
1614 return valid;
1618 boolean valid
[all...]
H A DDeviceIdleController.java2653 boolean valid = false;
2655 valid = true;
2663 valid = true;
2674 if (!valid) {
2689 boolean valid = false;
2691 valid = true;
2699 valid = true;
2709 if (!valid) {
H A DNetworkManagementService.java926 boolean valid = true;
927 for (int i = 4; (i + 1) < cooked.length && valid; i += 2) {
932 valid = false; // Duplicate interface.
938 valid = false; // Duplicate gateway.
941 valid = false; // Unknown syntax.
944 if (valid) {
H A DBluetoothManagerService.java335 // if the valid flag is not set, don't load the address and name
1631 boolean valid = false;
1634 valid = (callingUser == foregroundUser) ||
1639 Slog.d(TAG, "checkIfCallerIsForegroundUser: valid=" + valid
1647 return valid;
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java791 + "created from it was not considered valid: " + deviceInfo);
908 mDefaultViewport.valid = false;
909 mExternalTouchViewport.valid = false;
940 if (!mDefaultViewport.valid
944 if (!mExternalTouchViewport.valid
952 viewport.valid = true;
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp387 bool valid() { function in class:LocalScopedBitmap
388 return mBitmap && mBitmap->valid();
856 if (!bitmap.valid()) {
1341 // those 2 bitmaps should be valid (only unrecognized), we return JNI_FALSE
1359 SkPixelRef* pixelRef = bitmap.valid() ? bitmap->peekAtPixelRef() : nullptr;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s41 ; * to by *ppBitStream. *pBitOffset is valid within
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s41 ; * to by *ppBitStream. *pBitOffset is valid within
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java351 final boolean valid;
355 valid = false;
357 valid = true;
360 if (valid) {
/frameworks/base/services/net/java/android/net/apf/
H A DApfFilter.java315 long valid = mPacket.getInt(offset + 4);
317 sb.append(String.format("%s/%d %ds/%ds ", prefix, length, valid, preferred));
395 // Parse valid lifetime
503 // valid and preferred lifetimes in the prefix option.
/frameworks/base/core/java/android/widget/
H A DGridLayout.java134 * the corresponding value in any other valid solution.
187 * intended to avoid confusion between valid values whose sign may not be known.
1386 // its just to stop default (row/col > 0) constraints obliterating valid entries
1522 if (!entry.valid) {
1570 if (!arc.valid) {
1646 arc.valid = false;
2218 public boolean valid = true; field in class:GridLayout.Arc
2227 return span + " " + (!valid ? "+>" : "->") + " " + value;

Completed in 6203 milliseconds

123