Home
last modified time | relevance | path

Searched refs:rt (Results 1 – 25 of 57) sorted by relevance

123

/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DNfcRoutingTableParseTest.java66 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/
DRoutingTableParser.java228 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/
DZenRuleSelectionDialog.java179 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 …]
DZenModeScheduleDaysSelection.java75 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/
Dmain.rs42 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()
Dsecurity_service.rs19 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()
Dmedia_service.rs34 rt: Arc<Runtime>, field
42 pub fn create(rt: Arc<Runtime>, btif_intf: Arc<Mutex<BluetoothInterface>>) -> grpcio::Service { in create()
50 rt, in create()
Dhf_client_service.rs25 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()
Dhfp_service.rs47 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()
Dadapter_service.rs75 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/
Dgatt_cl.cc153 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/
Dbta_gattc_main.cc307 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/
Ddns_tls_frontend.cpp360 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/
DCargo.toml27 …['bytes', 'fs', 'io-util', 'libc', 'macros', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 's…
/packages/modules/Bluetooth/system/gd/rust/linux/service/
DCargo.toml23 …['bytes', 'fs', 'io-util', 'libc', 'macros', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 's…
/packages/modules/Bluetooth/system/gd/rust/linux/client/
DCargo.toml24 …['bytes', 'fs', 'io-util', 'libc', 'macros', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 's…
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
DYVURenderer.cpp81 bool rt = (mFrameBuffer == NULL)? in DrawTexture() local
85 if(!rt) in DrawTexture()
DSurfaceTextureRenderer.cpp123 bool rt = (mFrameBuffer == NULL)? in DrawTexture() local
127 if(!rt) in DrawTexture()
DWarpRenderer.cpp116 bool rt = (mFrameBuffer == NULL)? in DrawTexture() local
120 if(!rt) in DrawTexture()
DRenderer.cpp178 bool rt = (mFrameBuffer == NULL)? in Clear() local
182 if(!rt) in Clear()
/packages/modules/Bluetooth/system/gd/rust/common/
DCargo.toml28 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/
DCargo.toml34 …['bytes', 'fs', 'io-util', 'libc', 'macros', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 's…
/packages/modules/Bluetooth/system/device/
DBUILD.gn60 "rt",
82 "rt",
/packages/modules/Bluetooth/system/rust/src/
Dlib.rs75 let rt = Builder::new_current_thread() in start() localVariable
92 local.block_on(&rt, async move { in start()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_gap.cc2534 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 …]

123