Home
last modified time | relevance | path

Searched full:lifecycle (Results 1 – 25 of 1088) sorted by relevance

12345678910>>...44

/external/grpc-grpc-java/binder/src/main/java/io/grpc/binder/
DLifecycleOnDestroyHelper.java20 import androidx.lifecycle.Lifecycle;
21 import androidx.lifecycle.Lifecycle.State;
22 import androidx.lifecycle.LifecycleEventObserver;
23 import androidx.lifecycle.LifecycleObserver;
24 import androidx.lifecycle.LifecycleOwner;
29 * Helps work around certain quirks of {@link Lifecycle#addObserver} and {@link State#DESTROYED}.
31 * <p>In particular, calls to {@link Lifecycle#addObserver(LifecycleObserver)} are silently ignored
40 * {@code lifecycle} is destroyed, or immediately if {@code lifecycle} is already destroyed.
45 public static void shutdownUponDestruction(Lifecycle lifecycle, ManagedChannel channel) { in shutdownUponDestruction() argument
46 if (lifecycle.getCurrentState() == State.DESTROYED) { in shutdownUponDestruction()
[all …]
/external/aws-sdk-java-v2/services/dlm/src/main/resources/codegen-resources/
Ddocs-2.json3Lifecycle Manager</fullname> <p>With Amazon Data Lifecycle Manager, you can manage the lifecycle o…
5 …": "<p>Creates a policy to manage the lifecycle of the specified AWS resources. You can create up …
6 …"DeleteLifecyclePolicy": "<p>Deletes the specified lifecycle policy and halts the automated operat…
7 …"GetLifecyclePolicies": "<p>Gets summary information about all or the specified data lifecycle pol…
8 "GetLifecyclePolicy": "<p>Gets detailed information about the specified lifecycle policy.</p>",
9 "UpdateLifecyclePolicy": "<p>Updates the specified lifecycle policy.</p>"
71 …urce Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>",
72 …urce Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>",
73 …ource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>"
100 "LifecyclePolicy$State": "<p>The activation state of the lifecycle policy.</p>",
[all …]
Dservice-2.json9 "serviceFullName":"Amazon Data Lifecycle Manager",
29 …"documentation":"<p>Creates an Amazon Data Lifecycle Manager lifecycle policy. Amazon Data Lifecyc…
44lifecycle policy and halts the automated operations that the policy specified.</p> <p>For more inf…
60 …"documentation":"<p>Gets summary information about all or the specified data lifecycle policies.</…
75 "documentation":"<p>Gets detailed information about the specified lifecycle policy.</p>"
136lifecycle policy.</p> <p>For more information about updating a policy, see <a href=\"https://docs.…
237 …ource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.</p>"
241 …"documentation":"<p>A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are su…
245 "documentation":"<p>The activation state of the lifecycle policy after creation.</p>"
249 …"documentation":"<p>The configuration details of the lifecycle policy.</p> <important> <p>If you c…
[all …]
/external/accompanist/navigation-animation/src/androidTest/java/com/google/accompanist/navigation/animation/
DAnimatedNavHostTest.kt32 import androidx.lifecycle.Lifecycle
70 assertThat(firstEntry?.lifecycle?.currentState) in testAnimatedNavHost()
71 .isEqualTo(Lifecycle.State.RESUMED) in testAnimatedNavHost()
80 assertThat(firstEntry?.lifecycle?.currentState) in testAnimatedNavHost()
81 .isEqualTo(Lifecycle.State.CREATED) in testAnimatedNavHost()
82 assertThat(navController.currentBackStackEntry?.lifecycle?.currentState) in testAnimatedNavHost()
83 .isEqualTo(Lifecycle.State.STARTED) in testAnimatedNavHost()
88 assertThat(firstEntry?.lifecycle?.currentState) in testAnimatedNavHost()
89 .isEqualTo(Lifecycle.State.CREATED) in testAnimatedNavHost()
90 assertThat(navController.currentBackStackEntry?.lifecycle?.currentState) in testAnimatedNavHost()
[all …]
/external/jetpack-camera-app/domain/camera/src/main/java/com/google/jetpackcamera/domain/camera/
DCoroutineCameraProvider.kt21 import androidx.camera.lifecycle.ProcessCameraProvider
22 import androidx.lifecycle.Lifecycle
23 import androidx.lifecycle.LifecycleOwner
24 import androidx.lifecycle.LifecycleRegistry
46 * A [LifecycleOwner] that follows the lifecycle of a coroutine.
48 * If the coroutine is active, the owned lifecycle will jump to a
49 * [Lifecycle.State.RESUMED] state. When the coroutine completes, the owned lifecycle will
50 * transition to a [Lifecycle.State.DESTROYED] state.
56 currentState = Lifecycle.State.INITIALIZED in <lambda>()
59 override val lifecycle: Lifecycle constant
[all …]
/external/rust/crates/sharded-slab/src/page/
Dslot.rs10 lifecycle: AtomicUsize, field
42 pub(crate) struct Lifecycle<C> { struct
108 let mut lifecycle = self.lifecycle.load(Ordering::Acquire); in get() localVariable
111 let state = Lifecycle::<C>::from_packed(lifecycle); in get()
112 let current_gen = LifecycleGen::<C>::from_packed(lifecycle).0; in get()
113 let refs = RefCount::<C>::from_packed(lifecycle); in get()
116 "-> get {:?}; current_gen={:?}; lifecycle={:#x}; state={:?}; refs={:?};", in get()
119 lifecycle, in get()
128 if gen != current_gen || state != Lifecycle::PRESENT { in get()
135 match self.lifecycle.compare_exchange( in get()
[all …]
/external/accompanist/permissions/src/main/java/com/google/accompanist/permissions/
DPermissionsUtil.kt30 import androidx.lifecycle.Lifecycle in <lambda>()
31 import androidx.lifecycle.LifecycleEventObserver in <lambda>()
69 * when the lifecycle gets called with [lifecycleEvent].
75 lifecycleEvent: Lifecycle.Event = Lifecycle.Event.ON_RESUME in PermissionLifecycleCheckerEffect()
77 // Check if the permission was granted when the lifecycle is resumed. in PermissionLifecycleCheckerEffect()
90 val lifecycle = LocalLifecycleOwner.current.lifecycle in PermissionLifecycleCheckerEffect() constant
91 DisposableEffect(lifecycle, permissionCheckerObserver) { in PermissionLifecycleCheckerEffect()
92 lifecycle.addObserver(permissionCheckerObserver) in PermissionLifecycleCheckerEffect()
93 onDispose { lifecycle.removeObserver(permissionCheckerObserver) } in PermissionLifecycleCheckerEffect()
99 * when the lifecycle gets called with [lifecycleEvent] and the permission is revoked.
[all …]
/external/lottie/sample/src/main/kotlin/com/airbnb/lottie/samples/utils/
DFragmentViewBindingDelegate.kt7 import androidx.lifecycle.DefaultLifecycleObserver in <lambda>()
8 import androidx.lifecycle.Lifecycle in <lambda>()
9 import androidx.lifecycle.LifecycleOwner in <lambda>()
34 viewLifecycleOwner.lifecycle.addObserver(object : DefaultLifecycleObserver { in <lambda>()
37 // Lifecycle listeners are called before onDestroyView in a Fragment. in <lambda>()
50 val lifecycle = fragment.viewLifecycleOwner.lifecycle in <lambda>() constant
51 if (!lifecycle.currentState.isAtLeast(Lifecycle.State.INITIALIZED)) { in <lambda>()
52 error("Cannot access view bindings. View lifecycle is ${lifecycle.currentState}!") in <lambda>()
/external/autotest/server/site_tests/cheets_CTS_R/
Dcontrol.internal.arm.CtsWindowManager.lifecycle8 NAME = 'cheets_CTS_R.internal.arm.CtsWindowManager.lifecycle'
16 DOC = 'Run module CtsWindowManager.lifecycle of the Android Compatibility Test Suite (CTS) using ar…
24 tag='internal.arm.CtsWindowManager.lifecycle',
25 test_name='cheets_CTS_R.internal.arm.CtsWindowManager.lifecycle',
26lifecycle.ActivityLifecycleFreeformTests', '--include-filter', 'CtsWindowManagerDeviceTestCases an…
Dcontrol.internal.x86.CtsWindowManager.lifecycle8 NAME = 'cheets_CTS_R.internal.x86.CtsWindowManager.lifecycle'
16 DOC = 'Run module CtsWindowManager.lifecycle of the Android Compatibility Test Suite (CTS) using x8…
24 tag='internal.x86.CtsWindowManager.lifecycle',
25 test_name='cheets_CTS_R.internal.x86.CtsWindowManager.lifecycle',
26lifecycle.ActivityLifecycleFreeformTests', '--include-filter', 'CtsWindowManagerDeviceTestCases an…
/external/android_onboarding/java/com/android/onboarding/contracts/
DOnboardingActivityApiContract.kt10 import androidx.lifecycle.Lifecycle
11 import androidx.lifecycle.LifecycleEventObserver
12 import androidx.lifecycle.LifecycleOwner
191 override fun onStateChanged(source: LifecycleOwner, event: Lifecycle.Event) { in onStateChanged()
193 Lifecycle.Event.ON_STOP, in onStateChanged()
194 Lifecycle.Event.ON_PAUSE -> maybeLogFinish() in onStateChanged()
195 Lifecycle.Event.ON_DESTROY -> { in onStateChanged()
201 Lifecycle.Event.ON_RESUME -> { in onStateChanged()
223 Lifecycle.Event.ON_CREATE, in onStateChanged()
224 Lifecycle.Event.ON_START, in onStateChanged()
[all …]
/external/dagger2/javatests/dagger/hilt/android/processor/internal/viewmodel/
DViewModelProcessorTest.kt38 import androidx.lifecycle.ViewModel; in <lambda>()
39 import dagger.hilt.android.lifecycle.HiltViewModel; in <lambda>()
63 import dagger.hilt.android.lifecycle.HiltViewModel; in <lambda>()
82 "@HiltViewModel is only supported on types that subclass androidx.lifecycle.ViewModel." in <lambda>()
97 import androidx.lifecycle.ViewModel; in <lambda>()
98 import dagger.hilt.android.lifecycle.HiltViewModel; in <lambda>()
131 import androidx.lifecycle.ViewModel; in <lambda>()
132 import dagger.hilt.android.lifecycle.HiltViewModel; in <lambda>()
182 import androidx.lifecycle.ViewModel; in <lambda>()
183 import dagger.hilt.android.lifecycle.HiltViewModel; in <lambda>()
[all …]
/external/oboe/samples/minimaloboe/
Dbuild.gradle60 implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"
61 implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
62 implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version"
63 implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
64 implementation "androidx.lifecycle:lifecycle-runtime-compose:$lifecycle_version"
/external/googleapis/google/ads/googleads/v15/services/
Dcustomer_lifecycle_goal_service.proto35 // Service to configure customer lifecycle goals.
40 // Process the given customer lifecycle configurations.
66 // Required. The operation to perform customer lifecycle goal update.
75 // A single operation on a customer lifecycle goal.
84 // Create operation: to create a new customer lifecycle goal or update an
85 // existing customer lifecycle goal. When creating a new customer lifecycle
87 // needs to be empty. When updating an existing customer lifecycle goal,
89 // field mask is supported when updating an existing customer lifecycle
98 // result for the customer lifecycle goal configuration.
102 // The result for the customer lifecycle goal configuration.
Dcampaign_lifecycle_goal_service.proto35 // Service to configure campaign lifecycle goals.
40 // Process the given campaign lifecycle configurations.
66 // Required. The operation to perform campaign lifecycle goal update.
75 // A single operation on a campaign lifecycle goal.
84 // Create operation: to create a new campaign lifecycle goal or update an
85 // existing campaign lifecycle goal. When creating a new campaign lifecycle
88 // campaign lifecycle goal, resource name and field mask need to be set, and
90 // supported when updating an existing campaign lifecycle goal.
98 // Result for the campaign lifecycle goal configuration.
102 // The result for the campaign lifecycle goal configuration.
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DSupportRequestManagerFragment.java19 private final ActivityFragmentLifecycle lifecycle; field in SupportRequestManagerFragment
27 public SupportRequestManagerFragment(ActivityFragmentLifecycle lifecycle) { in SupportRequestManagerFragment() argument
28 this.lifecycle = lifecycle; in SupportRequestManagerFragment()
41 return lifecycle; in getGlideLifecycle()
54 lifecycle.onStart(); in onStart()
60 lifecycle.onStop(); in onStop()
66 lifecycle.onDestroy(); in onDestroy()
DRequestManagerFragment.java21 private final ActivityFragmentLifecycle lifecycle; field in RequestManagerFragment
30 RequestManagerFragment(ActivityFragmentLifecycle lifecycle) { in RequestManagerFragment() argument
31 this.lifecycle = lifecycle; in RequestManagerFragment()
44 return lifecycle; in getGlideLifecycle()
57 lifecycle.onStart(); in onStart()
63 lifecycle.onStop(); in onStop()
69 lifecycle.onDestroy(); in onDestroy()
/external/cronet/base/fuchsia/
Dprocess_lifecycle.h8 #include <fidl/fuchsia.process.lifecycle/cpp/fidl.h>
18 // Registers a fuchsia.process.lifecycle.Lifecycle protocol implementation to
23 // will provide only if the Component manifest contains a lifecycle/stop_event
26 : public fidl::Server<fuchsia_process_lifecycle::Lifecycle> {
34 // fuchsia_process_lifecycle::Lifecycle implementation.
40 absl::optional<fidl::ServerBinding<fuchsia_process_lifecycle::Lifecycle>>
/external/dagger2/java/dagger/hilt/android/
DBUILD41 "//java/dagger/hilt/android/lifecycle:hilt_view_model",
42 "//java/dagger/hilt/android/lifecycle:hilt_view_model_extensions",
109 "//java/dagger/hilt/android/lifecycle:retained_lifecycle",
120 "//java/dagger/hilt/android/lifecycle:retained_lifecycle",
204 "//java/dagger/hilt/android/internal/lifecycle",
211 "//java/dagger/hilt/android/lifecycle:activity_retained_saved_state",
212 "//java/dagger/hilt/android/lifecycle:hilt_view_model",
213 "//java/dagger/hilt/android/lifecycle:hilt_view_model_extensions",
214 "//java/dagger/hilt/android/lifecycle:package_info",
215 "//java/dagger/hilt/android/lifecycle:retained_lifecycle",
[all …]
/external/arm-trusted-firmware/include/drivers/arm/cryptocell/712/
Dsbrom_bsv_api.h21 #define CC_BSV_CHIP_MANUFACTURE_LCS 0x0 /*!< CM lifecycle value. */
22 #define CC_BSV_DEVICE_MANUFACTURE_LCS 0x1 /*!< DM lifecycle value. */
23 #define CC_BSV_SECURITY_DISABLED_LCS 0x3 /*!< SD lifecycle value. */
24 #define CC_BSV_SECURE_LCS 0x5 /*!< Secure lifecycle value. */
25 #define CC_BSV_RMA_LCS 0x7 /*!< RMA lifecycle value. */
51 uint32_t *pLcs /*!< [out] Returned lifecycle state. */
55 @brief This function retrieves the HW security lifecycle state, performs validity checks,
65 uint32_t *pLcs /*!< [out] Returned lifecycle state. */
/external/google-cloud-java/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/
DTaskSpecOrBuilder.java209 * Lifecycle management schema when any task in a task group is failed.
210 * Currently we only support one lifecycle policy.
211 * When the lifecycle policy condition is met,
213 * If task execution result does not meet with the defined lifecycle
226 * Lifecycle management schema when any task in a task group is failed.
227 * Currently we only support one lifecycle policy.
228 * When the lifecycle policy condition is met,
230 * If task execution result does not meet with the defined lifecycle
243 * Lifecycle management schema when any task in a task group is failed.
244 * Currently we only support one lifecycle policy.
[all …]
/external/google-cloud-java/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/
DTaskSpecOrBuilder.java210 * Lifecycle management schema when any task in a task group is failed.
211 * Currently we only support one lifecycle policy.
212 * When the lifecycle policy condition is met,
214 * If task execution result does not meet with the defined lifecycle
227 * Lifecycle management schema when any task in a task group is failed.
228 * Currently we only support one lifecycle policy.
229 * When the lifecycle policy condition is met,
231 * If task execution result does not meet with the defined lifecycle
244 * Lifecycle management schema when any task in a task group is failed.
245 * Currently we only support one lifecycle policy.
[all …]
/external/googleapis/google/ads/googleads/v16/resources/
Dcustomer_lifecycle_goal.proto32 // Proto file describing the customer lifecycle resource.
34 // Account level customer lifecycle goal settings.
41 // Lifecycle goal common settings, including existing user lists and existing
42 // high lifetime value user lists, shared among different types of lifecycle
64 // Immutable. The resource name of the customer lifecycle goal.
65 // Customer lifecycle resource names have the form:
75 // Output only. Common lifecycle goal settings shared among different types of
76 // lifecycle goals.
/external/googleapis/google/ads/googleads/v15/resources/
Dcustomer_lifecycle_goal.proto32 // Proto file describing the customer lifecycle resource.
34 // Account level customer lifecycle goal settings.
41 // Lifecycle goal common settings, including existing user lists and existing
42 // high lifetime value user lists, shared among different types of lifecycle
64 // Immutable. The resource name of the customer lifecycle goal.
65 // Customer lifecycle resource names have the form:
75 // Output only. Common lifecycle goal settings shared among different types of
76 // lifecycle goals.
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DTarget.java10 …* An interface that Glide can load a resource into and notify of relevant lifecycle events during …
13 * The lifecycle events in this class are as follows:
21 …* The typical lifecycle is onLoadStarted -> onResourceReady or onLoadFailed -> onLoadCleared. …
32 * A lifecycle callback that is called when a load is started.
40 …* Note - This method may be called multiple times before any other lifecycle method is called.…
41 …* paused and restarted due to lifecycle or connectivity events and each restart may cause a ca…
49 * A lifecycle callback that is called when a load fails.
70 * A lifecycle callback that is called when a load is cancelled and its resources are freed.

12345678910>>...44