Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 25 of 80) sorted by relevance

1234

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconControllerImpl.java194 setIcon(slot, holder); in setIcon()
198 handleSet(slot, holder); in setIcon()
208 setIcon(slot, holder); in setNewWifiIcon()
261 setIcon(slot, holder); in setCallStrengthIcons()
286 setIcon(slot, holder); in setNoCallingIcons()
307 setExternalIcon(slot, icon); in setIconFromTile()
332 handleSet(slot, holder); in setIcon()
349 handleSet(slot, holder); in setIconVisibility()
356 if (!slot.hasIconsInSlot()) { in setIconAccessibilityLiveRegion()
407 if (!slot.hasIconsInSlot()) { in removeAllIconsForSlot()
[all …]
H A DStatusBarIconController.java82 void removeIconForTile(String slot); in removeIconForTile() argument
128 void removeIcon(String slot, int tag); in removeIcon() argument
133 void removeAllIconsForSlot(String slot); in removeAllIconsForSlot() argument
144 for (String slot : hideList) { in getIconHideList()
145 if (!TextUtils.isEmpty(slot)) { in getIconHideList()
146 ret.add(slot); in getIconHideList()
407 addHolder(index, slot, blocked, holder); in onIconAdded()
414 if (mBlockList.contains(slot)) { in addHolder()
454 String slot, in addNewMobileIcon() argument
481 String slot, int subId) { in onCreateModernStatusBarMobileView() argument
[all …]
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DProgram.java104 public Type getConstant(int slot) { in getConstant() argument
105 if (slot < 0 || slot >= mConstants.length) { in getConstant()
108 return mConstants[slot]; in getConstant()
125 if ((slot < 0) || (slot >= mTextureCount)) { in getTextureType()
128 return mTextures[slot]; in getTextureType()
137 public String getTextureName(int slot) { in getTextureName() argument
138 if ((slot < 0) || (slot >= mTextureCount)) { in getTextureName()
141 return mTextureNames[slot]; in getTextureName()
153 if (slot < 0 || slot >= mConstants.length) { in bindConstants()
174 if ((slot < 0) || (slot >= mTextureCount)) { in bindTexture()
[all …]
H A DScript.java48 mSlot = slot; in KernelID()
59 KernelID k = mKIDs.get(slot); in createKernelID()
70 mKIDs.put(slot, k); in createKernelID()
88 mSlot = slot; in InvokeID()
97 InvokeID i = mIIDs.get(slot); in createInvokeID()
108 mIIDs.put(slot, i); in createInvokeID()
126 mSlot = slot; in FieldID()
135 FieldID f = mFIDs.get(slot); in createFieldID()
146 mFIDs.put(slot, f); in createFieldID()
155 protected void invoke(int slot) { in invoke() argument
[all …]
H A DRenderScript.java749 rsnScriptInvoke(mContext, id, slot); in nScriptInvoke()
778 rsnScriptSetVarI(mContext, id, slot, val); in nScriptSetVarI()
783 return rsnScriptGetVarI(mContext, id, slot); in nScriptGetVarI()
789 rsnScriptSetVarJ(mContext, id, slot, val); in nScriptSetVarJ()
794 return rsnScriptGetVarJ(mContext, id, slot); in nScriptGetVarJ()
800 rsnScriptSetVarF(mContext, id, slot, val); in nScriptSetVarF()
805 return rsnScriptGetVarF(mContext, id, slot); in nScriptGetVarF()
810 rsnScriptSetVarD(mContext, id, slot, val); in nScriptSetVarD()
815 return rsnScriptGetVarD(mContext, id, slot); in nScriptGetVarD()
820 rsnScriptSetVarV(mContext, id, slot, val); in nScriptSetVarV()
[all …]
H A DProgramVertex.java71 public Element getInput(int slot) { in getInput() argument
72 if (slot < 0 || slot >= mInputs.length) { in getInput()
75 return mInputs[slot]; in getInput()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DPasswordSlotManager.java90 for (Integer slot : slotsToDelete) { in refreshActiveSlots()
91 mSlotMap.remove(slot); in refreshActiveSlots()
95 for (Integer slot : activeSlots) { in refreshActiveSlots()
96 mSlotMap.put(slot, getMode()); in refreshActiveSlots()
105 public void markSlotInUse(int slot) throws RuntimeException { in markSlotInUse() argument
107 if (mSlotMap.containsKey(slot) && !mSlotMap.get(slot).equals(getMode())) { in markSlotInUse()
110 mSlotMap.put(slot, getMode()); in markSlotInUse()
119 if (mSlotMap.containsKey(slot) && !mSlotMap.get(slot).equals(getMode())) { in markSlotDeleted()
122 mSlotMap.remove(slot); in markSlotDeleted()
154 final int slot = Integer.parseInt(slotString); in loadSlotMap() local
[all …]
H A DSyntheticPasswordManager.java610 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) { in weaverEnroll()
622 mWeaver.write(slot, key, value); in weaverEnroll()
652 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) {
662 readResponse = mWeaver.read(slot, key);
865 buffer.putInt(slot); in saveWeaverSlot()
872 if (slot != INVALID_WEAVER_SLOT) { in destroyWeaverSlot()
878 if (!usedSlots.contains(slot)) { in destroyWeaverSlot()
880 weaverEnroll(slot, null, null); in destroyWeaverSlot()
905 slots.add(slot); in getUsedWeaverSlots()
922 usedSlots.add(slot); in getNextAvailableWeaverSlot()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/recoverysystem/hal/
H A DBootControlHIDL.java110 public String getSuffix(int slot) throws RemoteException { in getSuffix() argument
111 return v1_hal.getSuffix(slot); in getSuffix()
115 public boolean isSlotBootable(int slot) throws RemoteException { in isSlotBootable() argument
116 int ret = v1_hal.isSlotBootable(slot); in isSlotBootable()
125 public boolean isSlotMarkedSuccessful(int slot) throws RemoteException { in isSlotMarkedSuccessful() argument
126 int ret = v1_hal.isSlotMarkedSuccessful(slot); in isSlotMarkedSuccessful()
143 public void setActiveBootSlot(int slot) throws RemoteException { in setActiveBootSlot() argument
144 CommandResult res = v1_hal.setActiveBootSlot(slot); in setActiveBootSlot()
151 public void setSlotAsUnbootable(int slot) throws RemoteException { in setSlotAsUnbootable() argument
152 CommandResult res = v1_hal.setSlotAsUnbootable(slot); in setSlotAsUnbootable()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
H A DFakeStatusBarIconController.java48 public void setIconFromTile(String slot, StatusBarIcon icon) { in setIconFromTile() argument
53 public void removeIconForTile(String slot) { in removeIconForTile() argument
58 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { in setIcon() argument
71 public void setCallStrengthIcons(String slot, List<CallIndicatorIconState> states) { in setCallStrengthIcons() argument
75 public void setNoCallingIcons(String slot, List<CallIndicatorIconState> states) { in setNoCallingIcons() argument
83 public void removeIcon(String slot, int tag) { in removeIcon() argument
87 public void removeAllIconsForSlot(String slot) { in removeAllIconsForSlot() argument
91 public void setIconAccessibilityLiveRegion(String slot, int mode) { in setIconAccessibilityLiveRegion() argument
/aosp14/frameworks/base/packages/SystemUI/docs/device-entry/
H A Dquickaffordance.md15 … on the lock screen. Each slot has a unique ID and a capacity denoting how many Quick Affordances …
17 By default, AOSP ships with a "bottom right" and a "bottom left" slot, each with a slot capacity of…
28slot. We remove a selection when the user un-selects a quick affordance in a slot or when the user…
43 …table accepts `insert` or `delete` operations to either add or remove a quick affordance on a slot.
44 … quick affordance on a slot, execute the `insert` operation on the `selections` table `Uri` and in…
45 …uick affordance from a slot, execute the `delete` operation on the `selections` table `Uri` and in…
52 * Show the quick affordances already selected for each slot based on the result of the `selections`…
53 * Select one quick affordance per slot at a time
54 * Unselect an already-selected quick affordance from a slot
55 * Unselect all already-selected quick affordances from a slot
[all …]
/aosp14/frameworks/base/tests/SurfaceViewBufferTests/cpp/
H A DSurfaceProxy.cpp132 sBuffers[slot] = anb; in Java_com_android_test_SurfaceProxy_SurfaceDequeueBuffer()
139 sAnw->cancelBuffer(sAnw, sBuffers[slot], -1); in Java_com_android_test_SurfaceProxy_SurfaceDequeueBuffer()
140 sBuffers[slot] = nullptr; in Java_com_android_test_SurfaceProxy_SurfaceDequeueBuffer()
150 assert(sBuffers[slot]); in Java_com_android_test_SurfaceProxy_SurfaceCancelBuffer()
151 int result = sAnw->cancelBuffer(sAnw, sBuffers[slot], -1); in Java_com_android_test_SurfaceProxy_SurfaceCancelBuffer()
152 sBuffers[slot] = nullptr; in Java_com_android_test_SurfaceProxy_SurfaceCancelBuffer()
160 assert(sBuffers[slot]); in Java_com_android_test_SurfaceProxy_drawBuffer()
164 ANativeWindowBuffer* buffer = sBuffers[slot]; in Java_com_android_test_SurfaceProxy_drawBuffer()
195 assert(sBuffers[slot]); in Java_com_android_test_SurfaceProxy_SurfaceQueueBuffer()
196 int result = sAnw->queueBuffer(sAnw, sBuffers[slot], -1); in Java_com_android_test_SurfaceProxy_SurfaceQueueBuffer()
[all …]
/aosp14/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
H A DSurfaceProxy.kt33 fun drawBuffer(slot: Int, @ColorInt c: Int) {
34 drawBuffer(slot, intArrayOf(Color.red(c), Color.green(c), Color.blue(c), Color.alpha(c)))
36 external fun drawBuffer(slot: Int, color: IntArray)
55 external fun SurfaceDequeueBuffer(slot: Int, timeoutMs: Int): Int
56 external fun SurfaceCancelBuffer(slot: Int)
57 external fun SurfaceQueueBuffer(slot: Int, freeSlot: Boolean = true): Int
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvUinputBridge.cpp126 slotsMap[pointerId] = slot; in assignSlot()
127 return slot; in assignSlot()
133 int slot = findSlot(pointerId); in unassignSlot() local
134 if (slot != SLOT_UNKNOWN) { in unassignSlot()
135 mtSlots.clearBit(slot); in unassignSlot()
459 if (slot == SLOT_UNKNOWN) { in nativeSendPointerDown()
460 slot = assignSlot(pointerId); in nativeSendPointerDown()
462 if (slot != SLOT_UNKNOWN) { in nativeSendPointerDown()
480 if (slot != SLOT_UNKNOWN) { in nativeSendPointerUp()
502 int32_t slot = SLOT_UNKNOWN; in nativeClear() local
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
H A DModernStatusBarView.kt38 private lateinit var slot: String
51 override fun getSlot() = slot
96 fun initView(slot: String, bindingCreator: () -> ModernStatusBarViewBinding) {
99 this.slot = slot
109 StatusBarIconView(mContext, slot, null).also {
/aosp14/system/core/fs_mgr/libsnapshot/
H A Ddevice_info.cpp56 std::string DeviceInfo::GetSuperDevice(uint32_t slot) const { in GetSuperDevice()
57 return fs_mgr_get_super_partition_name(slot); in GetSuperDevice()
107 bool DeviceInfo::SetSlotAsUnbootable([[maybe_unused]] unsigned int slot) {
113 CommandResult result = boot_control_->MarkSlotUnbootable(slot);
115 LOG(ERROR) << "Error setting slot " << slot << " unbootable: " << result.errMsg;
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameManager.java341 FrameSlot slot = new FrameSlot(type, flags); in addFrameSlot() local
342 mFrameSlots.put(name, slot); in addFrameSlot()
355 FrameSlot slot = getSlot(name); in removeFrameSlot() local
356 slot.releaseFrame(); in removeFrameSlot()
440 FrameSlot slot = mFrameSlots.get(name); in getSlot() local
441 if (slot == null) { in getSlot()
444 return slot; in getSlot()
448 for (FrameSlot slot : mFrameSlots.values()) { in onBeginRun()
449 slot.markWritable(); in onBeginRun()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBaseAppStateTimeSlotEvents.java142 final long slot = getSlotStartTime(now); in addEvent() local
144 Slog.i(mTag, "Adding event to slot " + slot); in addEvent()
154 for (long start = mCurSlotStartTime[index]; start < slot; start += mTimeSlotSize) { in addEvent()
159 mCurSlotStartTime[index] = slot; in addEvent()
169 final long slot = getSlotStartTime(earliest); in trimEvents() local
171 time < slot && events.size() > 0; time += mTimeSlotSize) { in trimEvents()
/aosp14/system/core/fastboot/
H A Dtask.cpp50 auto slot = slot_; in GetPartitionAndSlot() local
51 if (slot.empty()) { in GetPartitionAndSlot()
52 slot = get_current_slot(); in GetPartitionAndSlot()
54 if (slot.empty()) { in GetPartitionAndSlot()
57 if (slot == "all") { in GetPartitionAndSlot()
60 return pname_ + "_" + slot; in GetPartitionAndSlot()
270 const std::string& slot) in ResizeTask() argument
271 : fp_(fp), pname_(pname), size_(size), slot_(slot) {} in ResizeTask()
H A Dfastboot.cpp1317 if (slot == "all") { in verify_slot()
1333 if (slot == "other") { in verify_slot()
1341 if (slot.size() == 1 && (slot[0] - 'a' >= 0 && slot[0] - 'a' < count)) return slot; in verify_slot()
1367 if (slot == "") { in do_for_partition()
1397 if (slot == "all") { in do_for_partitions()
1551 auto slot = entry.second; in GetPartitionName() local
1552 if (slot.empty()) { in GetPartitionName()
1553 slot = current_slot; in GetPartitionName()
1555 if (slot.empty()) { in GetPartitionName()
1558 if (slot == "all") { in GetPartitionName()
[all …]
/aosp14/system/core/fs_mgr/
H A Dfs_mgr_dm_linear.cpp140 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in CreateLogicalPartitions() local
141 auto metadata = ReadMetadata(block_device.c_str(), slot); in CreateLogicalPartitions()
150 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReadCurrentMetadata() local
151 return ReadMetadata(block_device.c_str(), slot); in ReadCurrentMetadata()
197 auto slot = *metadata_slot; in InitDefaults() local
198 if (owned->metadata = ReadMetadata(*partition_opener, block_device, slot); in InitDefaults()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/
H A DModernStatusBarWifiView.kt40 "slot='$slot', " +
55 slot: String,
60 .also { it.initView(slot) { WifiViewBinder.bind(it, wifiViewModel) } }
/aosp14/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1794 slot, val); in nScriptSetVarI()
1815 slot, val); in nScriptSetVarObj()
1825 slot, val); in nScriptSetVarJ()
1846 slot, val); in nScriptSetVarF()
1867 slot, val); in nScriptSetVarD()
1969 rsScriptInvoke((RsContext)con, (RsScript)obj, slot); in nScriptInvoke()
2185 rsScriptReduce((RsContext)con, (RsScript)script, slot, in nScriptReduce()
2268 (void *)sid, slot, sig); in nScriptKernelIDCreate()
2278 (void *)sid, slot); in nScriptInvokeIDCreate()
2288 slot); in nScriptFieldIDCreate()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/
H A DModernStatusBarMobileView.kt38 "slot='$slot', " +
55 slot: String,
63 it.initView(slot) {
/aosp14/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.cpp81 for (auto& [index, slot] : mImageSlots) { in destroyLayer()
82 slot.clear(mRenderState.getRenderThread().getGrContext()); in destroyLayer()
155 int slot; in apply() local
163 mSurfaceTexture.get(), &slot, &dataspace, &hdrMetadataType, &cta861_3, in apply()
168 mCurrentSlot = slot; in apply()
169 sk_sp<SkImage> layerImage = mImageSlots[slot].createIfNeeded( in apply()

1234