/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | LogContextInteractorImplTest.kt | 185 val foldState by collectLastValue(interactor.foldState) in foldStateChanges() constant 188 assertThat(foldState).isEqualTo(FoldState.HALF_OPENED) in foldStateChanges() 191 assertThat(foldState).isEqualTo(FoldState.FULLY_OPENED) in foldStateChanges() 194 assertThat(foldState).isEqualTo(FoldState.FULLY_OPENED) in foldStateChanges() 197 assertThat(foldState).isEqualTo(FoldState.FULLY_CLOSED) in foldStateChanges() 200 assertThat(foldState).isEqualTo(FoldState.FULLY_OPENED) in foldStateChanges() 203 assertThat(foldState).isEqualTo(FoldState.UNKNOWN) in foldStateChanges() 218 override fun onFoldChanged(foldState: Int) { in contextSubscriberChanges() 219 folded = foldState in contextSubscriberChanges()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 152 static void updateFoldState(boolean foldState) { in updateFoldState() argument 154 if (sFoldState == null || sFoldState != foldState) { in updateFoldState() 155 sFoldState = foldState; in updateFoldState() 156 sFoldStateCallback.accept(foldState); in updateFoldState()
|
D | AudioService.java | 1555 foldState -> onFoldStateUpdate(foldState)); in initExternalEventReceivers() 1718 void onFoldStateUpdate(Boolean foldState) { in onFoldStateUpdate() argument 1719 mSpatializerHelper.setFoldState(foldState); in onFoldStateUpdate() 1721 final String foldStateParameter = "device_folded=" + (foldState ? "on" : "off"); in onFoldStateUpdate()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | DreamUniverse.kt | 34 private var foldState = mutableStateOf<FoldingFeature?>(null) // unused variable 95 Spaaaace(modifier = Modifier.fillMaxSize(), u = universe, foldState = foldState) in onAttachedToWindow()
|
D | MainActivity.kt | 293 private var foldState = mutableStateOf<FoldingFeature?>(null) variable in com.android.egg.landroid.MainActivity 320 Spaaaace(modifier = Modifier.fillMaxSize(), u = universe, foldState = foldState) in onCreate() 362 foldState.value = in onWindowLayoutInfoChange() 364 Log.v("Landroid", "fold updated: $foldState") in onWindowLayoutInfoChange() 462 foldState: MutableState<FoldingFeature?> = mutableStateOf(null) in Spaaaace() 486 val halfFolded = foldState.value?.let { it.state == FoldingFeature.State.HALF_OPENED } ?: false in Spaaaace() 488 foldState.value?.let { it.orientation == FoldingFeature.Orientation.HORIZONTAL } ?: false in Spaaaace()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | LogContextInteractor.kt | 54 val foldState: Flow<Int> in <lambda>() constant 114 override val foldState: Flow<Int> = constant 134 foldState in addBiometricContextListener()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ServiceStateStats.java | 141 newState.foldState = mDeviceStateHelper.getFoldState(); in onServiceStateChanged() 159 public void onFoldStateChanged(int foldState) { in onFoldStateChanged() argument 162 if (lastServiceState == null || lastServiceState.foldState == foldState) { in onFoldStateChanged() 171 newServiceState.foldState = foldState; in onFoldStateChanged() 318 copy.foldState = state.foldState; in copyOf()
|
D | MetricsCollector.java | 1085 state.foldState, in buildStatsEvent() 1141 session.foldState, in buildStatsEvent()
|
D | PersistAtomsStorage.java | 1976 && state.foldState == key.foldState in find()
|
D | VoiceCallSessionStats.java | 572 proto.foldState = mDeviceStateHelper.getFoldState(); in finishCall()
|
/frameworks/base/services/core/java/com/android/server/biometrics/log/ |
D | BiometricContextProvider.java | 118 public void onFoldChanged(int foldState) { in subscribeBiometricContextListener() 119 if (mFoldState != foldState) { in subscribeBiometricContextListener() 120 mFoldState = foldState; in subscribeBiometricContextListener()
|
D | OperationContextExt.java | 292 mAidlContext.foldState = toAidlFoldState(biometricContext.getFoldState()); in update()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/ |
D | OperationContextExtTest.java | 132 final int foldState = IBiometricContextListener.FoldState.HALF_OPENED; in updatesFromSource() local 137 when(mBiometricContext.getFoldState()).thenReturn(foldState); in updatesFromSource() 158 assertThat(context.getFoldState()).isEqualTo(foldState); in updatesFromSource()
|
D | BiometricContextProviderTest.java | 209 assertThat(mProvider.getFoldState()).isEqualTo(ctx.foldState); in testSubscribesToFoldState() 210 actual.add(ctx.foldState); in testSubscribesToFoldState()
|
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/ |
D | DefaultClockController.kt | 285 private val foldState = AnimationState(foldFraction) constant 288 if (foldState.isActive) { 304 val (hasChanged, hasJumped) = foldState.update(fraction) in fold()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/system/ |
D | SystemUnfoldSharedModule.kt | 55 abstract fun foldState(provider: DeviceStateManagerFoldProvider): FoldProvider in activityTypeProvider() method
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | ServiceStateStatsTest.java | 1195 assertEquals(CELLULAR_SERVICE_STATE__FOLD_STATE__STATE_UNKNOWN, state.foldState); in onFoldStateChanged_LTEMode() 1197 assertEquals(CELLULAR_SERVICE_STATE__FOLD_STATE__STATE_CLOSED, state.foldState); in onFoldStateChanged_LTEMode()
|