- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 507 for startup (0.04 sec)
-
okhttp/src/androidMain/AndroidManifest.xml
<application> <provider android:name="androidx.startup.InitializationProvider" android:authorities="${applicationId}.androidx-startup" android:exported="false" tools:node="merge"> <meta-data android:name="okhttp3.internal.platform.PlatformInitializer" android:value="androidx.startup"/> </provider> </application>
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Dec 31 14:50:53 UTC 2024 - 604 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
public void testStart_failed() { Exception exception = new Exception("deliberate"); TestService service = new TestService() { @Override protected void startUp() throws Exception { super.startUp(); throw exception; } }; assertEquals(0, service.startUpCalled); RuntimeException e =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
public void testStart_failed() { Exception exception = new Exception("deliberate"); TestService service = new TestService() { @Override protected void startUp() throws Exception { super.startUp(); throw exception; } }; assertEquals(0, service.startUpCalled); RuntimeException e =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
} }; /** Constructor for use by subclasses. */ protected AbstractExecutionThreadService() {} /** * Start the service. This method is invoked on the execution thread. * * <p>By default this method does nothing. */ protected void startUp() throws Exception {} /** * Run the service. This method is invoked on the execution thread. Implementations must respondRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.platform import android.content.Context import androidx.startup.Initializer /** * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context. */ class PlatformInitializer : Initializer<Platform> { override fun create(context: Context): Platform {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Dec 31 14:50:53 UTC 2024 - 1K bytes - Viewed (1) -
guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
} }; /** Constructor for use by subclasses. */ protected AbstractExecutionThreadService() {} /** * Start the service. This method is invoked on the execution thread. * * <p>By default this method does nothing. */ protected void startUp() throws Exception {} /** * Run the service. This method is invoked on the execution thread. Implementations must respondRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
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. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
this.flags = flags; this.timestamp = System.currentTimeMillis(); } } /** * Start the mock witness service * * @throws IOException if service startup fails */ public void start() throws IOException { serverSocket = new ServerSocket(0); // Use any available port running.set(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt
"and call OkHttp.initialize before test", ) } else { throw IOException( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " + "call OkHttp.initialize before test.", ) } } return assets.open(path).source() } companion object {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.7K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
hasMessage("Unable to load PublicSuffixDatabase.list resource.") cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " + "call OkHttp.initialize before test.", ) hasClass<IOException>() } } } companion object { @AfterClass @JvmStatic
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 2.1K bytes - Viewed (0)