- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 702 for android (0.04 seconds)
-
build-logic/src/main/kotlin/okhttp.publish-conventions.gradle.kts
group = "verification" projectApiFile = project.file("api/android/okhttp.api") generatedApiFile = apiBuild.flatMap(KotlinApiBuildTask::outputApiFile) } val apiDump = tasks.register<Copy>("androidApiDump") { from(apiBuild.flatMap(KotlinApiBuildTask::outputApiFile)) destinationDir = project.file("api/android") } tasks.named("apiDump").configure { dependsOn(apiDump) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:00:38 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
} } return suite; } @Override public void runTest() throws Exception { /* * Note that we do not run this test under Android at the moment. For Android testing, see * AbstractFutureDefaultAtomicHelperTest. */ // First, ensure that our classloaders are initializing the correct helper versions:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.3K bytes - Click Count (0) -
android-test/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="okhttp.android.test"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <application android:usesCleartextTraffic="true" tools:targetApi="m"/>Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 387 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
* AbstractFutureFallbackAtomicHelperTest}. The advantage to this test is that it can run under * Android. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AbstractFutureDefaultAtomicHelperTest extends TestCase { public void testUsingExpectedAtomicHelper() throws Exception { if (isAndroid()) { assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper"); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
README.md
return response.body().string(); } } ``` Further examples are on the [OkHttp Recipes page][recipes]. Requirements ------------ OkHttp works on Android 5.0+ (API level 21+) and Java 8+. On Android, OkHttp uses [AndroidX Startup][androidx_startup]. If you disable the initializer in the manifest, then apps are responsible for calling `OkHttp.initialize(applicationContext)` in `Application.onCreate`.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.5K bytes - Click Count (0) -
CONTRIBUTING.md
Gradle Setup ------------ ``` $ cat local.properties sdk.dir=PATH_TO_ANDROID_HOME/sdk org.gradle.caching=true ``` Running Android Tests --------------------- $ ANDROID_SDK_ROOT=PATH_TO_ANDROID_HOME/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true Committer's Guides ------------------ * [Concurrency][concurrency] * [Debug Logging][debug_logging]
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2K bytes - Click Count (0) -
docs/contribute/contributing.md
Gradle Setup ------------ ``` $ cat local.properties sdk.dir=PATH_TO_ANDROID_HOME/sdk org.gradle.caching=true ``` Running Android Tests --------------------- $ ANDROID_SDK_ROOT=PATH_TO_ANDROID_HOME/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true Committer's Guides ------------------ * [Concurrency][concurrency] * [Debug Logging][debug_logging]
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
ObjectIdentifiers.SHA256_WITH_ECDSA -> "SHA256withECDSA" else -> error("unexpected signature algorithm: ${signature.algorithm}") } } // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + version.toInt() result = 31 * result + serialNumber.hashCode() result = 31 * result + signature.hashCode()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/AndroidIncompatible.java
import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with LargeTest. * * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/AndroidIncompatible.java
import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with LargeTest. * * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0)