/aosp14/frameworks/base/sax/java/android/sax/ |
H A D | Children.java | 35 if (current == null) { in getOrCreate() 38 children[index] = current; in getOrCreate() 39 return current; in getOrCreate() 48 return current; in getOrCreate() 51 previous = current; in getOrCreate() 52 current = current.next; in getOrCreate() 57 previous.next = current; in getOrCreate() 58 return current; in getOrCreate() 70 if (current == null) { in get() 77 return current; in get() [all …]
|
H A D | RootElement.java | 101 Element current = null; field in RootElement.Handler 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() 197 current.endTextElementListener.end(body); in endElement() [all …]
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | TransformUtils.java | 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() 61 current.resize(dimensions); in makeTempFrame() [all …]
|
H A D | Filter.java | 41 public int current = STATE_UNPREPARED; field in Filter.State 44 return current == state; in check() 443 if (mState.current == State.STATE_OPEN) { in performPreparation() 594 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() 627 mState.current = State.STATE_PREPARED; in softReset() 634 if (mState.current == State.STATE_OPEN) { in performTearDown() [all …]
|
/aosp14/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 136 char *current = result; in quoteArg() local 145 *(current++) = '"'; in quoteArg() 150 *(current++) = '\\'; in quoteArg() 156 *(current++) = '"'; in quoteArg() 157 *(current++) = '\0'; in quoteArg() 204 int current = 0; in sendDataLockedv() local 207 ssize_t rc = TEMP_FAILURE_RETRY(writev(mSocket, iov + current, iovcnt - current)); in sendDataLockedv() 219 while (current < iovcnt && written >= iov[current].iov_len) { in sendDataLockedv() 221 current++; in sendDataLockedv() 223 if (current == iovcnt) { in sendDataLockedv() [all …]
|
/aosp14/frameworks/base/libs/hwui/utils/ |
H A D | StringUtils.cpp | 24 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()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
H A D | UsbPortHidl.java | 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() 457 current.currentMode, in notifyPortStatusChange_1_1() 458 current.status.canChangeMode, current.status.currentPowerRole, in notifyPortStatusChange_1_1() 459 current.status.canChangePowerRole, in notifyPortStatusChange_1_1() 460 current.status.currentDataRole, current.status.canChangeDataRole, in notifyPortStatusChange_1_1() 470 + current.status.portName); in notifyPortStatusChange_1_1() [all …]
|
H A D | UsbPortAidl.java | 666 PortStatus current = currentPortStatus[i]; in notifyPortStatusChange() local 671 toPortMode(current.currentMode), in notifyPortStatusChange() 672 current.canChangeMode, in notifyPortStatusChange() 673 current.currentPowerRole, in notifyPortStatusChange() 674 current.canChangePowerRole, in notifyPortStatusChange() 675 current.currentDataRole, in notifyPortStatusChange() 676 current.canChangeDataRole, in notifyPortStatusChange() 682 current.powerTransferLimited, in notifyPortStatusChange() 683 current.powerBrickStatus, in notifyPortStatusChange() 686 current.plugOrientation, in notifyPortStatusChange() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DeviceDiscoveryAction.java | 334 if (current.mLogicalAddress != cmd.getSource()) { in handleReportPhysicalAddress() 342 current.mPortId = getPortId(current.mPhysicalAddress); in handleReportPhysicalAddress() 343 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress() 345 current.mDisplayName = ""; in handleReportPhysicalAddress() 350 current.mDeviceType, in handleReportPhysicalAddress() 351 current.mPhysicalAddress); in handleReportPhysicalAddress() 366 if (current.mLogicalAddress != cmd.getSource()) { 380 current.mDisplayName = displayName; 389 if (current.mLogicalAddress != cmd.getSource()) { 398 current.mVendorId = vendorId; [all …]
|
H A D | ActiveSourceHandler.java | 83 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()
|
/aosp14/system/core/libcutils/ |
H A D | hashmap.cpp | 198 Entry* current = *p; in hashmapPut() local 201 if (current == NULL) { in hashmapPut() 213 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapPut() 215 current->value = value; in hashmapPut() 220 p = ¤t->next; in hashmapPut() 245 Entry* current; in hashmapRemove() local 246 while ((current = *p) != NULL) { in hashmapRemove() 247 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapRemove() 249 *p = current->next; in hashmapRemove() 250 free(current); in hashmapRemove() [all …]
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | VertexBuffer.h | 116 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);
|
H A D | AnimationContext.cpp | 36 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; in destroy() local 37 AnimatorManager& animators = current->mRenderNode->animators(); in destroy() 39 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in destroy() 69 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; in runRemainingAnimations() local 70 AnimatorManager& animators = current->mRenderNode->animators(); in runRemainingAnimations() 73 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in runRemainingAnimations()
|
/aosp14/frameworks/base/api/ |
H A D | Android.bp | 66 name: "current-api-xml", 68 srcs: [":frameworks-base-api-current.txt"], 69 out: ["current.api"], 116 name: "frameworks-base-api-current-compat", 120 ":frameworks-base-api-current.txt", 136 ":frameworks-base-api-current.txt", 137 ":frameworks-base-api-system-current.txt", 154 ":frameworks-base-api-current.txt", 173 name: "frameworks-base-api-current.srcjar", 175 out: ["current.srcjar"], [all …]
|
H A D | Android.mk | 2 …heckapi: frameworks-base-api-current-compat frameworks-base-api-system-current-compat frameworks-b…
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | ResourceUtils.cpp | 32 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()
|
/aosp14/frameworks/base/core/api/ |
H A D | Android.bp | 31 name: "non-updatable-current.txt", 32 srcs: ["current.txt"], 41 name: "non-updatable-system-current.txt", 42 srcs: ["system-current.txt"], 56 name: "non-updatable-module-lib-current.txt", 57 srcs: ["module-lib-current.txt"], 81 name: "non-updatable-test-current.txt", 82 srcs: ["test-current.txt"], 98 api_file: "current.txt", 107 api_file: "module-lib-current.txt",
|
/aosp14/system/core/init/ |
H A D | first_stage_mount.cpp | 430 Fstab::iterator current = begin + 1; in MountPartition() local 431 for (; current != fstab_.end() && current->mount_point == begin->mount_point; current++) { in MountPartition() 440 current = fstab_.erase(begin, current); in MountPartition() 443 *end = current; in MountPartition() 529 for (auto current = fstab_.begin(); current != fstab_.end();) { in MountPartitions() local 532 ++current; in MountPartitions() 537 if (current->fs_type == "overlay") { in MountPartitions() 538 ++current; in MountPartitions() 545 if (current->fs_type == "emmc") { in MountPartitions() 546 ++current; in MountPartitions() [all …]
|
H A D | security.cpp | 47 int current = max; in SetHighestAvailableOptionValue() local 48 while (current >= min) { in SetHighestAvailableOptionValue() 50 std::string str_val = std::to_string(current); in SetHighestAvailableOptionValue() 66 current--; in SetHighestAvailableOptionValue() 70 if (current < min) { in SetHighestAvailableOptionValue()
|
/aosp14/frameworks/base/tools/bit/ |
H A D | aapt.cpp | 177 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()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/permission/ |
H A D | PermissionManagerService.java | 1108 next = current.getNext(); in finishDataDelivery() 1126 ? current : next; in finishDataDelivery() 1161 current = next; in finishDataDelivery() 1289 current = next; in checkAppOpPermission() 1324 permission, current.getUid(), current.getRenouncedPermissions())) { in checkRuntimePermission() 1344 current = next; in checkRuntimePermission() 1356 && (current.isTrusted(context) || current.equals(attributionSource)) in checkRuntimePermission() 1391 current = next; in checkRuntimePermission() 1505 && (current.isTrusted(context) || current.equals(attributionSource)) in checkOp() 1516 final int opMode = performOpTransaction(context, current.getToken(), op, current, in checkOp() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/test-apps/PackageParserApp/ |
H A D | Android.bp | 26 sdk_version: "current", 39 sdk_version: "current", 52 sdk_version: "current", 66 sdk_version: "current", 80 sdk_version: "current", 94 sdk_version: "current",
|
/aosp14/frameworks/base/core/java/android/content/ |
H A D | AttributionSource.java | 140 this(current.getUid(), current.getPid(), current.getPackageName(), in AttributionSource() 141 current.getAttributionTag(), current.getToken(), in AttributionSource() 142 current.mAttributionSourceState.renouncedPermissions, next); in AttributionSource() 599 public Builder(@NonNull AttributionSource current) { in Builder() argument 600 if (current == null) { in Builder() 603 mAttributionSourceState.uid = current.getUid(); in Builder() 604 mAttributionSourceState.pid = current.getPid(); in Builder() 605 mAttributionSourceState.packageName = current.getPackageName(); in Builder() 606 mAttributionSourceState.attributionTag = current.getAttributionTag(); in Builder() 607 mAttributionSourceState.token = current.getToken(); in Builder() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
H A D | FoldStateLoggingProviderImpl.kt | 82 private fun dispatchState(@LoggedFoldedStates current: Int) { 87 if (previous != null && previous != current && lastActionStart != null) { 89 val foldStateChange = FoldStateChange(previous, current, time) 92 Log.d(TAG, "From $previous to $current in $time") 97 lastState = current
|
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
H A D | GraphicBufferMetrics.java | 130 final String current = separator > 0 ? path.substring(0, separator) : path; in findEvents() local 133 if (child.mName.equals(current)) { in findEvents() 295 RawEvent current = new RawEvent(parent, timeStampMcs, eventText); in buildEventModel() local 296 parent.mChildren.add(current); in buildEventModel() 297 result.put(threadId, current); in buildEventModel() 302 RawEvent current = result.get(threadId); in buildEventModel() local 303 current.mDuration = timeStampMcs - current.mTime; in buildEventModel() 304 if (current.mParent == null) { in buildEventModel() 307 if (!current.mChildren.isEmpty()) { in buildEventModel() 308 current.mChildren.remove(current.mChildren.size() -1); in buildEventModel() [all …]
|