Searched refs:other (Results 1 - 25 of 396) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraMetadata.cpp44 CameraMetadata::CameraMetadata(const CameraMetadata &other) : argument
46 mBuffer = clone_camera_metadata(other.mBuffer);
54 CameraMetadata &CameraMetadata::operator=(const CameraMetadata &other) { argument
55 return operator=(other.mBuffer);
130 void CameraMetadata::acquire(CameraMetadata &other) { argument
135 acquire(other.release());
138 status_t CameraMetadata::append(const CameraMetadata &other) { argument
139 return append(other.mBuffer);
142 status_t CameraMetadata::append(const camera_metadata_t* other) { argument
147 size_t extraEntries = get_camera_metadata_entry_count(other);
668 swap(CameraMetadata& other) argument
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.h29 bool operator == (const ACaptureSessionOutput& other) const {
30 return mWindow == other.mWindow;
32 bool operator != (const ACaptureSessionOutput& other) const {
33 return mWindow != other.mWindow;
35 bool operator < (const ACaptureSessionOutput& other) const {
36 return mWindow < other.mWindow;
38 bool operator > (const ACaptureSessionOutput& other) const {
39 return mWindow > other.mWindow;
H A DACameraManager.h94 bool operator == (const Callback& other) const {
95 return (mAvailable == other.mAvailable &&
96 mUnavailable == other.mUnavailable &&
97 mContext == other.mContext);
99 bool operator != (const Callback& other) const {
100 return !(*this == other);
102 bool operator < (const Callback& other) const {
103 if (*this == other) return false;
104 if (mContext != other.mContext) return mContext < other
[all...]
H A DACameraMetadata.h46 ACameraMetadata(const ACameraMetadata& other) : argument
47 mData(other.mData), mType(other.mType) {};
87 // exact copy of internal data type but they do not inherit from each other
H A DACaptureRequest.h27 bool operator == (const ACameraOutputTarget& other) const {
28 return mWindow == other.mWindow;
30 bool operator != (const ACameraOutputTarget& other) const {
31 return mWindow != other.mWindow;
33 bool operator < (const ACameraOutputTarget& other) const {
34 return mWindow < other.mWindow;
36 bool operator > (const ACameraOutputTarget& other) const {
37 return mWindow > other.mWindow;
/frameworks/av/include/camera/
H A DCameraMetadata.h44 CameraMetadata(const CameraMetadata &other);
49 CameraMetadata &operator=(const CameraMetadata &other);
91 * Acquires raw buffer from other CameraMetadata object. After the call, the argument
94 void acquire(CameraMetadata &other);
99 status_t append(const CameraMetadata &other);
104 status_t append(const camera_metadata* other);
168 * Swap the underlying camera metadata between this and the other
171 void swap(CameraMetadata &other);
/frameworks/av/include/camera/camera2/
H A DOutputConfiguration.h60 bool operator == (const OutputConfiguration& other) const {
61 return (mGbp == other.mGbp &&
62 mRotation == other.mRotation &&
63 mSurfaceSetID == other.mSurfaceSetID);
65 bool operator != (const OutputConfiguration& other) const {
66 return !(*this == other);
68 bool operator < (const OutputConfiguration& other) const {
69 if (*this == other) return false;
70 if (mGbp != other.mGbp) return mGbp < other
[all...]
/frameworks/av/include/media/
H A DAudioRecord.h126 TRANSFER_DEFAULT, // not specified explicitly; determine from the other parameters
203 * If status is not equal to NO_ERROR, don't call any other APIs on this AudioRecord.
477 * or any other error code returned by IAudioRecord::start() or restoreRecord_l().
496 AudioRecord(const AudioRecord& other);
497 AudioRecord& operator = (const AudioRecord& other);
H A DAudioTrack.h150 TRANSFER_DEFAULT, // not specified explicitly; determine from the other parameters
287 * If status is not equal to NO_ERROR, don't call any other APIs on this AudioTrack.
710 * or any other error code returned by IAudioTrack::start() or restoreTrack_l().
756 * INVALID_OPERATION wrong state, or some other error.
845 AudioTrack(const AudioTrack& other);
846 AudioTrack& operator = (const AudioTrack& other);
H A DMediaResource.h50 bool operator==(const MediaResource &other) const;
51 bool operator!=(const MediaResource &other) const;
H A DModulo.h65 // or equal to the rank of the type of the other operand, the operand with signed
102 Modulo<T> operator +=(const Modulo<S> &other) { argument
104 mValue += other.unsignedValue();
110 Modulo<T> operator -=(const Modulo<S> &other) { argument
112 mValue -= other.unsignedValue();
120 const Modulo<T> operator +(const Modulo<S> &other) const {
122 return Modulo<T>(mValue + other.unsignedValue());
127 const Modulo<T> operator -(const Modulo<S> &other) const {
129 return Modulo<T>(mValue - other.unsignedValue());
139 bool operator >(const Modulo<S> &other) cons
177 operator +=(const S &other) argument
184 operator -=(const S &other) argument
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h152 // Performs a shallow or deep comparison of |this| and |other| and returns
156 // This is true for AMessages that have no corresponding AMessage equivalent in |other|.
157 // (E.g. there is no such key or the type is different.) On the other hand, changes in
159 sp<AMessage> changesFrom(const sp<const AMessage> &other, bool deep = false) const;
H A DAString.h74 bool operator==(const AString &other) const;
75 bool operator!=(const AString &other) const {
76 return !operator==(other);
78 bool operator<(const AString &other) const;
79 bool operator>(const AString &other) const;
81 int compare(const AString &other) const;
82 int compareIgnoreCase(const AString &other) const;
84 bool equalsIgnoreCase(const AString &other) const;
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp36 // a value between "other" + 1 and "other" + INT32_MAX, the choice of
38 // In general, this means (new_self) returned is max(self, other) + 1.
40 static uint32_t incrementSequence(uint32_t self, uint32_t other) { argument
41 int32_t diff = (int32_t) self - (int32_t) other;
43 return self + 1; // we're already ahead of other.
45 return other + 1; // we're behind, so move just ahead of other.
182 // On the other hand, this barrier is required.
303 case EINTR: // wait was interrupted by signal or other spuriou
[all...]
H A DMediaResource.cpp57 bool MediaResource::operator==(const MediaResource &other) const {
58 return (other.mType == mType) && (other.mSubType == mSubType) && (other.mValue == mValue);
61 bool MediaResource::operator!=(const MediaResource &other) const {
62 return !(*this == other);
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp764 sp<AMessage> AMessage::changesFrom(const sp<const AMessage> &other, bool deep) const { argument
765 if (other == NULL) {
770 if (mWhat != other->mWhat) {
773 if (mHandler != other->mHandler) {
779 const Item *oitem = other->findItem(item.mName, item.mType);
H A DAString.cpp134 bool AString::operator==(const AString &other) const {
135 return mSize == other.mSize && !memcmp(mData, other.mData, mSize);
298 bool AString::operator<(const AString &other) const {
299 return compare(other) < 0;
302 bool AString::operator>(const AString &other) const {
303 return compare(other) > 0;
306 int AString::compare(const AString &other) const {
307 return strcmp(mData, other.mData);
310 int AString::compareIgnoreCase(const AString &other) cons
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmFrame.cpp65 bool WebmFrame::operator<(const WebmFrame &other) const {
69 if (other.mEos) {
72 if (this->mAbsTimecode == other.mAbsTimecode) {
73 if (this->mType == kAudioType && other.mType == kVideoType) {
76 if (this->mType == kVideoType && other.mType == kAudioType) {
81 return this->mAbsTimecode < other.mAbsTimecode;
H A DWebmFrame.h38 bool operator<(const WebmFrame &other) const;
H A DWebmWriter.h105 WebmStream &operator=(const WebmStream &other) { argument
106 mType = other.mType;
107 mName = other.mName;
108 mMakeTrack = other.mMakeTrack;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.h95 bool operator<(const ResponseID &other) const {
96 return mSessionID < other.mSessionID
97 || (mSessionID == other.mSessionID
98 && mCSeq < other.mCSeq);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioSession.h54 bool matches(const sp<AudioSession> &other) const;
H A DDeviceDescriptor.h41 bool equals(const sp<DeviceDescriptor>& other) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioSession.cpp99 bool AudioSession::matches(const sp<AudioSession> &other) const
101 if (other->session() == mSession &&
102 other->inputSource() == mInputSource &&
103 other->format() == mConfig.format &&
104 other->sampleRate() == mConfig.sample_rate &&
105 other->channelMask() == mConfig.channel_mask &&
106 other->flags() == mFlags &&
107 other->uid() == mUid) {
H A DDeviceDescriptor.cpp49 bool DeviceDescriptor::equals(const sp<DeviceDescriptor>& other) const
54 if (other == 0) {
57 return (mDeviceType == other->mDeviceType) && (mAddress == other->mAddress);

Completed in 486 milliseconds

1234567891011>>