Lines Matching refs:MPH
25 static void HandleAdd(void *self, void *ignored, int MPH) in HandleAdd() argument
33 assert(0 <= MPH && MPH < MPH_MAX); in HandleAdd()
36 int index = clazz->mMPH_to_index[MPH]; in HandleAdd()
56 BoolHook expose = MPH_init_table[MPH].mExpose; in HandleAdd()
98 const SLInterfaceID iid = &SL_IID_array[MPH]; // equal but not == to the original IID in HandleAdd()
117 int MPH, index; in IDynamicInterfaceManagement_AddInterface() local
118 if ((0 > (MPH = IID_to_MPH(iid))) || in IDynamicInterfaceManagement_AddInterface()
121 (0 > (index = clazz->mMPH_to_index[MPH]))) { in IDynamicInterfaceManagement_AddInterface()
139 NULL, MPH); in IDynamicInterfaceManagement_AddInterface()
165 BoolHook expose = MPH_init_table[MPH].mExpose; in IDynamicInterfaceManagement_AddInterface()
213 int MPH, index; in IDynamicInterfaceManagement_RemoveInterface() local
214 if ((0 > (MPH = IID_to_MPH(iid))) || in IDynamicInterfaceManagement_RemoveInterface()
217 (0 > (index = clazz->mMPH_to_index[MPH]))) { in IDynamicInterfaceManagement_RemoveInterface()
246 VoidHook remove = MPH_init_table[MPH].mRemove; in IDynamicInterfaceManagement_RemoveInterface()
281 static void HandleResume(void *self, void *ignored, int MPH) in HandleResume() argument
289 assert(0 <= MPH && MPH < MPH_MAX); in HandleResume()
292 int index = clazz->mMPH_to_index[MPH]; in HandleResume()
312 VoidHook resume = MPH_init_table[MPH].mResume; in HandleResume()
347 const SLInterfaceID iid = &SL_IID_array[MPH]; // equal but not == to the original IID in HandleResume()
365 int MPH, index; in IDynamicInterfaceManagement_ResumeInterface() local
366 if ((0 > (MPH = IID_to_MPH(iid))) || in IDynamicInterfaceManagement_ResumeInterface()
369 (0 > (index = clazz->mMPH_to_index[MPH]))) { in IDynamicInterfaceManagement_ResumeInterface()
387 thiz, NULL, MPH); in IDynamicInterfaceManagement_ResumeInterface()
412 VoidHook resume = MPH_init_table[MPH].mResume; in IDynamicInterfaceManagement_ResumeInterface()