Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for isAndroid (0.04 sec)

  1. guava-tests/test/com/google/common/math/LongMathTest.java

              }
            }
          }
        }
      }
    
      @AndroidIncompatible // slow
      public void testCheckedMultiply() {
        boolean isAndroid = TestPlatform.isAndroid();
        for (long a : ALL_LONG_CANDIDATES) {
          for (long b : ALL_LONG_CANDIDATES) {
            if (isAndroid && a == -4294967296L && b == 2147483648L) {
              /*
               * Bug in older versions of Android we test against, since fixed: -9223372036854775808L /
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        // Needed because of Platform.resetForTests
        PlatformRegistry.applicationContext = ApplicationProvider.getApplicationContext<Context>()
      }
    
      @Test
      fun testPlatform() {
        assertTrue(Platform.isAndroid)
    
        if (Build.VERSION.SDK_INT >= 29) {
          assertTrue(Platform.get() is Android10Platform)
        } else {
          assertTrue(Platform.get() is AndroidPlatform)
        }
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/platform/Platform$Companion;->alpnProtocolNames(Ljava/util/List;)Ljava/util/List;
    HSPLokhttp3/internal/platform/Platform$Companion;->isAndroid()Z
    HSPLokhttp3/internal/platform/Platform;-><clinit>()V
    HSPLokhttp3/internal/platform/Platform;-><init>()V
    HSPLokhttp3/internal/platform/Platform;->afterHandshake(Ljavax/net/ssl/SSLSocket;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
Back to top