Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 173) sorted by relevance

1234567

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rscript119 int3 ip = convert_int3(p);
120 ip = clamp(ip, 4, 500);
121 short pix = rsGetElementAt_short(volume, ip.x, ip.y, ip.z);
135 int3 ip = convert_int3(p);
137 if (isInBrick(ip)) { // isInBrick(ip)) {
139 float3 delta = p - convert_float3(ip);
141 // short2 tmps = rsAllocationVLoadX_short2(volume, ip.x + 0, ip.y + 0, ip.z + 0);
143 float v_0_0_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 0, ip.z + 0);
144 float v_0_0_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 0, ip.z + 0);
146 float v_0_1_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 1, ip.z + 0);
[all …]
/frameworks/base/core/java/android/os/
DPatternMatcher.java236 int ip = 0, im = 0; in matchGlobPattern() local
238 while ((ip<NP) && (im<NM)) { in matchGlobPattern()
240 ip++; in matchGlobPattern()
241 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
245 ip++; in matchGlobPattern()
246 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
250 if (ip >= (NP-1)) { in matchGlobPattern()
255 ip++; in matchGlobPattern()
256 nextChar = pattern.charAt(ip); in matchGlobPattern()
260 ip++; in matchGlobPattern()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/
Ddevice_for_input_source.pfw28 ip = 0
51 ip = 0
74 ip = 0
97 ip = 0
120 ip = 0
143 ip = 0
166 ip = 0
189 ip = 0
212 ip = 0
235 ip = 0
[all …]
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DLegacyProtoLogImplTest.java227 private ProtoLogData readProtoLogSingle(ProtoInputStream ip) throws IOException { in readProtoLogSingle() argument
228 while (ip.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readProtoLogSingle()
229 if (ip.getFieldNumber() == (int) ProtoLogFileProto.VERSION) { in readProtoLogSingle()
230 assertEquals(PROTOLOG_VERSION, ip.readString(ProtoLogFileProto.VERSION)); in readProtoLogSingle()
233 if (ip.getFieldNumber() != (int) ProtoLogFileProto.LOG) { in readProtoLogSingle()
236 long token = ip.start(ProtoLogFileProto.LOG); in readProtoLogSingle()
238 while (ip.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readProtoLogSingle()
239 switch (ip.getFieldNumber()) { in readProtoLogSingle()
241 data.mMessageHash = ip.readLong(ProtoLogMessage.MESSAGE_HASH); in readProtoLogSingle()
245 data.mElapsedTime = ip.readLong(ProtoLogMessage.ELAPSED_REALTIME_NANOS); in readProtoLogSingle()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoOutput/
Ddevice_for_strategies.pfw28 ip = 0
56 ip = 0
84 ip = 0
112 ip = 0
140 ip = 0
168 ip = 0
196 ip = 0
224 ip = 0
252 ip = 0
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java297 for (int ip=0; ip<pkgMap.size(); ip++) { in add()
298 final String pkgName = pkgMap.keyAt(ip); in add()
299 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
349 for (int ip = 0, size = uidStates.size(); ip < size; ip++) { in add()
350 final int uid = uidStates.keyAt(ip); in add()
353 uidState = uidStates.valueAt(ip).clone(); in add()
356 uidState.add(uidStates.valueAt(ip)); in add()
361 for (int ip=0; ip<procMap.size(); ip++) { in add()
362 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
390 for (int ip = 0, size = mUidStates.size(); ip < size; ip++) { in add()
[all …]
DProcessState.java309 for (int ip = mCommonSources.size() - 1; ip >= 0; ip--) { in resetSafely()
310 final SourceState state = mCommonSources.valueAt(ip); in resetSafely()
314 mCommonSources.removeAt(ip); in resetSafely()
481 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setCombinedState()
482 pullFixedProc(pkgList, ip).setCombinedStateIdv(state, now); in setCombinedState()
531 for (int ip = mCommonSources.size() - 1; ip >= 0; ip--) { in commitStateTime()
532 final SourceState src = mCommonSources.valueAt(ip); in commitStateTime()
651 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
652 ProcessState fixedProc = pullFixedProc(pkgList, ip); in addPss()
669 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveCpu()
[all …]
DUidState.java273 for (int ip = 0; ip < procStates.length; ip++) { in dumpState()
276 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpState()
295 pw.print(DumpUtils.STATE_LABELS[procStates[ip]]); pw.print(": "); in dumpState()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dgrain.rscript17 #include "ip.rsh"
79 float4 ip = convert_float4(in);
82 float energy_level = ip.r + ip.g + ip.b;
86 ip += pnoise * gNoiseStrength;
87 ip = clamp(ip, 0.f, 255.f);
89 uchar4 p = convert_uchar4(ip);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dgrain.rscript17 #include "ip.rsh"
79 float4 ip = convert_float4(in);
82 float energy_level = ip.r + ip.g + ip.b;
86 ip += pnoise * gNoiseStrength;
87 ip = clamp(ip, 0.f, 255.f);
89 uchar4 p = convert_uchar4(ip);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dgrain.rscript17 #include "ip.rsh"
79 float4 ip = convert_float4(in);
82 float energy_level = ip.r + ip.g + ip.b;
86 ip += pnoise * gNoiseStrength;
87 ip = clamp(ip, 0.f, 255.f);
89 uchar4 p = convert_uchar4(ip);
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java715 private void installFromRawResource(InstallParams ip, int flags, boolean cleanUp, boolean fail, in installFromRawResource() argument
718 ParsedPackage pkg = ip.pkg; in installFromRawResource()
719 Uri packageURI = ip.packageURI; in installFromRawResource()
744 cleanUpInstall(ip); in installFromRawResource()
756 InstallParams ip = new InstallParams(outFileName, rawResId); in installFromRawResource() local
757 installFromRawResource(ip, flags, cleanUp, fail, result, expInstallLocation); in installFromRawResource()
758 return ip; in installFromRawResource()
833 InstallParams ip = sampleInstallFromRawResource(flags, false); in sampleReplaceFromRawResource() local
838 receiver = new ReplaceReceiver(ip.pkg.getPackageName()); in sampleReplaceFromRawResource()
841 receiver = new InstallReceiver(ip.pkg.getPackageName()); in sampleReplaceFromRawResource()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java180 for (int ip = 0; ip < processCount; ip++) { in dumpDebugLPr()
182 final String pname = pmap.keyAt(ip); in dumpDebugLPr()
183 final SparseArray<BadProcessInfo> uids = pmap.valueAt(ip); in dumpDebugLPr()
211 for (int ip = 0; ip < procCount; ip++) { in dumpDebugLPr()
213 final String pname = pmap.keyAt(ip); in dumpDebugLPr()
214 final SparseArray<Long> uids = pmap.valueAt(ip); in dumpDebugLPr()
247 for (int ip = 0; ip < processCount; ip++) { in dumpLPr()
248 final String pname = pmap.keyAt(ip); in dumpLPr()
249 final SparseArray<Long> uids = pmap.valueAt(ip); in dumpLPr()
278 for (int ip = 0; ip < processCount; ip++) { in dumpLPr()
[all …]
/frameworks/base/core/java/android/hardware/display/
DWifiDisplaySessionInfo.java47 String ip = in.readString();
49 return new WifiDisplaySessionInfo(client, session, group, pp, ip);
63 boolean client, int session, String group, String pp, String ip) { in WifiDisplaySessionInfo() argument
68 mIP = ip; in WifiDisplaySessionInfo()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp177 int16_t ip[16]; member in android::renderscript::RsdCpuScriptIntrinsicColorMatrix
239 if (ip[i] != 0) { in computeKey()
250 if ((ip[0] == ip[1]) && (ip[0] == ip[2]) && in computeKey()
251 (ip[4] == ip[5]) && (ip[4] == ip[6]) && in computeKey()
252 (ip[8] == ip[9]) && (ip[8] == ip[10]) && in computeKey()
253 (ip[12] == ip[13]) && (ip[12] == ip[14])) { in computeKey()
259 if (!(key.u.coeffMask & 0x0888) && (ip[15] == 256) && !(key.u.addMask & 0x8)) { in computeKey()
747 ip[ct] = (int16_t)(fp[ct] * 256.f + 0.5f); in updateCoeffCache()
907 cp->mOptKernel(out, in, cp->ip, len >> 2); in kernel()
924 rsdIntrinsicColorMatrix_int_K(out, in, len, &cp->mFnTab, cp->ip, cp->ipa); in kernel()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/Settings/
Ddevice_for_product_strategies.pfw29 ip = 0
74 ip = 0
121 ip = 0
168 ip = 0
213 ip = 0
260 ip = 0
306 ip = 0
352 ip = 0
399 ip = 0
445 ip = 0
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/Settings/
Ddevice_for_product_strategies.pfw29 ip = 0
74 ip = 0
121 ip = 0
167 ip = 0
220 ip = 0
266 ip = 0
319 ip = 0
372 ip = 0
426 ip = 0
479 ip = 0
[all …]
/frameworks/av/media/module/codecs/amrwb/enc/src/
Daz_isp.c66 Word32 i, j, nf, ip, order; in Az_isp() local
109 ip = 0; /* indicator for f1 or f2 */ in Az_isp()
167 if (ip == 0) in Az_isp()
169 ip = 1; in Az_isp()
174 ip = 0; in Az_isp()
/frameworks/base/services/core/jni/gnss/
DAGnssCallback.cpp108 jbyteArray AGnssCallback_V1_0::convertToIpV4(uint32_t ip) { in convertToIpV4() argument
109 if (INADDR_NONE == ip) { in convertToIpV4()
121 ALOGV("Converting IPv4 address byte array (net_order) %x", ip); in convertToIpV4()
122 memcpy(ipv4, &ip, sizeof(ipv4)); in convertToIpV4()
/frameworks/av/media/module/codecs/amrnb/common/src/
Daz_lsp.cpp572 Word16 ip; in Az_lsp() local
630 ip = 0; /* indicator for f1 or f2 */ in Az_lsp()
706 if (ip == 0) in Az_lsp()
708 ip = 1; in Az_lsp()
713 ip = 0; in Az_lsp()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_input_source.pfw19 ip = 0
36 ip = 0
57 ip = 0
78 ip = 0
99 ip = 0
119 ip = 0
137 ip = 0
154 ip = 0
175 ip = 0
193 ip = 0
[all …]
/frameworks/libs/native_bridge_support/guest_state_accessor/include/native_bridge_support/guest_state_accessor/
Daccessor.h38 uint64_t ip; member
46 uint64_t ip; member
/frameworks/libs/binary_translation/guest_state/arm64/
Dget_cpu_state.cc44 memcpy(&guest_regs->regs_arm64.ip, &state->insn_addr, sizeof(guest_regs->regs_arm64.ip)); in GetCpuState()
/frameworks/libs/binary_translation/guest_state/riscv64/
Dget_cpu_state.cc45 memcpy(&guest_regs->regs_riscv64.ip, &state->insn_addr, sizeof(guest_regs->regs_riscv64.ip)); in GetCpuState()
/frameworks/av/services/tuner/hidl/
DTunerHidlFilter.cpp214 case DemuxFilterSettings::ip: { in configure()
659 const DemuxIpFilterSettings& ipConf = settings.get<DemuxFilterSettings::ip>(); in getHidlIpSettings()
672 HidlDemuxIpFilterSettings ip; in getHidlIpSettings() local
673 ip.ipAddr = ipAddr; in getHidlIpSettings()
677 ip.filterSettings.section(getHidlSectionSettings( in getHidlIpSettings()
682 ip.filterSettings.bPassthrough( in getHidlIpSettings()
687 ip.filterSettings.noinit(); in getHidlIpSettings()
691 hidlSettings.ip(ip); in getHidlIpSettings()
696 hidl_array<uint8_t, IP_V6_LENGTH> ip; in getIpV6Address() local
698 return ip; in getIpV6Address()
[all …]

1234567