Home
last modified time | relevance | path

Searched refs:at (Results 1 – 25 of 1683) sorted by relevance

12345678910>>...68

/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp152 currentX += points->at(k + 0); in addCommand()
153 currentY += points->at(k + 1); in addCommand()
158 outPath->rLineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
160 outPath->rMoveTo(points->at(k + 0), points->at(k + 1)); in addCommand()
166 currentX = points->at(k + 0); in addCommand()
167 currentY = points->at(k + 1); in addCommand()
172 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
174 outPath->moveTo(points->at(k + 0), points->at(k + 1)); in addCommand()
180 outPath->rLineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
181 currentX += points->at(k + 0); in addCommand()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DPackedIntVectorTest.java49 int at; in testBasic() local
52 at = i; in testBasic()
54 at = p.size() - i; in testBasic()
62 p.insertAt(at, null); in testBasic()
64 p.insertAt(at, ins); in testBasic()
71 assertEquals(0, p.getValue(at, j)); in testBasic()
73 assertEquals(p.getValue(at, j), i + j); in testBasic()
148 int at = (osize - del) / 2; in testBasic() local
149 p.deleteAt(at, del); in testBasic()
153 for (int i = 0; i < at; i++) { in testBasic()
[all …]
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestLayers.cpp129 return mTestLayers.at(layer).getBuffer(outHandle, outAcquireFence); in getBuffer()
137 return mTestLayers.at(layer).getBlendMode(); in getBlendMode()
153 return mTestLayers.at(layer).getColor(); in getColor()
161 return mTestLayers.at(layer).getComposition(); in getComposition()
169 return mTestLayers.at(layer).getCursorPosition(); in getCursorPosition()
177 return mTestLayers.at(layer).getDataspace(); in getDataspace()
185 return mTestLayers.at(layer).getDisplayFrame(); in getDisplayFrame()
193 return mTestLayers.at(layer).getPlaneAlpha(); in getPlaneAlpha()
201 return mTestLayers.at(layer).getSourceCrop(); in getSourceCrop()
209 return mTestLayers.at(layer).getSurfaceDamage(); in getSurfaceDamage()
[all …]
/frameworks/rs/script_api/
Drs_atomic.spec41 Atomicly adds a value to the value at addr, i.e. <code>*addr += value</code>.
60 Atomicly performs a bitwise and of two values, storing the result back at addr,
81 If the value at addr matches compareValue then the newValue is written at addr,
104 …Atomicly subtracts one from the value at addr. This is equivalent to <code>@rsAtomicSub(addr, 1)<…
121 Atomicly adds one to the value at addr. This is equivalent to <code>@rsAtomicAdd(addr, 1)</code>.
139 Atomicly sets the value at addr to the maximum of *addr and value, i.e.
159 Atomicly sets the value at addr to the minimum of *addr and value, i.e.
179 Atomicly perform a bitwise or two values, storing the result at addr,
199 Atomicly subtracts a value from the value at addr, i.e. <code>*addr -= value</code>.
218 Atomicly performs a bitwise xor of two values, storing the result at addr,
/frameworks/native/opengl/tests/testPauseResume/
DREADME26 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfa…
27 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfa…
28 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:…
29 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.j…
30 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:110…
/frameworks/hardware/interfaces/stats/1.0/
Dtypes.hal6 * You may obtain a copy of the License at
111 MIN_TEMP = 1, // Snapshot at min batt temp over 24hrs.
112 MAX_TEMP, // Snapshot at max batt temp over 24hrs.
113 MIN_RESISTANCE, // Snapshot at min batt resistance over 24hrs.
114 MAX_RESISTANCE, // Snapshot at max batt resistance over 24hrs.
115 MIN_VOLTAGE, // Snapshot at min batt voltage over 24hrs.
116 MAX_VOLTAGE, // Snapshot at max batt voltage over 24hrs.
117 MIN_CURRENT, // Snapshot at min batt current over 24hrs.
118 MAX_CURRENT, // Snapshot at max batt current over 24hrs.
119 MIN_BATT_LEVEL, // Snapshot at min battery level (SoC) over 24hrs.
[all …]
/frameworks/base/cmds/idmap2/tests/
DXmlTests.cpp59 ASSERT_EQ(attrs->at("type_string"), "fortytwo"); in TEST()
60 ASSERT_EQ(std::stoi(attrs->at("type_int_dec")), 42); in TEST()
61 ASSERT_EQ(std::stoi(attrs->at("type_int_hex")), 42); in TEST()
62 ASSERT_NE(std::stoul(attrs->at("type_int_boolean")), 0U); in TEST()
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp391 … invalidValues->emplace_back(TField((validValues->at(0) + validValues->at(1)) / 2)); in getTestValues()
392 … invalidValues->emplace_back(TField((validValues->at(N - 2) + validValues->at(N - 1)) / 2)); in getTestValues()
395 invalidValues->emplace_back(TField(validValues->at(0) + 1)); in getTestValues()
396 invalidValues->emplace_back(TField(validValues->at(N - 1) - 1)); in getTestValues()
429 … invalidValues->emplace_back(TField((validValues->at(0) + validValues->at(1)) / 2)); in getTestValues()
430 … invalidValues->emplace_back(TField((validValues->at(N - 2) + validValues->at(N - 1)) / 2)); in getTestValues()
432 if (validValues->at(1) - validValues->at(0) > 1) { in getTestValues()
433 invalidValues->emplace_back(TField(validValues->at(0) + 1)); in getTestValues()
435 if (validValues->at(N - 1) - validValues->at(N - 2) > 1) { in getTestValues()
436 invalidValues->emplace_back(TField(validValues->at(N - 1) - 1)); in getTestValues()
/frameworks/base/core/proto/android/server/connectivity/
Ddata_stall_event.proto6 * You may obtain a copy of the License at
64 // Indicate the radio technology at the time of data stall suspected.
66 // True if device is in roaming network at the time of data stall suspected.
72 // Signal strength level at the time of data stall suspected.
78 // Signal strength at the time of data stall suspected.
/frameworks/base/core/proto/android/server/
Dwirelesschargerdetector.proto6 * You may obtain a copy of the License at
37 // True if the device is thought to be at rest on a wireless charger.
39 // The gravity vector most recently observed while at rest.
45 // True if the rest position should be updated if at rest.
49 // The number of samples collected that showed evidence of not being at rest.
/frameworks/ml/nn/common/
DIndexedShapeWrapper.cpp37 if (index->at(i) < shape->dimensions[i] - 1) { in nextIndexInplace()
47 ++index->at(i); in nextIndexInplace()
48 if (index->at(i) == shape->dimensions[i]) { in nextIndexInplace()
49 index->at(i) = 0; in nextIndexInplace()
/frameworks/base/core/java/android/os/
DUEventObserver.java141 int at = message.indexOf('\0', offset); in UEvent() local
142 if (at < 0) break; in UEvent()
144 if (equals > offset && equals < at) { in UEvent()
147 message.substring(equals + 1, at)); in UEvent()
150 offset = at + 1; in UEvent()
/frameworks/rs/script_api/include/
Drs_atomic.rsh6 * You may obtain a copy of the License at
42 * Atomicly adds a value to the value at addr, i.e. *addr += value.
63 * Atomicly performs a bitwise and of two values, storing the result back at addr,
85 * If the value at addr matches compareValue then the newValue is written at addr,
111 * Atomicly subtracts one from the value at addr. This is equivalent to rsAtomicSub(addr, 1).
131 * Atomicly adds one to the value at addr. This is equivalent to rsAtomicAdd(addr, 1).
151 * Atomicly sets the value at addr to the maximum of *addr and value, i.e.
173 * Atomicly sets the value at addr to the minimum of *addr and value, i.e.
195 * Atomicly perform a bitwise or two values, storing the result at addr,
217 * Atomicly subtracts a value from the value at addr, i.e. *addr -= value.
[all …]
/frameworks/av/media/libstagefright/xmlparser/test/
DXMLParserTest.cpp256 ASSERT_EQ(isEncoder, mInputRoleVector.at(index).isEncoder) in checkRoleMap()
258 ASSERT_EQ(typeName, mInputRoleVector.at(index).typeName) in checkRoleMap()
260 ASSERT_EQ(codecName, mInputRoleVector.at(index).codecName) in checkRoleMap()
264 (mInputRoleVector.at(index).attributeMap).begin(); in checkRoleMap()
267 itr_attributeMapDB != mInputRoleVector.at(index).attributeMap.end(); in checkRoleMap()
293 ASSERT_EQ(mInputDataVector.at(index).codecName, mcodec.first.c_str()) in TEST_F()
295 ASSERT_EQ(properties.isEncoder, mInputDataVector.at(index).codecProp.isEncoder) in TEST_F()
297 ASSERT_EQ(properties.order, mInputDataVector.at(index).codecProp.order) in TEST_F()
300 set<string> quirkSetDB = mInputDataVector.at(index).codecProp.quirkSet; in TEST_F()
308 mInputDataVector.at(index).codecProp.typeMap; in TEST_F()
[all …]
/frameworks/base/rs/java/android/renderscript/
DAllocationAdapter.java281 Type at = a.getType(); in createTyped() local
282 if ((t.getX() > at.getX()) || in createTyped()
283 (t.getY() > at.getY()) || in createTyped()
284 (t.getZ() > at.getZ()) || in createTyped()
285 (t.getArrayCount() > at.getArrayCount())) { in createTyped()
292 if (t.getArray(i) > at.getArray(i)) { in createTyped()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp106 EncodedBuffer::at(const Pointer& p) const in at() function in android::util::EncodedBuffer
144 return at(mWp); in writeBuffer()
278 uint8_t val = *at(mEp); in readRawByte()
323 *at(mEp) = (uint8_t) (val >> i); in editRawFixed32()
337 writeRawByte(*at(cp)); in copy()
373 return hasNext() ? const_cast<uint8_t const*>(mData->at(mRp)) : NULL; in readBuffer()
393 uint8_t res = *(mData->at(mRp)); in next()
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h95 mElements.at(mElements.size() - 1) - mElements.at(0) < HISTORY_TIME.count()) { in isRelevant()
102 if (mElements.at(mElements.size() - 1) < obsoleteEpsilon) { in isRelevant()
121 if (mElements.at(mElements.size() - (scheduler::LOW_ACTIVITY_BUFFERS + 1)) < in isLowActivityLayer()
/frameworks/compile/mclinker/include/mcld/MC/
DSymbolCategory.h46 LDSymbol& at(size_t pPosition) { return *m_OutputSymbols.at(pPosition); } in at() function
48 const LDSymbol& at(size_t pPosition) const { in at() function
49 return *m_OutputSymbols.at(pPosition); in at()
/frameworks/base/cmds/statsd/src/external/
DStatsPuller.cpp44 StatsPullerManager::kAllPullAtomInfo.at(mTagId).coolDownNs; in Pull()
66 pullDurationNs > StatsPullerManager::kAllPullAtomInfo.at(mTagId).pullTimeoutNs; in Pull()
103 StatsPullerManager::kAllPullAtomInfo.at(mTagId).coolDownNs) { in ClearCacheIfNecessary()
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp233 return at(strategy)->getAudioAttributes()[0]; in getAttributesForProductStrategy()
257 return at(getDefault())->getDeviceTypes(); in getDeviceTypesForProductStrategy()
259 return at(strategy)->getDeviceTypes(); in getDeviceTypesForProductStrategy()
270 return at(getDefault())->getDeviceAddress(); in getDeviceAddressForProductStrategy()
272 return at(psId)->getDeviceAddress(); in getDeviceAddressForProductStrategy()
304 return at(defaultStrategy)->getDefaultVolumeGroup(); in getDefaultVolumeGroup()
/frameworks/native/opengl/specs/
DEGL_ANDROID_get_frame_timestamps.txt19 Brian Anderson, Google Inc. (brianderson 'at' google.com)
20 Dan Stoza, Google Inc. (stoza 'at' google.com)
21 Pablo Ceballos, Google Inc. (pceballos 'at' google.com)
22 Jesse Hall, Google Inc. (jessehall 'at' google.com)
23 Fabien Sanglard, Google Inc. (sanglardf 'at' google.com)
186 - EGL_FIRST_COMPOSITION_START_TIME_ANDROID - The first time at which
188 - EGL_LAST_COMPOSITION_START_TIME_ANDROID - The last time at which the
195 - EGL_FIRST_COMPOSITION_GPU_FINISHED_TIME_ANDROID - The time at which
199 - EGL_DISPLAY_PRESENT_TIME_ANDROID - The time at which this frame
205 - EGL_READS_DONE_TIME_ANDROID - The time at which all reads for the
/frameworks/native/services/surfaceflinger/tests/
DBufferGeneratorShader.h157 // Burley 2012, "Physically-Based Shading at Disney"
320 // Camera position and "look at"
/frameworks/base/core/java/android/content/
DAutofillOptions.java89 final ActivityThread at = ActivityThread.currentActivityThread(); in forWhitelistingItself() local
90 if (at == null) { in forWhitelistingItself()
94 final String packageName = at.getApplication().getPackageName(); in forWhitelistingItself()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp113 return mDisplayData.at(*displayId).hwcDisplay->getCapabilities().count(capability) > 0; in hasDisplayCapability()
269 const auto& displayData = mDisplayData.at(displayId); in getRefreshTimestamp()
281 return mDisplayData.at(displayId).hwcDisplay->isConnected(); in isConnected()
288 const auto& displayData = mDisplayData.at(displayId); in getConfigs()
303 auto error = mDisplayData.at(displayId).hwcDisplay->getActiveConfig(&config); in getActiveConfig()
323 auto error = mDisplayData.at(displayId).hwcDisplay->getActiveConfigIndex(&index); in getActiveConfigIndex()
343 auto error = mDisplayData.at(displayId).hwcDisplay->getColorModes(&modes); in getColorModes()
519 return mDisplayData.at(*displayId).hasDeviceComposition; in hasDeviceComposition()
530 return ((static_cast<uint32_t>(mDisplayData.at(*displayId).displayRequests) & in hasFlipClientTargetRequest()
542 return mDisplayData.at(*displayId).hasClientComposition; in hasClientComposition()
[all …]
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp709 const auto& committed = context->at(var).committed; in toString()
727 ss << ", timestamp = " << context->at(var).timestamp; in toString()
735 int timestamp = context == nullptr ? var->timestamp : context->at(var).timestamp; in needEvaluate()
748 for (auto& var : evalOrder) context->at(var).stage(); in evalSubnetHelper()
754 for (int val : context->at(var).committed) { in evalSubnetHelper()
761 if (!context->at(var).eval()) return; in evalSubnetHelper()
782 var->op->eval(&context->at(var->parent1).committed, in evalSubnetSingleOpHelper()
783 var->parent2 == nullptr ? nullptr : &context->at(var->parent2).committed, in evalSubnetSingleOpHelper()
784 &context->at(var).committed, &context->at(var->parent1).staging, in evalSubnetSingleOpHelper()
785 var->parent2 == nullptr ? nullptr : &context->at(var->parent2).staging, in evalSubnetSingleOpHelper()
[all …]

12345678910>>...68