Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 1685) sorted by relevance

12345678910>>...68

/frameworks/base/libs/hwui/tests/unit/
DJankTrackerTests.cpp38 info->set(FrameInfoIndex::IntendedVsync) = 100_ms; in TEST()
39 info->set(FrameInfoIndex::Vsync) = 101_ms; in TEST()
40 info->set(FrameInfoIndex::SwapBuffersCompleted) = 115_ms; in TEST()
41 info->set(FrameInfoIndex::GpuCompleted) = 115_ms; in TEST()
42 info->set(FrameInfoIndex::FrameCompleted) = 115_ms; in TEST()
43 info->set(FrameInfoIndex::FrameInterval) = 16_ms; in TEST()
44 info->set(FrameInfoIndex::FrameDeadline) = 120_ms; in TEST()
48 info->set(FrameInfoIndex::IntendedVsync) = 116_ms; in TEST()
49 info->set(FrameInfoIndex::Vsync) = 117_ms; in TEST()
50 info->set(FrameInfoIndex::SwapBuffersCompleted) = 129_ms; in TEST()
[all …]
/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/
DCamera2PortabilityTest.java114 AndroidCamera2Settings set = new AndroidCamera2Settings( in camera2SettingsSetOptionsAndGetRequestSettings() local
119 set.setFocusMode(FocusMode.AUTO); in camera2SettingsSetOptionsAndGetRequestSettings()
120 camera2SettingsCheckSingleOption(set, CONTROL_AF_MODE, CONTROL_AF_MODE_AUTO); in camera2SettingsSetOptionsAndGetRequestSettings()
121 set.setFocusMode(FocusMode.CONTINUOUS_PICTURE); in camera2SettingsSetOptionsAndGetRequestSettings()
122 camera2SettingsCheckSingleOption(set, CONTROL_AF_MODE, CONTROL_AF_MODE_CONTINUOUS_PICTURE); in camera2SettingsSetOptionsAndGetRequestSettings()
123 set.setFocusMode(FocusMode.CONTINUOUS_VIDEO); in camera2SettingsSetOptionsAndGetRequestSettings()
124 camera2SettingsCheckSingleOption(set, CONTROL_AF_MODE, CONTROL_AF_MODE_CONTINUOUS_VIDEO); in camera2SettingsSetOptionsAndGetRequestSettings()
125 set.setFocusMode(FocusMode.EXTENDED_DOF); in camera2SettingsSetOptionsAndGetRequestSettings()
126 camera2SettingsCheckSingleOption(set, CONTROL_AF_MODE, CONTROL_AF_MODE_EDOF); in camera2SettingsSetOptionsAndGetRequestSettings()
127 set.setFocusMode(FocusMode.FIXED); in camera2SettingsSetOptionsAndGetRequestSettings()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java67 cal.set(Calendar.HOUR_OF_DAY, 1); in testGetNextChangeTime_startToday()
68 cal.set(Calendar.MINUTE, 15); in testGetNextChangeTime_startToday()
69 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_startToday()
70 cal.set(Calendar.MILLISECOND, 0); in testGetNextChangeTime_startToday()
81 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.startHour); in testGetNextChangeTime_startToday()
93 cal.set(Calendar.HOUR_OF_DAY, 2); in testGetNextChangeTime_endToday()
94 cal.set(Calendar.MINUTE, 15); in testGetNextChangeTime_endToday()
95 cal.set(Calendar.SECOND, 0); in testGetNextChangeTime_endToday()
96 cal.set(Calendar.MILLISECOND, 0); in testGetNextChangeTime_endToday()
107 expected.set(Calendar.HOUR_OF_DAY, mScheduleInfo.endHour); in testGetNextChangeTime_endToday()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/util/
DArraySetPerfTest.java44 ArraySet<Integer> set = new ArraySet<>(); in testValueAt_InBounds() local
45 set.add(0); in testValueAt_InBounds()
48 set.valueAt(0); in testValueAt_InBounds()
56 ArraySet<Integer> set = new ArraySet<>(); in testValueAt_OutOfBounds_Negative() local
60 set.valueAt(-1); in testValueAt_OutOfBounds_Negative()
75 ArraySet<Integer> set = new ArraySet<>(); in testValueAt_OutOfBounds_EdgeCase() local
76 set.add(0); in testValueAt_OutOfBounds_EdgeCase()
80 set.valueAt(1); in testValueAt_OutOfBounds_EdgeCase()
98 ArraySet<Integer> set = new ArraySet<>(); in testRemoveIf_Small_Base() local
100 set.add(j); in testRemoveIf_Small_Base()
[all …]
/frameworks/base/core/java/android/util/
DSparseSetArray.java34 ArraySet<T> set = mData.get(n); in add() local
35 if (set == null) { in add()
36 set = new ArraySet<>(); in add()
37 mData.put(n, set); in add()
39 if (set.contains(value)) { in add()
42 set.add(value); in add()
57 final ArraySet<T> set = mData.get(n); in contains() local
58 if (set == null) { in contains()
61 return set.contains(value); in contains()
76 final ArraySet<T> set = mData.get(n); in remove() local
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicColorMatrix.java164 mMatrix.set(0, 0, 0.299f); in setGreyscale()
165 mMatrix.set(1, 0, 0.587f); in setGreyscale()
166 mMatrix.set(2, 0, 0.114f); in setGreyscale()
167 mMatrix.set(0, 1, 0.299f); in setGreyscale()
168 mMatrix.set(1, 1, 0.587f); in setGreyscale()
169 mMatrix.set(2, 1, 0.114f); in setGreyscale()
170 mMatrix.set(0, 2, 0.299f); in setGreyscale()
171 mMatrix.set(1, 2, 0.587f); in setGreyscale()
172 mMatrix.set(2, 2, 0.114f); in setGreyscale()
183 mMatrix.set(0, 0, 1.f); in setYUVtoRGB()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicColorMatrix.java151 mMatrix.set(0, 0, 0.299f);
152 mMatrix.set(1, 0, 0.587f);
153 mMatrix.set(2, 0, 0.114f);
154 mMatrix.set(0, 1, 0.299f);
155 mMatrix.set(1, 1, 0.587f);
156 mMatrix.set(2, 1, 0.114f);
157 mMatrix.set(0, 2, 0.299f);
158 mMatrix.set(1, 2, 0.587f);
159 mMatrix.set(2, 2, 0.114f);
170 mMatrix.set(0, 0, 1.f);
[all …]
/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp225 mBuilder->uniform("uInterpolationStrength").set(&INTERPOLATION_STRENGTH_VALUE, 1); in createSkShader()
226 mBuilder->uniform("uStretchAffectedDistX").set(&StretchEffect::CONTENT_DISTANCE_STRETCHED, 1); in createSkShader()
227 mBuilder->uniform("uStretchAffectedDistY").set(&StretchEffect::CONTENT_DISTANCE_STRETCHED, 1); in createSkShader()
228 mBuilder->uniform("uDistanceStretchedX").set(&distanceStretchedX, 1); in createSkShader()
229 mBuilder->uniform("uDistanceStretchedY").set(&distanceStretchedY, 1); in createSkShader()
230 mBuilder->uniform("uInverseDistanceStretchedX").set(&inverseDistanceStretchedX, 1); in createSkShader()
231 mBuilder->uniform("uInverseDistanceStretchedY").set(&inverseDistanceStretchedY, 1); in createSkShader()
232 mBuilder->uniform("uDistDiffX").set(&diffX, 1); in createSkShader()
233 mBuilder->uniform("uDistDiffY").set(&diffY, 1); in createSkShader()
234 mBuilder->uniform("uOverscrollX").set(&normOverScrollDistX, 1); in createSkShader()
[all …]
/frameworks/base/libs/hwui/
DFrameInfo.h87 set(FrameInfoIndex::FrameTimelineVsyncId) = INVALID_VSYNC_ID; in UiFrameInfoBuilder()
92 set(FrameInfoIndex::FrameDeadline) = std::numeric_limits<int64_t>::max(); in UiFrameInfoBuilder()
97 set(FrameInfoIndex::FrameTimelineVsyncId) = vsyncId; in setVsync()
98 set(FrameInfoIndex::Vsync) = vsyncTime; in setVsync()
99 set(FrameInfoIndex::IntendedVsync) = intendedVsync; in setVsync()
102 set(FrameInfoIndex::HandleInputStart) = vsyncTime; in setVsync()
103 set(FrameInfoIndex::AnimationStart) = vsyncTime; in setVsync()
104 set(FrameInfoIndex::PerformTraversalsStart) = vsyncTime; in setVsync()
105 set(FrameInfoIndex::DrawStart) = vsyncTime; in setVsync()
106 set(FrameInfoIndex::FrameDeadline) = frameDeadline; in setVsync()
[all …]
/frameworks/hardware/interfaces/stats/aidl/vts/functional/
DVtsHalStatsTargetTest.cpp47 tmp.set<VendorAtomValue::longValue>(70000); in TEST_P()
49 tmp.set<VendorAtomValue::intValue>(7); in TEST_P()
51 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P()
53 tmp.set<VendorAtomValue::stringValue>("test"); in TEST_P()
55 tmp.set<VendorAtomValue::intValue>(3); in TEST_P()
68 tmp.set<VendorAtomValue::longValue>(70000); in TEST_P()
70 tmp.set<VendorAtomValue::intValue>(7); in TEST_P()
72 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P()
74 tmp.set<VendorAtomValue::stringValue>("test"); in TEST_P()
76 tmp.set<VendorAtomValue::intValue>(3); in TEST_P()
[all …]
/frameworks/base/core/java/android/provider/
DSettingsStringUtil.java85 final ColonDelimitedSet<String> set in addAll() local
87 return set.addAll(elements) ? set.toString() : delimitedElements; in addAll()
91 final ColonDelimitedSet<String> set in add() local
93 if (set.contains(element)) { in add()
96 set.add(element); in add()
97 return set.toString(); in add()
101 final ColonDelimitedSet<String> set in remove() local
103 if (!set.contains(element)) { in remove()
106 set.remove(element); in remove()
107 return set.toString(); in remove()
[all …]
/frameworks/av/services/audioflinger/
DThreadMetrics.h52 .set(AMEDIAMETRICS_PROP_EVENT, AMEDIAMETRICS_PROP_EVENT_VALUE_DTOR) in ~ThreadMetrics()
79 .set(AMEDIAMETRICS_PROP_EVENT, AMEDIAMETRICS_PROP_EVENT_VALUE_CTOR) in logConstructor()
80 .set(AMEDIAMETRICS_PROP_TYPE, threadType) in logConstructor()
81 .set(AMEDIAMETRICS_PROP_THREADID, id) in logConstructor()
90 .set(AMEDIAMETRICS_PROP_EVENT, AMEDIAMETRICS_PROP_EVENT_VALUE_CREATEAUDIOPATCH) in logCreatePatch()
91 .set(AMEDIAMETRICS_PROP_INPUTDEVICES, inDevices) in logCreatePatch()
92 .set(AMEDIAMETRICS_PROP_OUTPUTDEVICES, outDevices) in logCreatePatch()
110 .set(AMEDIAMETRICS_PROP_THROTTLEMS, (double)throttleMs) in logThrottleMs()
116 .set(AMEDIAMETRICS_PROP_LATENCYMS, latencyMs) in logLatency()
139 .set(AMEDIAMETRICS_PROP_EVENT, eventName) in deliverDeviceMetrics()
[all …]
DTrackMetrics.h78 .set(AMEDIAMETRICS_PROP_ALLOWUID, (int32_t)creatorUid)
79 .set(AMEDIAMETRICS_PROP_EVENT,
81 .set(AMEDIAMETRICS_PROP_INTERNALTRACKID, internalTrackId)
82 .set(AMEDIAMETRICS_PROP_TRAITS, traits);
85 item.set(AMEDIAMETRICS_PROP_STREAMTYPE, toString(streamType).c_str());
104 .set(AMEDIAMETRICS_PROP_EVENT, in logInvalidate()
111 .set(AMEDIAMETRICS_PROP_LATENCYMS, latencyMs) in logLatencyAndStartup()
112 .set(AMEDIAMETRICS_PROP_STARTUPMS, startupMs) in logLatencyAndStartup()
146 .set(AMEDIAMETRICS_PROP_EVENT, eventName) in deliverDeviceMetrics()
147 .set(mIsOut ? AMEDIAMETRICS_PROP_OUTPUTDEVICES in deliverDeviceMetrics()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServiceEvents.java91 .set(MediaMetrics.Property.EVENT, "set") in logMetricEvent()
92 .set(MediaMetrics.Property.REQUESTED_MODE, in logMetricEvent()
94 .set(MediaMetrics.Property.MODE, AudioSystem.modeToString(mActualMode)) in logMetricEvent()
95 .set(MediaMetrics.Property.CALLING_PACKAGE, mPackage) in logMetricEvent()
100 .set(MediaMetrics.Property.EVENT, "inCommunicationTimeout") in logMetricEvent()
101 .set(MediaMetrics.Property.CALLING_PACKAGE, mPackage) in logMetricEvent()
287 .set(MediaMetrics.Property.CALLING_PACKAGE, mCaller) in logMetricEvent()
288 .set(MediaMetrics.Property.DIRECTION, mVal1 > 0 ? "up" : "down") in logMetricEvent()
289 .set(MediaMetrics.Property.EVENT, eventName) in logMetricEvent()
290 .set(MediaMetrics.Property.FLAGS, mVal2) in logMetricEvent()
[all …]
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dgradlew.bat12 set DEFAULT_JVM_OPTS=
14 set DIRNAME=%~dp0
15 if "%DIRNAME%" == "" set DIRNAME=.
16 set APP_BASE_NAME=%~n0
17 set APP_HOME=%DIRNAME%
22 set JAVA_EXE=java.exe
27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
29 echo Please set the JAVA_HOME variable in your environment to match the
35 set JAVA_HOME=%JAVA_HOME:"=%
36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
[all …]
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp214 mBuilder->uniform("uInterpolationStrength").set(&INTERPOLATION_STRENGTH_VALUE, 1); in getShader()
215 mBuilder->uniform("uStretchAffectedDistX").set(&width, 1); in getShader()
216 mBuilder->uniform("uStretchAffectedDistY").set(&height, 1); in getShader()
217 mBuilder->uniform("uDistanceStretchedX").set(&distanceStretchedX, 1); in getShader()
218 mBuilder->uniform("uDistanceStretchedY").set(&distanceStretchedY, 1); in getShader()
219 mBuilder->uniform("uInverseDistanceStretchedX").set(&inverseDistanceStretchedX, 1); in getShader()
220 mBuilder->uniform("uInverseDistanceStretchedY").set(&inverseDistanceStretchedY, 1); in getShader()
221 mBuilder->uniform("uDistDiffX").set(&diffX, 1); in getShader()
222 mBuilder->uniform("uDistDiffY").set(&diffY, 1); in getShader()
223 mBuilder->uniform("uOverscrollX").set(&normOverScrollDistX, 1); in getShader()
[all …]
/frameworks/av/media/tests/SampleVideoEncoder/
Dgradlew.bat11 set DIRNAME=%~dp0
12 if "%DIRNAME%" == "" set DIRNAME=.
13 set APP_BASE_NAME=%~n0
14 set APP_HOME=%DIRNAME%
17 set DEFAULT_JVM_OPTS=
22 set JAVA_EXE=java.exe
27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
29 echo Please set the JAVA_HOME variable in your environment to match the
35 set JAVA_HOME=%JAVA_HOME:"=%
36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
[all …]
/frameworks/base/startop/apps/ColorChanging/
Dgradlew.bat11 set DIRNAME=%~dp0
12 if "%DIRNAME%" == "" set DIRNAME=.
13 set APP_BASE_NAME=%~n0
14 set APP_HOME=%DIRNAME%
17 set DEFAULT_JVM_OPTS=
22 set JAVA_EXE=java.exe
27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
29 echo Please set the JAVA_HOME variable in your environment to match the
35 set JAVA_HOME=%JAVA_HOME:"=%
36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
[all …]
/frameworks/base/tests/TouchLatency/
Dgradlew.bat11 set DIRNAME=%~dp0
12 if "%DIRNAME%" == "" set DIRNAME=.
13 set APP_BASE_NAME=%~n0
14 set APP_HOME=%DIRNAME%
17 set DEFAULT_JVM_OPTS=
22 set JAVA_EXE=java.exe
27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
29 echo Please set the JAVA_HOME variable in your environment to match the
35 set JAVA_HOME=%JAVA_HOME:"=%
36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DLogpersistPreferenceControllerTest.java58 SystemProperties.set("ro.debuggable", "1"); in setUp()
83 SystemProperties.set("ro.debuggable", ""); in testAvailable()
85 SystemProperties.set("ro.debuggable", "1"); in testAvailable()
87 SystemProperties.set("ro.debuggable", "0"); in testAvailable()
93 SystemProperties.set( in testUpdateLogpersistValues_null()
102 SystemProperties.set( in testUpdateLogpersistValues_all()
105 SystemProperties.set( in testUpdateLogpersistValues_all()
114 SystemProperties.set( in testUpdateLogpersistValues_defaultSecurityKernel()
117 SystemProperties.set( in testUpdateLogpersistValues_defaultSecurityKernel()
126 SystemProperties.set( in testUpdateLogpersistValues_kernel()
[all …]
/frameworks/base/core/java/com/google/android/collect/
DSets.java72 HashSet<E> set = new HashSet<E>(capacity); in newHashSet() local
73 Collections.addAll(set, elements); in newHashSet()
74 return set; in newHashSet()
95 SortedSet<E> set = new TreeSet<E>(); in newSortedSet() local
96 Collections.addAll(set, elements); in newSortedSet()
97 return set; in newSortedSet()
114 ArraySet<E> set = new ArraySet<E>(capacity); in newArraySet() local
115 Collections.addAll(set, elements); in newArraySet()
116 return set; in newArraySet()
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp52 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
62 mBC->set("ab", 2, "cd", 2); in TEST_F()
63 mBC->set("ef", 2, "gh", 2); in TEST_F()
74 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
86 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
94 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
100 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
101 mBC->set("abcd", 4, "ijkl", 4); in TEST_F()
111 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
112 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE + 1); in TEST_F()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java283 mTargetQuad.p0.set(0f, 0.0f); in updateTargetRect()
284 mTargetQuad.p1.set(1f, 0.0f); in updateTargetRect()
285 mTargetQuad.p2.set(0f, 1.0f); in updateTargetRect()
286 mTargetQuad.p3.set(1f, 1.0f); in updateTargetRect()
292 mTargetQuad.p0.set(0.5f - 0.5f / relativeAspectRatio, 0.0f); in updateTargetRect()
293 mTargetQuad.p1.set(0.5f + 0.5f / relativeAspectRatio, 0.0f); in updateTargetRect()
294 mTargetQuad.p2.set(0.5f - 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect()
295 mTargetQuad.p3.set(0.5f + 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect()
299 mTargetQuad.p0.set(0.0f, 0.5f - 0.5f * relativeAspectRatio); in updateTargetRect()
300 mTargetQuad.p1.set(1.0f, 0.5f - 0.5f * relativeAspectRatio); in updateTargetRect()
[all …]
/frameworks/base/core/java/android/hardware/radio/
DUtils.java82 static <T extends Parcelable> void writeSet(@NonNull Parcel dest, @Nullable Set<T> set) { in writeSet() argument
83 if (set == null) { in writeSet()
87 dest.writeInt(set.size()); in writeSet()
88 set.stream().forEach(elem -> dest.writeTypedObject(elem, 0)); in writeSet()
93 Set<T> set = new HashSet<>(size); in createSet() local
95 set.add(in.readTypedObject(c)); in createSet()
97 return set; in createSet()
100 static void writeIntSet(@NonNull Parcel dest, @Nullable Set<Integer> set) { in writeIntSet() argument
101 if (set == null) { in writeIntSet()
105 dest.writeInt(set.size()); in writeIntSet()
[all …]
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.cpp62 .set(AMEDIAMETRICS_PROP_EVENT, AMEDIAMETRICS_PROP_EVENT_VALUE_DTOR) in ~AAudioServiceStreamBase()
63 .set(AMEDIAMETRICS_PROP_STATE, AudioGlobal_convertStreamStateToText(getState())) in ~AAudioServiceStreamBase()
108 .set(AMEDIAMETRICS_PROP_ALLOWUID, (int32_t)getOwnerUserId()) in logOpen()
109 .set(AMEDIAMETRICS_PROP_EVENT, AMEDIAMETRICS_PROP_EVENT_VALUE_OPEN) in logOpen()
111 .set(AMEDIAMETRICS_PROP_BUFFERCAPACITYFRAMES, (int32_t)getBufferCapacity()) in logOpen()
112 .set(AMEDIAMETRICS_PROP_BURSTFRAMES, (int32_t)getFramesPerBurst()) in logOpen()
113 .set(AMEDIAMETRICS_PROP_CHANNELCOUNT, (int32_t)getSamplesPerFrame()) in logOpen()
114 .set(AMEDIAMETRICS_PROP_CONTENTTYPE, toString(attributes.content_type).c_str()) in logOpen()
115 .set(AMEDIAMETRICS_PROP_DIRECTION, in logOpen()
117 .set(AMEDIAMETRICS_PROP_ENCODING, toString(getFormat()).c_str()) in logOpen()
[all …]

12345678910>>...68