Home
last modified time | relevance | path

Searched full:lifecyclestate (Results 1 – 25 of 124) sorted by relevance

12345

/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
H A DGameSessionTest.java199 mGameSession.moveToState(GameSession.LifecycleState.INITIALIZED); in moveState_InitializedToInitialized_noLifecycleCalls()
206 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
207 mGameSession.moveToState(GameSession.LifecycleState.TASK_FOCUSED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
208 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
209 mGameSession.moveToState(GameSession.LifecycleState.DESTROYED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
220 mGameSession.moveToState(GameSession.LifecycleState.DESTROYED); in moveState_DestroyedWhenInitialized_ExpectedLifecycleCalls()
230 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_DestroyedWhenFocused_ExpectedLifecycleCalls()
231 mGameSession.moveToState(GameSession.LifecycleState.TASK_FOCUSED); in moveState_DestroyedWhenFocused_ExpectedLifecycleCalls()
232 mGameSession.moveToState(GameSession.LifecycleState.DESTROYED); in moveState_DestroyedWhenFocused_ExpectedLifecycleCalls()
245 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_FocusCycled_ExpectedLifecycleCalls()
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/services/autoscaling/src/test/java/software/amazon/awssdk/services/autoscaling/waiters/
H A DAutoScalingWaiterTest.java22 import static software.amazon.awssdk.services.autoscaling.model.LifecycleState.IN_SERVICE;
23 import static software.amazon.awssdk.services.autoscaling.model.LifecycleState.PENDING;
50 … .instances(i -> i.lifecycleState(PENDING), in waitUntilGroupInServiceWorks()
51 … i -> i.lifecycleState(IN_SERVICE), in waitUntilGroupInServiceWorks()
52 … i -> i.lifecycleState(IN_SERVICE)), in waitUntilGroupInServiceWorks()
54 … .instances(i -> i.lifecycleState(PENDING), in waitUntilGroupInServiceWorks()
55 … i -> i.lifecycleState(PENDING), in waitUntilGroupInServiceWorks()
56 … i -> i.lifecycleState(IN_SERVICE))) in waitUntilGroupInServiceWorks()
63 … .instances(i -> i.lifecycleState(PENDING), in waitUntilGroupInServiceWorks()
64 … i -> i.lifecycleState(IN_SERVICE), in waitUntilGroupInServiceWorks()
[all …]
/aosp_15_r20/frameworks/base/core/java/android/service/games/
H A DGameSession.java106 focused ? LifecycleState.TASK_FOCUSED : LifecycleState.TASK_UNFOCUSED));
114 public enum LifecycleState { enum in GameSession
127 private LifecycleState mLifecycleState = LifecycleState.INITIALIZED;
156 moveToState(LifecycleState.CREATED); in doCreate()
162 moveToState(LifecycleState.DESTROYED); in doDestroy()
182 public void moveToState(LifecycleState newLifecycleState) { in moveToState()
198 if (newLifecycleState == LifecycleState.CREATED) { in moveToState()
200 } else if (newLifecycleState == LifecycleState.DESTROYED) { in moveToState()
211 if (newLifecycleState == LifecycleState.TASK_FOCUSED) { in moveToState()
213 } else if (newLifecycleState == LifecycleState.DESTROYED) { in moveToState()
[all …]
/aosp_15_r20/external/google-cloud-java/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/
H A DConversation.java83 * Protobuf enum {@code google.cloud.dialogflow.v2beta1.Conversation.LifecycleState}
85 public enum LifecycleState implements com.google.protobuf.ProtocolMessageEnum { enum in Conversation
164 public static LifecycleState valueOf(int value) { in valueOf()
172 public static LifecycleState forNumber(int value) { in forNumber()
185 public static com.google.protobuf.Internal.EnumLiteMap<LifecycleState> internalGetValueMap() { in internalGetValueMap()
189 private static final com.google.protobuf.Internal.EnumLiteMap<LifecycleState> internalValueMap =
190 new com.google.protobuf.Internal.EnumLiteMap<LifecycleState>() {
191 public LifecycleState findValueByNumber(int number) {
192 return LifecycleState.forNumber(number);
212 private static final LifecycleState[] VALUES = values();
[all …]
H A DConversationOrBuilder.java63 …* .google.cloud.dialogflow.v2beta1.Conversation.LifecycleState lifecycle_state = 2 [(.google.api.f…
66 * @return The enum numeric value on the wire for lifecycleState.
77 …* .google.cloud.dialogflow.v2beta1.Conversation.LifecycleState lifecycle_state = 2 [(.google.api.f…
80 * @return The lifecycleState.
82 com.google.cloud.dialogflow.v2beta1.Conversation.LifecycleState getLifecycleState(); in getLifecycleState()
/aosp_15_r20/external/google-cloud-java/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/
H A DConversation.java83 * Protobuf enum {@code google.cloud.dialogflow.v2.Conversation.LifecycleState}
85 public enum LifecycleState implements com.google.protobuf.ProtocolMessageEnum { enum in Conversation
164 public static LifecycleState valueOf(int value) { in valueOf()
172 public static LifecycleState forNumber(int value) { in forNumber()
185 public static com.google.protobuf.Internal.EnumLiteMap<LifecycleState> internalGetValueMap() { in internalGetValueMap()
189 private static final com.google.protobuf.Internal.EnumLiteMap<LifecycleState> internalValueMap =
190 new com.google.protobuf.Internal.EnumLiteMap<LifecycleState>() {
191 public LifecycleState findValueByNumber(int number) {
192 return LifecycleState.forNumber(number);
212 private static final LifecycleState[] VALUES = values();
[all …]
H A DConversationOrBuilder.java63 …* .google.cloud.dialogflow.v2.Conversation.LifecycleState lifecycle_state = 2 [(.google.api.field_…
66 * @return The enum numeric value on the wire for lifecycleState.
77 …* .google.cloud.dialogflow.v2.Conversation.LifecycleState lifecycle_state = 2 [(.google.api.field_…
80 * @return The lifecycleState.
82 com.google.cloud.dialogflow.v2.Conversation.LifecycleState getLifecycleState(); in getLifecycleState()
/aosp_15_r20/external/googleapis/google/cloud/resourcemanager/v2/
H A Dfolders.proto178 …// [DELETE_REQUESTED][google.cloud.resourcemanager.v2.Folder.LifecycleState.DELETE_REQUESTED] state
181 …// [ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state, where a Folder is…
183 // [ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state.
196 …// [DELETE_REQUESTED][google.cloud.resourcemanager.v2.Folder.LifecycleState.DELETE_REQUESTED] stat…
198 // [ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state.
261 enum LifecycleState { enum
294 LifecycleState lifecycle_state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
325 // [DELETE_REQUESTED][google.cloud.resourcemanager.v2.Folder.LifecycleState.DELETE_REQUESTED]
355 // lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`
365 // * Query `lifecycleState=ACTIVE` returns Folder resources with
[all …]
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/
H A DActivityController.java58 enum LifecycleState { enum in ActivityController
73 private LifecycleState currentState = LifecycleState.INITIAL;
138 currentState = LifecycleState.CREATED; in create()
158 currentState = LifecycleState.RESTARTED; in restart()
174 currentState = LifecycleState.STARTED; in start()
198 currentState = LifecycleState.RESUMED; in resume()
275 currentState = LifecycleState.PAUSED; in pause()
299 currentState = LifecycleState.STOPPED; in stop()
310 currentState = LifecycleState.DESTROYED; in destroy()
599 LifecycleState originalState = currentState; in recreate()
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/utils/kairos/src/com/android/systemui/kairos/internal/
H A DDemux.kt157 lifecycle.lifecycleState = DemuxLifecycleState.Dead in <lambda>()
173 lifecycle.lifecycleState = DemuxLifecycleState.Dead in <lambda>()
193 lifecycle.lifecycleState = DemuxLifecycleState.Inactive(spec) in <lambda>()
289 internal class DemuxLifecycle<K, A>(@Volatile var lifecycleState: DemuxLifecycleState<K, A>) { variable in com.android.systemui.kairos.internal.DemuxLifecycle
292 override fun toString(): String = "TFlowDmuxState[$hashString][$lifecycleState][$mutex]" in toString()
298 when (val state = lifecycleState) { in toString()
311 lifecycleState = in toString()
H A DMux.kt267 internal class MuxLifecycle<A>(@Volatile var lifecycleState: MuxLifecycleState<A>) : TFlowImpl<A> { in toString() variable in com.android.systemui.kairos.internal.MuxLifecycle
270 override fun toString(): String = "TFlowLifecycle[$hashString][$lifecycleState][$mutex]" in toString()
277 when (val state = lifecycleState) { in toString()
290 lifecycleState = in toString()
/aosp_15_r20/external/aws-sdk-java-v2/services/efs/src/main/resources/codegen-resources/
H A Dexamples-1.json14 "LifeCycleState": "creating", string
42 "LifeCycleState": "creating", string
126 "LifeCycleState": "available", string
171 "LifeCycleState": "available", string
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/
Ddialogflow_v2.projects.conversations.html135 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
157 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
178 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
205 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
237 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
Ddialogflow_v2beta1.projects.locations.conversations.html135 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
157 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
178 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
205 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
237 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
Ddialogflow_v2beta1.projects.conversations.html135 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
157 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
178 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
205 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
237 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
Ddialogflow_v2.projects.locations.conversations.html135 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
157 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
178 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
205 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
237 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The current state of the Conversa…
Dcloudresourcemanager_v2beta1.folders.html136 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
188 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
211 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
295 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
372 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
389 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
406lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR` can be used along with t…
422 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
583 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
Dcloudresourcemanager_v2.folders.html136 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
188 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
211 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
295 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
372 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
389 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
406lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR` can be used along with t…
422 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
583 …&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The lifecycle state of the folder…
Dlogging_v2.folders.locations.buckets.html129 &quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
156 &quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
207 &quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
244 &quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
289 &quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
316 &quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
/aosp_15_r20/external/google-cloud-java/java-resourcemanager/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/testing/
H A DLocalResourceManagerHelper.java617 case "lifecycleState": in extractFields()
779 public synchronized boolean changeLifecycleState(String projectId, String lifecycleState) { in changeLifecycleState() argument
781 "ACTIVE".equals(lifecycleState) in changeLifecycleState()
782 || "DELETE_REQUESTED".equals(lifecycleState) in changeLifecycleState()
783 || "DELETE_IN_PROGRESS".equals(lifecycleState), in changeLifecycleState()
787 project.setLifecycleState(lifecycleState); in changeLifecycleState()
/aosp_15_r20/frameworks/base/core/java/android/app/servertransaction/
H A DRefreshCallbackItem.java19 import static android.app.servertransaction.ActivityLifecycleItem.LifecycleState;
46 @LifecycleState
57 @NonNull IBinder activityToken, @LifecycleState int postExecutionState) { in RefreshCallbackItem()
/aosp_15_r20/external/google-cloud-java/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/
H A DSearchFoldersRequest.java165 * | state, lifecycleState | Filters by state. |
213 * | state, lifecycleState | Filters by state. |
822 * | state, lifecycleState | Filters by state. |
869 * | state, lifecycleState | Filters by state. |
916 * | state, lifecycleState | Filters by state. |
962 * | state, lifecycleState | Filters by state. |
1004 * | state, lifecycleState | Filters by state. |
H A DSearchProjectsRequest.java92 * - **`state`, `lifecycleState`**: Filters by state.
141 * - **`state`, `lifecycleState`**: Filters by state.
658 * - **`state`, `lifecycleState`**: Filters by state.
706 * - **`state`, `lifecycleState`**: Filters by state.
754 * - **`state`, `lifecycleState`**: Filters by state.
801 * - **`state`, `lifecycleState`**: Filters by state.
844 * - **`state`, `lifecycleState`**: Filters by state.
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/
H A DRepeatWhenAttachedTest.kt439 assertThat(block.invocations[0].lifecycleState).isEqualTo(Lifecycle.State.DESTROYED) in repeatWhenAttached_viewGetsReattached_recreatesAlifecycle()
440 assertThat(block.invocations[1].lifecycleState).isEqualTo(Lifecycle.State.CREATED) in repeatWhenAttached_viewGetsReattached_recreatesAlifecycle()
495 val lifecycleState: Lifecycle.State constant in com.android.systemui.lifecycle.Invocation
505 get() = _invocations.last().lifecycleState
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/network/
DProxySubscriptionManager.java284 Lifecycle.State lifecycleState = lifecycle.getCurrentState(); in getListenerState() local
285 if (lifecycleState == Lifecycle.State.DESTROYED) { in getListenerState()
289 return lifecycleState.isAtLeast(Lifecycle.State.STARTED) ? in getListenerState()

12345