/frameworks/minikin/tests/unittest/ |
D | SparseBitSetTest.cpp | 38 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/ |
D | TouchedWindow.h | 52 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;
|
D | InputTarget.h | 94 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>;
|
D | TouchedWindow.cpp | 144 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()
|
D | InputTarget.cpp | 40 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()
|
D | TouchState.cpp | 139 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()
|
D | CancelationOptions.h | 54 std::optional<std::bitset<MAX_POINTER_ID + 1>> pointerIds = std::nullopt;
|
D | TouchState.h | 61 std::bitset<MAX_POINTER_ID + 1> pointerIds,
|
D | InputState.h | 144 const MotionMemento& memento, std::bitset<MAX_POINTER_ID + 1> pointerIds,
|
/frameworks/native/include/input/ |
D | PrintTools.h | 30 std::string bitsetToString(const std::bitset<N>& bitset) { in bitsetToString() argument 31 if (bitset.none()) { in bitsetToString() 34 return bitset.to_string(); in bitsetToString()
|
D | VirtualInputDevice.h | 100 std::bitset<MAX_POINTERS> mActivePointers{};
|
/frameworks/base/core/java/android/content/pm/split/ |
D | SplitDependencyLoader.java | 230 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/ |
D | config_globals_custom.cc | 50 std::bitset<kNumConfigFlags> MakeConfigFlagsSet() { in MakeConfigFlagsSet() 52 std::bitset<kNumConfigFlags> flags_set; in MakeConfigFlagsSet()
|
/frameworks/native/vulkan/libvulkan/ |
D | driver_gen.h | 142 const std::bitset<ProcHook::EXTENSION_COUNT>& extensions); 145 const std::bitset<ProcHook::EXTENSION_COUNT>& extensions);
|
D | api_gen.h | 271 const std::bitset<driver::ProcHook::EXTENSION_COUNT>& extensions); 275 const std::bitset<driver::ProcHook::EXTENSION_COUNT>& extensions);
|
D | driver.h | 76 std::bitset<ProcHook::EXTENSION_COUNT> hook_extensions; 97 std::bitset<ProcHook::EXTENSION_COUNT> hook_extensions;
|
D | stubhal.cpp | 45 static std::bitset<kMaxInstances> g_instance_used(false);
|
D | driver.cpp | 109 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/ |
D | context_liveness_analyzer.h | 37 using ContextLiveness = std::bitset<sizeof(CPUState)>;
|
/frameworks/native/libs/binder/include/binder/ |
D | RpcServer.h | 274 std::bitset<8> mSupportedFileDescriptorTransportModes = std::bitset<8>().set(
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandGetCapabilities.cpp | 58 std::cout << "Capabilities: " << std::bitset<32>(cap) << std::endl; in doMain()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CapturedTouchpadEventConverter.h | 77 std::bitset<MAX_POINTER_ID + 1> mPointerIdsInUse;
|
/frameworks/libs/binary_translation/backend/x86_64/ |
D | machine_ir_opt.cc | 183 const std::bitset<sizeof(CPUState)> seen_get) { in RemovePutIfDead() 209 std::bitset<sizeof(CPUState)> seen_get; in RemoveRedundantPut()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 394 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/ |
D | InputEvent_test.cpp | 603 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()
|