Home
last modified time | relevance | path

Searched refs:Tag (Results 1 – 25 of 142) sorted by relevance

123456

/frameworks/native/libs/gui/
DIGraphicBufferConsumer.cpp34 enum class Tag : uint32_t { enum
70 return callRemote<Signature>(Tag::ACQUIRE_BUFFER, buffer, presentWhen, maxFrameNumber); in acquireBuffer()
75 return callRemote<Signature>(Tag::DETACH_BUFFER, slot); in detachBuffer()
80 return callRemote<Signature>(Tag::ATTACH_BUFFER, slot, buffer); in attachBuffer()
87 return callRemote<ReleaseBuffer>(Tag::RELEASE_BUFFER, buf, frameNumber, releaseFence); in releaseBuffer()
92 return callRemote<Signature>(Tag::CONSUMER_CONNECT, consumer, controlledByApp); in consumerConnect()
97 Tag::CONSUMER_DISCONNECT); in consumerDisconnect()
102 return callRemote<Signature>(Tag::GET_RELEASED_BUFFERS, slotMask); in getReleasedBuffers()
107 return callRemote<Signature>(Tag::SET_DEFAULT_BUFFER_SIZE, width, height); in setDefaultBufferSize()
112 return callRemote<Signature>(Tag::SET_MAX_BUFFER_COUNT, bufferCount); in setMaxBufferCount()
[all …]
DIConsumerListener.cpp25 enum class Tag : uint32_t { enum
47 callRemoteAsync<decltype(&IConsumerListener::onDisconnect)>(Tag::ON_DISCONNECT); in onDisconnect()
51 callRemoteAsync<decltype(&IConsumerListener::onFrameDequeued)>(Tag::ON_FRAME_DEQUEUED, in onFrameDequeued()
56 callRemoteAsync<decltype(&IConsumerListener::onFrameDetached)>(Tag::ON_FRAME_DETACHED, in onFrameDetached()
61 callRemoteAsync<decltype(&IConsumerListener::onFrameCancelled)>(Tag::ON_FRAME_CANCELLED, in onFrameCancelled()
66 callRemoteAsync<decltype(&IConsumerListener::onFrameAvailable)>(Tag::ON_FRAME_AVAILABLE, in onFrameAvailable()
71 callRemoteAsync<decltype(&IConsumerListener::onFrameReplaced)>(Tag::ON_FRAME_REPLACED, in onFrameReplaced()
76 callRemoteAsync<decltype(&IConsumerListener::onBuffersReleased)>(Tag::ON_BUFFERS_RELEASED); in onBuffersReleased()
81 Tag::ON_SIDEBAND_STREAM_CHANGED); in onSidebandStreamChanged()
98 if (code < IBinder::FIRST_CALL_TRANSACTION || code > static_cast<uint32_t>(Tag::LAST)) { in onTransact()
[all …]
DITransactionCompletedListener.cpp36 enum class Tag : uint32_t { enum
310 onTransactionCompleted)>(Tag::ON_TRANSACTION_COMPLETED, in onTransactionCompleted()
317 onReleaseBuffer)>(Tag::ON_RELEASE_BUFFER, callbackId, in onReleaseBuffer()
325 onTransactionQueueStalled)>(Tag::ON_TRANSACTION_QUEUE_STALLED, in onTransactionQueueStalled()
331 Tag::ON_TRUSTED_PRESENTATION_CHANGED, id, inTrustedPresentationState); in onTrustedPresentationChanged()
343 if (code < IBinder::FIRST_CALL_TRANSACTION || code > static_cast<uint32_t>(Tag::LAST)) { in onTransact()
346 auto tag = static_cast<Tag>(code); in onTransact()
348 case Tag::ON_TRANSACTION_COMPLETED: in onTransact()
351 case Tag::ON_RELEASE_BUFFER: in onTransact()
353 case Tag::ON_TRANSACTION_QUEUE_STALLED: in onTransact()
[all …]
/frameworks/base/core/java/android/security/keymaster/
DKeymasterDefs.java29 import android.hardware.security.keymint.Tag;
59 public static final int KM_TAG_INVALID = Tag.INVALID; // KM_INVALID | 0;
60 public static final int KM_TAG_PURPOSE = Tag.PURPOSE; // KM_ENUM_REP | 1;
61 public static final int KM_TAG_ALGORITHM = Tag.ALGORITHM; // KM_ENUM | 2;
62 public static final int KM_TAG_KEY_SIZE = Tag.KEY_SIZE; // KM_UINT | 3;
63 public static final int KM_TAG_BLOCK_MODE = Tag.BLOCK_MODE; // KM_ENUM_REP | 4;
64 public static final int KM_TAG_DIGEST = Tag.DIGEST; // KM_ENUM_REP | 5;
65 public static final int KM_TAG_PADDING = Tag.PADDING; // KM_ENUM_REP | 6;
66 public static final int KM_TAG_CALLER_NONCE = Tag.CALLER_NONCE; // KM_BOOL | 7;
67 public static final int KM_TAG_MIN_MAC_LENGTH = Tag.MIN_MAC_LENGTH; // KM_UINT | 8;
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
DLog.java30 private static final Log.Tag TAG = new Log.Tag("Log");
37 public static final class Tag { class in Log
44 public Tag(String tag) { in Tag() method in Log.Tag
58 public static void d(Tag tag, String msg) { in d()
64 public static void d(Tag tag, String msg, Throwable tr) { in d()
70 public static void e(Tag tag, String msg) { in e()
76 public static void e(Tag tag, String msg, Throwable tr) { in e()
82 public static void i(Tag tag, String msg) { in i()
88 public static void i(Tag tag, String msg, Throwable tr) { in i()
94 public static void v(Tag tag, String msg) { in v()
[all …]
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp616 const DemuxFilterSectionEvent &sectionEvent = event.get<DemuxFilterEvent::Tag::section>(); in getSectionEvent()
631 const DemuxFilterMediaEvent &mediaEvent = event.get<DemuxFilterEvent::Tag::media>(); in getMediaEvent()
636 case DemuxFilterMediaEventExtraMetaData::Tag::audio: { in getMediaEvent()
639 mediaEvent.extraMetaData.get<DemuxFilterMediaEventExtraMetaData::Tag::audio>(); in getMediaEvent()
652 case DemuxFilterMediaEventExtraMetaData::Tag::audioPresentations: { in getMediaEvent()
656 .get<DemuxFilterMediaEventExtraMetaData::Tag::audioPresentations>(), in getMediaEvent()
678 if (mediaEvent.scIndexMask.getTag() == DemuxFilterScIndexMask::Tag::scIndex) { in getMediaEvent()
679 sc = mediaEvent.scIndexMask.get<DemuxFilterScIndexMask::Tag::scIndex>(); in getMediaEvent()
680 } else if (mediaEvent.scIndexMask.getTag() == DemuxFilterScIndexMask::Tag::scHevc) { in getMediaEvent()
681 sc = mediaEvent.scIndexMask.get<DemuxFilterScIndexMask::Tag::scHevc>(); in getMediaEvent()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioCommonTypes.h49 using Tag = android::media::audio::common::AudioChannelLayout::Tag;
50 const size_t seed = std::hash<Tag>{}(acl.getTag());
52 case Tag::none:
53 return hash_combine(seed, std::hash<int32_t>{}(acl.get<Tag::none>()));
54 case Tag::invalid:
55 return hash_combine(seed, std::hash<int32_t>{}(acl.get<Tag::invalid>()));
56 case Tag::indexMask:
57 return hash_combine(seed, std::hash<int32_t>{}(acl.get<Tag::indexMask>()));
58 case Tag::layoutMask:
59 return hash_combine(seed, std::hash<int32_t>{}(acl.get<Tag::layoutMask>()));
[all …]
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3OutputUtils.cpp74 using Tag = aidl::android::hardware::camera::device::NotifyMsg::Tag; in notify() typedef
80 case Tag::error: in notify()
82 m.message.error.frame_number = msg.get<Tag::error>().frameNumber; in notify()
83 if (msg.get<Tag::error>().errorStreamId >= 0) { in notify()
85 states.outputStreams.get(msg.get<Tag::error>().errorStreamId); in notify()
88 m.message.error.frame_number, msg.get<Tag::error>().errorStreamId); in notify()
95 switch (msg.get<Tag::error>().errorCode) { in notify()
110 case Tag::shutter: in notify()
112 m.message.shutter.frame_number = msg.get<Tag::shutter>().frameNumber; in notify()
113 m.message.shutter.timestamp = msg.get<Tag::shutter>().timestamp; in notify()
[all …]
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp170 enum class Tag : uint32_t { enum in android::tests::ICallback
184 return callRemoteAsync<decltype(&ICallback::onCallback)>(Tag::OnCallback, aPlusOne); in onCallback()
203 EXPECT_LT(code, static_cast<uint32_t>(ICallback::Tag::Last)); in onTransact()
204 ICallback::Tag tag = static_cast<ICallback::Tag>(code); in onTransact()
206 case ICallback::Tag::OnCallback: { in onTransact()
209 case ICallback::Tag::Last: in onTransact()
221 enum class Tag : uint32_t { enum in android::tests::ISafeInterfaceTest
283 return callRemote<decltype(&ISafeInterfaceTest::setDeathToken)>(Tag::SetDeathToken, token); in setDeathToken()
287 return callRemote<decltype(&ISafeInterfaceTest::returnsNoMemory)>(Tag::ReturnsNoMemory); in returnsNoMemory()
291 return callRemote<decltype(&ISafeInterfaceTest::logicalNot)>(Tag::LogicalNot, a, notA); in logicalNot()
[all …]
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp91 return AudioChannelLayout::make<AudioChannelLayout::Tag::invalid>(0); in make_ACL_Invalid()
95 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_ACL_Stereo()
100 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_ACL_Tri()
105 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_ACL_LayoutArbitrary()
113 return AudioChannelLayout::make<AudioChannelLayout::Tag::indexMask>( in make_ACL_ChannelIndex2()
119 return AudioChannelLayout::make<AudioChannelLayout::Tag::indexMask>(5); in make_ACL_ChannelIndexArbitrary()
123 return AudioChannelLayout::make<AudioChannelLayout::Tag::voiceMask>( in make_ACL_VoiceCall()
324 AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>(
326 AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>(
328 AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>(
[all …]
/frameworks/base/nfc/java/android/nfc/
DTag.java114 public final class Tag implements Parcelable { class
130 public Tag(byte[] id, int[] techList, Bundle[] techListExtras, int serviceHandle, in Tag() method in Tag
160 public static Tag createMockTag(byte[] id, int[] techList, Bundle[] techListExtras, in createMockTag()
163 return new Tag(id, techList, techListExtras, 0, cookie, null); in createMockTag()
322 public Tag rediscover() throws IOException { in rediscover()
331 Tag newTag = mTagService.rediscover(getServiceHandle()); in rediscover()
448 public static final @android.annotation.NonNull Parcelable.Creator<Tag> CREATOR =
449 new Parcelable.Creator<Tag>() {
451 public Tag createFromParcel(Parcel in) {
455 byte[] id = Tag.readBytesWithNull(in);
[all …]
DINfcUnlockHandler.aidl3 import android.nfc.Tag;
10 boolean onUnlockAttempted(in Tag tag); in onUnlockAttempted()
DINfcOemExtensionCallback.aidl18 import android.nfc.Tag;
24 void onTagConnected(boolean connected, in Tag tag); in onTagConnected()
DIAppCallback.aidl19 import android.nfc.Tag;
26 oneway void onTagDiscovered(in Tag tag); in onTagDiscovered()
/frameworks/native/services/surfaceflinger/tests/
DIPC_test.cpp65 enum class Tag : uint32_t { enum in android::test::IIPCTest
94 return callRemote<decltype(&IIPCTest::setDeathToken)>(Tag::SetDeathToken, token); in setDeathToken()
97 status_t initClient() { return callRemote<decltype(&IIPCTest::initClient)>(Tag::InitClient); } in initClient()
100 return callRemote<decltype(&IIPCTest::createTransaction)>(Tag::CreateTransaction, in createTransaction()
105 return callRemote<decltype(&IIPCTest::mergeAndApply)>(Tag::MergeAndApply, transaction); in mergeAndApply()
109 return callRemote<decltype(&IIPCTest::verifyCallbacks)>(Tag::VerifyCallbacks); in verifyCallbacks()
112 status_t cleanUp() { return callRemote<decltype(&IIPCTest::cleanUp)>(Tag::CleanUp); } in cleanUp()
193 EXPECT_LT(code, static_cast<uint32_t>(IIPCTest::Tag::Last)); in onTransact()
194 switch (static_cast<IIPCTest::Tag>(code)) { in onTransact()
195 case IIPCTest::Tag::SetDeathToken: in onTransact()
[all …]
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.cpp90 return channel.getTag() == AudioChannelLayout::Tag::layoutMask && in containHapticChannel()
91 ((channel.get<AudioChannelLayout::Tag::layoutMask>() in containHapticChannel()
94 (channel.get<AudioChannelLayout::Tag::layoutMask>() in containHapticChannel()
111 if (p.ext.getTag() != AudioPortExt::Tag::device) return false; in audioDeviceMatches()
112 return p.ext.get<AudioPortExt::Tag::device>().device == device; in audioDeviceMatches()
116 if (p.ext.getTag() != AudioPortExt::Tag::device) return false; in audioDeviceMatches()
122 return p.ext.get<AudioPortExt::Tag::device>().device == device; in audioDeviceMatches()
378 while (portsIt == mPorts.end() && matchFlags.getTag() == AudioIoFlags::Tag::input in findOrCreateMixPortConfig()
381 matchFlags.get<AudioIoFlags::Tag::input>(), *optionalInputFlagsIt)) { in findOrCreateMixPortConfig()
385 matchFlags.set<AudioIoFlags::Tag::input>(matchFlags.get<AudioIoFlags::Tag::input>() & in findOrCreateMixPortConfig()
[all …]
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
DBCHeaderField.h38 } Tag; typedef
41 BCHeaderField(Tag ID, size_t len, uint8_t* data) : in BCHeaderField()
72 ID_ = static_cast<Tag>(field); in Read()
95 Tag getID() const { in getID()
113 Tag ID_;
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStore2ParameterUtils.java24 import android.hardware.security.keymint.Tag;
71 case Tag.PURPOSE: in makeEnum()
74 case Tag.ALGORITHM: in makeEnum()
77 case Tag.BLOCK_MODE: in makeEnum()
80 case Tag.DIGEST: in makeEnum()
81 case Tag.RSA_OAEP_MGF_DIGEST: in makeEnum()
84 case Tag.EC_CURVE: in makeEnum()
87 case Tag.ORIGIN: in makeEnum()
90 case Tag.PADDING: in makeEnum()
93 case Tag.USER_AUTH_TYPE: in makeEnum()
[all …]
/frameworks/base/nfc/java/android/nfc/tech/
DNfcBarcode.java19 import android.nfc.Tag;
50 public static NfcBarcode get(Tag tag) { in get()
63 public NfcBarcode(Tag tag) throws RemoteException { in NfcBarcode()
DNfcB.java19 import android.nfc.Tag;
53 public static NfcB get(Tag tag) { in get()
63 public NfcB(Tag tag) throws RemoteException { in NfcB()
DNfcV.java19 import android.nfc.Tag;
54 public static NfcV get(Tag tag) { in get()
64 public NfcV(Tag tag) throws RemoteException { in NfcV()
DBasicTagTechnology.java20 import android.nfc.Tag;
33 final Tag mTag;
38 BasicTagTechnology(Tag tag, int tech) throws RemoteException { in BasicTagTechnology()
44 public Tag getTag() { in getTag()
DNfcA.java20 import android.nfc.Tag;
57 public static NfcA get(Tag tag) { in get()
67 public NfcA(Tag tag) throws RemoteException { in NfcA()
DNfcF.java20 import android.nfc.Tag;
57 public static NfcF get(Tag tag) { in get()
67 public NfcF(Tag tag) throws RemoteException { in NfcF()
/frameworks/base/media/jni/tuner/
DFilterClient.cpp294 if (type.subType.get<DemuxFilterSubType::Tag::mmtpFilterType>() == in checkIsMediaFilter()
296 type.subType.get<DemuxFilterSubType::Tag::mmtpFilterType>() == in checkIsMediaFilter()
304 if (type.subType.get<DemuxFilterSubType::Tag::tsFilterType>() == DemuxTsFilterType::AUDIO || in checkIsMediaFilter()
305 type.subType.get<DemuxFilterSubType::Tag::tsFilterType>() == DemuxTsFilterType::VIDEO) { in checkIsMediaFilter()
320 if (configure.getTag() == DemuxFilterSettings::Tag::ts) { in checkIsPassthroughFilter()
321 if (configure.get<DemuxFilterSettings::Tag::ts>() in checkIsPassthroughFilter()
322 .filterSettings.get<DemuxTsFilterSettingsFilterSettings::Tag::av>() in checkIsPassthroughFilter()
329 if (configure.getTag() == DemuxFilterSettings::Tag::mmtp) { in checkIsPassthroughFilter()
330 if (configure.get<DemuxFilterSettings::Tag::mmtp>() in checkIsPassthroughFilter()
331 .filterSettings.get<DemuxMmtpFilterSettingsFilterSettings::Tag::av>() in checkIsPassthroughFilter()

123456