Home
last modified time | relevance | path

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

123

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rs119 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);
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);
147 float v_0_1_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 1, ip.z + 0);
[all …]
/frameworks/base/core/java/android/os/
DPatternMatcher.java124 int ip = 0, im = 0; in matchPattern() local
126 while ((ip<NP) && (im<NM)) { in matchPattern()
128 ip++; in matchPattern()
129 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern()
133 ip++; in matchPattern()
134 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern()
138 if (ip >= (NP-1)) { in matchPattern()
143 ip++; in matchPattern()
144 nextChar = pattern.charAt(ip); in matchPattern()
148 ip++; in matchPattern()
[all …]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dgrain.rs79 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/java/tests/ImageProcessing2/src/com/android/rs/image/
Dgrain.rs79 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/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dgrain.rs79 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/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/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/tests/coretests/src/android/content/pm/
DPackageManagerTests.java706 private void installFromRawResource(InstallParams ip, int flags, boolean cleanUp, boolean fail, in installFromRawResource() argument
709 PackageParser.Package pkg = ip.pkg; in installFromRawResource()
710 Uri packageURI = ip.packageURI; in installFromRawResource()
735 cleanUpInstall(ip); in installFromRawResource()
747 InstallParams ip = new InstallParams(outFileName, rawResId); in installFromRawResource() local
748 installFromRawResource(ip, flags, cleanUp, fail, result, expInstallLocation); in installFromRawResource()
749 return ip; in installFromRawResource()
840 InstallParams ip = sampleInstallFromRawResource(flags, false); in sampleReplaceFromRawResource() local
845 receiver = new ReplaceReceiver(ip.pkg.packageName); in sampleReplaceFromRawResource()
848 receiver = new InstallReceiver(ip.pkg.packageName); in sampleReplaceFromRawResource()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DIpReachabilityMonitor.java17 package android.net.ip;
144 public void notifyLost(InetAddress ip, String logMsg); in notifyLost() argument
172 private static int probeNeighbor(int ifIndex, InetAddress ip) { in probeNeighbor() argument
173 final String msgSnippet = "probing ip=" + ip.getHostAddress() + "%" + ifIndex; in probeNeighbor()
177 1, ip, StructNdMsg.NUD_PROBE, ifIndex, null); in probeNeighbor()
267 private boolean isWatching(InetAddress ip) { in isWatching() argument
269 return mRunning && mIpWatchList.containsKey(ip); in isWatching()
279 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) { in isOnLink() argument
281 if (!route.hasGateway() && route.matches(ip)) { in isOnLink()
288 private short getNeighborStateLocked(InetAddress ip) { in getNeighborStateLocked() argument
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java220 for (int ip=0; ip<pkgMap.size(); ip++) { in add()
221 final String pkgName = pkgMap.keyAt(ip); in add()
222 final SparseArray<SparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
263 for (int ip=0; ip<procMap.size(); ip++) { in add()
264 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
412 for (int ip=procMap.size()-1; ip>=0; ip--) { in resetSafely()
413 final SparseArray<ProcessState> uids = procMap.valueAt(ip); in resetSafely()
422 for (int ip=pkgMap.size()-1; ip>=0; ip--) { in resetSafely()
423 final SparseArray<SparseArray<PackageState>> uids = pkgMap.valueAt(ip); in resetSafely()
456 pkgMap.removeAt(ip); in resetSafely()
[all …]
DProcessState.java374 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setState()
375 pullFixedProc(pkgList, ip).setState(state, now); in setState()
487 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
488 pullFixedProc(pkgList, ip).mPssTable.mergeStats(mCurState, 1, in addPss()
502 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveWake()
503 pullFixedProc(pkgList, ip).mNumExcessiveWake++; in reportExcessiveWake()
514 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveCpu()
515 pullFixedProc(pkgList, ip).mNumExcessiveCpu++; in reportExcessiveCpu()
545 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportCachedKill()
546 pullFixedProc(pkgList, ip).addCachedKill(1, pss, pss, pss); in reportCachedKill()
[all …]
DDumpUtils.java262 for (int ip=0; ip<NP; ip++) { in dumpStateHeadersCsv()
280 pw.print(STATE_NAMES_CSV[procStates[ip]]); in dumpStateHeadersCsv()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java33 public NetworkUpdateResult(boolean ip, boolean proxy) { in NetworkUpdateResult() argument
35 ipChanged = ip; in NetworkUpdateResult()
47 public void setIpChanged(boolean ip) { in setIpChanged() argument
48 ipChanged = ip; in setIpChanged()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp180 short ip[16]; member in android::renderscript::RsdCpuScriptIntrinsicColorMatrix
245 if (ip[i] != 0) { in computeKey()
256 if ((ip[0] == ip[1]) && (ip[0] == ip[2]) && in computeKey()
257 (ip[4] == ip[5]) && (ip[4] == ip[6]) && in computeKey()
258 (ip[8] == ip[9]) && (ip[8] == ip[10]) && in computeKey()
259 (ip[12] == ip[13]) && (ip[12] == ip[14])) { in computeKey()
265 if (!(key.u.coeffMask & 0x0888) && (ip[15] == 256) && !(key.u.addMask & 0x8)) { in computeKey()
745 ip[ct] = (short)(fp[ct] * 256.f + 0.5f); in updateCoeffCache()
905 cp->mOptKernel(out, in, cp->ip, len >> 2); in kernel()
922 rsdIntrinsicColorMatrix_int_K(out, in, len, &cp->mFnTab, cp->ip, cp->ipa); in kernel()
DrsCpuIntrinsics_neon_Blend.S595 adr ip, blend_functions
597 ldrlo ip, [ip, r2, LSL #2]
598 movhs ip, #0
604 cmp ip, #0
605 addne ip, ip, pc
606 bxne ip
/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/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_input_source.pfw19 ip = 0
37 ip = 0
59 ip = 0
81 ip = 0
103 ip = 0
124 ip = 0
143 ip = 0
161 ip = 0
183 ip = 0
202 ip = 0
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/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/av/media/libstagefright/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/native/cmds/ip-up-vpn/
DAndroid.mk20 LOCAL_SRC_FILES := ip-up-vpn.c
22 LOCAL_MODULE := ip-up-vpn
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java115 for (int ip = 0; ip < processCount; ip++) { in dumpLocked()
116 final String pname = pmap.keyAt(ip); in dumpLocked()
117 final SparseArray<Long> uids = pmap.valueAt(ip); in dumpLocked()
145 for (int ip = 0; ip < processCount; ip++) { in dumpLocked()
146 final String pname = pmap.keyAt(ip); in dumpLocked()
147 final SparseArray<BadProcessInfo> uids = pmap.valueAt(ip); in dumpLocked()
209 for (int ip = pmap.size() - 1; ip >= 0; ip--) { in resetProcessCrashTimeLocked()
210 SparseArray<Long> ba = pmap.valueAt(ip); in resetProcessCrashTimeLocked()
232 pmap.removeAt(ip); in resetProcessCrashTimeLocked()
DProcessStatsService.java290 for (int ip=0; ip<NPROC; ip++) { in readLocked()
291 Slog.w(TAG, "Process: " + procMap.keyAt(ip)); in readLocked()
292 SparseArray<ProcessState> uids = procMap.valueAt(ip); in readLocked()
301 for (int ip=0; ip<NPKG; ip++) { in readLocked()
302 Slog.w(TAG, "Package: " + pkgMap.keyAt(ip)); in readLocked()
304 = pkgMap.valueAt(ip); in readLocked()
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags80 # interval is in seconds; network type can be 0 (mobile) or 1 (wifi); ip is the host ip addr.
81 204004 gtalk_heartbeat_reset (interval_and_nt|1),(ip|3)
/frameworks/base/services/net/java/android/net/netlink/
DRtNetlinkNeighborMessage.java146 int seqNo, InetAddress ip, short nudState, int ifIndex, byte[] llAddr) { in newNewNeighborMessage() argument
155 (byte) ((ip instanceof Inet6Address) ? OsConstants.AF_INET6 : OsConstants.AF_INET); in newNewNeighborMessage()
158 msg.mDestination = ip; in newNewNeighborMessage()
/frameworks/base/core/java/android/net/
DLinkProperties.java799 public boolean isReachable(InetAddress ip) { in isReachable() argument
802 final RouteInfo bestRoute = RouteInfo.selectBestRoute(allRoutes, ip); in isReachable()
809 if (ip instanceof Inet4Address) { in isReachable()
812 } else if (ip instanceof Inet6Address) { in isReachable()
813 if (ip.isLinkLocalAddress()) { in isReachable()
817 return (((Inet6Address)ip).getScopeId() != 0); in isReachable()

123