Lines Matching refs:consumer_ctx
82 static ConsumerCtx consumer_ctx = { variable
95 if (consumer_ctx.atom_cnt != -1) { in test_ctl_on_connect()
101 assert(consumer_ctx.stats_consumer); in test_ctl_on_connect()
102 assert(!consumer_ctx.istats_setter); in test_ctl_on_connect()
103 assert(!consumer_ctx.shm_ptr); in test_ctl_on_connect()
104 assert(consumer_ctx.atom_cnt == -1); in test_ctl_on_connect()
105 consumer_ctx.atom_cnt = 0; in test_ctl_on_connect()
138 consumer_ctx.istats_setter = IStatsSetter::asInterface(root); in test_ctl_on_connect()
139 assert(consumer_ctx.istats_setter); in test_ctl_on_connect()
140 *ctx_p = &consumer_ctx; in test_ctl_on_connect()
226 if (consumer_ctx.shm_ptr) { in reportVendorAtom()
227 volatile ShmContent* content = (ShmContent*)consumer_ctx.shm_ptr; in reportVendorAtom()
306 consumer_ctx.stats_consumer = android::sp<StatsConsumer>::make(); in main()
317 if (consumer_ctx.shm_ptr) { in main()
319 consumer_ctx.istats_setter->setInterface( in main()
320 consumer_ctx.stats_consumer); in main()