Home
last modified time | relevance | path

Searched refs:si (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_get_side_info.cpp115 mp3SideInfo *si, in pvmp3_get_side_info() argument
129 si->main_data_begin = (tmp << 18) >> 23; /* 9 */ in pvmp3_get_side_info()
130 si->private_bits = (tmp << 23) >> 27; /* 5 */ in pvmp3_get_side_info()
135 si->main_data_begin = (tmp << 20) >> 23; /* 9 */ in pvmp3_get_side_info()
136 si->private_bits = (tmp << 23) >> 29; /* 3 */ in pvmp3_get_side_info()
143 si->ch[ch].scfsi[0] = (tmp << 28) >> 31; /* 1 */ in pvmp3_get_side_info()
144 si->ch[ch].scfsi[1] = (tmp << 29) >> 31; /* 1 */ in pvmp3_get_side_info()
145 si->ch[ch].scfsi[2] = (tmp << 30) >> 31; /* 1 */ in pvmp3_get_side_info()
146 si->ch[ch].scfsi[3] = tmp & 1; /* 1 */ in pvmp3_get_side_info()
153si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection); in pvmp3_get_side_info()
[all …]
Dpvmp3_mpeg2_get_scale_data.cpp127 void pvmp3_mpeg2_get_scale_data(mp3SideInfo *si, in pvmp3_mpeg2_get_scale_data() argument
141 granuleInfo *gr_info = &(si->ch[ch].gran[gr]); in pvmp3_mpeg2_get_scale_data()
177 si->ch[ch].gran[gr].preflag = 0; in pvmp3_mpeg2_get_scale_data()
187 si->ch[ch].gran[gr].preflag = 0; in pvmp3_mpeg2_get_scale_data()
198 si->ch[ch].gran[gr].preflag = 0; in pvmp3_mpeg2_get_scale_data()
208 si->ch[ch].gran[gr].preflag = 1; in pvmp3_mpeg2_get_scale_data()
Dpvmp3_mpeg2_get_scale_factors.cpp119 mp3SideInfo *si, in pvmp3_mpeg2_get_scale_factors() argument
132 granuleInfo *gr_info = &(si->ch[ch].gran[gr]); in pvmp3_mpeg2_get_scale_factors()
134 pvmp3_mpeg2_get_scale_data(si, in pvmp3_mpeg2_get_scale_factors()
Dpvmp3_get_scale_factors.cpp133 mp3SideInfo *si, in pvmp3_get_scale_factors() argument
141 granuleInfo *gr_info = &(si->ch[ch].gran[gr]); in pvmp3_get_scale_factors()
194 if ((si->ch[ch].scfsi[i] == 0) || (gr == 0)) in pvmp3_get_scale_factors()
/frameworks/native/cmds/servicemanager/
Dservice_manager.c107 struct svcinfo *si; in find_svc() local
109 for (si = svclist; si; si = si->next) { in find_svc()
110 if ((len == si->len) && in find_svc()
111 !memcmp(s16, si->name, len * sizeof(uint16_t))) { in find_svc()
112 return si; in find_svc()
120 struct svcinfo *si = ptr; in svcinfo_death() local
121 ALOGI("service '%s' died\n", str8(si->name)); in svcinfo_death()
122 if (si->ptr) { in svcinfo_death()
123 binder_release(bs, si->ptr); in svcinfo_death()
124 si->ptr = 0; in svcinfo_death()
[all …]
/frameworks/compile/mclinker/lib/Support/
DDefSymParser.cpp44 llvm::StringRef::iterator si = pExpr.begin(); in parse() local
48 while (si != pExpr.end()) { in parse()
49 if (*si == '+' || *si == '-' || *si == '*' || *si == '/') { in parse()
50 if (token.empty() && (*si == '+' || *si == '-')) in parse()
61 operatorStack.push(si); in parse()
64 if (precedence(si) <= precedence(operatorStack.top())) { in parse()
69 if (precedence(si) <= precedence(operatorStack.top())) { in parse()
78 operatorStack.push(si); in parse()
80 si++; in parse()
84 token += *si; in parse()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicLUT.java55 ScriptIntrinsicLUT si = new ScriptIntrinsicLUT(id, rs); in create() local
56 si.mTables = Allocation.createSized(rs, Element.U8(rs), 1024); in create()
58 si.mCache[ct] = (byte)ct; in create()
59 si.mCache[ct + 256] = (byte)ct; in create()
60 si.mCache[ct + 512] = (byte)ct; in create()
61 si.mCache[ct + 768] = (byte)ct; in create()
63 si.setVar(0, si.mTables); in create()
64 return si; in create()
DScriptIntrinsicConvolve3x3.java60 ScriptIntrinsicConvolve3x3 si = new ScriptIntrinsicConvolve3x3(id, rs); in create() local
61 si.setCoefficients(f); in create()
62 return si; in create()
DScriptIntrinsicYuvToRGBThunker.java36 ScriptIntrinsicYuvToRGBThunker si = new ScriptIntrinsicYuvToRGBThunker(0, rs); in create() local
38 si.mN = android.renderscript.ScriptIntrinsicYuvToRGB.create(rst.mN, et.getNObj()); in create()
42 return si; in create()
DScriptIntrinsicConvolve5x5Thunker.java37 ScriptIntrinsicConvolve5x5Thunker si = new ScriptIntrinsicConvolve5x5Thunker(0, rs); in create() local
39 si.mN = android.renderscript.ScriptIntrinsicConvolve5x5.create(rst.mN, et.getNObj()); in create()
43 return si; in create()
DScriptIntrinsicConvolve3x3Thunker.java37 ScriptIntrinsicConvolve3x3Thunker si = new ScriptIntrinsicConvolve3x3Thunker(0, rs); in create() local
39 si.mN = android.renderscript.ScriptIntrinsicConvolve3x3.create(rst.mN, et.getNObj()); in create()
43 return si; in create()
DScriptIntrinsicLUTThunker.java36 ScriptIntrinsicLUTThunker si = new ScriptIntrinsicLUTThunker(0, rs); in create() local
38 si.mN = android.renderscript.ScriptIntrinsicLUT.create(rst.mN, et.getNObj()); in create()
42 return si; in create()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java81 SearchableInfo si = searchables.getSearchableInfo(nonActivity); in testNonSearchable() local
82 assertNull(si); in testNonSearchable()
147 SearchableInfo si = searchablesList.get(ii); in checkSearchables() local
148 checkSearchable(si); in checkSearchables()
152 private void checkSearchable(SearchableInfo si) { in checkSearchable() argument
153 assertNotNull(si); in checkSearchable()
154 assertTrue(si.getLabelId() != 0); // This must be a useable string in checkSearchable()
155 assertNotEmpty(si.getSearchActivity().getClassName()); in checkSearchable()
156 assertNotEmpty(si.getSearchActivity().getPackageName()); in checkSearchable()
157 if (si.getSuggestAuthority() != null) { in checkSearchable()
[all …]
/frameworks/base/media/java/android/media/
DImageReader.java272 SurfaceImage si = new SurfaceImage(); in acquireNextImageNoThrowISE() local
273 return acquireNextSurfaceImage(si) == ACQUIRE_SUCCESS ? si : null; in acquireNextImageNoThrowISE()
290 private int acquireNextSurfaceImage(SurfaceImage si) { in acquireNextSurfaceImage() argument
292 int status = nativeImageSetup(si); in acquireNextSurfaceImage()
296 si.createSurfacePlanes(); in acquireNextSurfaceImage()
297 si.setImageValid(true); in acquireNextSurfaceImage()
337 SurfaceImage si = new SurfaceImage(); in acquireNextImage() local
338 int status = acquireNextSurfaceImage(si); in acquireNextImage()
342 return si; in acquireNextImage()
363 SurfaceImage si = (SurfaceImage) i; in releaseImage() local
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java130 ServiceInfo si = service.serviceInfo; in InputMethodInfo() local
131 mId = new ComponentName(si.packageName, si.name).flattenToShortString(); in InputMethodInfo()
142 parser = si.loadXmlMetaData(pm, InputMethod.SERVICE_META_DATA); in InputMethodInfo()
148 Resources res = pm.getResourcesForApplication(si.applicationInfo); in InputMethodInfo()
214 "Unable to create context for: " + si.packageName); in InputMethodInfo()
269 final ServiceInfo si = ri.serviceInfo; in InputMethodInfo() local
271 mId = new ComponentName(si.packageName, si.name).flattenToShortString(); in InputMethodInfo()
285 ServiceInfo si = new ServiceInfo(); in buildDummyResolveInfo() local
289 si.applicationInfo = ai; in buildDummyResolveInfo()
290 si.enabled = true; in buildDummyResolveInfo()
[all …]
/frameworks/av/camera/
DProCamera.cpp333 StreamInfo& si = getStreamInfo(streamId); in waitForFrameBuffer() local
335 if (si.frameReady > 0) { in waitForFrameBuffer()
336 int numFrames = si.frameReady; in waitForFrameBuffer()
337 si.frameReady = 0; in waitForFrameBuffer()
349 if (si.frameReady > 0) { in waitForFrameBuffer()
350 int numFrames = si.frameReady; in waitForFrameBuffer()
351 si.frameReady = 0; in waitForFrameBuffer()
362 StreamInfo& si = getStreamInfo(streamId); in dropFrameBuffer() local
364 if (!si.cpuStream) { in dropFrameBuffer()
370 if (!si.synchronousMode) { in dropFrameBuffer()
[all …]
/frameworks/rs/
DrsScriptIntrinsic.cpp87 ScriptIntrinsic *si = new ScriptIntrinsic(rsc); in rsi_ScriptIntrinsicCreate() local
88 if (!si->init(rsc, (RsScriptIntrinsicID)id, (Element *)ve)) { in rsi_ScriptIntrinsicCreate()
89 delete si; in rsi_ScriptIntrinsicCreate()
92 si->incUserRef(); in rsi_ScriptIntrinsicCreate()
93 return si; in rsi_ScriptIntrinsicCreate()
/frameworks/base/core/tests/inputmethodtests/src/android/os/
DInputMethodTest.java93 final ServiceInfo si = new ServiceInfo(); in createDummyInputMethodInfo() local
98 si.applicationInfo = ai; in createDummyInputMethodInfo()
99 si.enabled = true; in createDummyInputMethodInfo()
100 si.packageName = packageName; in createDummyInputMethodInfo()
101 si.name = name; in createDummyInputMethodInfo()
102 si.exported = true; in createDummyInputMethodInfo()
103 si.nonLocalizedLabel = label; in createDummyInputMethodInfo()
104 ri.serviceInfo = si; in createDummyInputMethodInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInformationRecords.java155 public byte si; field in CdmaInformationRecords.CdmaNumberInfoRec
158 int si) { in CdmaNumberInfoRec() argument
163 this.si = (byte)si; in CdmaNumberInfoRec()
174 ", si: " + si + in toString()
191 int pi, int si, int reason) { in CdmaRedirectingNumberInfoRec() argument
193 number, numberType, numberPlan, pi, si); in CdmaRedirectingNumberInfoRec()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp198 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute() local
201 si->forEachMtlsSetup(ins[ct], outs[ct], NULL, 0, NULL, &mtls); in execute()
202 si->forEachKernelSetup(slot, &mtls); in execute()
203 si->preLaunch(slot, ins[ct], outs[ct], mtls.fep.usr, mtls.fep.usrLen, NULL); in execute()
205 si->postLaunch(slot, ins[ct], outs[ct], NULL, 0, NULL); in execute()
219 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute() local
221 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); in execute()
225si->preLaunch(kernels[ct]->mSlot, ins[ct], outs[ct], mtls.fep.usr, mtls.fep.usrLen, NULL); in execute()
234 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute() local
235 si->forEachMtlsSetup(ins[0], outs[0], NULL, 0, NULL, &mtls); in execute()
[all …]
/frameworks/base/services/java/com/android/server/am/
DServiceRecord.java173 StartItem si = list.get(i); in dumpStartList() local
175 pw.print(" id="); pw.print(si.id); in dumpStartList()
178 TimeUtils.formatDuration(si.deliveredTime, now, pw); in dumpStartList()
180 if (si.deliveryCount != 0) { in dumpStartList()
181 pw.print(" dc="); pw.print(si.deliveryCount); in dumpStartList()
183 if (si.doneExecutingCount != 0) { in dumpStartList()
184 pw.print(" dxc="); pw.print(si.doneExecutingCount); in dumpStartList()
188 if (si.intent != null) pw.println(si.intent.toString()); in dumpStartList()
190 if (si.neededGrants != null) { in dumpStartList()
192 pw.println(si.neededGrants); in dumpStartList()
[all …]
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java67 ServiceInfo si = service.serviceInfo; in SpellCheckerInfo() local
68 mId = new ComponentName(si.packageName, si.name).flattenToShortString(); in SpellCheckerInfo()
76 parser = si.loadXmlMetaData(pm, SpellCheckerSession.SERVICE_META_DATA); in SpellCheckerInfo()
82 final Resources res = pm.getResourcesForApplication(si.applicationInfo); in SpellCheckerInfo()
127 "Unable to create context for: " + si.packageName); in SpellCheckerInfo()
/frameworks/base/graphics/java/android/renderscript/
DScriptIntrinsicConvolve3x3.java65 ScriptIntrinsicConvolve3x3 si = new ScriptIntrinsicConvolve3x3(id, rs); in create() local
66 si.setCoefficients(f); in create()
67 return si; in create()
DScriptIntrinsicYuvToRGB.java47 ScriptIntrinsicYuvToRGB si = new ScriptIntrinsicYuvToRGB(id, rs); in create() local
48 return si; in create()
/frameworks/base/docs/html-intl/es/training/monitoring-device-state/
Dconnectivity-monitoring.jd19 <li><a href="#DetermineConnection">Cómo determinar si tienes conexión a Internet</a></li>
33 …datos en la memoria caché o ejecutar descargas a largo plazo. Sin embargo, si no estás conectado a…
35 <p>Puedes utilizar {@link android.net.ConnectivityManager} para comprobar si estás conectado a Inte…
38 <h2 id="DetermineConnection">Cómo determinar si tienes conexión a Internet</h2>
40si no estás conectado. En el fragmento que aparece a continuación, se muestra cómo utilizar {@link…
57 …s casos, la frecuencia de actualización de tu aplicación debería ser menor si utilizas conexiones …
59 <p>Cuando hayas inhabilitado las actualizaciones, es importante que detectes si se hay cambios en l…
68 …con comprobar la conexión a Internet antes de iniciar una actualización y, si no hay ninguna, canc…

123