Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 589 for android (0.05 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

     * Test for new Let's Encrypt Root Certificate.
     */
    @Tag("Remote")
    class LetsEncryptClientTest {
      @Test fun get() {
        // These tests wont actually run before Android 8.0 as per
        // https://github.com/mannodermaus/android-junit5
        // Raised https://github.com/mannodermaus/android-junit5/issues/228 to reevaluate
        val androidMorEarlier = Build.VERSION.SDK_INT <= 23
    
        val clientBuilder = OkHttpClient.Builder()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          // Happens with non-robolectric unit tests
          System.err.println("Possibly running android unit test without robolectric")
          re.printStackTrace()
        } catch (ule: UnsatisfiedLinkError) {
          // Happens with Paparazzi - with Android classes on the classpath
          System.err.println("Possibly running android unit test without robolectric")
          ule.printStackTrace()
        }
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Oct 25 11:16:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. docs/changelogs/upgrading_to_okhttp_4.md

      `find . -name "*.kt"`
    ```
    
    
    Advanced Profiling
    ------------------
    
    Android Studio’s Advanced Profiling feature rewrites OkHttp bytecode for instrumentation.
    Unfortunately it crashes on OkHttp 4.x’s bytecode. Until [Google’s bug][advanced_profiling_bug] is
    fixed you must disable advanced profiling in Android Studio.
    
    ![Disable Advanced Profiling](../assets/images/******@****.***)
    
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. 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]
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. 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]
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

    import java.util.EnumSet;
    import java.util.Set;
    
    /**
     * Creates temporary files and directories whose permissions are restricted to the current user or,
     * in the case of Android, the current app. If that is not possible (as is the case under the very
     * old Android Ice Cream Sandwich release), then this class throws an exception instead of creating
     * a file or directory that would be more accessible.
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .addHeader("Cookie", "a=android")
        assertThat(headersToList(builder)).containsExactly("Cookie: s=square", "Cookie: a=android")
      }
    
      @Test
      fun mockResponseSetHeader() {
        val builder =
          MockResponse
            .Builder()
            .clearHeaders()
            .addHeader("Cookie: s=square")
            .addHeader("Cookie: a=android")
            .addHeader("Cookies: delicious")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp.android.test.alpn
    
    import android.os.Build
    import android.util.Log
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import okhttp3.Call
    import okhttp3.Connection
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        Supporting a full decade of Android releases on our 3.12.x branch is tricky!
    
    
    ## Version 3.12.9
    
    _2020-02-24_
    
     *  Fix: Don't crash on Android 11 due to use of restricted methods. This prevents a crash with the
        exception, "Expected Android API level 21+ but was 29".
    
    
    ## Version 3.12.8
    
    _2020-01-11_
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top