Home
last modified time | relevance | path

Searched refs:si (Results 1 – 25 of 65) 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.c142 struct svcinfo *si; in find_svc() local
144 for (si = svclist; si; si = si->next) { in find_svc()
145 if ((len == si->len) && in find_svc()
146 !memcmp(s16, si->name, len * sizeof(uint16_t))) { in find_svc()
147 return si; in find_svc()
155 struct svcinfo *si = (struct svcinfo* ) ptr; in svcinfo_death() local
157 ALOGI("service '%s' died\n", str8(si->name, si->len)); in svcinfo_death()
158 if (si->handle) { in svcinfo_death()
159 binder_release(bs, si->handle); in svcinfo_death()
160 si->handle = 0; in svcinfo_death()
[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.java278 SurfaceImage si = new SurfaceImage(); in acquireNextImageNoThrowISE() local
279 return acquireNextSurfaceImage(si) == ACQUIRE_SUCCESS ? si : null; in acquireNextImageNoThrowISE()
296 private int acquireNextSurfaceImage(SurfaceImage si) { in acquireNextSurfaceImage() argument
298 int status = nativeImageSetup(si); in acquireNextSurfaceImage()
302 si.createSurfacePlanes(); in acquireNextSurfaceImage()
303 si.setImageValid(true); in acquireNextSurfaceImage()
343 SurfaceImage si = new SurfaceImage(); in acquireNextImage() local
344 int status = acquireNextSurfaceImage(si); in acquireNextImage()
348 return si; in acquireNextImage()
369 SurfaceImage si = (SurfaceImage) i; in releaseImage() local
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java132 ServiceInfo si = service.serviceInfo; in InputMethodInfo() local
133 mId = new ComponentName(si.packageName, si.name).flattenToShortString(); in InputMethodInfo()
145 parser = si.loadXmlMetaData(pm, InputMethod.SERVICE_META_DATA); in InputMethodInfo()
151 Resources res = pm.getResourcesForApplication(si.applicationInfo); in InputMethodInfo()
217 "Unable to create context for: " + si.packageName); in InputMethodInfo()
284 final ServiceInfo si = ri.serviceInfo; in InputMethodInfo() local
286 mId = new ComponentName(si.packageName, si.name).flattenToShortString(); in InputMethodInfo()
298 ServiceInfo si = new ServiceInfo(); in buildDummyResolveInfo() local
302 si.applicationInfo = ai; in buildDummyResolveInfo()
303 si.enabled = true; in buildDummyResolveInfo()
[all …]
/frameworks/av/camera/
DProCamera.cpp336 StreamInfo& si = getStreamInfo(streamId); in waitForFrameBuffer() local
338 if (si.frameReady > 0) { in waitForFrameBuffer()
339 int numFrames = si.frameReady; in waitForFrameBuffer()
340 si.frameReady = 0; in waitForFrameBuffer()
352 if (si.frameReady > 0) { in waitForFrameBuffer()
353 int numFrames = si.frameReady; in waitForFrameBuffer()
354 si.frameReady = 0; in waitForFrameBuffer()
365 StreamInfo& si = getStreamInfo(streamId); in dropFrameBuffer() local
367 if (!si.cpuStream) { in dropFrameBuffer()
373 if (!si.synchronousMode) { in dropFrameBuffer()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp196 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute() local
199 si->forEachMtlsSetup(ins[ct], outs[ct], NULL, 0, NULL, &mtls); in execute()
200 si->forEachKernelSetup(slot, &mtls); in execute()
201 si->preLaunch(slot, ins[ct], outs[ct], mtls.fep.usr, mtls.fep.usrLen, NULL); in execute()
203 si->postLaunch(slot, ins[ct], outs[ct], NULL, 0, NULL); in execute()
217 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute() local
219 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); in execute()
223si->preLaunch(kernels[ct]->mSlot, ins[ct], outs[ct], mtls.fep.usr, mtls.fep.usrLen, NULL); in execute()
232 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute() local
233 si->forEachMtlsSetup(ins[0], outs[0], NULL, 0, NULL, &mtls); in execute()
[all …]
/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/
DrsScriptIntrinsic.cpp99 ScriptIntrinsic *si = new ScriptIntrinsic(rsc); in rsi_ScriptIntrinsicCreate() local
100 if (!si->init(rsc, (RsScriptIntrinsicID)id, (Element *)ve)) { in rsi_ScriptIntrinsicCreate()
101 delete si; in rsi_ScriptIntrinsicCreate()
104 si->incUserRef(); in rsi_ScriptIntrinsicCreate()
105 return si; in rsi_ScriptIntrinsicCreate()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java58 public VoiceInteractionServiceInfo(PackageManager pm, ServiceInfo si) { in VoiceInteractionServiceInfo() argument
59 if (!Manifest.permission.BIND_VOICE_INTERACTION.equals(si.permission)) { in VoiceInteractionServiceInfo()
67 parser = si.loadXmlMetaData(pm, VoiceInteractionService.SERVICE_META_DATA); in VoiceInteractionServiceInfo()
70 + " meta-data for " + si.packageName; in VoiceInteractionServiceInfo()
74 Resources res = pm.getResourcesForApplication(si.applicationInfo); in VoiceInteractionServiceInfo()
122 mServiceInfo = si; in VoiceInteractionServiceInfo()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java174 StartItem si = list.get(i); in dumpStartList() local
176 pw.print(" id="); pw.print(si.id); in dumpStartList()
179 TimeUtils.formatDuration(si.deliveredTime, now, pw); in dumpStartList()
181 if (si.deliveryCount != 0) { in dumpStartList()
182 pw.print(" dc="); pw.print(si.deliveryCount); in dumpStartList()
184 if (si.doneExecutingCount != 0) { in dumpStartList()
185 pw.print(" dxc="); pw.print(si.doneExecutingCount); in dumpStartList()
189 if (si.intent != null) pw.println(si.intent.toString()); in dumpStartList()
191 if (si.neededGrants != null) { in dumpStartList()
193 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/docs/html-intl/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…
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicConvolve3x3.java63 ScriptIntrinsicConvolve3x3 si = new ScriptIntrinsicConvolve3x3(id, rs); in create() local
64 si.setCoefficients(f); in create()
65 return si; in create()
DScriptIntrinsicYuvToRGB.java47 ScriptIntrinsicYuvToRGB si = new ScriptIntrinsicYuvToRGB(id, rs); in create() local
48 return si; in create()
/frameworks/base/core/tests/inputmethodtests/src/android/os/
DInputMethodSubtypeSwitchingControllerTest.java58 final ServiceInfo si = new ServiceInfo(); in addDummyImeSubtypeListItems() local
62 si.applicationInfo = ai; in addDummyImeSubtypeListItems()
63 si.enabled = true; in addDummyImeSubtypeListItems()
64 si.packageName = DUMMY_PACKAGE_NAME; in addDummyImeSubtypeListItems()
65 si.name = imeName; in addDummyImeSubtypeListItems()
66 si.exported = true; in addDummyImeSubtypeListItems()
67 si.nonLocalizedLabel = imeLabel; in addDummyImeSubtypeListItems()
68 ri.serviceInfo = si; in addDummyImeSubtypeListItems()

123