Home
last modified time | relevance | path

Searched refs:bitset (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/minikin/tests/unittest/
DSparseBitSetTest.cpp38 SparseBitSet bitset(range.data(), range.size() / 2); in TEST() local
46 ASSERT_FALSE(bitset.get(ch)) << std::hex << ch; in TEST()
49 ASSERT_TRUE(bitset.get(ch)) << std::hex << ch; in TEST()
53 ASSERT_FALSE(bitset.get(ch)) << std::hex << ch; in TEST()
62 SparseBitSet bitset(&reader); in TEST() local
64 for (size_t i = 0; i < 10; ++i) ASSERT_FALSE(bitset.get(i)) << i; in TEST()
65 for (size_t i = 10; i < 20; ++i) ASSERT_TRUE(bitset.get(i)) << i; in TEST()
66 for (size_t i = 20; i < 30; ++i) ASSERT_FALSE(bitset.get(i)) << i; in TEST()
67 std::vector<uint8_t> newBuffer = writeToBuffer(bitset); in TEST()
75 SparseBitSet bitset(&reader); in TEST() local
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DTouchedWindow.h52 void removeTouchingPointers(DeviceId deviceId, std::bitset<MAX_POINTER_ID + 1> pointers);
58 void addPilferingPointers(DeviceId deviceId, std::bitset<MAX_POINTER_ID + 1> pointerIds);
60 std::bitset<MAX_POINTER_ID + 1> getPilferingPointers(DeviceId deviceId) const;
61 std::map<DeviceId, std::bitset<MAX_POINTER_ID + 1>> getPilferingPointers() const;
76 std::bitset<MAX_POINTER_ID + 1> pilferingPointerIds;
DInputTarget.h94 android::base::Result<void> addPointers(std::bitset<MAX_POINTER_ID + 1> pointerIds,
114 std::bitset<MAX_POINTER_ID + 1> getPointerIds() const;
121 using PointerIds = std::bitset<MAX_POINTER_ID + 1>;
DTouchedWindow.cpp144 std::bitset<MAX_POINTER_ID + 1> pointerIds; in removeTouchingPointer()
151 std::bitset<MAX_POINTER_ID + 1> pointers) { in removeTouchingPointers()
206 std::bitset<MAX_POINTER_ID + 1> pointerIds) { in addPilferingPointers()
214 std::bitset<MAX_POINTER_ID + 1> TouchedWindow::getPilferingPointers(DeviceId deviceId) const { in getPilferingPointers()
224 std::map<DeviceId, std::bitset<MAX_POINTER_ID + 1>> TouchedWindow::getPilferingPointers() const { in getPilferingPointers()
225 std::map<DeviceId, std::bitset<MAX_POINTER_ID + 1>> out; in getPilferingPointers()
DInputTarget.cpp40 Result<void> InputTarget::addPointers(std::bitset<MAX_POINTER_ID + 1> newPointerIds, in addPointers()
108 std::bitset<MAX_POINTER_ID + 1> InputTarget::getPointerIds() const { in getPointerIds()
DTouchState.cpp139 std::bitset<MAX_POINTER_ID + 1> pointerIds, in cancelPointersForWindowsExcept()
157 std::map<DeviceId, std::bitset<MAX_POINTER_ID + 1>> allPilferedPointerIdsByDevice; in cancelPointersForNonPilferingWindows()
174 std::bitset<MAX_POINTER_ID + 1> pilferedByOtherWindows = in cancelPointersForNonPilferingWindows()
DCancelationOptions.h54 std::optional<std::bitset<MAX_POINTER_ID + 1>> pointerIds = std::nullopt;
DTouchState.h61 std::bitset<MAX_POINTER_ID + 1> pointerIds,
DInputState.h144 const MotionMemento& memento, std::bitset<MAX_POINTER_ID + 1> pointerIds,
/frameworks/native/include/input/
DPrintTools.h30 std::string bitsetToString(const std::bitset<N>& bitset) { in bitsetToString() argument
31 if (bitset.none()) { in bitsetToString()
34 return bitset.to_string(); in bitsetToString()
DVirtualInputDevice.h100 std::bitset<MAX_POINTERS> mActivePointers{};
/frameworks/base/core/java/android/content/pm/split/
DSplitDependencyLoader.java230 final BitSet bitset = new BitSet(); in createDependenciesFromPackage() local
234 bitset.clear(); in createDependenciesFromPackage()
237 if (bitset.get(splitIdx)) { in createDependenciesFromPackage()
242 bitset.set(splitIdx); in createDependenciesFromPackage()
/frameworks/libs/binary_translation/base/
Dconfig_globals_custom.cc50 std::bitset<kNumConfigFlags> MakeConfigFlagsSet() { in MakeConfigFlagsSet()
52 std::bitset<kNumConfigFlags> flags_set; in MakeConfigFlagsSet()
/frameworks/native/vulkan/libvulkan/
Ddriver_gen.h142 const std::bitset<ProcHook::EXTENSION_COUNT>& extensions);
145 const std::bitset<ProcHook::EXTENSION_COUNT>& extensions);
Dapi_gen.h271 const std::bitset<driver::ProcHook::EXTENSION_COUNT>& extensions);
275 const std::bitset<driver::ProcHook::EXTENSION_COUNT>& extensions);
Ddriver.h76 std::bitset<ProcHook::EXTENSION_COUNT> hook_extensions;
97 std::bitset<ProcHook::EXTENSION_COUNT> hook_extensions;
Dstubhal.cpp45 static std::bitset<kMaxInstances> g_instance_used(false);
Ddriver.cpp109 const std::bitset<ProcHook::EXTENSION_COUNT>& GetHookExtensions() const;
110 const std::bitset<ProcHook::EXTENSION_COUNT>& GetHalExtensions() const;
153 std::bitset<ProcHook::EXTENSION_COUNT> hook_extensions_;
154 std::bitset<ProcHook::EXTENSION_COUNT> hal_extensions_;
431 const std::bitset<ProcHook::EXTENSION_COUNT>&
436 const std::bitset<ProcHook::EXTENSION_COUNT>&
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Dcontext_liveness_analyzer.h37 using ContextLiveness = std::bitset<sizeof(CPUState)>;
/frameworks/native/libs/binder/include/binder/
DRpcServer.h274 std::bitset<8> mSupportedFileDescriptorTransportModes = std::bitset<8>().set(
/frameworks/native/cmds/idlcli/vibrator/
DCommandGetCapabilities.cpp58 std::cout << "Capabilities: " << std::bitset<32>(cap) << std::endl; in doMain()
/frameworks/native/services/inputflinger/reader/mapper/
DCapturedTouchpadEventConverter.h77 std::bitset<MAX_POINTER_ID + 1> mPointerIdsInUse;
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_opt.cc183 const std::bitset<sizeof(CPUState)> seen_get) { in RemovePutIfDead()
209 std::bitset<sizeof(CPUState)> seen_get; in RemoveRedundantPut()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp394 const SparseBitSet& bitset = getCmap14Coverage(vsIndex); in hasGlyph() local
395 if (bitset.empty()) { in hasGlyph()
399 return bitset.get(codepoint); in hasGlyph()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp603 std::bitset<MAX_POINTER_ID + 1> splitDownIds{}; in TEST_F()
613 std::bitset<MAX_POINTER_ID + 1> splitPointerDownIds{}; in TEST_F()
627 std::bitset<MAX_POINTER_ID + 1> splitMoveIds{}; in TEST_F()
646 std::bitset<MAX_POINTER_ID + 1> splitUpIds{}; in TEST_F()
656 std::bitset<MAX_POINTER_ID + 1> splitPointerUpIds{}; in TEST_F()
670 std::bitset<MAX_POINTER_ID + 1> splitMoveIds{}; in TEST_F()
694 std::bitset<MAX_POINTER_ID + 1> splitUpIds{}; in TEST_F()
715 std::bitset<MAX_POINTER_ID + 1> splitMoveIds{}; in TEST_F()

12