Home
last modified time | relevance | path

Searched refs:iid (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/wilhelm/src/ut/
DOpenSLESUT.c34 const SLInterfaceID *iid; ///< The interface ID member
112 void slesutPrintIID(SLInterfaceID iid) in slesutPrintIID() argument
117 if (!memcmp(*p->iid, iid, sizeof(struct SLInterfaceID_))) { in slesutPrintIID()
124 (unsigned) iid->time_low, iid->time_mid, iid->time_hi_and_version, iid->clock_seq, in slesutPrintIID()
125 iid->node[0], iid->node[1], iid->node[2], iid->node[3], iid->node[4], iid->node[5]); in slesutPrintIID()
DOpenSLESUT.h23 extern void slesutPrintIID(SLInterfaceID iid);
/frameworks/wilhelm/src/autogen/
DIID_to_MPH.cpp30 int IID_to_MPH(const SLInterfaceID iid) in IID_to_MPH() argument
245 if (&SL_IID_array[0] <= iid && &SL_IID_array[MPH_MAX] > iid) in IID_to_MPH()
246 return iid - &SL_IID_array[0]; in IID_to_MPH()
247 if (NULL != iid) { in IID_to_MPH()
248 unsigned key = asso_values[((unsigned char *)iid)[8]] + in IID_to_MPH()
249 asso_values[((unsigned char *)iid)[0]]; in IID_to_MPH()
255 if (!memcmp(iid, trial, sizeof(struct SLInterfaceID_))) in IID_to_MPH()
/frameworks/wilhelm/tools/hashgen/
Dpart6.c2 if (&SL_IID_array[0] <= iid && &SL_IID_array[MPH_MAX] > iid)
3 return iid - &SL_IID_array[0];
4 if (NULL != iid) {
Dpart1.c30 int IID_to_MPH(const SLInterfaceID iid) argument
Dhash.sed2 s/(unsigned char)str/((unsigned char *)iid)/g
Dpart8.c6 if (!memcmp(iid, trial, sizeof(struct SLInterfaceID_)))
Dtest.c24 extern int IID_to_MPH(const SLInterfaceID iid);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DSessionManager.java128 public PlaylistItem remove(String iid) { in remove() argument
130 log("remove: iid=" + iid); in remove()
133 return removeItem(iid, MediaItemStatus.PLAYBACK_STATE_CANCELED); in remove()
136 public PlaylistItem seek(String iid, long pos) { in seek() argument
138 log("seek: iid=" + iid +", pos=" + pos); in seek()
142 checkItemCurrent(iid); in seek()
155 public PlaylistItem getStatus(String iid) { in getStatus() argument
166 if (item.getItemId().equals(iid)) { in getStatus()
325 private void checkItemCurrent(String iid) { in checkItemCurrent() argument
327 if (item == null || !item.getItemId().equals(iid)) { in checkItemCurrent()
[all …]
DSampleMediaRouteProvider.java408 String iid = intent.getStringExtra(MediaControlIntent.EXTRA_ITEM_ID); in handleRemove() local
409 PlaylistItem item = mSessionManager.remove(iid); in handleRemove()
418 ", sid=" + sid + ", iid=" + iid, null); in handleRemove()
430 String iid = intent.getStringExtra(MediaControlIntent.EXTRA_ITEM_ID); in handleSeek() local
433 PlaylistItem item = mSessionManager.seek(iid, pos); in handleSeek()
442 ", sid=" + sid + ", iid=" + iid + ", pos=" + pos, null); in handleSeek()
450 String iid = intent.getStringExtra(MediaControlIntent.EXTRA_ITEM_ID); in handleGetStatus() local
451 Log.d(TAG, mRouteId + ": Received getStatus request, sid=" + sid + ", iid=" + iid); in handleGetStatus()
452 PlaylistItem item = mSessionManager.getStatus(iid); in handleGetStatus()
461 ", sid=" + sid + ", iid=" + iid, null); in handleGetStatus()
DPlaylistItem.java42 public PlaylistItem(String qid, String iid, String title, Uri uri, String mime, in PlaylistItem() argument
45 mItemId = iid; in PlaylistItem()
DPlayer.java72 public abstract PlaylistItem remove(String iid); in remove() argument
/frameworks/wilhelm/src/itf/
DIDynamicInterfaceManagement.cpp98 const SLInterfaceID iid = &SL_IID_array[MPH]; // equal but not == to the original IID in HandleAdd() local
99 (*callback)(&thiz->mItf, context, SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION, result, iid); in HandleAdd()
106 const SLInterfaceID iid, SLboolean async) in IDynamicInterfaceManagement_AddInterface() argument
111 if (NULL == iid) { in IDynamicInterfaceManagement_AddInterface()
118 if ((0 > (MPH = IID_to_MPH(iid))) || in IDynamicInterfaceManagement_AddInterface()
201 SLDynamicInterfaceManagementItf self, const SLInterfaceID iid) in IDynamicInterfaceManagement_RemoveInterface() argument
207 if (NULL == iid) { in IDynamicInterfaceManagement_RemoveInterface()
214 if ((0 > (MPH = IID_to_MPH(iid))) || in IDynamicInterfaceManagement_RemoveInterface()
347 const SLInterfaceID iid = &SL_IID_array[MPH]; // equal but not == to the original IID in HandleResume() local
348 (*callback)(&thiz->mItf, context, SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION, result, iid); in HandleResume()
[all …]
DIObject.cpp325 static SLresult IObject_GetInterface(SLObjectItf self, const SLInterfaceID iid, void *pInterface) in IObject_GetInterface() argument
333 if (NULL == iid) { in IObject_GetInterface()
339 if ((0 > (MPH = IID_to_MPH(iid))) || in IObject_GetInterface()
703 SLInterfaceID iid = pInterfaceIDs[i]; in IObject_SetLossOfControlInterfaces() local
704 if (NULL == iid) { in IObject_SetLossOfControlInterfaces()
710 if ((0 <= (MPH = IID_to_MPH(iid))) && in IObject_SetLossOfControlInterfaces()
/frameworks/rs/
DrsScriptIntrinsic.cpp34 bool ScriptIntrinsic::init(Context *rsc, RsScriptIntrinsicID iid, Element *e) { in init() argument
35 mIntrinsicID = iid; in init()
40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e); in init()
DrsScriptIntrinsic.h36 bool init(Context *rsc, RsScriptIntrinsicID iid, Element *e);
DrsScript.cpp156 ScriptInvokeID *iid = new ScriptInvokeID(rsc, (Script *)vs, slot); in rsi_ScriptInvokeIDCreate() local
157 iid->incUserRef(); in rsi_ScriptInvokeIDCreate()
158 return iid; in rsi_ScriptInvokeIDCreate()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.cpp24 const Element *e, RsScriptIntrinsicID iid) in RsdCpuScriptIntrinsic() argument
27 mID = iid; in RsdCpuScriptIntrinsic()
DrsCpuIntrinsic.h79 const Element * e, RsScriptIntrinsicID iid);
Drsd_cpu.h131 virtual CpuScript * createIntrinsic(const Script *s, RsScriptIntrinsicID iid, Element *e) = 0;
DrsCpuCore.h176 CpuScript * createIntrinsic(const Script *s, RsScriptIntrinsicID iid, Element *e) override;
/frameworks/rs/driver/
DrsdBcc.cpp56 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, in rsdInitIntrinsic() argument
59 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createIntrinsic(s, iid, e); in rsdInitIntrinsic()
DrsdBcc.h28 RsScriptIntrinsicID iid,
/frameworks/wilhelm/src/
Dsles.cpp189 SLInterfaceID iid = pInterfaceIds[i]; in checkInterfaces() local
190 if (NULL == iid) { in checkInterfaces()
195 if ((0 > (MPH = IID_to_MPH(iid))) || in checkInterfaces()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h416 const SLInterfaceID iid,
1980 const SLInterfaceID iid
1987 const SLInterfaceID iid,
1992 const SLInterfaceID iid
1996 const SLInterfaceID iid,

12