Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NewApi (0.04 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

     */
    @SuppressLint("NewApi")
    @SuppressSignatureCheck
    class Android10SocketAdapter : SocketAdapter {
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket)
    
      override fun isSupported(): Boolean = Companion.isSupported()
    
      @SuppressLint("NewApi")
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        applyLogger {
          addHandler(testLogHandler)
          level = Level.FINEST
          useParentHandlers = false
        }
      }
    
      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

        } else {
          // Unable to report via CloseGuard. As a last-ditch effort, send it to the logger.
          super.logCloseableLeak(message, stackTrace)
        }
      }
    
      @SuppressLint("NewApi")
      override fun isCleartextTrafficPermitted(hostname: String): Boolean =
        NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(hostname)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 20 11:25:50 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

       *
       * @throws IOException if an I/O error occurs while opening the stream
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @MustBeClosed
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Stream calls.
      @IgnoreJRERequirement
      public Stream<String> lines() throws IOException {
        BufferedReader reader = openBufferedStream();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
      }
    
      /**
       * Returns a stream over the values in this array, in order.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent stream calls
      @IgnoreJRERequirement
      public LongStream stream() {
        return Arrays.stream(array, start, end);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *     by startup time.
       * @since 33.4.0 (but since 31.0 in the JRE flavor)
       */
      @J2ObjCIncompatible
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Duration calls
      @IgnoreJRERequirement
      public ImmutableMap<Service, Duration> startupDurations() {
        return ImmutableMap.copyOf(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

        public Integer get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
        /*
         * This is an override that is not directly visible to callers, so NewApi will catch calls to
         * Collection.spliterator() where necessary.
         */
        @IgnoreJRERequirement
        public Spliterator.OfInt spliterator() {
          return Spliterators.spliterator(array, start, end, 0);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

        public Long get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
        /*
         * This is an override that is not directly visible to callers, so NewApi will catch calls to
         * Collection.spliterator() where necessary.
         */
        @IgnoreJRERequirement
        public Spliterator.OfLong spliterator() {
          return Spliterators.spliterator(array, start, end, 0);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
Back to top