Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 51) sorted by relevance

123

/system/tools/aidl/tests/java/src/android/aidl/tests/
DExtensionTests.java89 MyExt ext = new MyExt(); in testRepeatExtendableParcelable() local
90 ext.a = 42; in testRepeatExtendableParcelable()
91 ext.b = "EXT"; in testRepeatExtendableParcelable()
98 ep.ext.setParcelable(ext); in testRepeatExtendableParcelable()
105 MyExt retExt = ep2.ext.getParcelable(MyExt.class); in testRepeatExtendableParcelable()
106 assertThat(retExt.a, is(ext.a)); in testRepeatExtendableParcelable()
107 assertThat(retExt.b, is(ext.b)); in testRepeatExtendableParcelable()
112 vep.ext.setParcelable(vp); in testVintfParcelableHolderCanContainVintfParcelable()
113 assertThat(vep.ext.getParcelable(VintfParcelable.class), is(vp)); in testVintfParcelableHolderCanContainVintfParcelable()
118 assertThrows(BadParcelableException.class, () -> { vep.ext.setParcelable(sp); }); in testVintfParcelableHolderCannotContainNonVintfParcelable()
[all …]
/system/media/tests/
Dsystemaudio_tests.cpp363 port->ext.device.hw_module = mHwModule; in fillFakeAudioPortBaseInfo()
364 port->ext.device.type = port->role == AUDIO_PORT_ROLE_SINK ? mOutputDeviceType in fillFakeAudioPortBaseInfo()
366 strncpy(port->ext.device.address, mAddress.c_str(), AUDIO_DEVICE_MAX_ADDRESS_LEN); in fillFakeAudioPortBaseInfo()
368 port->ext.device.encapsulation_modes = AUDIO_ENCAPSULATION_MODE_ELEMENTARY_STREAM; in fillFakeAudioPortBaseInfo()
369 port->ext.device.encapsulation_metadata_types = in fillFakeAudioPortBaseInfo()
374 port->ext.mix = { in fillFakeAudioPortBaseInfo()
381 port->ext.session.session = mSession; in fillFakeAudioPortBaseInfo()
393 lhs->ext.device.hw_module = rhs->ext.device.hw_module + 1; in testAudioPortExtBaseEquivalent()
395 lhs->ext.device.hw_module = rhs->ext.device.hw_module; in testAudioPortExtBaseEquivalent()
397 lhs->ext.device.type = AUDIO_DEVICE_NONE; in testAudioPortExtBaseEquivalent()
[all …]
/system/bt/bta/pan/
Dbta_pan_ci.cc118 uint8_t* p_data, uint16_t len, bool ext) { in bta_pan_ci_rx_write() argument
127 ((tBTA_PAN_DATA_PARAMS*)p_buf)->ext = ext; in bta_pan_ci_rx_write()
155 BT_HDR* p_buf, bool ext) { in bta_pan_ci_rx_writebuf() argument
160 ((tBTA_PAN_DATA_PARAMS*)p_buf)->ext = ext; in bta_pan_ci_rx_writebuf()
189 *p_ext = ((tBTA_PAN_DATA_PARAMS*)p_buf)->ext; in bta_pan_ci_readbuf()
239 UNUSED_ATTR BT_HDR* p_buf, UNUSED_ATTR bool ext) {} in bta_pan_ci_rx_writebuf() argument
/system/media/audio/include/system/
Daudio.h598 } ext; member
664 } ext; member
712 } ext; member
745 memcpy(&portV7->ext, &port->ext, sizeof(port->ext)); in audio_populate_audio_port_v7()
805 memcpy(&port->ext, &portV7->ext, sizeof(port->ext)); in audio_populate_audio_port()
852 if (lhs->ext.device.hw_module != rhs->ext.device.hw_module || in audio_port_configs_are_equal()
853 lhs->ext.device.type != rhs->ext.device.type || in audio_port_configs_are_equal()
854 strncmp(lhs->ext.device.address, rhs->ext.device.address, in audio_port_configs_are_equal()
860 if (lhs->ext.mix.hw_module != rhs->ext.mix.hw_module || in audio_port_configs_are_equal()
861 lhs->ext.mix.handle != rhs->ext.mix.handle) return false; in audio_port_configs_are_equal()
[all …]
/system/update_engine/scripts/
Dpayload_info.py141 num_blocks = sum([ext.num_blocks for ext in extents])
143 '(%s,%s)' % (ext.start_block, ext.num_blocks) for ext in extents)
178 read_blocks += sum([ext.num_blocks for ext in curr_op.src_extents])
179 written_blocks += sum([ext.num_blocks for ext in curr_op.dst_extents])
/system/bt/stack/include/
Dpan_api.h122 uint8_t* p_data, uint16_t len, bool ext,
137 BT_HDR* p_buf, bool ext, bool forward);
324 uint8_t* p_data, uint16_t len, bool ext);
350 BT_HDR* p_buf, bool ext);
/system/bt/stack/pan/
Dpan_main.cc378 BT_HDR* p_buf, bool ext) { in pan_data_buf_ind_cb() argument
405 handle, protocol, len, ext); in pan_data_buf_ind_cb()
423 ext); in pan_data_buf_ind_cb()
429 ext, forward); in pan_data_buf_ind_cb()
432 ext, forward); in pan_data_buf_ind_cb()
446 BNEP_Write(dst_pcb->handle, dst, p_data, len, protocol, &src, ext); in pan_data_buf_ind_cb()
457 (*pan_cb.pan_data_buf_ind_cb)(pcb->handle, src, dst, protocol, p_buf, ext, in pan_data_buf_ind_cb()
460 (*pan_cb.pan_data_ind_cb)(pcb->handle, src, dst, protocol, p_data, len, ext, in pan_data_buf_ind_cb()
Dpan_api.cc401 uint16_t len, bool ext) { in PAN_Write() argument
415 BNEP_Write(pan_cb.pcb[i].handle, dst, p_data, len, protocol, &src, ext); in PAN_Write()
426 return PAN_WriteBuf(handle, dst, src, protocol, buffer, ext); in PAN_Write()
454 BT_HDR* p_buf, bool ext) { in PAN_WriteBuf() argument
471 ext); in PAN_WriteBuf()
493 BNEP_WriteBuf(pan_cb.pcb[i].handle, dst, p_buf, protocol, &src, ext); in PAN_WriteBuf()
520 result = BNEP_WriteBuf(pcb->handle, dst, p_buf, protocol, &src, ext); in PAN_WriteBuf()
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp337 ep.ext.getParcelable(&emptyExt); in TEST_F()
345 ep.ext.getParcelable(&emptyExt); in TEST_F()
392 MyExt ext; in TEST_F() local
393 ext.a = 42; in TEST_F()
394 ext.b = "EXT"; in TEST_F()
408 EXPECT_TRUE(ep.ext.setParcelable(ext) == android::OK); in TEST_F()
412 ep.ext.getParcelable(&extLike); in TEST_F()
417 ep.ext.getParcelable(&actualExt); in TEST_F()
424 EXPECT_EQ(ext, *actualExt); in TEST_F()
436 ep.ext.getParcelable(&extLike); in TEST_F()
[all …]
/system/bt/btif/co/
Dbta_pan_co.cc114 bool ext; in bta_pan_co_tx_path() local
131 p_buf = bta_pan_ci_readbuf(handle, src, dst, &protocol, &ext, &forward); in bta_pan_co_tx_path()
143 (char*)(p_buf + 1) + p_buf->offset, p_buf->len, ext, in bta_pan_co_tx_path()
/system/bt/test/mock/
Dmock_bta_pan_ci.cc46 uint8_t* p_data, uint16_t len, bool ext) { in bta_pan_ci_rx_write() argument
51 BT_HDR* p_buf, bool ext) { in bta_pan_ci_rx_writebuf() argument
Dmock_stack_pan_api.cc74 uint16_t len, bool ext) { in PAN_Write() argument
80 BT_HDR* p_buf, bool ext) { in PAN_WriteBuf() argument
/system/extras/profcollectd/libprofcollectd/
Dsimpleperf_etm_trace_provider.rs57 .filter(|ext| ext == &ETM_TRACEFILE_EXTENSION) in process()
/system/tools/aidl/tests/stability_test/aidl_api/aidl_test_nonvintf_parcelable/1/android/aidl/tests/nonvintf/
DNonVintfExtendableParcelable.aidl20 ParcelableHolder ext;
/system/tools/aidl/tests/stability_test/android/aidl/tests/nonvintf/
DNonVintfExtendableParcelable.aidl20 ParcelableHolder ext;
/system/tools/aidl/tests/stability_test/android/aidl/tests/unstable/
DUnstableExtendableParcelable.aidl20 ParcelableHolder ext;
/system/tools/aidl/tests/stability_test/aidl_api/aidl_test_nonvintf_parcelable/current/android/aidl/tests/nonvintf/
DNonVintfExtendableParcelable.aidl36 ParcelableHolder ext;
/system/tools/aidl/tests/stability_test/aidl_api/aidl_test_vintf_parcelable/1/android/aidl/tests/vintf/
DVintfExtendableParcelable.aidl21 ParcelableHolder ext;
/system/tools/aidl/tests/stability_test/aidl_api/aidl_test_vintf_parcelable/current/android/aidl/tests/vintf/
DVintfExtendableParcelable.aidl37 ParcelableHolder ext;
/system/tools/aidl/tests/stability_test/android/aidl/tests/vintf/
DVintfExtendableParcelable.aidl21 ParcelableHolder ext;
/system/core/libutils/
DString8.cpp531 char* ext; in getPathExtension() local
533 ext = find_extension(); in getPathExtension()
534 if (ext != nullptr) in getPathExtension()
535 return String8(ext); in getPathExtension()
542 char* ext; in getBasePath() local
545 ext = find_extension(); in getBasePath()
546 if (ext == nullptr) in getBasePath()
549 return String8(str, ext - str); in getBasePath()
/system/tools/aidl/tests/android/aidl/tests/extension/
DExtendableParcelable.aidl22 ParcelableHolder ext;
/system/bt/stack/bnep/
Dbnep_api.cc355 uint8_t ext, length; in BNEP_WriteBuf() local
366 ext = *p_data++; in BNEP_WriteBuf()
377 } while (ext & 0x80); in BNEP_WriteBuf()
459 uint8_t ext, length; in BNEP_Write() local
470 ext = *p_data++; in BNEP_Write()
478 } while (ext & 0x80); in BNEP_Write()
/system/tools/aidl/build/
Daidl_gen_rule.go146 var ext string
148 ext = "java"
150 ext = "rs"
152 ext = "cpp"
155 outFile := android.PathForModuleGen(ctx, pathtools.ReplaceExtension(relPath, ext))
/system/bt/bta/include/
Dbta_pan_ci.h98 BT_HDR* p_buf, bool ext);

123