Searched refs:getValue (Results 1 - 25 of 542) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/impl/
H A DGetCommand.java32 public <T> T getValue(CameraMetadataNative metadata, CameraMetadataNative.Key<T> key); method in interface:GetCommand
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DPssTable.java48 mergeStats(state, (int)that.getValue(key, PSS_SAMPLE_COUNT),
49 that.getValue(key, PSS_MINIMUM),
50 that.getValue(key, PSS_AVERAGE),
51 that.getValue(key, PSS_MAXIMUM),
52 that.getValue(key, PSS_USS_MINIMUM),
53 that.getValue(key, PSS_USS_AVERAGE),
54 that.getValue(key, PSS_USS_MAXIMUM));
65 final long count = getValue(key, PSS_SAMPLE_COUNT);
79 val = getValue(key, PSS_MINIMUM);
84 val = getValue(ke
[all...]
H A DDurationsTable.java37 this.addDuration(SparseMappingTable.getIdFromKey(key), from.getValue(key));
49 setValue(key, getValue(key) + value);
56 return getValue(key);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameValues.java31 Object value = super.getValue();
35 return Array.getLength(super.getValue());
49 Object value = super.getValue();
51 return super.getValue();
70 Object value = super.getValue();
120 Object curValue = super.getValue();
142 Object value = frame.getValue();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DCallbackHandlerTest.java64 assertTrue(captor.getValue());
86 assertEquals(enabled, (boolean) enableArg.getValue());
87 assertEquals(status, statusArg.getValue());
88 assertEquals(qs, qsArg.getValue());
89 assertEquals(in, (boolean) inArg.getValue());
90 assertEquals(out, (boolean) outArg.getValue());
91 assertEquals(description, descArg.getValue());
123 assertEquals(status, statusArg.getValue());
124 assertEquals(qs, qsArg.getValue());
125 assertEquals(type, (int) typeIconArg.getValue());
[all...]
/frameworks/base/core/java/android/animation/
H A DKeyframes.java54 Object getValue(float fraction); method in interface:Keyframes
76 * Works like {@link #getValue(float)}, but returning a primitive.
89 * Works like {@link #getValue(float)}, but returning a primitive.
H A DKeyframeSet.java204 public Object getValue(float fraction) { method in class:KeyframeSet
210 return mEvaluator.evaluate(fraction, mFirstKeyframe.getValue(),
211 mLastKeyframe.getValue());
222 return mEvaluator.evaluate(intervalFraction, mFirstKeyframe.getValue(),
223 nextKeyframe.getValue());
233 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(),
234 mLastKeyframe.getValue());
248 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(),
249 nextKeyframe.getValue());
254 return mLastKeyframe.getValue();
[all...]
H A DPathKeyframes.java66 public Object getValue(float fraction) { method in class:PathKeyframes
163 PointF pointF = (PointF) PathKeyframes.this.getValue(fraction);
177 PointF pointF = (PointF) PathKeyframes.this.getValue(fraction);
191 PointF pointF = (PointF) PathKeyframes.this.getValue(fraction);
205 PointF pointF = (PointF) PathKeyframes.this.getValue(fraction);
242 public Object getValue(float fraction) { method in class:PathKeyframes.IntKeyframesBase
255 public Object getValue(float fraction) { method in class:PathKeyframes.FloatKeyframesBase
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDumpData.java74 if (e.getValue() == null) {
84 if (!ret.containsKey(e.getValue())) {
85 ret.put(e.getValue(), new HashSet<String>());
87 ret.get(e.getValue()).add(e.getKey());
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DBaseRecipientChip.java45 CharSequence getValue(); method in interface:BaseRecipientChip
/frameworks/base/core/java/android/content/
H A DDefaultDataHandler.java100 String uriStr = atts.getValue(URI_STR);
107 atts.getValue(URI_STR) + " parsing failure");
112 String postfix = atts.getValue(POSTFIX);
165 String key = atts.getValue(0);
166 String value = atts.getValue(1);
176 Uri u = Uri.parse(atts.getValue(URI_STR));
179 atts.getValue(URI_STR) + " parsing failure");
185 selectionArgs[i] = atts.getValue(i+2);
187 mContentResolver.delete(u, atts.getValue(1), selectionArgs);
189 mContentResolver.delete(u, atts.getValue(
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCSVWriterFilter.java75 float sharpness = ((Float)sharpnessValue.getValue()).floatValue();
79 float overExposure = ((Float)overExposureValue.getValue()).floatValue();
83 float underExposure = ((Float)underExposureValue.getValue()).floatValue();
87 float colorfulness = ((Float)colorfulnessValue.getValue()).floatValue();
91 float contrast = ((Float)contrastValue.getValue()).floatValue();
95 float brightness = ((Float)brightnessValue.getValue()).floatValue();
99 float[] motionValues = (float[]) motionValuesFrameValue.getValue();
105 String imageFileName = ((String)imageFileNameFrameValue.getValue());
109 String csvFilePath = ((String)csvFilePathFrameValue.getValue());
/frameworks/base/core/tests/coretests/src/android/text/
H A DPackedIntVectorTest.java59 assertEquals(0, p.getValue(at, j));
61 assertEquals(p.getValue(at, j), i + j);
72 assertEquals(p.getValue(i, j), i * j);
90 assertEquals(p.getValue(i, j), expect);
109 assertEquals(p.getValue(i, j), expect);
122 assertEquals(p.getValue(i, j), i * j);
143 assertEquals(p.getValue(i, j), i * j);
149 assertEquals(p.getValue(i, j), (i + height - p.size()) * j);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DGlobalSetting.java39 public int getValue() { method in class:GlobalSetting
59 handleValueChanged(getValue());
H A DSecureSetting.java47 public int getValue() { method in class:SecureSetting
60 mObservedValue = getValue();
71 final int value = getValue();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DAverageFilterTest.java39 assertEquals(1f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(),
50 assertEquals(0.8f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(),
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DNodeAttribute.java18 public String getValue() { method in class:NodeAttribute
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DMultiArgAdapterEvaluationTest.java42 assertEquals(mBinder.merged.getText().toString(), join(obj1.getValue(), obj2.getValue()));
43 assertEquals(mBinder.view2.getText().toString(), join(obj2.getValue()));
44 assertEquals(mBinder.view2text.getText().toString(), obj2.getValue());
/frameworks/base/tests/utils/testutils/java/android/os/test/
H A DTestLooperTest.java84 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
86 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what));
88 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what));
90 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what));
116 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
118 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what));
145 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
147 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what));
149 collector.checkThat("3: messageC", messageC, equalTo(messageCaptor.getValue().what));
179 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue()
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockLooperTest.java84 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
86 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what));
88 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what));
90 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what));
116 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
118 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what));
145 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what));
147 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what));
149 collector.checkThat("3: messageC", messageC, equalTo(messageCaptor.getValue().what));
179 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue()
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
H A DMetricsLoggerServiceTest.java73 assertEquals(0, r.getValue());
82 assertEquals(N_EVENTS, r.getValue());
85 assertEquals(N_EVENTS, r.getValue());
96 assertEquals(N_EVENTS, r.getValue());
99 assertEquals(N_EVENTS, r.getValue());
108 assertEquals(3, r.getValue());
114 assertEquals(N_EVENTS, r.getValue());
117 assertEquals(N_EVENTS, r.getValue());
125 assertEquals(3, r1.getValue());
131 assertEquals(N_EVENTS, r2.getValue());
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUCache.java125 if (current == null || !current.bssidEqual(entry.getValue())) {
126 mCache.put(entry.getKey(), new ScanInstance(entry.getValue(), mInstant));
129 Log.d("ZXZ", "Add OSU " + entry.getKey() + " from " + entry.getValue().SSID);
132 entry.getValue().SSID + " to " + current);
142 if (mInstant - entry.getValue().getInstant() > SCAN_BATCH_HISTORY_SIZE) {
144 + entry.getValue().getInstant() + " @ " + mInstant);
157 results.put(entry.getKey(), entry.getValue().getScanResult());
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
H A DWifiNanStateManagerTest.java112 short transactionId1 = transactionId.getValue();
118 short transactionId2 = transactionId.getValue();
165 short transactionId1 = transactionId.getValue();
171 short transactionId2 = transactionId.getValue();
228 mDut.onPublishFail(transactionId.getValue(), reasonFail);
232 validateInternalTransactionInfoCleanedUp(transactionId.getValue());
241 mDut.onPublishSuccess(transactionId.getValue(), publishId1);
248 validateInternalTransactionInfoCleanedUp(transactionId.getValue());
257 mDut.onPublishSuccess(transactionId.getValue(), publishId2);
261 validateInternalTransactionInfoCleanedUp(transactionId.getValue());
[all...]
/frameworks/base/tools/aapt2/
H A DResourceParser_test.cpp72 String* str = test::getValue<String>(&mTable, u"@string/foo");
81 String* str = test::getValue<String>(&mTable, u"@string/foo");
100 String* str = test::getValue<String>(&mTable, u"@string/foo");
113 BinaryPrimitive* integer = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo");
123 BinaryPrimitive* integer = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo");
134 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo");
138 attr = test::getValue<Attribute>(&mTable, u"@attr/bar");
158 EXPECT_NE(nullptr, test::getValue<Attribute>(&mTable, u"@attr/foo"));
159 EXPECT_NE(nullptr, test::getValue<Attribute>(&mTable, u"@attr/baz"));
160 EXPECT_NE(nullptr, test::getValue<Styleabl
[all...]
H A DResourceTable_test.cpp57 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:attr/id"));
97 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:attr/layout_width"));
98 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:attr/id"));
99 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:string/ok"));
110 Attribute* attr = test::getValue<Attribute>(&table, u"@android:attr/foo");
117 attr = test::getValue<Attribute>(&table, u"@android:attr/foo");

Completed in 2041 milliseconds

1234567891011>>