Home
last modified time | relevance | path

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

12345678

/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.java192 int ip = 0, im = 0; in matchGlobPattern() local
194 while ((ip<NP) && (im<NM)) { in matchGlobPattern()
196 ip++; in matchGlobPattern()
197 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
201 ip++; in matchGlobPattern()
202 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
206 if (ip >= (NP-1)) { in matchGlobPattern()
211 ip++; in matchGlobPattern()
212 nextChar = pattern.charAt(ip); in matchGlobPattern()
216 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/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/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/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/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java699 private void installFromRawResource(InstallParams ip, int flags, boolean cleanUp, boolean fail, in installFromRawResource() argument
702 PackageParser.Package pkg = ip.pkg; in installFromRawResource()
703 Uri packageURI = ip.packageURI; in installFromRawResource()
728 cleanUpInstall(ip); in installFromRawResource()
740 InstallParams ip = new InstallParams(outFileName, rawResId); in installFromRawResource() local
741 installFromRawResource(ip, flags, cleanUp, fail, result, expInstallLocation); in installFromRawResource()
742 return ip; in installFromRawResource()
817 InstallParams ip = sampleInstallFromRawResource(flags, false); in sampleReplaceFromRawResource() local
822 receiver = new ReplaceReceiver(ip.pkg.packageName); in sampleReplaceFromRawResource()
825 receiver = new InstallReceiver(ip.pkg.packageName); in sampleReplaceFromRawResource()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java267 for (int ip=0; ip<pkgMap.size(); ip++) { in add()
268 final String pkgName = pkgMap.keyAt(ip); in add()
269 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
319 for (int ip=0; ip<procMap.size(); ip++) { in add()
320 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
479 for (int ip=procMap.size()-1; ip>=0; ip--) { in resetSafely()
480 final SparseArray<ProcessState> uids = procMap.valueAt(ip); in resetSafely()
490 for (int ip=pkgMap.size()-1; ip>=0; ip--) { in resetSafely()
491 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in resetSafely()
533 pkgMap.removeAt(ip); in resetSafely()
[all …]
DProcessState.java392 for (int ip=pkgList.size()-1; ip>=0; ip--) { in setState()
393 pullFixedProc(pkgList, ip).setCombinedState(state, now); in setState()
549 for (int ip=pkgList.size()-1; ip>=0; ip--) { in addPss()
550 ProcessState fixedProc = pullFixedProc(pkgList, ip); in addPss()
567 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportExcessiveCpu()
568 pullFixedProc(pkgList, ip).mNumExcessiveCpu++; in reportExcessiveCpu()
598 for (int ip=pkgList.size()-1; ip>=0; ip--) { in reportCachedKill()
599 pullFixedProc(pkgList, ip).addCachedKill(1, pss, pss, pss); in reportCachedKill()
816 for (int ip=0; ip<procStates.length; ip++) { in computeProcessTimeLocked()
818 + procStates[ip]; in computeProcessTimeLocked()
[all …]
/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/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java25 import android.net.ip.IpServer;
265 private static boolean isIPv6GlobalAddress(InetAddress ip) { in isIPv6GlobalAddress() argument
266 return (ip instanceof Inet6Address) in isIPv6GlobalAddress()
267 && !ip.isAnyLocalAddress() in isIPv6GlobalAddress()
268 && !ip.isLoopbackAddress() in isIPv6GlobalAddress()
269 && !ip.isLinkLocalAddress() in isIPv6GlobalAddress()
270 && !ip.isSiteLocalAddress() in isIPv6GlobalAddress()
271 && !ip.isMulticastAddress(); in isIPv6GlobalAddress()
DOffloadController.java600 for (InetAddress ip : mUpstreamLinkProperties.getAddresses()) { in pushUpstreamParameters()
601 if (ip instanceof Inet4Address) { in pushUpstreamParameters()
602 v4addr = ip.getHostAddress(); in pushUpstreamParameters()
670 final InetAddress ip = linkAddr.getAddress(); in computeLocalPrefixStrings() local
671 if (!(ip instanceof Inet6Address)) continue; in computeLocalPrefixStrings()
672 prefixSet.add(new IpPrefix(ip, 128)); in computeLocalPrefixStrings()
767 final InetAddress ip = InetAddresses.parseNumericAddress(addrString); in parseIPv4Address() local
774 if (ip instanceof Inet4Address) { in parseIPv4Address()
775 return (Inet4Address) ip; in parseIPv4Address()
/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/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/base/services/core/java/com/android/server/am/
DAppErrors.java121 for (int ip = 0; ip < procCount; ip++) { in writeToProto()
123 final String pname = pmap.keyAt(ip); in writeToProto()
124 final SparseArray<Long> uids = pmap.valueAt(ip); in writeToProto()
148 for (int ip = 0; ip < processCount; ip++) { in writeToProto()
150 final String pname = pmap.keyAt(ip); in writeToProto()
151 final SparseArray<BadProcessInfo> uids = pmap.valueAt(ip); in writeToProto()
184 for (int ip = 0; ip < processCount; ip++) { in dumpLocked()
185 final String pname = pmap.keyAt(ip); in dumpLocked()
186 final SparseArray<Long> uids = pmap.valueAt(ip); in dumpLocked()
214 for (int ip = 0; ip < processCount; ip++) { in dumpLocked()
[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/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/packages/Tethering/src/android/net/util/
DPrefixUtils.java78 public static IpPrefix ipAddressAsPrefix(InetAddress ip) { in ipAddressAsPrefix() argument
79 final int bitLength = (ip instanceof Inet4Address) in ipAddressAsPrefix()
82 return new IpPrefix(ip, bitLength); in ipAddressAsPrefix()
/frameworks/base/tests/net/java/android/net/
DTcpKeepalivePacketDataTest.java90 byte[] ip = new byte[4]; in testV4TcpKeepalivePacket()
92 buf.get(ip); in testV4TcpKeepalivePacket()
93 assertArrayEquals(ip, IPV4_KEEPALIVE_SRC_ADDR); in testV4TcpKeepalivePacket()
96 buf.get(ip); in testV4TcpKeepalivePacket()
97 assertArrayEquals(ip, IPV4_KEEPALIVE_DST_ADDR); in testV4TcpKeepalivePacket()
/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/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/native/cmds/ip-up-vpn/
DAndroid.mk20 LOCAL_SRC_FILES := ip-up-vpn.c
23 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/net/
DAndroid.bp31 "java/android/net/ip/IpClientCallbacks.java",
32 "java/android/net/ip/IpClientManager.java",
33 "java/android/net/ip/IpClientUtil.java",

12345678