/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcRoutingTableParseTest.java | 66 byte[] rt = generateRoutingEntry(qualifier, type, eeId, pwrState, entry); in testParseValidTechnologyEntry() 67 mRoutingTableParser.parse(rt); in testParseValidTechnologyEntry() 85 byte[] rt = generateRoutingEntry(qualifier, type, eeId, pwrState, entry); in testParseInvalidTechnologyEntry() 86 mRoutingTableParser.parse(rt); in testParseInvalidTechnologyEntry() 104 byte[] rt = generateRoutingEntry(qualifier, type, eeId, pwrState, entry); in testParseValidProtocolEntry() 105 mRoutingTableParser.parse(rt); in testParseValidProtocolEntry() 123 byte[] rt = generateRoutingEntry(qualifier, type, eeId, pwrState, entry); in testParseInvalidProtocolEntry() 124 mRoutingTableParser.parse(rt); in testParseInvalidProtocolEntry() 142 byte[] rt = generateRoutingEntry(qualifier, type, eeId, pwrState, entry); in testParseValidAidEntry() 143 mRoutingTableParser.parse(rt); in testParseValidAidEntry() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | RoutingTableParser.java | 228 private void addRoutingEntry(byte[] rt, int offset) { in addRoutingEntry() argument 229 if (offset + 1 >= rt.length) return; in addRoutingEntry() 230 int valueLength = Byte.toUnsignedInt(rt[offset + 1]); in addRoutingEntry() 233 if (offset + 2 + valueLength > rt.length) return; in addRoutingEntry() 235 byte qualifier = (byte) (rt[offset] & 0xF0); in addRoutingEntry() 236 byte type = (byte) (rt[offset] & 0x0F); in addRoutingEntry() 237 byte eeId = rt[offset + 2]; in addRoutingEntry() 238 byte pwrState = rt[offset + 3]; in addRoutingEntry() 241 entry[i] = rt[offset + 4 + i]; in addRoutingEntry() 257 public void parse(byte[] rt) { in parse() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenRuleSelectionDialog.java | 179 final ZenRuleInfo rt = new ZenRuleInfo(); in defaultNewSchedule() local 180 rt.settingsAction = ZenModeScheduleRuleSettings.ACTION; in defaultNewSchedule() 181 rt.title = mContext.getString(R.string.zen_schedule_rule_type_name); in defaultNewSchedule() 182 rt.packageName = ZenModeConfig.getEventConditionProvider().getPackageName(); in defaultNewSchedule() 183 rt.defaultConditionId = ZenModeConfig.toScheduleConditionId(schedule); in defaultNewSchedule() 185 rt.type = AutomaticZenRule.TYPE_SCHEDULE_TIME; in defaultNewSchedule() 186 rt.defaultTriggerDescription = SystemZenRules.getTriggerDescriptionForScheduleTime( in defaultNewSchedule() 189 rt.serviceComponent = ZenModeConfig.getScheduleConditionProvider(); in defaultNewSchedule() 190 rt.isSystem = true; in defaultNewSchedule() 191 return rt; in defaultNewSchedule() [all …]
|
D | ZenModeScheduleDaysSelection.java | 75 final SparseBooleanArray rt = new SparseBooleanArray(mDays.size()); in getDays() local 79 rt.put(day, true); in getDays() 81 final int[] rta = new int[rt.size()]; in getDays() 83 rta[i] = rt.keyAt(i); in getDays()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/ |
D | main.rs | 42 let rt = Arc::new(Runtime::new().unwrap()); in main() localVariable 43 rt.block_on(async_main(Arc::clone(&rt), sigint)); in main() 79 async fn async_main(rt: Arc<Runtime>, mut sigint: mpsc::UnboundedReceiver<()>) { in async_main() 90 adapter_service::AdapterServiceImpl::create(rt.clone(), btif_intf.clone()); in async_main() 93 security_service::SecurityServiceImpl::create(rt.clone(), btif_intf.clone()); in async_main() 95 let gatt_service_impl = gatt_service::GattServiceImpl::create(rt.clone(), btif_intf.clone()); in async_main() 98 hf_client_service::HfClientServiceImpl::create(rt.clone(), btif_intf.clone()); in async_main() 100 let hfp_service_impl = hfp_service::HfpServiceImpl::create(rt.clone(), btif_intf.clone()); in async_main() 102 let media_service_impl = media_service::MediaServiceImpl::create(rt.clone(), btif_intf.clone()); in async_main()
|
D | security_service.rs | 19 rt: Arc<Runtime>, field 27 pub fn create(rt: Arc<Runtime>, btif_intf: Arc<Mutex<BluetoothInterface>>) -> grpcio::Service { in create() 28 create_security_service(Self { rt, btif_intf }) in create()
|
D | media_service.rs | 34 rt: Arc<Runtime>, field 42 pub fn create(rt: Arc<Runtime>, btif_intf: Arc<Mutex<BluetoothInterface>>) -> grpcio::Service { in create() 50 rt, in create()
|
D | hf_client_service.rs | 25 rt: Arc<Runtime>, field 31 pub fn create(rt: Arc<Runtime>, btif_intf: Arc<Mutex<BluetoothInterface>>) -> grpcio::Service { in create() 35 create_hf_client_service(Self { rt, hf_client }) in create()
|
D | hfp_service.rs | 47 rt: Arc<Runtime>, field 55 pub fn create(rt: Arc<Runtime>, btif_intf: Arc<Mutex<BluetoothInterface>>) -> grpcio::Service { in create() 60 create_hfp_service(Self { rt, btif_hfp, event_tx }) in create()
|
D | adapter_service.rs | 75 rt: Arc<Runtime>, field 93 pub fn create(rt: Arc<Runtime>, btif_intf: Arc<Mutex<BluetoothInterface>>) -> grpcio::Service { in create() 100 rt, in create()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_cl.cc | 153 tGATT_STATUS rt = GATT_INTERNAL_ERROR; in gatt_act_read() local 219 if (op_code != 0) rt = attp_send_cl_msg(tcb, p_clcb, op_code, &msg); in gatt_act_read() 221 if (op_code == 0 || (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED)) { in gatt_act_read() 222 gatt_end_operation(p_clcb, rt, NULL); in gatt_act_read() 241 tGATT_STATUS rt = gatt_send_write_msg(tcb, p_clcb, op_code, attr.handle, in gatt_act_write() local 243 if (rt != GATT_CMD_STARTED) { in gatt_act_write() 244 if (rt != GATT_SUCCESS) { in gatt_act_write() 246 rt); in gatt_act_write() 248 gatt_end_operation(p_clcb, rt, NULL); in gatt_act_write() 257 tGATT_STATUS rt = gatt_send_write_msg( in gatt_act_write() local [all …]
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gattc_main.cc | 307 bool rt = true; in bta_gattc_sm_execute() local 334 rt = false; in bta_gattc_sm_execute() 351 return rt; in bta_gattc_sm_execute() 366 bool rt = true; in bta_gattc_hdl_event() local 389 rt = bta_gattc_sm_execute(p_clcb, p_msg->event, in bta_gattc_hdl_event() 398 return rt; in bta_gattc_hdl_event()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 360 if (const ssize_t rt = write(event_fd_.get(), &data, sizeof(data)); rt != sizeof(data)) { in sendToEventFd() local 361 PLOG(INFO) << "failed to write eventfd, rt=" << rt; in sendToEventFd() 369 if (const ssize_t rt = read(event_fd_.get(), &data, sizeof(data)); rt != sizeof(data)) { in handleEventFd() local 370 PLOG(INFO) << "ignore reading eventfd failed, rt=" << rt; in handleEventFd()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/ |
D | Cargo.toml | 27 …['bytes', 'fs', 'io-util', 'libc', 'macros', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 's…
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/ |
D | Cargo.toml | 23 …['bytes', 'fs', 'io-util', 'libc', 'macros', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 's…
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/ |
D | Cargo.toml | 24 …['bytes', 'fs', 'io-util', 'libc', 'macros', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 's…
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
D | YVURenderer.cpp | 81 bool rt = (mFrameBuffer == NULL)? in DrawTexture() local 85 if(!rt) in DrawTexture()
|
D | SurfaceTextureRenderer.cpp | 123 bool rt = (mFrameBuffer == NULL)? in DrawTexture() local 127 if(!rt) in DrawTexture()
|
D | WarpRenderer.cpp | 116 bool rt = (mFrameBuffer == NULL)? in DrawTexture() local 120 if(!rt) in DrawTexture()
|
D | Renderer.cpp | 178 bool rt = (mFrameBuffer == NULL)? in Clear() local 182 if(!rt) in Clear()
|
/packages/modules/Bluetooth/system/gd/rust/common/ |
D | Cargo.toml | 28 tokio = { version = "1.0", features = ['bytes', 'macros', 'net', 'rt-multi-thread', 'time'] } 34 tokio = { version = "1.0", features = ['bytes', 'macros', 'net', 'rt-multi-thread', 'time', 'sync']…
|
/packages/modules/Bluetooth/system/gd/rust/topshim/ |
D | Cargo.toml | 34 …['bytes', 'fs', 'io-util', 'libc', 'macros', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 's…
|
/packages/modules/Bluetooth/system/device/ |
D | BUILD.gn | 60 "rt", 82 "rt",
|
/packages/modules/Bluetooth/system/rust/src/ |
D | lib.rs | 75 let rt = Builder::new_current_thread() in start() localVariable 92 local.block_on(&rt, async move { in start()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_ble_gap.cc | 2534 bool rt = false; in btm_ble_adv_states_operation() local 2538 rt = (*p_handler)(BTM_BLE_STATE_CONN_ADV_BIT); in btm_ble_adv_states_operation() 2542 rt = (*p_handler)(BTM_BLE_STATE_NON_CONN_ADV_BIT); in btm_ble_adv_states_operation() 2545 rt = (*p_handler)(BTM_BLE_STATE_HI_DUTY_DIR_ADV_BIT); in btm_ble_adv_states_operation() 2549 rt = (*p_handler)(BTM_BLE_STATE_SCAN_ADV_BIT); in btm_ble_adv_states_operation() 2553 rt = (*p_handler)(BTM_BLE_STATE_LO_DUTY_DIR_ADV_BIT); in btm_ble_adv_states_operation() 2561 return rt; in btm_ble_adv_states_operation() 2891 bool rt = false; in btm_ble_topology_check() local 2902 return rt; in btm_ble_topology_check() 2917 return rt; in btm_ble_topology_check() [all …]
|