/packages/modules/Bluetooth/system/gd/packet/ |
D | packet_view_unittest.cc | 136 ASSERT_EQ(0x00, general_case.extract<uint8_t>()); in TEST() 137 ASSERT_EQ(0x0201, general_case.extract<uint16_t>()); in TEST() 138 ASSERT_EQ(0x06050403u, general_case.extract<uint32_t>()); in TEST() 139 ASSERT_EQ(0x0e0d0c0b0a090807u, general_case.extract<uint64_t>()); in TEST() 140 ASSERT_EQ(0x0f, general_case.extract<uint8_t>()); in TEST() 142 ASSERT_EQ(raw, general_case.extract<Address>()); in TEST() 143 ASSERT_EQ(0x16, general_case.extract<uint8_t>()); in TEST() 150 ASSERT_EQ(0x00, general_case.extract<uint8_t>()); in TEST() 151 ASSERT_EQ(0x0102, general_case.extract<uint16_t>()); in TEST() 152 ASSERT_EQ(0x03040506u, general_case.extract<uint32_t>()); in TEST() [all …]
|
D | iterator.h | 81 FixedWidthPODType extract() { in extract() function 95 T extract() { in extract() function
|
/packages/modules/Bluetooth/system/gd/btaa/linux_generic/ |
D | hci_processor.cc | 51 connection_handle_value = connection_handle_it.extract<uint16_t>(); in process_le_event() 55 address_value = address_value_it.extract<hci::Address>(); in process_le_event() 131 connection_handle_value = connection_handle_it.extract<uint16_t>(); in process_command() 135 address_value = address_value_it.extract<hci::Address>(); in process_command() 161 connection_handle_value = connection_handle_it.extract<uint16_t>(); in process_event() 165 address_value = address_value_it.extract<hci::Address>(); in process_event() 211 uint16_t connection_handle_value = connection_handle.extract<uint16_t>() & 0xfff; in process_acl() 224 uint16_t connection_handle_value = connection_handle.extract<uint16_t>() & 0xfff; in process_sco() 237 uint16_t connection_handle_value = connection_handle.extract<uint16_t>() & 0xfff; in process_iso()
|
/packages/modules/Bluetooth/system/packet/base/ |
D | iterator.h | 75 FixedWidthIntegerType extract() { in extract() function 104 uint8_t extract8() { return extract<uint8_t>(); } in extract8() 105 uint16_t extract16() { return extract<uint16_t>(); } in extract16() 106 uint32_t extract32() { return extract<uint32_t>(); } in extract32() 107 uint64_t extract64() { return extract<uint64_t>(); } in extract64()
|
/packages/modules/Bluetooth/system/packet/tests/base/ |
D | iterator_test.cc | 74 ASSERT_EQ(0x02u, general_case.extract<uint8_t>()); in TEST_F() 75 ASSERT_EQ(0x2edcu, general_case.extract<uint16_t>()); in TEST_F() 76 ASSERT_EQ(0x00620066u, general_case.extract<uint32_t>()); in TEST_F() 77 ASSERT_EQ(0x00010000000a0013u, general_case.extract<uint64_t>()); in TEST_F() 108 ASSERT_DEATH(bounds_test.extract<uint8_t>(), in TEST_P() 110 ASSERT_DEATH(bounds_test.extract<uint16_t>(), in TEST_P() 112 ASSERT_DEATH(bounds_test.extract<uint32_t>(), in TEST_P() 114 ASSERT_DEATH(bounds_test.extract<uint64_t>(), in TEST_P()
|
/packages/modules/Bluetooth/system/gd/common/ |
D | lru_cache_test.cc | 35 EXPECT_FALSE(cache.extract(42)); in TEST() 180 EXPECT_TRUE(cache.extract(56)); in TEST() 216 EXPECT_TRUE(cache.extract(3)); in TEST() 273 EXPECT_TRUE(cache.extract(4)); in TEST() 286 EXPECT_TRUE(cache.extract(2)); in TEST() 287 EXPECT_TRUE(cache.extract(3)); in TEST() 347 EXPECT_FALSE(cache.extract(key)); in TEST() 350 auto removed = cache.extract(key); in TEST() 447 EXPECT_TRUE(cache.extract(key)); in TEST()
|
D | lru_cache.h | 148 evicted_node = list_map_.extract(std::prev(list_map_.end())->first); in insert_or_assign() 170 evicted_node = list_map_.extract(std::prev(list_map_.end())->first); in try_emplace() 179 inline std::optional<node_type> extract(const Key& key) { in extract() function 180 return list_map_.extract(key); in extract()
|
D | metric_id_manager.cc | 148 this->id_set_.extract(evicted->second); in AllocateId() 168 auto opt = temporary_device_cache_.extract(mac_address); in SaveDevice() 188 auto opt = paired_device_cache_.extract(mac_address); in ForgetDevice()
|
D | list_map_test.cc | 35 EXPECT_FALSE(list_map.extract(42)); in TEST() 165 list_map.extract(2); in TEST() 192 EXPECT_TRUE(list_map.extract(56)); in TEST() 263 auto removed = list_map.extract(key); in TEST() 349 EXPECT_TRUE(list_map.extract(key)); in TEST()
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache.cc | 199 auto section_properties = temporary_devices_.extract(section); in SetProperty() 230 if (information_sections_.extract(section) || persistent_devices_.extract(section)) { in RemoveSection() 234 return temporary_devices_.extract(section).has_value(); in RemoveSection() 242 auto value = section_iter->second.extract(property); in RemoveProperty() 256 auto value = section_iter->second.extract(property); in RemoveProperty() 262 auto section_properties = persistent_devices_.extract(section); in RemoveProperty() 278 auto value = section_iter->second.extract(property); in RemoveProperty()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 83 mActivityShadow = Shadow.extract(mActivity); in setUp() 145 final ShadowUserManager userManagerShadow = Shadow.extract(userManager); in testSetAdminSupportDetails() 166 final ShadowUserManager userManagerShadow = Shadow.extract(userManager); in testSetAdminSupportDetails_shortSupportMessageIsNull() 188 final ShadowUserManager userManagerShadow = Shadow.extract(userManager); in testSetAdminSupportDetailsNotAdmin() 210 ShadowUserManager userManagerShadow = Shadow.extract(userManager); in testMaybeSetLearnMoreButton()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | hci_layer_test.cc | 575 ASSERT_EQ(bd_addr, itr.extract<Address>()); in TEST_F() 576 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() 593 ASSERT_EQ(handle, sent_itr.extract<uint16_t>()); in TEST_F() 594 ASSERT_EQ(bd_addr, sent_itr.extract<Address>()); in TEST_F() 620 ASSERT_EQ(bd_addr, itr.extract<Address>()); in TEST_F() 621 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() 622 ASSERT_EQ(i, itr.extract<uint16_t>()); in TEST_F() 645 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() 646 ASSERT_EQ(i, itr.extract<uint16_t>()); in TEST_F()
|
D | acl_manager_test.cc | 736 ASSERT_EQ(itr.extract<uint16_t>(), 6u); // L2CAP PDU size in TEST_F() 737 ASSERT_EQ(itr.extract<uint16_t>(), 2u); // L2CAP CID in TEST_F() 738 ASSERT_EQ(itr.extract<uint16_t>(), handle_); in TEST_F() 739 ASSERT_GE(itr.extract<uint32_t>(), 0u); // packet number in TEST_F() 757 ASSERT_EQ(itr.extract<uint16_t>(), 6u); // L2CAP PDU size in TEST_F() 758 ASSERT_EQ(itr.extract<uint16_t>(), 2u); // L2CAP CID in TEST_F() 759 ASSERT_EQ(itr.extract<uint16_t>(), handle_); in TEST_F() 761 first_packet_number = itr.extract<uint32_t>(); in TEST_F() 770 ASSERT_EQ(itr.extract<uint16_t>(), 6u); // L2CAP PDU size in TEST_F() 771 ASSERT_EQ(itr.extract<uint16_t>(), 2u); // L2CAP CID in TEST_F() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | FlashNotificationsUtilTest.java | 35 import static org.robolectric.shadow.api.Shadow.extract; 126 ShadowCameraCharacteristics shadowCameraCharacteristics = extract(cameraCharacteristics); in isTorchAvailable_lensFacingFront_assertFalse() 208 ShadowCameraCharacteristics shadowCameraCharacteristics = extract(cameraCharacteristics); in setTorchPresent() 216 ShadowCameraCharacteristics shadowCameraCharacteristics = extract(cameraCharacteristics); in setTorchNotPresent()
|
D | AccessibilitySettingsContentObserverTest.java | 64 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in register_shouldRegisterContentObserverForDefaultKeys() 77 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in unregister_shouldUnregisterContentObserver() 89 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in register_addSpecificKeys_shouldRegisterContentObserverForSpecificAndDefaultKeys()
|
/packages/modules/Bluetooth/system/packet/avrcp/ |
D | get_element_attributes_packet.cc | 26 return it.extract<uint64_t>(); in GetIdentifier() 31 return it.extract<uint8_t>(); in GetNumAttributes() 38 size_t number_of_attributes = it.extract<uint8_t>(); in GetAttributesRequested()
|
/packages/modules/Bluetooth/system/gd/packet/parser/test/ |
D | variable.h | 51 size_t data_length = it.template extract<uint8_t>(); in Parse() 60 ss << it.template extract<char>(); in Parse()
|
/packages/modules/Bluetooth/system/profile/sdp/common/ |
D | data_element_reader.cc | 63 return (it_.extract<uint8_t>() != 0); in ReadNext() 103 array[i] = it_.extract<uint8_t>(); in ReadLargeInt() 166 uuid_array[i] = it_.extract<uint8_t>(); in ReadUuid()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/specialaccess/ |
D | SpecialAppAccessTest.java | 24 import static org.robolectric.shadow.api.Shadow.extract; 56 mActivityManager = extract(RuntimeEnvironment.application in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/zenaccess/ |
D | ZenAccessControllerTest.java | 57 mActivityManager = Shadow.extract(mContext.getSystemService(Context.ACTIVITY_SERVICE)); in setUp() 81 final ShadowNotificationManager snm = Shadow.extract(mContext.getSystemService( in hasAccess_granted_yes()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | BubbleSummaryNotificationPreferenceControllerTest.java | 80 Shadow.extract(mContext.getSystemService(ActivityManager.class)); in isAvailable_lowRam_returnsUnsupported() 88 Shadow.extract(mContext.getSystemService(ActivityManager.class)); in isAvailable_notLowRam_returnsAvailable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountDetailDashboardFragmentTest.java | 182 Shadow.extract(mContext.getSystemService(UserManager.class)); in onResume_accountMissing_shouldFinish() 194 Shadow.extract(mContext.getSystemService(UserManager.class)); in onResume_accountPresentOneProfile_shouldNotFinish() 206 Shadow.extract(mContext.getSystemService(UserManager.class)); in onResume_accountPresentTwoProfiles_shouldNotFinish()
|
/packages/modules/Bluetooth/floss/build/ |
D | llvm-rename.sh | 19 --slave /usr/bin/llvm-extract llvm-extract /usr/bin/llvm-extract-${version} \
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/ |
D | AddStartStateTest.java | 20 import static org.robolectric.shadow.api.Shadow.extract; 55 ShadowStateMachine shadowStateMachine = extract(stateMachine); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | ExternalSourcesDetailsTest.java | 115 final ShadowUserManager shadowUserManager = Shadow.extract(userManager); in refreshUi_userRestrictionsUnknownSources_disablesSwitchPreference() 154 final ShadowUserManager shadowUserManager = Shadow.extract(userManager); in refreshUi_userRestrictionsUnknownSourcesGlobally_disablesSwitchPreference() 193 final ShadowUserManager shadowUserManager = Shadow.extract(userManager); in refreshUi_bothUnknownSourcesUserRestrictions_disableSwitchPreference()
|