Home
last modified time | relevance | path

Searched refs:subType (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/av/media/libmedia/
DMediaResource.cpp28 this->subType = SubType::kUnspecifiedSubType; in MediaResource()
32 MediaResource::MediaResource(Type type, SubType subType, int64_t value) { in MediaResource() argument
34 this->subType = subType; in MediaResource()
40 this->subType = SubType::kUnspecifiedSubType; in MediaResource()
46 MediaResource MediaResource::CodecResource(bool secure, SubType subType, int64_t instanceCount) { in CodecResource() argument
49 subType, in CodecResource()
65 SubType subType = isHardware ? SubType::kHwVideoCodec : SubType::kSwVideoCodec; in VideoBatteryResource() local
66 return MediaResource(Type::kBattery, subType, 1); in VideoBatteryResource()
86 asString(resource.type), asString(resource.subType), in toString()
/frameworks/av/services/mediaresourcemanager/
DProcessPriorityReclaimPolicy.cpp49 MediaResource::SubType subType = reclaimRequestInfo.mResources[0].subType; in getClients() local
64 MediaResource::SubType primarySubType = subType; in getClients()
67 MediaResource::SubType subType = reclaimRequestInfo.mResources[index].subType; in getClients() local
69 type, subType, primarySubType, in getClients()
75 type, subType, in getClients()
89 otherType, subType, in getClients()
106 MediaResource::Type type, MediaResource::SubType subType, in getBiggestClientFromLowestPriority() argument
115 if (!mResourceTracker->getLowestPriorityPid(type, subType, primarySubType, clients, in getBiggestClientFromLowestPriority()
131 return mResourceTracker->getBiggestClient(lowestPriorityPid, type, subType, in getBiggestClientFromLowestPriority()
DClientImportanceReclaimPolicy.cpp46 MediaResource::SubType subType = reclaimRequestInfo.mResources[0].subType; in getClients() local
51 MediaResource::SubType primarySubType = subType; in getClients()
54 MediaResource::SubType subType = reclaimRequestInfo.mResources[index].subType; in getClients() local
57 type, subType, primarySubType, in getClients()
65 type, subType, MediaResource::SubType::kUnspecifiedSubType, in getClients()
80 otherType, subType, MediaResource::SubType::kUnspecifiedSubType, in getClients()
DResourceManagerServiceUtils.cpp33 if (item.type == res.type && item.subType == res.subType && item.id == res.id) { in add()
57 if (item.type == res.type && item.subType == res.subType && item.id == res.id) { in addOrUpdate()
71 if (it->type == res.type && it->subType == res.subType && it->id == res.id) { in remove()
119 bool hasResourceType(MediaResource::Type type, MediaResource::SubType subType, in hasResourceType() argument
129 if (resource.subType == subType) { in hasResourceType()
141 bool hasResourceType(MediaResource::Type type, MediaResource::SubType subType, in hasResourceType() argument
144 if (hasResourceType(type, subType, res)) { in hasResourceType()
152 bool hasResourceType(MediaResource::Type type, MediaResource::SubType subType, in hasResourceType() argument
155 if (hasResourceType(type, subType, info.resources)) { in hasResourceType()
301 switch (resources[i].subType) { in notifyResourceGranted()
DResourceTracker.cpp30 inline bool isHwCodec(MediaResource::SubType subType) { in isHwCodec() argument
31 return subType == MediaResource::SubType::kHwImageCodec || in isHwCodec()
32 subType == MediaResource::SubType::kHwVideoCodec; in isHwCodec()
37 static bool hasResourceType(MediaResource::Type type, MediaResource::SubType subType, in hasResourceType() argument
43 if (hasResourceType(type, subType, res)) { in hasResourceType()
45 } else if (res.subType == primarySubType) { in hasResourceType()
47 } else if (isHwCodec(res.subType) == isHwCodec(primarySubType)) { in hasResourceType()
323 for (MediaResource::SubType subType : {MediaResource::SubType::kHwAudioCodec, in getClientsMarkedPendingRemoval()
330 if (getBiggestClientPendingRemoval(pid, type, subType, clientInfo)) { in getClientsMarkedPendingRemoval()
341 MediaResource::SubType subType = MediaResource::SubType::kUnspecifiedSubType; in getClientsMarkedPendingRemoval() local
[all …]
DDefaultResourceModel.cpp46 .subType = reclimRequestInfo.mResources[0].subType}; in getAllClients()
127 MediaResource::SubType primarySubType = reclimRequestInfo.mResources[0].subType; in getCodecClients()
130 mediaResource.subType = reclimRequestInfo.mResources[index].subType; in getCodecClients()
136 mediaResource.subType = reclimRequestInfo.mResources[0].subType; in getCodecClients()
DResourceManagerService.cpp273 && resource.subType == MediaResource::SubType::kUnspecifiedSubType) { in onFirstAdded()
282 && (resource.subType == MediaResource::SubType::kHwVideoCodec in onFirstAdded()
283 || resource.subType == MediaResource::SubType::kSwVideoCodec)) { in onFirstAdded()
290 && resource.subType == MediaResource::SubType::kUnspecifiedSubType in onLastRemoved()
296 && (resource.subType == MediaResource::SubType::kHwVideoCodec in onLastRemoved()
297 || resource.subType == MediaResource::SubType::kSwVideoCodec)) { in onLastRemoved()
473 if (getBiggestClientPendingRemoval_l(callingPid, res->type, res->subType, clientInfo)) { in getClientForResource_l()
523 .subType = secureCodec->subType}; in getTargetClients()
540 .subType = nonSecureCodec->subType}; in getTargetClients()
577 MediaResource temp(MediaResource::Type::kNonSecureCodec, secureCodec->subType, 1); in getTargetClients()
[all …]
DResourceTracker.h130 bool getLowestPriorityPid(MediaResource::Type type, MediaResource::SubType subType,
138 MediaResource::Type type, MediaResource::SubType subType,
148 MediaResource::SubType subType,
160 MediaResource::SubType subType,
171 MediaResource::SubType subType,
DResourceManagerServiceUtils.h230 bool hasResourceType(MediaResource::Type type, MediaResource::SubType subType,
234 bool hasResourceType(MediaResource::Type type, MediaResource::SubType subType,
238 bool hasResourceType(MediaResource::Type type, MediaResource::SubType subType,
DResourceManagerService.h144 MediaResource::SubType subType,
151 MediaResource::SubType subType,
206 virtual bool getLowestPriorityPid_l(MediaResource::Type type, MediaResource::SubType subType,
DProcessPriorityReclaimPolicy.h77 MediaResource::SubType subType,
DResourceManagerServiceNew.cpp279 resource.subType, targetClient)) { in getClientForResource_l()
329 MediaResource::Type type, MediaResource::SubType subType, in getLowestPriorityPid_l() argument
332 return mResourceTracker->getLowestPriorityPid(type, subType, in getLowestPriorityPid_l()
DResourceObserverService.cpp44 if (res.subType == MediaResourceSubType::kHwVideoCodec || in getObservableType()
45 res.subType == MediaResourceSubType::kSwVideoCodec) { in getObservableType()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbACEndpoint.java55 int length, byte type, byte subType) { in allocDescriptor() argument
63 return new UsbACAudioControlEndpoint(length, type, subClass, subType); in allocDescriptor()
69 return new UsbACAudioStreamEndpoint(length, type, subClass, subType); in allocDescriptor()
75 switch (subType) { in allocDescriptor()
77 return new UsbACMidi10Endpoint(length, type, subClass, subType); in allocDescriptor()
79 return new UsbACMidi20Endpoint(length, type, subClass, subType); in allocDescriptor()
81 Log.w(TAG, "Unknown Midi Endpoint id:0x" + Integer.toHexString(subType)); in allocDescriptor()
DUsbDescriptorParser.java236 Byte subType = stream.getByte(); in allocDescriptor() local
242 subType); in allocDescriptor()
247 Byte subType = stream.getByte(); in allocDescriptor() local
253 subType); in allocDescriptor()
591 public boolean hasAudioTerminal(int subType, int terminalType) { in hasAudioTerminal() argument
595 && ((UsbACTerminal) descriptor).getSubtype() == subType in hasAudioTerminal()
609 public boolean hasAudioTerminalExcludeType(int subType, int excludedTerminalType) { in hasAudioTerminalExcludeType() argument
613 && ((UsbACTerminal) descriptor).getSubtype() == subType in hasAudioTerminalExcludeType()
/frameworks/base/core/java/android/app/slice/
DSlice.java407 public Builder addSubSlice(@NonNull Slice slice, @Nullable @SliceSubtype String subType) { in addSubSlice() argument
409 mItems.add(new SliceItem(slice, SliceItem.FORMAT_SLICE, subType, in addSubSlice()
420 @Nullable @SliceSubtype String subType) { in addAction() argument
425 mItems.add(new SliceItem(action, s, SliceItem.FORMAT_ACTION, subType, hints.toArray( in addAction()
435 public Builder addText(CharSequence text, @Nullable @SliceSubtype String subType, in addText() argument
437 mItems.add(new SliceItem(text, SliceItem.FORMAT_TEXT, subType, hints)); in addText()
446 public Builder addIcon(Icon icon, @Nullable @SliceSubtype String subType, in addIcon() argument
449 mItems.add(new SliceItem(icon, SliceItem.FORMAT_IMAGE, subType, hints)); in addIcon()
459 @Nullable @SliceSubtype String subType, in addRemoteInput() argument
463 subType, hints)); in addRemoteInput()
[all …]
DSliceItem.java130 public SliceItem(Object obj, @SliceType String format, String subType, in SliceItem() argument
132 this(obj, format, subType, hints.toArray(new String[hints.size()])); in SliceItem()
138 public SliceItem(Object obj, @SliceType String format, String subType, in SliceItem() argument
142 mSubType = subType; in SliceItem()
149 public SliceItem(PendingIntent intent, Slice slice, String format, String subType, in SliceItem() argument
151 this(new Pair<>(intent, slice), format, subType, hints); in SliceItem()
/frameworks/av/services/tuner/hidl/
DTunerHidlDemux.cpp88 filterType.subType.tsFilterType(static_cast<HidlDemuxTsFilterType>( in openFilter()
89 in_type.subType.get<DemuxFilterSubType::Tag::tsFilterType>())); in openFilter()
92 filterType.subType.mmtpFilterType(static_cast<HidlDemuxMmtpFilterType>( in openFilter()
93 in_type.subType.get<DemuxFilterSubType::Tag::mmtpFilterType>())); in openFilter()
96 filterType.subType.ipFilterType(static_cast<HidlDemuxIpFilterType>( in openFilter()
97 in_type.subType.get<DemuxFilterSubType::Tag::ipFilterType>())); in openFilter()
100 filterType.subType.tlvFilterType(static_cast<HidlDemuxTlvFilterType>( in openFilter()
101 in_type.subType.get<DemuxFilterSubType::Tag::tlvFilterType>())); in openFilter()
104 filterType.subType.alpFilterType(static_cast<HidlDemuxAlpFilterType>( in openFilter()
105 in_type.subType.get<DemuxFilterSubType::Tag::alpFilterType>())); in openFilter()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaChallenge.java113 byte subType = data[5]; in parseEapAkaHeader()
119 || subType != SUBTYPE_AKA_CHALLENGE) { in parseEapAkaHeader()
131 + subType); in parseEapAkaHeader()
/frameworks/av/media/libmedia/include/media/
DMediaResource.h37 MediaResource(Type type, SubType subType, int64_t value);
40 static MediaResource CodecResource(bool secure, MediaResourceSubType subType,
/frameworks/base/media/java/android/media/tv/tuner/filter/
DFilter.java248 int type, int subType, FilterConfiguration settings); in nativeConfigureFilter() argument
366 int subType = (s == null) ? mSubtype : s.getType(); in configure() local
367 if (mMainType != config.getType() || mSubtype != subType) { in configure()
370 + config.getType() + ", config subtype=" + subType); in configure()
381 return nativeConfigureFilter(config.getType(), subType, config); in configure()
/frameworks/av/services/mediaresourcemanager/aidl/android/media/
DMediaResourceParcel.aidl36 MediaResourceSubType subType = MediaResourceSubType.kUnspecifiedSubType;
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java551 int subType = 0; in toLoggingSubType() local
552 subType |= invocationType << 1; in toLoggingSubType()
553 subType |= phoneState << 4; in toLoggingSubType()
554 return subType; in toLoggingSubType()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java324 int carrierId, int profileClass, int subType, @Nullable String groupOwner, in SubscriptionInfo() argument
330 subType, groupOwner, carrierConfigAccessRules, areUiccApplicationsEnabled, 0); in SubscriptionInfo()
345 int carrierId, int profileClass, int subType, @Nullable String groupOwner, in SubscriptionInfo() argument
351 subType, groupOwner, carrierConfigAccessRules, areUiccApplicationsEnabled, in SubscriptionInfo()
367 int carrierId, int profileClass, int subType, @Nullable String groupOwner, in SubscriptionInfo() argument
394 this.mType = subType; in SubscriptionInfo()

12