Home
last modified time | relevance | path

Searched refs:program (Results 1 – 25 of 95) sorted by relevance

1234

/hardware/google/apf/
Dapf_run.c96 void packet_handler(uint8_t* program, uint32_t program_len, uint32_t ram_len, in packet_handler() argument
103 int ret = accept_packet(program, program_len, ram_len, packet, packet_len, in packet_handler()
110 void apf_trace_hook(uint32_t pc, const uint32_t* regs, const uint8_t* program, uint32_t program_len, in apf_trace_hook() argument
116 apf_disassemble(program, program_len, pc); in apf_trace_hook()
120 void file_handler(uint8_t* program, uint32_t program_len, uint32_t ram_len, const char* filename, in file_handler() argument
150 int result = accept_packet(program, program_len, ram_len, apf_packet, in file_handler()
184 uint8_t* program = NULL; in main() local
198 program_len = parse_hex(optarg, &program); in main()
201 if (!program) { in main()
215 if (!program) { in main()
[all …]
Dapf_disassembler.c31 uint8_t program[10000]; in main() local
35 while (scanf("%2x", &byte) == 1 && program_len < sizeof(program)) { in main()
36 program[program_len++] = byte; in main()
40 pc = apf_disassemble(program, program_len, pc); in main()
Dapf_interpreter.c25 extern void APF_TRACE_HOOK(uint32_t pc, const uint32_t* regs, const uint8_t* program,
29 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
45 int accept_packet(uint8_t* program, uint32_t program_len, uint32_t ram_len, in accept_packet() argument
90 APF_TRACE_HOOK(pc, registers, program, program_len, packet, packet_len, memory, ram_len); in accept_packet()
97 const uint8_t bytecode = program[pc++]; in accept_packet()
111 imm = (imm << 8) | program[pc++]; in accept_packet()
176 cmp_imm = (cmp_imm << 8) | program[pc++]; in accept_packet()
209 if (memcmp(program + pc, packet + REG, cmp_imm)) in accept_packet()
294 val = (val << 8) | program[offs++]; in accept_packet()
310 program[offs++] = (val >> 24); in accept_packet()
Dapf_run_test.sh12 for prog in testdata/*.program; do
13 testcase=$(basename $prog .program)
14 prog=$(cat testdata/$testcase.program)
Ddisassembler.c67 uint32_t apf_disassemble(const uint8_t* program, uint32_t program_len, uint32_t pc) { in apf_disassemble() argument
80 const uint8_t bytecode = program[pc++]; in apf_disassemble()
91 imm = (imm << 8) | program[pc++]; in apf_disassemble()
131 cmp_imm = (cmp_imm << 8) | program[pc++]; in apf_disassemble()
138 printf("%02x", program[pc++]); in apf_disassemble()
Ddisassembler.h21 uint32_t apf_disassemble(const uint8_t* program, uint32_t program_len, uint32_t pc);
Dapf_interpreter.h58 int accept_packet(uint8_t* program, uint32_t program_len, uint32_t ram_len,
/hardware/libhardware/modules/radio/
Dradio_hw.c93 radio_program_info_t program; member
212 radio_metadata_t **metadata, bool program) in prepare_metadata() argument
226 ret = radio_metadata_allocate(metadata, tuner->program.channel, 0); in prepare_metadata()
231 if (program) { in prepare_metadata()
356 frequency = tuner->program.channel; in callback_thread_loop()
368 tuner->program.channel = frequency; in callback_thread_loop()
369 tuner->program.tuned = (frequency / (tuner->config.spacings[0] * 5)) % 2; in callback_thread_loop()
370 tuner->program.signal_strength = 20; in callback_thread_loop()
372 tuner->program.stereo = false; in callback_thread_loop()
374 tuner->program.stereo = false; in callback_thread_loop()
[all …]
/hardware/interfaces/broadcastradio/2.0/default/
DVirtualRadio.cpp69 for (auto&& program : mPrograms) { in getProgram()
70 if (utils::tunesTo(selector, program.selector)) { in getProgram()
71 programOut = program; in getProgram()
DVirtualRadio.h44 bool getProgram(const ProgramSelector& selector, VirtualProgram& program) const;
/hardware/interfaces/broadcastradio/2.0/
DITunerSession.hal20 * Tune to a specified program.
26 * @param program Program to tune to.
28 * NOT_SUPPORTED if the program selector doesn't contain any
30 * INVALID_ARGUMENTS if the program selector contains
33 tune(ProgramSelector program) generates (Result result);
36 * Tune (seek) to the next valid program on the "air".
43 * is meant to advance to the next detected program and stay there.
54 * seek or select the next program from the list retrieved in the
65 * Tune to the adjacent channel, which may not be occupied by any program.
87 * Applies a filter to the program list and starts sending program list
[all …]
Dtypes.hal86 * RDS region-specific program lock-down.
292 * An identifier used to point at the program (primarily to tune to it).
300 * Identifier currently used for program selection.
304 * Some program selectors contain tuning information for different radio
310 * This field is required for currently tuned program only.
311 * For all other items on the program list, its type field must be
329 * Some radio technologies broadcast the same program on multiple channels,
330 * i.e. with RDS AF the same program may be broadcasted on multiple
331 * alternative frequencies; the same DAB program may be broadcast on
335 * This field is required for currently tuned program only.
[all …]
DITunerCallback.hal34 * Method called by the HAL when current program information (including
40 * @param info Current program information.
45 * A delta update of the program list, called whenever there's a change in
55 * @param chunk A chunk of the program list update.
/hardware/interfaces/broadcastradio/1.1/default/
DVirtualRadio.cpp63 for (auto&& program : mPrograms) { in getProgram()
64 if (utils::tunesTo(selector, program.selector)) { in getProgram()
65 programOut = program; in getProgram()
DVirtualProgram.cpp92 for (auto&& program : vec) { in getProgramInfoVector()
93 out.push_back(program.getProgramInfo(halRev)); in getProgramInfoVector()
DVirtualRadio.h43 bool getProgram(const V1_1::ProgramSelector& selector, VirtualProgram& program);
/hardware/interfaces/broadcastradio/1.1/
Dtypes.hal30 * Extra flags for program information.
34 * Set when the program is currently playing live stream.
89 * If a program type is supported by radio module, it means it can tune
92 * Support for VENDOR program type does not guarantee compatibility, as
131 * VENDOR program types must be opaque to the framework.
133 * There are multiple VENDOR program types just to make vendor implementation
155 * Type of program identifier component.
158 * it for secondary IDs. For example, a satellite program may set AM/FM fallback
219 * not be used in any program type other than 1015).
226 * A single program identifier component, eg. frequency or channel ID.
[all …]
DITunerCallback.hal65 * Called each time the internally cached program list changes. HAL may not
80 * Method called by the HAL when current program information (including
83 * Client may retrieve the actual program info with
93 * @param info current program information
DITuner.hal24 * Tune to a specified program.
37 * @param program Program to tune to.
42 tuneByProgramSelector(ProgramSelector program) generates (Result result);
66 * @return info Current program information.
71 * Initiates a background scan to update internally cached program list.
/hardware/interfaces/broadcastradio/1.0/
Dtypes.hal209 /* Radio program information. Returned by the HAL with event RADIO_EVENT_TUNED.
217 * Tuned to a program (not a noise). It's the same condition that would
222 bool stereo; /** program is stereo or not */
223 bool digital; /** digital program or not (e.g HD Radio program) */
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb.xdr68 * XDR definition of the LOC_API callback program ( vers. 0x00040002 )
71 program LOC_APICBPROG {
/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb.xdr68 * XDR definition of the LOC_API callback program ( vers. 0x00040002 )
71 program LOC_APICBPROG {
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb.xdr68 * XDR definition of the LOC_API callback program ( vers. 0x00040002 )
71 program LOC_APICBPROG {
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb.xdr68 * XDR definition of the LOC_API callback program ( vers. 0x00040002 )
71 program LOC_APICBPROG {
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb.xdr68 * XDR definition of the LOC_API callback program ( vers. 0x00040002 )
71 program LOC_APICBPROG {

1234