/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | EventIndexTest.java | 71 List<Range<Long>> slots = mEventIndex.getActiveTimeSlots(); in testMultipleEvents() local 72 assertEquals(4, slots.size()); in testMultipleEvents() 73 assertTimeSlot(timestamp("01-06 00:00"), timestamp("01-07 00:00"), slots.get(0)); in testMultipleEvents() 74 assertTimeSlot(timestamp("01-27 16:00"), timestamp("01-27 20:00"), slots.get(1)); in testMultipleEvents() 75 assertTimeSlot(timestamp("01-30 03:00"), timestamp("01-30 04:00"), slots.get(2)); in testMultipleEvents() 76 assertTimeSlot(timestamp("01-30 18:14"), timestamp("01-30 18:16"), slots.get(3)); in testMultipleEvents() 82 List<Range<Long>> slots; in testBitmapShift() local 84 slots = mEventIndex.getActiveTimeSlots(); in testBitmapShift() 85 assertEquals(1, slots.size()); in testBitmapShift() 86 assertTimeSlot(timestamp("01-30 18:50"), timestamp("01-30 18:52"), slots.get(0)); in testBitmapShift() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconControllerImplTest.kt | 87 assertThat(iconList.slots).hasSize(2) in internalAndExternalIconWithSameName_externalFromTile_bothDisplayed() 89 assertThat(iconList.slots[0].name).isEqualTo(slotName + EXTERNAL_SLOT_SUFFIX) in internalAndExternalIconWithSameName_externalFromTile_bothDisplayed() 90 assertThat(iconList.slots[1].name).isEqualTo(slotName) in internalAndExternalIconWithSameName_externalFromTile_bothDisplayed() 91 assertThat(iconList.slots[0].hasIconsInSlot()).isTrue() in internalAndExternalIconWithSameName_externalFromTile_bothDisplayed() 92 assertThat(iconList.slots[1].hasIconsInSlot()).isTrue() in internalAndExternalIconWithSameName_externalFromTile_bothDisplayed() 115 assertThat(iconList.slots).hasSize(2) in internalAndExternalIconWithSameName_externalFromCommandQueue_bothDisplayed() 117 assertThat(iconList.slots[0].name).isEqualTo(slotName + EXTERNAL_SLOT_SUFFIX) in internalAndExternalIconWithSameName_externalFromCommandQueue_bothDisplayed() 118 assertThat(iconList.slots[1].name).isEqualTo(slotName) in internalAndExternalIconWithSameName_externalFromCommandQueue_bothDisplayed() 119 assertThat(iconList.slots[0].hasIconsInSlot()).isTrue() in internalAndExternalIconWithSameName_externalFromCommandQueue_bothDisplayed() 120 assertThat(iconList.slots[1].hasIconsInSlot()).isTrue() in internalAndExternalIconWithSameName_externalFromCommandQueue_bothDisplayed() [all …]
|
D | StatusBarIconListTest.java | 50 List<Slot> slots = statusBarIconList.getSlots(); in testGetExistingSlot() local 51 assertEquals(3, slots.size()); in testGetExistingSlot() 52 assertEquals("aaa", slots.get(0).getName()); in testGetExistingSlot() 53 assertEquals("bbb", slots.get(1).getName()); in testGetExistingSlot() 54 assertEquals("ccc", slots.get(2).getName()); in testGetExistingSlot() 63 List<Slot> slots = statusBarIconList.getSlots(); in testGetNonexistingSlot() local 64 assertEquals(4, slots.size()); in testGetNonexistingSlot() 66 assertEquals("zzz", slots.get(0).getName()); in testGetNonexistingSlot() 67 assertEquals("aaa", slots.get(1).getName()); in testGetNonexistingSlot() 78 List<Slot> slots = statusBarIconList.getSlots(); in testAddSlotSlidesIcons() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockWeaverService.java | 24 private Pair<ArrayList<Byte>, ArrayList<Byte>>[] slots = new Pair[MAX_SLOTS]; field in MockWeaverService 30 config.slots = MAX_SLOTS; in getConfig() 40 slots[slotId] = Pair.create((ArrayList<Byte>) key.clone(), (ArrayList<Byte>) value.clone()); in write() 51 if (key.equals(slots[slotId].first)) { in read() 52 response.value.addAll(slots[slotId].second); in read()
|
/frameworks/native/libs/gui/ |
D | BatchBufferOps.cpp | 33 const std::vector<int32_t>& slots, in requestBuffers() argument 36 outputs->reserve(slots.size()); in requestBuffers() 37 for (int32_t slot : slots) { in requestBuffers() 66 const std::vector<int32_t>& slots, in detachBuffers() argument 69 results->reserve(slots.size()); in detachBuffers() 70 for (int32_t slot : slots) { in detachBuffers()
|
D | IGraphicBufferProducer.cpp | 119 const std::vector<int32_t>& slots, in requestBuffers() argument 123 data.writeInt32Vector(slots); in requestBuffers() 250 virtual status_t detachBuffers(const std::vector<int32_t>& slots, in detachBuffers() argument 254 data.writeInt32Vector(slots); in detachBuffers() 786 const std::vector<int32_t>& slots, in requestBuffers() argument 788 return mBase->requestBuffers(slots, outputs); in requestBuffers() 815 status_t detachBuffers(const std::vector<int32_t>& slots, in detachBuffers() argument 817 return mBase->detachBuffers(slots, results); in detachBuffers() 1054 std::vector<int32_t> slots; in onTransact() local 1056 status_t result = data.readInt32Vector(&slots); in onTransact() [all …]
|
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/ |
D | FakeCustomizationProviderClient.kt | 29 slots: List<CustomizationProviderClient.Slot> = in <lambda>() 69 private val slots = MutableStateFlow(slots) in <lambda>() constant 89 return slots.value in <lambda>() 97 return slots.asStateFlow() in <lambda>() 154 slots.value = in <lambda>() 155 slots.value.toMutableList().apply { in <lambda>()
|
/frameworks/compile/libbcc/lib/ |
D | RSScriptGroupFusion.cpp | 92 const std::vector<int>& slots, in getFusedFuncSig() argument 97 auto slotIter = slots.begin(); in getFusedFuncSig() 135 const std::vector<int>& slots, in getFusedFuncType() argument 138 int error = getFusedFuncSig(sources, slots, signature); in getFusedFuncType() 144 const Function* firstF = getFunction(M, sources.front(), slots.front(), nullptr); in getFusedFuncType() 165 const Function* lastF = getFunction(M, sources.back(), slots.back(), nullptr); in getFusedFuncType() 178 const std::vector<int>& slots, in fuseKernels() argument 181 bccAssert(sources.size() == slots.size() && "sources and slots differ in size"); in fuseKernels() 186 getFusedFuncType(Context, sources, slots, mergedModule, &fusedFunctionSignature); in fuseKernels() 226 auto slotIter = slots.begin(); in fuseKernels() [all …]
|
D | RSScriptGroupFusion.h | 43 const std::vector<int>& slots,
|
D | RSCompilerDriver.cpp | 368 std::vector<int> slots; in buildScriptGroup() local 372 slots.push_back(p.second); in buildScriptGroup() 375 if (!fuseKernels(Context, sourcesToFuse, slots, nameOfFused, &module)) { in buildScriptGroup()
|
/frameworks/native/libs/gui/include/gui/ |
D | IProducerListener.h | 51 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots) = 0; // Asynchronous 74 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots);
|
D | IGraphicBufferProducer.h | 698 const std::vector<int32_t>& slots, 746 virtual status_t detachBuffers(const std::vector<int32_t>& slots,
|
D | Surface.h | 390 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots); 607 status_t getAndFlushBuffersFromSlots(const std::vector<int32_t>& slots,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardQuickAffordanceInteractor.kt | 170 val slots = repository.get().getSlotPickerRepresentations() in <lambda>() constant 171 val slot = slots.find { it.id == slotId } ?: return false in <lambda>() 212 val slots = repository.get().getSlotPickerRepresentations() in <lambda>() constant 213 if (slots.find { it.id == slotId } == null) { in <lambda>() 253 val slots = repository.get().getSlotPickerRepresentations() in <lambda>() constant 257 return slots.associate { slot -> in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusIconContainer.java | 230 public void addIgnoredSlots(List<String> slots) { in addIgnoredSlots() argument 232 for (String slot : slots) { in addIgnoredSlots() 271 public void removeIgnoredSlots(List<String> slots) { in removeIgnoredSlots() argument 273 for (String slot : slots) { in removeIgnoredSlots() 286 public void setIgnoredSlots(List<String> slots) { in setIgnoredSlots() argument 288 addIgnoredSlots(slots); in setIgnoredSlots()
|
D | StatusBarIconList.java | 37 public StatusBarIconList(String[] slots) { in StatusBarIconList() argument 38 final int N = slots.length; in StatusBarIconList() 40 mSlots.add(new Slot(slots[i], null)); in StatusBarIconList()
|
/frameworks/base/packages/SystemUI/docs/device-entry/ |
D | quickaffordance.md | 20 OEMs may choose to override the IDs and number of slots and/or override the default capacities. Thi… 26 "Selections" are many-to-many relationships between slots and quick affordances. We add a selection… 36 Generally speaking, there are three important tables served by the content provider: `slots`, `affo… 38 The `slots`, `affordances`, and `selections` tables may be queried using their `Uri` resulting with… 48 * Show the list of available slots based on the result of the `slots` table query
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 892 int slots[3] = {}; in TEST_F() local 896 mProducer->dequeueBuffer(&slots[i], &fence, 0, 0, 0, 0, nullptr, nullptr); in TEST_F() 898 ASSERT_EQ(OK, mProducer->requestBuffer(slots[i], &buffer)); in TEST_F() 901 ASSERT_EQ(OK, mProducer->cancelBuffer(slots[i], Fence::NO_FENCE)); in TEST_F() 1017 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots) { in onBuffersDiscarded() 1018 mDiscardedSlots.insert(mDiscardedSlots.end(), slots.begin(), slots.end()); in onBuffersDiscarded() 1047 int slots[4] = {}; in TEST_F() local 1051 mProducer->dequeueBuffer(&slots[i], &fence, 0, 0, 0, 0, nullptr, nullptr); in TEST_F() 1053 ASSERT_EQ(OK, mProducer->requestBuffer(slots[i], &buffer)); in TEST_F() 1056 ASSERT_EQ(OK, mProducer->cancelBuffer(slots[i], Fence::NO_FENCE)); in TEST_F() [all …]
|
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/ |
D | H2BProducerListener.h | 49 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots) override;
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | WProducerListener.h | 57 void onBuffersDiscarded(const std::vector<int32_t>& slots) override;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { in horizontalButtonSlots() argument 104 for (Slot slot : slots) { in horizontalButtonSlots()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 457 if (status == WeaverStatus.OK && config.slots > 0) { in initWeaverService() 461 + " slots: " + config.slots); in initWeaverService() 477 return mWeaver != null && mWeaverConfig.slots > 0; in isWeaverAvailable() 488 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) { in weaverEnroll() 518 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) { in weaverVerify() 756 HashSet<Integer> slots = new HashSet<>(); in getUsedWeaverSlots() local 760 slots.add(slot); in getUsedWeaverSlots() 763 return slots; in getUsedWeaverSlots() 769 for (int i = 0; i < mWeaverConfig.slots; i++) { in getNextAvailableWeaverSlot()
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | EvdevInjector.h | 86 int ConfigureAbsSlots(int slots);
|
D | EvdevInjector.cpp | 167 int EvdevInjector::ConfigureAbsSlots(int slots) { in ConfigureAbsSlots() argument 168 return ConfigureAbs(ABS_MT_SLOT, 0, slots, 0, 0); in ConfigureAbsSlots()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 161 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedSlotActivated() local 162 if (slots == null) { in isEmbeddedSlotActivated() 165 for (int i = 0; i < slots.length; ++i) { in isEmbeddedSlotActivated() 166 UiccSlot slotInfo = slots[i]; in isEmbeddedSlotActivated() 177 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedCardPresent() local 178 if (slots == null) { in isEmbeddedCardPresent() 181 for (UiccSlot slotInfo : slots) { in isEmbeddedCardPresent()
|