- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for Android (0.04 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
* limitations under the License. */ package okhttp3 import android.content.Context import okhttp3.internal.CONST_VERSION import okhttp3.internal.platform.PlatformRegistry actual object OkHttp { @JvmField actual val VERSION: String = CONST_VERSION /** * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running * a robolectric test. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/androidUnitTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.android.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.publicsuffix import androidx.test.core.app.ApplicationProvider import okhttp3.internal.platform.PlatformRegistry import org.robolectric.RobolectricTestRunner actual typealias PublicSuffixTestRunner = RobolectricTestRunner
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 08:21:20 UTC 2025 - 974 bytes - Viewed (0) -
gradle/libs.versions.toml
amazonCorretto = "software.amazon.cryptools:AmazonCorrettoCryptoProvider:2.5.0" androidx-activity = "androidx.activity:activity-ktx:1.10.1" androidx-annotation = "androidx.annotation:annotation:1.9.1" androidx-espresso-core = "androidx.test.espresso:espresso-core:3.7.0" androidx-junit = "androidx.test.ext:junit:1.3.0" #noinspection UnusedVersionCatalogEntry androidx-lint-gradle = { module = "androidx.lint:lint-gradle", version.ref = "lintGradle" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 31 17:41:20 UTC 2025 - 8.3K bytes - Viewed (0) -
.github/workflows/build.yml
script: ./gradlew :android-test-app:connectedCheck env: API_LEVEL: ${{ matrix.api-level }} - name: Build Release App run: ./gradlew android-test-app:lint android-test-app:assembleRelease - name: Run Release Tests uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }}
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 07:15:58 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/build.gradle.kts
if (javaLauncher.get().metadata.languageVersion.asInt() < 9) { // Work around robolectric requirements and limitations // https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:build-system/gradle-core/src/main/java/com/android/build/gradle/tasks/factory/AndroidUnitTest.java;l=339 allJvmArgs = allJvmArgs.filter { !it.startsWith("--add-opens") } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 03:59:03 UTC 2025 - 9.4K bytes - Viewed (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`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.8K bytes - Viewed (0) -
android-test-app/build.gradle.kts
@file:Suppress("UnstableApiUsage") plugins { id("com.android.application") id("kotlin-android") } android { compileSdk = 36 namespace = "okhttp.android.testapp" testBuildType = "release" defaultConfig { minSdk = 21 targetSdk = 36 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } compileOptions { targetCompatibility(JavaVersion.VERSION_11)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 12:35:48 UTC 2025 - 1.2K bytes - Viewed (0) -
android-test/build.gradle.kts
@file:Suppress("UnstableApiUsage") plugins { id("com.android.library") kotlin("android") id("de.mannodermaus.android-junit5") } val androidBuild = property("androidBuild").toString().toBoolean() android { compileSdk = 35 namespace = "okhttp.android.test" defaultConfig { minSdk = 21 // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 20:01:04 UTC 2025 - 3.8K bytes - Viewed (2) -
.teamcity/src/main/kotlin/common/Os.kt
) { LINUX( "Linux", androidHome = "/opt/android/sdk", jprofilerHome = "/opt/jprofiler/jprofiler11.1.4", ), ALPINE( "Linux", androidHome = "/not/supported", jprofilerHome = "/not/supported", ), WINDOWS( "Windows", androidHome = """C:\Program Files\android\sdk""", jprofilerHome = """C:\Program Files\jprofiler\jprofiler11.1.4""",
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Mon Aug 25 20:21:47 UTC 2025 - 3.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.sendFrame().headers(false, 3, headerEntries("a", "android")) peer.sendFrame().data(false, 3, data(1024), 1024) peer.truncateLastFrame(8 + 100) peer.play() // Play it back. val connection = connect(peer) val stream = connection.newStream(headerEntries("b", "banana"), false) assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android")) val source = stream.source
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0)