/packages/services/Car/service/src/com/android/car/ |
D | CarPowerManagementService.java | 144 PowerState currentState = mHal.getCurrentPowerState(); in init() local 145 if (currentState != null) { in init() 146 onApPowerStateChange(currentState); in init() 421 PowerState currentState = mHal.getCurrentPowerState(); in doHandleDeepSleep() local 422 if (currentState != null && needPowerStateChange(currentState)) { in doHandleDeepSleep() 423 onApPowerStateChange(currentState); in doHandleDeepSleep() 426 currentState); in doHandleDeepSleep()
|
D | CarAudioService.java | 206 FocusState currentState = FocusState.create(mAudioHal.getCurrentFocusState()); in init() local 210 mCurrentFocusState = currentState; in init() 541 boolean currentState = isMediaMuted(); in setMediaMute() 542 if (mute == currentState) { in setMediaMute() 543 return currentState; in setMediaMute() 786 private void doHandleFocusGainFromCar(FocusState currentState, AudioFocusInfo topInfo, in doHandleFocusGainFromCar() argument 795 Log.w(TAG_FOCUS, "focus gain from car:" + currentState + in doHandleFocusGainFromCar() 803 private void doHandleFocusGainTransientFromCar(FocusState currentState, in doHandleFocusGainTransientFromCar() argument 805 if ((currentState.externalFocus & in doHandleFocusGainTransientFromCar() 817 Log.w(TAG_FOCUS, "focus gain transient from car:" + currentState + in doHandleFocusGainTransientFromCar() [all …]
|
D | CarNightService.java | 121 CarSensorEvent currentState = mCarSensorService.getLatestSensorEvent( in init() local 123 handleSensorEvent(currentState); in init()
|
D | BluetoothDeviceConnectionPolicy.java | 1042 private void notifyConnectionStatus(ConnectionParams params, int currentState) { in notifyConnectionStatus() argument 1045 switch (currentState) { in notifyConnectionStatus() 1058 Log.d(TAG, "notifyConnectionStatus() Ignoring state: " + currentState); in notifyConnectionStatus()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientStateMachine.java | 356 IState currentState = getCurrentState(); in getConnectionState() local 357 if (currentState instanceof Disconnected) { in getConnectionState() 359 } else if (currentState instanceof Connecting) { in getConnectionState() 361 } else if (currentState instanceof Connected) { in getConnectionState() 363 } else if (currentState instanceof Disconnecting) { in getConnectionState()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteStateMachine.java | 1349 IState currentState = getCurrentState(); in updateInternalCallAudioState() local 1350 if (currentState == null) { in updateInternalCallAudioState() 1357 int currentRoute = mStateNameToRouteCode.get(currentState.getName()); in updateInternalCallAudioState() 1461 AudioState currentState = (AudioState) getCurrentState(); in isInActiveState() local 1462 if (currentState == null) { in isInActiveState() 1466 return currentState.isActive(); in isInActiveState() 1517 CallAudioState currentState = getCurrentCallAudioState(); in updateRouteForForegroundCall() local 1520 if ((mAvailableRoutes & currentState.getRoute()) == 0) { in updateRouteForForegroundCall()
|
D | CallAudioModeStateMachine.java | 491 IState currentState = getCurrentState(); in getCurrentStateName() local 492 return currentState == null ? "no state" : currentState.getName(); in getCurrentStateName()
|
D | CallsManager.java | 1989 for (int currentState : states) { in getFirstCallWithState() 1992 if (foregroundCall != null && foregroundCall.getState() == currentState) { in getFirstCallWithState() 2010 if (currentState == call.getState()) { in getFirstCallWithState()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 1317 int[] direction, ItemConfiguration currentState) { in addViewToTempLocation() argument 1318 CellAndSpan c = currentState.map.get(v); in addViewToTempLocation() 1521 int[] direction, View dragView, ItemConfiguration currentState) { in pushViewsToTempLocation() argument 1523 ViewCluster cluster = new ViewCluster(views, currentState); in pushViewsToTempLocation() 1552 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() 1559 currentState.save(); in pushViewsToTempLocation() 1567 for (View v: currentState.sortedViews) { in pushViewsToTempLocation() 1580 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() 1603 currentState.restore(); in pushViewsToTempLocation() 1608 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelper.java | 148 final int currentState = mDevicePolicyManager.getUserProvisioningState(); in isStateUnmanagedOrFinalized() local 149 return currentState == STATE_USER_UNMANAGED || currentState == STATE_USER_SETUP_FINALIZED; in isStateUnmanagedOrFinalized()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MceStateMachine.java | 167 IState currentState = this.getCurrentState(); in getState() local 168 if (currentState.getClass() == Disconnected.class) { in getState() 171 if (currentState.getClass() == Connected.class) { in getState() 174 if (currentState.getClass() == Connecting.class) { in getState() 177 if (currentState.getClass() == Disconnecting.class) { in getState()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | CellLayout.java | 1571 int[] direction, ItemConfiguration currentState) { in addViewToTempLocation() argument 1572 CellAndSpan c = currentState.map.get(v); in addViewToTempLocation() 1824 int[] direction, View dragView, ItemConfiguration currentState) { in pushViewsToTempLocation() argument 1826 ViewCluster cluster = new ViewCluster(views, currentState); in pushViewsToTempLocation() 1855 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() 1862 currentState.save(); in pushViewsToTempLocation() 1870 for (View v: currentState.sortedViews) { in pushViewsToTempLocation() 1883 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() 1906 currentState.restore(); in pushViewsToTempLocation() 1911 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 1629 IState currentState = getCurrentState(); in getConnectionState() local 1630 if (currentState == mConnecting) { in getConnectionState() 1634 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState() 1638 Log.e(TAG, "Bad currentState: " + currentState); in getConnectionState() 1716 IState currentState = getCurrentState(); in isConnected() local 1717 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 377 final int currentState = intent.getIntExtra( in onReceive() local 382 if (currentState == BluetoothAdapter.STATE_ON) { in onReceive() 388 if (currentState == BluetoothAdapter.STATE_OFF) { in onReceive()
|
D | BluetoothEnabler.java | 160 final boolean currentState = in setChecked() 162 if (isChecked != currentState) { in setChecked()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStateMachine.java | 659 IState currentState = getCurrentState(); in getConnectionState() local 660 if (currentState == mPending) { in getConnectionState() 673 if (currentState == mConnected) { in getConnectionState() 679 loge("Bad currentState: " + currentState); in getConnectionState()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardSwitcher.java | 338 KeyboardSwitchState currentState = getKeyboardSwitchState(); in onToggleKeyboard() local 339 Log.w(TAG, "onToggleKeyboard() : Current = " + currentState + " : Toggle = " + toggleState); in onToggleKeyboard() 340 if (currentState == toggleState) { in onToggleKeyboard()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelperTest.java | 178 private boolean isStateUnmanagedOrFinalizedWithCurrentState(int currentState) { in isStateUnmanagedOrFinalizedWithCurrentState() argument 179 when(mDevicePolicyManager.getUserProvisioningState()).thenReturn(currentState); in isStateUnmanagedOrFinalizedWithCurrentState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachine.java | 742 IState currentState = getCurrentState(); in getConnectionState() local 743 if (currentState == mPending) { in getConnectionState() 756 if (currentState == mConnected) { in getConnectionState() 762 loge("Bad currentState: " + currentState); in getConnectionState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 2031 IState currentState = getCurrentState(); in getConnectionState() local 2032 if (DBG) Log.d(TAG, "currentState = " + currentState); in getConnectionState() 2033 if (currentState == mPending) { in getConnectionState() 2046 if (currentState == mMultiHFPending) { in getConnectionState() 2064 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState() 2070 Log.e(TAG, "Bad currentState: " + currentState); in getConnectionState() 3318 IState currentState = getCurrentState(); in isConnected() local 3319 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 302 final int currentState = mWiFiManager.getWifiState(); in onReceive() local 303 switch (currentState) { in onReceive()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 1413 ModeListState currentState = mCurrentStateManager.getCurrentState(); in draw() local 1414 AnimationEffects currentEffects = currentState.getCurrentAnimationEffects(); in draw() 1560 ModeListState currentState = mCurrentStateManager.getCurrentState(); in setVisibility() local 1561 if (currentState != null && !currentState.shouldHandleVisibilityChange(visibility)) { in setVisibility()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsAppWidgetProvider.java | 136 int currentState = getTriState(context); in toggleState() local 138 switch (currentState) { in toggleState()
|