- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 571 for Android (0.08 seconds)
-
guava/src/com/google/common/primitives/ImmutableIntArray.java
* * @since 22.0 (but only since 33.4.0 in the Android flavor) */ public void forEach(IntConsumer consumer) { checkNotNull(consumer); for (int i = start; i < end; i++) { consumer.accept(array[i]); } } /** * Returns a stream over the values in this array, in order. * * @since 22.0 (but only since 33.4.0 in the Android flavor) */ public IntStream stream() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.5K bytes - Click Count (0) -
docs/features/r8_proguard.md
R8 / ProGuard ============= If you use OkHttp as a dependency in an Android project which uses R8 as a default compiler you don't have to do anything. The specific rules are [already bundled][okhttp3_pro] into the JAR which can be interpreted by R8 automatically. If you, however, don't use R8 you have to apply the rules from [this file][okhttp3_pro]. You might also need rules from [Okio][okio] which is a dependency of this library.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jul 19 07:07:23 GMT 2025 - 570 bytes - Click Count (0) -
CONTRIBUTING.md
4. Do your best to have a [well-formed commit message][] for the change. 5. Pull requests typically do not need to modify the files under the `android` directory: We have a script that automatically mirrors changes from the main directories into the `android` directories. [Java style guide]: https://google.github.io/styleguide/javaguide.htmlCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 15 18:43:50 GMT 2025 - 4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
import javax.net.ssl.SSLSocketFactory import javax.net.ssl.X509TrustManager import okhttp3.Protocol import okhttp3.internal.SuppressSignatureCheck /** * OpenJDK 9+ and JDK8 build 252+. * * This may also be used for Android tests with Robolectric. */ open class Jdk9Platform : Platform() { @SuppressSignatureCheck override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu May 29 16:52:38 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
* * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
import org.junit.Ignore; /** Skeleton for a tester of a {@code BiMap}. */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0) -
android-test-app/src/androidTest/kotlin/okhttp/android/testapp/IdnaTest.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.android import okhttp3.HttpUrl.Companion.toHttpUrl import org.junit.Assert.assertEquals import org.junit.Test class IdnaTest { @Test fun testHostnameFunction() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Aug 03 19:38:06 GMT 2025 - 869 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/TestPlatform.java
@GwtCompatible @NullUnmarked final class TestPlatform { static boolean intsCanGoOutOfRange() { return false; } static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); } private TestPlatform() {}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* * @since 22.0 (but only since 33.4.0 in the Android flavor) */ public static <T> Comparator<Optional<T>> emptiesLast(Comparator<? super T> valueComparator) { checkNotNull(valueComparator); return Comparator.<Optional<T>, @Nullable T>comparing( o -> orElseNull(o), Comparator.nullsLast(valueComparator)); } // For discussion of why this exists, see the Android flavor.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
assertThat(verifier.verify("bar.com", session)).isTrue() assertThat(verifier.verify("a.bar.com", session)).isFalse() } /** * Ignored due to incompatibilities between Android and Java on how non-ASCII subject alt names * are parsed. Android fails to parse these, which means we fall back to the CN. The RI does parse * them, so the CN is unused. */ @Test fun verifyNonAsciiSubjectAlt() { // Expecting actual:
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 40.4K bytes - Click Count (0)