Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 188) sorted by relevance

12345678

/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java190 Time local = new Time("America/Los_Angeles"); in testNormalize1() local
195 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
197 local.normalize(false /* use isDst */); in testNormalize1()
198 local.monthDay += test.offset; in testNormalize1()
199 local.normalize(true /* ignore isDst */); in testNormalize1()
200 if (local.year != test.year2 || local.month != test.month2 in testNormalize1()
201 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1()
202 || local.minute != test.minute2) { in testNormalize1()
206 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
212 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
[all …]
/frameworks/base/core/java/android/net/
DConnectionInfo.java34 public final InetSocketAddress local; field in ConnectionInfo
42 public ConnectionInfo(int protocol, InetSocketAddress local, InetSocketAddress remote) { in ConnectionInfo() argument
44 this.local = local; in ConnectionInfo()
51 out.writeByteArray(local.getAddress().getAddress()); in writeToParcel()
52 out.writeInt(local.getPort()); in writeToParcel()
74 InetSocketAddress local = new InetSocketAddress(localAddress, localPort);
76 return new ConnectionInfo(protocol, local, remote);
/frameworks/base/tests/net/java/android/net/netlink/
DInetDiagSocketTest.java81 public InetSocketAddress local; field in InetDiagSocketTest.Connection
128 local = (InetSocketAddress) Os.getsockname(localFd); in TcpConnection()
148 local = (InetSocketAddress) Os.getsockname(localFd); in UdpConnection()
153 private void checkConnectionOwnerUid(int protocol, InetSocketAddress local, in checkConnectionOwnerUid() argument
156 final int uid = mCm.getConnectionOwnerUid(protocol, local, remote); in checkConnectionOwnerUid()
163 final int localPort = udp.local.getPort(); in findLikelyFreeUdpPort()
174 checkConnectionOwnerUid(tcp.protocol, tcp.local, tcp.remote, true); in checkGetConnectionOwnerUid()
175 checkConnectionOwnerUid(IPPROTO_UDP, tcp.local, tcp.remote, false); in checkGetConnectionOwnerUid()
177 checkConnectionOwnerUid(tcp.protocol, tcp.local, new InetSocketAddress(0), false); in checkGetConnectionOwnerUid()
185 checkConnectionOwnerUid(udp.protocol, udp.local, udp.remote, true); in checkGetConnectionOwnerUid()
[all …]
/frameworks/base/services/net/java/android/net/netlink/
DInetDiagMessage.java58 public static byte[] InetDiagReqV2(int protocol, InetSocketAddress local, in InetDiagReqV2() argument
70 final StructInetDiagReqV2 inetDiagReqV2 = new StructInetDiagReqV2(protocol, local, remote, in InetDiagReqV2()
89 private static int lookupUidByFamily(int protocol, InetSocketAddress local, in lookupUidByFamily() argument
93 byte[] msg = InetDiagReqV2(protocol, local, remote, family, flags); in lookupUidByFamily()
110 private static int lookupUid(int protocol, InetSocketAddress local, in lookupUid() argument
122 uid = lookupUidByFamily(protocol, remote, local, family, NLM_F_REQUEST, fd); in lookupUid()
124 uid = lookupUidByFamily(protocol, local, remote, family, NLM_F_REQUEST, fd); in lookupUid()
142 uid = lookupUidByFamily(protocol, local, wildcard, AF_INET6, in lookupUid()
148 uid = lookupUidByFamily(protocol, local, wildcard, AF_INET, in lookupUid()
164 public static int getConnectionOwnerUid(int protocol, InetSocketAddress local, in getConnectionOwnerUid() argument
[all …]
DStructInetDiagReqV2.java49 public StructInetDiagReqV2(int protocol, InetSocketAddress local, InetSocketAddress remote, in StructInetDiagReqV2() argument
53 id = new StructInetDiagSockId(local, remote); in StructInetDiagReqV2()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java122 final Bundle local = new Bundle(); in testSortToGlobalAndLocal() local
126 UserManagerInternal.CAMERA_NOT_DISABLED, global, local); in testSortToGlobalAndLocal()
128 assertEquals(0, local.size()); in testSortToGlobalAndLocal()
131 UserManagerInternal.CAMERA_NOT_DISABLED, global, local); in testSortToGlobalAndLocal()
133 assertEquals(0, local.size()); in testSortToGlobalAndLocal()
144 ), true /* isDeviceOwner */, UserManagerInternal.CAMERA_NOT_DISABLED, global, local); in testSortToGlobalAndLocal() local
164 ), local); in testSortToGlobalAndLocal() local
166 local.clear(); in testSortToGlobalAndLocal()
178 ), false /* isDeviceOwner */, UserManagerInternal.CAMERA_NOT_DISABLED, global, local); in testSortToGlobalAndLocal() local
197 ), local); in testSortToGlobalAndLocal() local
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java425 Set<IpPrefix> local = mUNM.getLocalPrefixes(); in testLocalPrefixes() local
426 assertTrue(local.isEmpty()); in testLocalPrefixes()
447 local = mUNM.getLocalPrefixes(); in testLocalPrefixes()
448 assertPrefixSet(local, INCLUDES, alreadySeen); in testLocalPrefixes()
453 assertPrefixSet(local, INCLUDES, wifiLinkPrefixes); in testLocalPrefixes()
455 assertEquals(alreadySeen.size(), local.size()); in testLocalPrefixes()
471 local = mUNM.getLocalPrefixes(); in testLocalPrefixes()
472 assertPrefixSet(local, INCLUDES, alreadySeen); in testLocalPrefixes()
474 assertPrefixSet(local, INCLUDES, cellLinkPrefixes); in testLocalPrefixes()
476 assertEquals(alreadySeen.size(), local.size()); in testLocalPrefixes()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/jenkins/docker/
DDockerfile31 ln -s /opt/dotnet/dotnet /usr/local/bin
79 RUN wget www.nuget.org/NuGet.exe -O /usr/local/bin/nuget.exe
102 RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc"
120 $MVN install dependency:go-offline -Dmaven.repo.local=$MAVEN_REPO && \
122 $MVN install dependency:go-offline -Dmaven.repo.local=$MAVEN_REPO
145 RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
146 RUN ln -s /usr/bin/ccache /usr/local/bin/g++
147 RUN ln -s /usr/bin/ccache /usr/local/bin/cc
148 RUN ln -s /usr/bin/ccache /usr/local/bin/c++
149 RUN ln -s /usr/bin/ccache /usr/local/bin/clang
[all …]
/frameworks/rs/script_api/include/
Drs_time.rsh71 * rsLocaltime: Convert to local time
74 * hour, etc. This value is stored at *local.
77 * local parameter is NULL, this function does nothing and returns NULL.
80 * local: Pointer to time structure where the local time will be stored.
83 * Returns: Pointer to the output local time, i.e. the same value as the parameter local.
86 rsLocaltime(rs_tm* local, const rs_time_t* timer);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/protoc-artifacts/
DDockerfile19 -O - | tar xz -C /var/local
20 ENV JAVA_HOME /var/local/jdk1.8.0_45
25 tar xz -C /var/local
26 ENV PATH /var/local/apache-maven-3.3.9/bin:$PATH
/frameworks/ml/nn/common/random/
Dguarded_philox_random.cc44 auto local = generator_; in ReserveSamples128() local
46 return local; in ReserveSamples128()
/frameworks/opt/gamesdk/samples/tuningfork/prototest/
DREADME.md2 In order to build and run the tests, first make sure you have protobuf installed, e.g. in /usr/local
4 make PROTOBUF_ROOT=/usr/local
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DRefactorClassAdapter.java100 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { in visitFrame() argument
101 super.visitFrame(type, nLocal, renameFrame(local), nStack, renameFrame(stack)); in visitFrame()
/frameworks/av/media/libstagefright/codecs/aacdec/
Dexports.lds4 local: *;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
Dexports.lds4 local: *;
/frameworks/av/media/extractors/mp3/
Dexports.lds1 { global: GETEXTRACTORDEF; local: *; };
/frameworks/av/media/extractors/ogg/
Dexports.lds1 { global: GETEXTRACTORDEF; local: *; };
/frameworks/av/media/extractors/mkv/
Dexports.lds1 { global: GETEXTRACTORDEF; local: *; };
/frameworks/av/media/libstagefright/codecs/raw/
Dexports.lds4 local: *;
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
Dexports.lds4 local: *;
/frameworks/av/media/extractors/aac/
Dexports.lds1 { global: GETEXTRACTORDEF; local: *; };
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
Dexports.lds4 local: *;
/frameworks/av/media/libstagefright/codecs/avcdec/
Dexports.lds4 local: *;
/frameworks/av/media/libstagefright/codecs/flac/dec/
Dexports.lds4 local: *;
/frameworks/av/media/extractors/mp4/
Dexports.lds1 { global: GETEXTRACTORDEF; local: *; };

12345678