/packages/services/Car/tools/emulator/ |
D | diagnostic_builder.py | 35 def _getIndices(self, bit): argument 36 if (bit < 0) or (bit >= self.count): 37 raise IndexError("index %d not in range [0,%d)" % (bit, self.count)) 38 byteIdx = bit / 8 39 bitIdx = (bit % 8) 42 def setBit(self, bit): argument 43 byteIdx, bitIdx = self._getIndices(bit) 47 def getBit(self, bit): argument 48 byteIdx, bitIdx = self._getIndices(bit)
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/util/ |
D | BitwiseUtils.java | 29 long bit = 1; 31 SINGLE_BIT_MASK[i] = bit; 32 bit <<= 1; 134 public static long getSingleBitMask(int bit) { in getSingleBitMask() argument 135 if (bit < 0 || bit > 63) { in getSingleBitMask() 136 throw new IllegalArgumentException("bit " + bit + " out of range"); in getSingleBitMask() 138 return SINGLE_BIT_MASK[bit]; in getSingleBitMask()
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | state_machine_test.cc | 229 auto bit = in ConfigureIsoManagerMock() local 234 if (bit == broadcasts_.end()) return; in ConfigureIsoManagerMock() 248 bit->second->HandleHciEvent(HCI_BLE_CREATE_BIG_CPL_EVT, &evt); in ConfigureIsoManagerMock() 255 auto bit = in ConfigureIsoManagerMock() local 260 if (bit == broadcasts_.end()) return; in ConfigureIsoManagerMock() 261 bit->second->OnSetupIsoDataPath(0, conn_handle); in ConfigureIsoManagerMock() 268 auto bit = in ConfigureIsoManagerMock() local 273 if (bit == broadcasts_.end()) return; in ConfigureIsoManagerMock() 274 bit->second->OnRemoveIsoDataPath(0, conn_handle); in ConfigureIsoManagerMock() 280 auto bit = in ConfigureIsoManagerMock() local [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | controller_properties.h | 170 bool SupportsLMPFeature(bluetooth::hci::LMPFeaturesPage0Bits bit) const { in SupportsLMPFeature() 171 return (lmp_features[0] & static_cast<uint64_t>(bit)) != 0; in SupportsLMPFeature() 174 bool SupportsLMPFeature(bluetooth::hci::LMPFeaturesPage2Bits bit) const { in SupportsLMPFeature() 175 return (lmp_features[2] & static_cast<uint64_t>(bit)) != 0; in SupportsLMPFeature() 178 bool SupportsLLFeature(bluetooth::hci::LLFeaturesBits bit) const { in SupportsLLFeature() 179 return (le_features & static_cast<uint64_t>(bit)) != 0; in SupportsLLFeature()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | Weekdays.kt | 101 val bit = sCalendarDayToBit[calendarDay] in fromCalendarDays() constant 102 if (bit != null) { in fromCalendarDays() 103 bits = bits or bit in fromCalendarDays() 128 val bit = sCalendarDayToBit[calendarDay] ?: return this in setBit() constant 129 return Weekdays(if (on) bits or bit else bits and bit.inv()) in setBit() 146 val bit = sCalendarDayToBit[calendarDay] in isBitOn() constant 148 return bits and bit > 0 in isBitOn()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | controller_test.cc | 545 for (size_t bit = 0; bit < 32; bit++) { in TEST_F() local 546 if (kDynamicAudioBufferSupport & (1u << bit)) { in TEST_F() 547 ASSERT_GT(controller_->GetDabCodecCapabilities()[bit].maximum_time_ms_, 0) << " bit " << bit; in TEST_F() 549 ASSERT_EQ(controller_->GetDabCodecCapabilities()[bit].maximum_time_ms_, 0); in TEST_F() 550 ASSERT_EQ(controller_->GetDabCodecCapabilities()[bit].minimum_time_ms_, 0); in TEST_F() 551 ASSERT_EQ(controller_->GetDabCodecCapabilities()[bit].default_time_ms_, 0); in TEST_F() 574 for (size_t bit = 0; bit < 32; bit++) { in TEST_F() local 575 if (kDynamicAudioBufferSupport & (1u << bit)) { in TEST_F() 576 ASSERT_GT(controller_->GetDabCodecCapabilities()[bit].maximum_time_ms_, 0) << " bit " << bit; in TEST_F() 578 ASSERT_EQ(controller_->GetDabCodecCapabilities()[bit].maximum_time_ms_, 0); in TEST_F() [all …]
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | plugin_db.c | 127 unsigned long long bit = 0; in plugin_get_mime_type_bit() local 129 bit = (unsigned long long) (1 << INPUT_MIME_TYPE_PDF); in plugin_get_mime_type_bit() 131 bit = (unsigned long long) (1 << INPUT_MIME_TYPE_PCLM); in plugin_get_mime_type_bit() 133 bit = (unsigned long long) (1 << INPUT_MIME_TYPE_PWG); in plugin_get_mime_type_bit() 135 return bit; in plugin_get_mime_type_bit()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsNsecRecord.java | 89 for (int bit = 0; bit < 8; bit++) { in readTypes() 90 if ((bitmapByte & (1 << (7 - bit))) != 0) { in readTypes() 91 types.add(blockNumber * 256 + bitmapIndex * 8 + bit); in readTypes()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHalAidlImpl.java | 909 for (int bit = keyMgmt.nextSetBit(0); bit != -1; in wifiConfigurationToSupplicantKeyMgmtMask() 910 bit = keyMgmt.nextSetBit(bit + 1)) { in wifiConfigurationToSupplicantKeyMgmtMask() 911 switch (bit) { in wifiConfigurationToSupplicantKeyMgmtMask() 966 "Invalid protoMask bit in keyMgmt: " + bit); in wifiConfigurationToSupplicantKeyMgmtMask() 975 for (int bit = protoMask.nextSetBit(0); bit != -1; in wifiConfigurationToSupplicantProtoMask() 976 bit = protoMask.nextSetBit(bit + 1)) { in wifiConfigurationToSupplicantProtoMask() 977 switch (bit) { in wifiConfigurationToSupplicantProtoMask() 994 "Invalid protoMask bit in wificonfig: " + bit); in wifiConfigurationToSupplicantProtoMask() 1002 for (int bit = authAlgMask.nextSetBit(0); bit != -1; in wifiConfigurationToSupplicantAuthAlgMask() 1003 bit = authAlgMask.nextSetBit(bit + 1)) { in wifiConfigurationToSupplicantAuthAlgMask() [all …]
|
D | SupplicantStaNetworkHalHidlImpl.java | 845 for (int bit = keyMgmt.nextSetBit(0); bit != -1; in wifiConfigurationToSupplicantKeyMgmtMask() 846 bit = keyMgmt.nextSetBit(bit + 1)) { in wifiConfigurationToSupplicantKeyMgmtMask() 847 switch (bit) { in wifiConfigurationToSupplicantKeyMgmtMask() 908 "Invalid protoMask bit in keyMgmt: " + bit); in wifiConfigurationToSupplicantKeyMgmtMask() 917 for (int bit = protoMask.nextSetBit(0); bit != -1; in wifiConfigurationToSupplicantProtoMask() 918 bit = protoMask.nextSetBit(bit + 1)) { in wifiConfigurationToSupplicantProtoMask() 919 switch (bit) { in wifiConfigurationToSupplicantProtoMask() 937 "Invalid protoMask bit in wificonfig: " + bit); in wifiConfigurationToSupplicantProtoMask() 945 for (int bit = authAlgMask.nextSetBit(0); bit != -1; in wifiConfigurationToSupplicantAuthAlgMask() 946 bit = authAlgMask.nextSetBit(bit + 1)) { in wifiConfigurationToSupplicantAuthAlgMask() [all …]
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_ble_privacy.cc | 155 uint8_t bit; in btm_ble_clear_irk_index() local 159 bit = index % 8; in btm_ble_clear_irk_index() 160 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index() 176 uint8_t bit; in btm_ble_find_irk_index() local 180 bit = i % 8; in btm_ble_find_irk_index() 182 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) { in btm_ble_find_irk_index() 183 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | LSHProjection.cpp | 134 int bit = runningSignBit<T>(input, weight, static_cast<float>(seed)); in SparseLshProjection() local 135 hash_signature = (hash_signature << 1) | bit; in SparseLshProjection() 153 int bit = runningSignBit<T>(input, weight, static_cast<float>(seed)); in DenseLshProjection() local 154 *out_buf++ = bit; in DenseLshProjection()
|
/packages/modules/SdkExtensions/javatests/com/android/sdkext/extensions/apexes/ |
D | Android.bp | 39 // The automated test infra ends up building this apex for 64+32-bit and 40 // then installs it on a 32-bit-only device. Work around this weirdness 41 // by preferring 32-bit.
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Events.java | 59 private static boolean hasBit(int metaState, int bit) { in hasBit() argument 60 return (metaState & bit) != 0; in hasBit()
|
/packages/modules/DnsResolver/tests/ |
D | Android.bp | 135 // TODO: Remove multilib after coverage test switched to 64-bit device. 157 // TODO: Remove resolv_test_mts_coverage_defaults after mts coverage switched to 64-bit device. 238 // 32bit apps talk to 64bit resolvers. 265 // TODO: Remove resolv_test_mts_coverage_defaults after mts coverage switched to 64-bit device.
|
/packages/modules/NeuralNetworks/ |
D | TEST_MAPPING | 31 // should be run (4 = 2^2). The bit conversions can be 48 // // should be run (4 = 2^2). The bit conversions can be
|
/packages/modules/SdkExtensions/derive_classpath/ |
D | Android.bp | 54 // Work around testing using a 64-bit test suite on 32-bit test device by
|
/packages/modules/SdkExtensions/derive_sdk/ |
D | Android.bp | 67 // Work around testing using a 64-bit test suite on 32-bit test device by
|
/packages/modules/ExtServices/native/tests/ |
D | Android.bp | 36 // Run this test using "atest libextservices_test -- --all-abi" or it will fail to run on 64 bit 76 // Run this test using "atest libextservices_test -- --all-abi" or it will fail to run on 64 bit
|
/packages/modules/Bluetooth/tools/rootcanal/model/devices/ |
D | baseband_sniffer.cc | 72 bool bit = (value ^ data) & 1; in HeaderErrorCheck() local 75 if (bit) { in HeaderErrorCheck()
|
/packages/modules/StatsD/lib/libstatspull/ |
D | Android.bp | 119 //32bit and 64bit architectures.
|
/packages/modules/Connectivity/tests/cts/tethering/ |
D | Android.bp | 77 // Include both the 32 and 64 bit versions 110 // Include both the 32 and 64 bit versions
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 1269 private boolean isFilteredIn(FilterBit bit, boolean vCardType21) { in isFilteredIn() argument 1270 final int offset = (bit.pos / 8) + 1; in isFilteredIn() 1271 final int bitPos = bit.pos % 8; in isFilteredIn() 1272 if (!vCardType21 && bit.onlyCheckV21) { in isFilteredIn() 1275 if (vCardType21 && bit.excludeForV21) { in isFilteredIn() 1307 for (FilterBit bit : FilterBit.values()) { in apply() 1308 if (bit.prop.equals(currentProp)) { in apply() 1309 filteredIn = isFilteredIn(bit, vCardType21); in apply()
|
/packages/modules/StatsD/lib/libstatssocket/ |
D | Android.bp | 116 //32bit and 64bit architectures.
|
/packages/modules/DnsResolver/ |
D | Android.bp | 201 // Because the test_suite target is 64 bit and the test infra is running the 64 bit test 202 // suite on cf_x86_phone (32-bit) for coverage. 204 // TODO: Remove this target after coverage test switched to 64-bit device.
|