Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 791) sorted by relevance

12345678910>>...32

/frameworks/base/sax/java/android/sax/
DChildren.java34 Child current = children[index]; in getOrCreate() local
35 if (current == null) { in getOrCreate()
37 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate()
38 children[index] = current; in getOrCreate()
39 return current; in getOrCreate()
44 if (current.hash == hash in getOrCreate()
45 && current.uri.compareTo(uri) == 0 in getOrCreate()
46 && current.localName.compareTo(localName) == 0) { in getOrCreate()
48 return current; in getOrCreate()
51 previous = current; in getOrCreate()
[all …]
DRootElement.java101 Element current = null; field in RootElement.Handler
123 + " within text element named " + current + ".", in startElement()
128 if (depth == current.depth + 1) { in startElement()
130 Children children = current.children; in startElement()
155 this.current = e; in start()
180 Element current = this.current; in endElement() local
183 if (depth == current.depth) { in endElement()
184 current.checkRequiredChildren(locator); in endElement()
187 if (current.endElementListener != null) { in endElement()
188 current.endElementListener.end(); in endElement()
[all …]
/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp59 Category* current = m_pFile; in ~SymbolCategory() local
60 while (current != NULL) { in ~SymbolCategory()
61 Category* tmp = current; in ~SymbolCategory()
62 current = current->next; in ~SymbolCategory()
68 Category* current = m_pRegular; in add() local
72 while (current != NULL) { in add()
73 if (current->type == pTarget) { in add()
74 current->end++; in add()
77 if (!current->empty()) { in add()
78 std::swap(m_OutputSymbols[current->begin], in add()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DTransformUtils.java41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { in makeMipMappedFrame() argument
45 if (current == null) { in makeMipMappedFrame()
48 current = Frame.create(imageType, pow2Dims).asFrameImage2D(); in makeMipMappedFrame()
49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeMipMappedFrame()
50 current.resize(pow2Dims); in makeMipMappedFrame()
52 return current; in makeMipMappedFrame()
55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { in makeTempFrame() argument
56 if (current == null) { in makeTempFrame()
59 current = Frame.create(imageType, dimensions).asFrameImage2D(); in makeTempFrame()
60 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeTempFrame()
[all …]
DFilter.java41 public int current = STATE_UNPREPARED; field in Filter.State
44 return current == state; in check()
443 if (mState.current == State.STATE_OPEN) { in performPreparation()
592 if (mState.current == State.STATE_UNPREPARED) { in execute()
594 mState.current = State.STATE_PREPARED; in execute()
596 if (mState.current == State.STATE_PREPARED) { in execute()
599 mState.current = State.STATE_OPEN; in execute()
601 if (mState.current == State.STATE_OPEN) { in execute()
614 if (mState.current == State.STATE_OPEN) { in performClose()
617 mState.current = State.STATE_CLOSED; in performClose()
[all …]
/frameworks/base/libs/hwui/utils/
DStringUtils.cpp24 const char* current = spacedList; in split() local
25 const char* head = current; in split()
27 head = strchr(current, ' '); in split()
28 std::string s(current, head ? head - current : strlen(current)); in split()
32 current = head + 1; in split()
/frameworks/minikin/tests/unittest/
DBufferTest.cpp56 ASSERT_EQ(reader.current(), buffer.data()); in TEST()
58 ASSERT_EQ(reader.current(), buffer.data() + 1u); in TEST()
60 ASSERT_EQ(reader.current(), buffer.data() + 4u); in TEST()
62 ASSERT_EQ(reader.current(), buffer.data() + 5u); in TEST()
67 ASSERT_EQ(reader.current(), buffer.data() + 20u); in TEST()
71 ASSERT_EQ(reader.current(), buffer.data() + 24u); in TEST()
86 ASSERT_EQ(reader.current(), buffer.data()); in TEST()
88 ASSERT_EQ(reader.current(), buffer.data() + 1u); in TEST()
90 ASSERT_EQ(reader.current(), buffer.data() + 4u); in TEST()
92 ASSERT_EQ(reader.current(), buffer.data() + 5u); in TEST()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortHidl.java416 for (android.hardware.usb.V1_0.PortStatus current : currentPortStatus) { in notifyPortStatusChange()
417 RawPortInfo temp = new RawPortInfo(current.portName, in notifyPortStatusChange()
418 current.supportedModes, CONTAMINANT_PROTECTION_NONE, in notifyPortStatusChange()
419 current.currentMode, in notifyPortStatusChange()
420 current.canChangeMode, current.currentPowerRole, in notifyPortStatusChange()
421 current.canChangePowerRole, in notifyPortStatusChange()
422 current.currentDataRole, current.canChangeDataRole, in notifyPortStatusChange()
432 + current.portName); in notifyPortStatusChange()
454 PortStatus_1_1 current = currentPortStatus.get(i); in notifyPortStatusChange_1_1() local
455 RawPortInfo temp = new RawPortInfo(current.status.portName, in notifyPortStatusChange_1_1()
[all …]
DUsbPortAidl.java308 key = ThreadLocalRandom.current().nextInt(); in resetUsbPort()
349 key = ThreadLocalRandom.current().nextInt(); in enableUsbData()
392 key = ThreadLocalRandom.current().nextInt(); in enableLimitPowerTransfer()
433 key = ThreadLocalRandom.current().nextInt(); in enableUsbDataWhileDocked()
677 PortStatus current = currentPortStatus[i]; in notifyPortStatusChange() local
678 RawPortInfo temp = new RawPortInfo(current.portName, in notifyPortStatusChange()
679 toSupportedModes(current.supportedModes), in notifyPortStatusChange()
680 toSupportedContaminantProtectionModes(current in notifyPortStatusChange()
682 toPortMode(current.currentMode), in notifyPortStatusChange()
683 current.canChangeMode, in notifyPortStatusChange()
[all …]
/frameworks/av/services/audioflinger/fastpath/
DFastCapture.cpp82 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange() local
85 const size_t frameCount = current->mFrameCount; in onStateChange()
91 if (current->mInputSourceGen != mInputSourceGen) { in onStateChange()
92 mInputSource = current->mInputSource; in onStateChange()
93 mInputSourceGen = current->mInputSourceGen; in onStateChange()
110 if (current->mPipeSinkGen != mPipeSinkGen) { in onStateChange()
111 mPipeSink = current->mPipeSink; in onStateChange()
112 mPipeSinkGen = current->mPipeSinkGen; in onStateChange()
149 dumpState->mSilenced = current->mSilenceCapture; in onStateChange()
154 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork() local
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java339 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress()
340 if (current.mLogicalAddress != cmd.getSource()) { in handleReportPhysicalAddress()
341 Slog.w(TAG, "Unmatched address[expected:" + current.mLogicalAddress + ", actual:" + in handleReportPhysicalAddress()
347 current.mPhysicalAddress = HdmiUtils.twoBytesToInt(params); in handleReportPhysicalAddress()
348 current.mPortId = getPortId(current.mPhysicalAddress); in handleReportPhysicalAddress()
349 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress()
351 current.mDisplayName = ""; in handleReportPhysicalAddress()
355 localDevice().mService.getHdmiCecNetwork().updateCecSwitchInfo(current.mLogicalAddress, in handleReportPhysicalAddress()
356 current.mDeviceType, in handleReportPhysicalAddress()
357 current.mPhysicalAddress); in handleReportPhysicalAddress()
[all …]
DActiveSourceHandler.java83 ActiveSource current = tv.getActiveSource(); in process() local
84 if (current.logicalAddress == getSourceAddress()) { in process()
86 current.logicalAddress, current.physicalAddress); in process()
88 tv.updateActiveSource(current, "ActiveSourceHandler"); in process()
91 tv.startRoutingControl(newActive.physicalAddress, current.physicalAddress, in process()
/frameworks/av/media/codec2/docs/
Ddoxyfilter.sh4 global in_comment, current, indent, hold
5 in_comment, current, indent, hold = False, None, '', []
15 global current, hold
16 if current == '//':
29 global current, indent, hold
30 if t != current or ind not in (indent, indent + ' '):
32 current, indent = t, ind
36 global current, indent
41 current, indent = None, None
/frameworks/native/libs/ui/tests/
DRegion_test.cpp34 for (const Rect* current = r.begin(); current < r.end(); current++) { in verifyNoTJunctions() local
35 for (const Rect* other = current - 1; other >= r.begin(); other--) { in verifyNoTJunctions()
36 if (other->bottom < current->top) break; in verifyNoTJunctions()
37 if (other->bottom != current->top) continue; in verifyNoTJunctions()
38 checkVertTJunction(current, other); in verifyNoTJunctions()
40 for (const Rect* other = current + 1; other < r.end(); other++) { in verifyNoTJunctions()
41 if (other->top > current->bottom) break; in verifyNoTJunctions()
42 if (other->top != current->bottom) continue; in verifyNoTJunctions()
43 checkVertTJunction(current, other); in verifyNoTJunctions()
/frameworks/base/libs/hwui/
DVertexBuffer.h116 TYPE* current = (TYPE*)mBuffer; variable
117 TYPE* end = current + vertexCount;
118 mBounds.set(current->x, current->y, current->x, current->y);
119 for (; current < end; current++) {
120 mBounds.expandToCover(current->x, current->y);
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/material/
DIcon.kt43 tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), in Icon()
47 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon()
69 tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), in Icon()
73 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon()
92 tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), in Icon()
96 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp377 r = sliceInt(&info->current.z, r, mtls->start.z, mtls->end.z); in SelectOuterSlice()
378 r = sliceInt(&info->current.lod, r, mtls->start.lod, mtls->end.lod); in SelectOuterSlice()
379 r = sliceInt(&info->current.face, r, mtls->start.face, mtls->end.face); in SelectOuterSlice()
380 r = sliceInt(&info->current.array[0], r, mtls->start.array[0], mtls->end.array[0]); in SelectOuterSlice()
381 r = sliceInt(&info->current.array[1], r, mtls->start.array[1], mtls->end.array[1]); in SelectOuterSlice()
382 r = sliceInt(&info->current.array[2], r, mtls->start.array[2], mtls->end.array[2]); in SelectOuterSlice()
383 r = sliceInt(&info->current.array[3], r, mtls->start.array[3], mtls->end.array[3]); in SelectOuterSlice()
388 return sliceInt(&info->current.z, sliceNum, mtls->start.z, mtls->end.z) == 0; in SelectZSlice()
404 for (fep.current.y = mtls->start.y; fep.current.y < mtls->end.y; in walk_general_foreach()
405 fep.current.y++) { in walk_general_foreach()
[all …]
/frameworks/base/libs/androidfw/
DResourceUtils.cpp32 const char* current = start; in ExtractResourceName() local
33 while (current != end) { in ExtractResourceName()
34 if (out_type->size() == 0 && *current == '/') { in ExtractResourceName()
36 *out_type = StringPiece(start, current - start); in ExtractResourceName()
37 start = current + 1; in ExtractResourceName()
38 } else if (out_package->size() == 0 && *current == ':') { in ExtractResourceName()
40 *out_package = StringPiece(start, current - start); in ExtractResourceName()
41 start = current + 1; in ExtractResourceName()
43 current++; in ExtractResourceName()
/frameworks/rs/
DrsList.h33 current = const_cast<T*>(first); in List()
55 last = current; in push_back()
56 *current++ = value; in push_back()
58 if ((void*)current >= (void*)&currentBuffer->next) { in push_back()
62 current = &currentBuffer->data.typed; in push_back()
107 iterator end() const { return iterator(this, currentBuffer, current); } in end()
109 bool empty() const { return current == first; } in empty()
118 T* current;
/frameworks/base/core/api/
DAndroid.bp31 name: "non-updatable-current.txt",
32 srcs: ["current.txt"],
46 name: "non-updatable-system-current.txt",
47 srcs: ["system-current.txt"],
61 name: "non-updatable-module-lib-current.txt",
62 srcs: ["module-lib-current.txt"],
86 name: "non-updatable-test-current.txt",
87 srcs: ["test-current.txt"],
102 name: "non-updatable-exportable-current.txt",
112 name: "non-updatable-exportable-system-current.txt",
[all …]
/frameworks/av/tools/
Dmainline_hook_project.sh29 current=`git branch -vv | grep -P "^\*[^\[]+\[goog/"|sed -e 's/^.*\[//' | sed -e 's/\].*$//'|sed -e…
30 if [ "${current}" = "" ] ; then
31 current=unknown
36 if [ "${current}" != "${MAINLINE_BRANCH}" ] ; then
39 You are uploading repo ${RED}${REPO_PATH}${NORMAL} to branch ${RED}${current}${NORMAL}.
/frameworks/av/media/module/foundation/
DADebug.cpp40 const char *next = value, *current; in GetLevelFromSettingsString() local
42 current = next; in GetLevelFromSettingsString()
43 next = strchr(current, ','); in GetLevelFromSettingsString()
48 while (isspace(*current)) { in GetLevelFromSettingsString()
49 ++current; in GetLevelFromSettingsString()
52 const char *colon = strchr(current, ':'); in GetLevelFromSettingsString()
57 long level = strtol(current, &end, 10); in GetLevelFromSettingsString()
61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) { in GetLevelFromSettingsString()
/frameworks/base/services/tests/servicestests/test-apps/PackageParserApp/
DAndroid.bp26 sdk_version: "current",
39 sdk_version: "current",
52 sdk_version: "current",
66 sdk_version: "current",
80 sdk_version: "current",
94 sdk_version: "current",
108 sdk_version: "current",
122 sdk_version: "current",
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DRoundedCornerEnforcement.kt130 private fun findUndefinedBackground(current: View): View? { in findUndefinedBackground()
131 if (current.visibility != View.VISIBLE) { in findUndefinedBackground()
134 if (isViewVisible(current)) { in findUndefinedBackground()
135 return current in findUndefinedBackground()
140 if (current is ViewGroup) { in findUndefinedBackground()
141 val vg = current in findUndefinedBackground()
146 return current // At least two visible children in findUndefinedBackground()
/frameworks/base/tools/bit/
Daapt.cpp177 Element* current = NULL; in inspect_apk() local
207 current = element; in inspect_apk()
210 while (element->depth <= current->depth && current->parent != NULL) { in inspect_apk()
211 current = current->parent; in inspect_apk()
213 element->parent = current; in inspect_apk()
214 current->children.push_back(element); in inspect_apk()
215 current = element; in inspect_apk()
218 if (current != NULL) { in inspect_apk()
229 current->attributes.push_back(attr); in inspect_apk()

12345678910>>...32