Home
last modified time | relevance | path

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

123

/frameworks/rs/tests/java_api/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.java182 int ip = 0, im = 0; in matchGlobPattern() local
184 while ((ip<NP) && (im<NM)) { in matchGlobPattern()
186 ip++; in matchGlobPattern()
187 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
191 ip++; in matchGlobPattern()
192 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
196 if (ip >= (NP-1)) { in matchGlobPattern()
201 ip++; in matchGlobPattern()
202 nextChar = pattern.charAt(ip); in matchGlobPattern()
206 ip++; in matchGlobPattern()
[all …]
/frameworks/rs/tests/java_api/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/tests/java_api/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/rs/tests/java_api/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/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;
146 public void notifyLost(InetAddress ip, String logMsg); in notifyLost() argument
177 private static int probeNeighbor(int ifIndex, InetAddress ip) { in probeNeighbor() argument
178 final String msgSnippet = "probing ip=" + ip.getHostAddress() + "%" + ifIndex; in probeNeighbor()
182 1, ip, StructNdMsg.NUD_PROBE, ifIndex, null); in probeNeighbor()
277 private boolean isWatching(InetAddress ip) { in isWatching() argument
279 return mRunning && mIpWatchList.containsKey(ip); in isWatching()
283 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) { in isOnLink() argument
285 if (!route.hasGateway() && route.matches(ip)) { in isOnLink()
292 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.java375 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setState()
376 pullFixedProc(pkgList, ip).setState(state, now); in setState()
488 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
489 pullFixedProc(pkgList, ip).mPssTable.mergeStats(mCurState, 1, in addPss()
503 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveWake()
504 pullFixedProc(pkgList, ip).mNumExcessiveWake++; in reportExcessiveWake()
515 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveCpu()
516 pullFixedProc(pkgList, ip).mNumExcessiveCpu++; in reportExcessiveCpu()
546 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportCachedKill()
547 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/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 short 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] = (short)(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()
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/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/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java316 private static boolean isIPv6GlobalAddress(InetAddress ip) { in isIPv6GlobalAddress() argument
317 return (ip instanceof Inet6Address) && in isIPv6GlobalAddress()
318 !ip.isAnyLocalAddress() && in isIPv6GlobalAddress()
319 !ip.isLoopbackAddress() && in isIPv6GlobalAddress()
320 !ip.isLinkLocalAddress() && in isIPv6GlobalAddress()
321 !ip.isSiteLocalAddress() && in isIPv6GlobalAddress()
322 !ip.isMulticastAddress(); in isIPv6GlobalAddress()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java35 public NetworkUpdateResult(boolean ip, boolean proxy, boolean credential) { in NetworkUpdateResult() argument
37 ipChanged = ip; in NetworkUpdateResult()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java113 for (int ip = 0; ip < processCount; ip++) { in dumpLocked()
114 final String pname = pmap.keyAt(ip); in dumpLocked()
115 final SparseArray<Long> uids = pmap.valueAt(ip); in dumpLocked()
143 for (int ip = 0; ip < processCount; ip++) { in dumpLocked()
144 final String pname = pmap.keyAt(ip); in dumpLocked()
145 final SparseArray<BadProcessInfo> uids = pmap.valueAt(ip); in dumpLocked()
207 for (int ip = pmap.size() - 1; ip >= 0; ip--) { in resetProcessCrashTimeLocked()
208 SparseArray<Long> ba = pmap.valueAt(ip); in resetProcessCrashTimeLocked()
230 pmap.removeAt(ip); in resetProcessCrashTimeLocked()
/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/services/net/java/android/net/util/
DConnectivityPacketSummary.java353 private static String getIpAddressString(ByteBuffer ip, int byteLength) { in getIpAddressString() argument
354 if (ip == null || ip.remaining() < byteLength) return "invalid"; in getIpAddressString()
357 ip.get(bytes, 0, byteLength); in getIpAddressString()

123