Home
last modified time | relevance | path

Searched refs:Item (Results 1 – 25 of 173) sorted by relevance

1234567

/frameworks/av/media/libmediametrics/
DMediaMetrics.cpp40 Item *item = Item::create(key); in mediametrics_create()
45 Item *item = (Item *) handle; in mediametrics_delete()
51 Item *item = (Item *) handle; in mediametrics_getKey()
58 Item *item = (Item *) handle; in mediametrics_setUid()
67 Item *item = (Item *) handle; in mediametrics_setInt32()
73 Item *item = (Item *) handle; in mediametrics_setInt64()
79 Item *item = (Item *) handle; in mediametrics_setDouble()
85 Item *item = (Item *) handle; in mediametrics_setRate()
91 Item *item = (Item *) handle; in mediametrics_setCString()
100 Item *item = (Item *) handle; in mediametrics_addInt32()
[all …]
DMediaMetricsItem.cpp53 mediametrics::Item* mediametrics::Item::convert(mediametrics_handle_t handle) { in convert()
54 mediametrics::Item *item = (android::mediametrics::Item *) handle; in convert()
58 mediametrics_handle_t mediametrics::Item::convert(mediametrics::Item *item ) { in convert()
63 mediametrics::Item::~Item() { in ~Item()
69 mediametrics::Item &mediametrics::Item::setTimestamp(nsecs_t ts) { in setTimestamp()
74 nsecs_t mediametrics::Item::getTimestamp() const { in getTimestamp()
78 mediametrics::Item &mediametrics::Item::setPid(pid_t pid) { in setPid()
83 pid_t mediametrics::Item::getPid() const { in getPid()
87 mediametrics::Item &mediametrics::Item::setUid(uid_t uid) { in setUid()
92 uid_t mediametrics::Item::getUid() const { in getUid()
[all …]
/frameworks/av/services/mediametrics/
Diface_statsd.h22 extern bool statsd_audiopolicy(const mediametrics::Item *);
23 extern bool statsd_audiorecord(const mediametrics::Item *);
24 extern bool statsd_audiothread(const mediametrics::Item *);
25 extern bool statsd_audiotrack(const mediametrics::Item *);
26 extern bool statsd_codec(const mediametrics::Item *);
27 extern bool statsd_extractor(const mediametrics::Item *);
28 extern bool statsd_nuplayer(const mediametrics::Item *);
29 extern bool statsd_recorder(const mediametrics::Item *);
31 extern bool statsd_mediadrm(const mediametrics::Item *);
32 extern bool statsd_widevineCDM(const mediametrics::Item *);
[all …]
DMediaMetricsService.h48 status_t submit(mediametrics::Item *item) override { in submit()
53 mediametrics::Item *item = new mediametrics::Item(); in submitBuffer()
84 status_t submitInternal(mediametrics::Item *item, bool release) override;
89 static bool isContentValid(const mediametrics::Item *item, bool isTrusted);
90 bool isRateLimited(mediametrics::Item *) const;
91 void saveItem(const std::shared_ptr<const mediametrics::Item>& item);
93 bool expirations(const std::shared_ptr<const mediametrics::Item>& item) REQUIRES(mLock);
126 std::deque<std::shared_ptr<const mediametrics::Item>> mItems GUARDED_BY(mLock);
DAnalyticsActions.h40 using Elem = mediametrics::Item::Prop::Elem;
61 void(const std::shared_ptr<const mediametrics::Item>& item)>;
93 getActionsForItem(const std::shared_ptr<const mediametrics::Item>& item) { in getActionsForItem()
99 mediametrics::Item::RECURSIVE_WILDCARD_CHECK_MATCH_FOUND) { in getActionsForItem()
112 const std::shared_ptr<const mediametrics::Item>& item) { in isMatch()
121 const std::shared_ptr<const mediametrics::Item>& item) { in isWildcardMatch()
DAudioPowerUsage.h34 void checkTrackRecord(const std::shared_ptr<const mediametrics::Item>& item, bool isTrack);
35 void checkMode(const std::shared_ptr<const mediametrics::Item>& item);
36 void checkVoiceVolume(const std::shared_ptr<const mediametrics::Item>& item);
37 void checkCreatePatch(const std::shared_ptr<const mediametrics::Item>& item);
86 static void sendItem(const std::shared_ptr<const mediametrics::Item>& item);
94 std::deque<std::shared_ptr<mediametrics::Item>> mItems GUARDED_BY(mLock);
DAudioAnalytics.h57 status_t submit(const std::shared_ptr<const mediametrics::Item>& item, bool isTrusted);
103 void checkActions(const std::shared_ptr<const mediametrics::Item>& item);
144 const std::shared_ptr<const android::mediametrics::Item> &item,
162 const std::shared_ptr<const android::mediametrics::Item> &item);
166 const std::shared_ptr<const android::mediametrics::Item> &item);
170 const std::shared_ptr<const android::mediametrics::Item> &item);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DItem.java28 public class Item implements Parcelable { class
36 public Item(int id, String text) { in Item() method in Item
40 public Item(int id, String text, Bitmap icon) { in Item() method in Item
46 public Item(Parcel in) { in Item() method in Item
64 public static final Parcelable.Creator<Item> CREATOR = new Parcelable.Creator<Item>() {
66 public Item createFromParcel(Parcel in) {
67 return new Item(in);
71 public Item[] newArray(int size) {
72 return new Item[size];
/frameworks/compile/slang/tests/P_struct_field/
DScriptField_Outer.java.expect34 static public class Item {
36 ScriptField_InnerOne.Item innerOneA;
38 ScriptField_InnerOne.Item innerOneB;
39 ScriptField_InnerTwo.Item[] innerTwo3;
40 ScriptField_InnerTwo.Item[] innerTwo2;
41 ScriptField_InnerOne.Item[] innerOne4;
42 ScriptField_InnerOne.Item innerOneC;
44 Item() {
45 innerOneA = new ScriptField_InnerOne.Item();
46 innerOneB = new ScriptField_InnerOne.Item();
[all …]
DScriptField_InnerTwo.java.expect34 static public class Item {
37 ScriptField_InnerOne.Item innerOne;
39 Item() {
40 innerOne = new ScriptField_InnerOne.Item();
45 private Item mItemArray[];
116 private void copyToArrayLocal(Item i, FieldPacker fp) {
124 private void copyToArray(Item i, int index) {
130 public synchronized void set(Item i, int index, boolean copyNow) {
131 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
142 public synchronized Item get(int index) {
[all …]
DScriptField_InnerOne.java.expect34 static public class Item {
40 Item() {
45 private Item mItemArray[];
115 private void copyToArrayLocal(Item i, FieldPacker fp) {
121 private void copyToArray(Item i, int index) {
127 public synchronized void set(Item i, int index, boolean copyNow) {
128 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
139 public synchronized Item get(int index) {
146 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
147 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/base/core/java/android/content/
DClipData.java177 final ArrayList<Item> mItems;
198 public static class Item { class in ClipData
206 public Item(Item other) { in Item() method in ClipData.Item
216 public Item(CharSequence text) { in Item() method in ClipData.Item
232 public Item(CharSequence text, String htmlText) { in Item() method in ClipData.Item
242 public Item(Intent intent) { in Item() method in ClipData.Item
252 public Item(Uri uri) { in Item() method in ClipData.Item
263 public Item(CharSequence text, Intent intent, Uri uri) { in Item() method in ClipData.Item
276 public Item(CharSequence text, String htmlText, Intent intent, Uri uri) { in Item() method in ClipData.Item
682 proto.write(ClipDataProto.Item.HTML_TEXT, mHtmlText); in dumpDebug()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemTest.java40 import com.android.setupwizardlib.items.Item;
67 Item item = new Item(); in testOnBindView()
91 Item item = new Item(); in testSingleLineItem()
104 Item item = new Item(); in testProperties()
136 Item item = new Item(); in testDefaultValues()
152 Item item = new Item(); in testHierarchyImplementation()
163 Item item = new Item(); in testVisible()
DItemInflaterTest.java25 import com.android.setupwizardlib.items.Item;
52 Item child0 = (Item) itemGroup.getItemAt(0); in testInflate()
53 Item child1 = (Item) itemGroup.getItemAt(1); in testInflate()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_struct_field.java34 private ScriptField_InnerOne.Item makeInnerOne() { in makeInnerOne()
35 ScriptField_InnerOne.Item innerOne = new ScriptField_InnerOne.Item(); in makeInnerOne()
42 private ScriptField_InnerTwo.Item makeInnerTwo() { in makeInnerTwo()
43 ScriptField_InnerTwo.Item innerTwo = new ScriptField_InnerTwo.Item(); in makeInnerTwo()
53 ScriptField_Outer.Item outer = new ScriptField_Outer.Item(); in run()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_struct_field.java32 private ScriptField_InnerOne.Item makeInnerOne() { in makeInnerOne()
33 ScriptField_InnerOne.Item innerOne = new ScriptField_InnerOne.Item(); in makeInnerOne()
40 private ScriptField_InnerTwo.Item makeInnerTwo() { in makeInnerTwo()
41 ScriptField_InnerTwo.Item innerTwo = new ScriptField_InnerTwo.Item(); in makeInnerTwo()
51 ScriptField_Outer.Item outer = new ScriptField_Outer.Item(); in run()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp208 std::unique_ptr<mediametrics::Item> random_key(mediametrics::Item::create("random_key")); in TEST()
218 std::unique_ptr<mediametrics::Item> audiotrack_key(mediametrics::Item::create("audiotrack")); in TEST()
267 mediametrics::Item item("audiorecord"); in TEST()
329 mediametrics::Item item("TheBigOne"); in TEST()
343 mediametrics::Item item("TheOddBigOne"); in TEST()
364 mediametrics::Item item("TheOne"); in TEST()
385 mediametrics::Item item("Alchemist's Stone"); in TEST()
401 mediametrics::Item item; in TEST()
412 mediametrics::Item item2; in TEST()
419 mediametrics::Item item; in TEST()
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptField_DivergentNest.java.expect31 static public class Item {
34 ScriptField_Divergent.Item d;
37 Item() {
38 d = new ScriptField_Divergent.Item();
43 private Item mItemArray[];
121 private void copyToArrayLocal(Item i, FieldPacker fp) {
133 private void copyToArray(Item i, int index) {
139 public synchronized void set(Item i, int index, boolean copyNow) {
140 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
151 public synchronized Item get(int index) {
[all …]
/frameworks/av/media/libmediametrics/include/media/
DMediaMetricsItem.h718 class Item final : public mediametrics::BaseItem {
881 explicit Item(T key) in Item() function
883 Item() = default;
887 Item(const Item& other) = default;
888 Item(Item&& other) = default;
889 Item& operator=(const Item& other) = default;
890 Item& operator=(Item&& other) = default;
892 bool operator==(const Item& other) const {
902 bool operator!=(const Item& other) const {
907 static Item* create(T key) { in create()
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptField_DivergentNest.java.expect34 static public class Item {
37 ScriptField_Divergent.Item d;
40 Item() {
41 d = new ScriptField_Divergent.Item();
46 private Item mItemArray[];
124 private void copyToArrayLocal(Item i, FieldPacker fp) {
136 private void copyToArray(Item i, int index) {
142 public synchronized void set(Item i, int index, boolean copyNow) {
143 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
154 public synchronized Item get(int index) {
[all …]
DScriptField_NonDivergent.java.expect34 static public class Item {
39 Item() {
44 private Item mItemArray[];
113 private void copyToArrayLocal(Item i, FieldPacker fp) {
118 private void copyToArray(Item i, int index) {
124 public synchronized void set(Item i, int index, boolean copyNow) {
125 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
136 public synchronized Item get(int index) {
143 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
144 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
DScriptField_Divergent.java.expect34 static public class Item {
40 Item() {
45 private Item mItemArray[];
123 private void copyToArrayLocal(Item i, FieldPacker fp) {
131 private void copyToArray(Item i, int index) {
137 public synchronized void set(Item i, int index, boolean copyNow) {
138 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
149 public synchronized Item get(int index) {
156 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
157 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptField_MyStruct.java.expect34 static public class Item {
39 Item() {
44 private Item mItemArray[];
114 private void copyToArrayLocal(Item i, FieldPacker fp) {
120 private void copyToArray(Item i, int index) {
126 public synchronized void set(Item i, int index, boolean copyNow) {
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
138 public synchronized Item get(int index) {
145 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
146 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptField_MyStruct.java.expect34 static public class Item {
39 Item() {
44 private Item mItemArray[];
114 private void copyToArrayLocal(Item i, FieldPacker fp) {
120 private void copyToArray(Item i, int index) {
126 public synchronized void set(Item i, int index, boolean copyNow) {
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
138 public synchronized Item get(int index) {
145 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
146 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptField_MyStruct.java.expect34 static public class Item {
39 Item() {
44 private Item mItemArray[];
114 private void copyToArrayLocal(Item i, FieldPacker fp) {
120 private void copyToArray(Item i, int index) {
126 public synchronized void set(Item i, int index, boolean copyNow) {
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
138 public synchronized Item get(int index) {
145 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
146 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]

1234567