/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorState.java | 29 SensorState(int stateType) { in SensorState() argument 30 mStateType = stateType; in SensorState() 34 SensorState(int stateType, long lastChange) { in SensorState() argument 35 mStateType = stateType; in SensorState() 44 boolean setState(int stateType) { in setState() argument 45 if (mStateType != stateType) { in setState() 46 mStateType = stateType; in setState()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateTracker.java | 85 void onStateChange(int uid, String packageName, boolean start, long now, int stateType); in onStateChange() argument 107 static int stateTypeToIndex(int stateType) { in stateTypeToIndex() argument 108 return Integer.numberOfTrailingZeros(stateType); in stateTypeToIndex() 118 for (int stateType = Integer.highestOneBit(stateTypes); stateType != 0; in stateTypesToString() 119 stateType = Integer.highestOneBit(stateTypes)) { in stateTypesToString() 124 switch (stateType) { in stateTypesToString() 143 stateTypes &= ~stateType; in stateTypesToString() 156 boolean start, long now, int stateType) { in notifyListenersOnStateChange() argument 159 mStateListeners.get(i).onStateChange(uid, packageName, start, now, stateType); in notifyListenersOnStateChange()
|
D | AppBatteryExemptionTracker.java | 112 public void onStateChange(int uid, String packageName, boolean start, long now, int stateType) { in onStateChange() argument 118 final int stateTypeIndex = stateTypeToIndex(stateType); in onStateChange() 140 if ((s & stateType) != 0) { in onStateChange() 145 pkgsStates.setValueAt(indexOfPkg, states | stateType); in onStateChange() 151 states &= ~stateType; in onStateChange() 156 if ((s & stateType) != 0) { in onStateChange()
|
D | AppFGSTracker.java | 728 int stateType; in notifyListenersOnStateChangeIfNecessary() local 731 stateType = BaseAppStateDurationsTracker.STATE_TYPE_FGS_MEDIA_PLAYBACK; in notifyListenersOnStateChangeIfNecessary() 734 stateType = BaseAppStateDurationsTracker.STATE_TYPE_FGS_LOCATION; in notifyListenersOnStateChangeIfNecessary() 739 mTracker.notifyListenersOnStateChange(mUid, mPackageName, start, now, stateType); in notifyListenersOnStateChangeIfNecessary()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DeviceStateMonitorTest.java | 157 private int state2Event(@StateType int stateType) { in state2Event() argument 159 return stateType; in state2Event() 162 private void updateState(@StateType int stateType, @StateStatus int stateValue) { in updateState() argument 163 final int event = state2Event(stateType); in updateState()
|
D | SimulatedCommandsVerifier.java | 1354 public void sendDeviceState(int stateType, boolean state, Message result) { in sendDeviceState() argument
|
D | SimulatedCommands.java | 2312 public void sendDeviceState(int stateType, boolean state, Message result) { in sendDeviceState() argument 2313 SimulatedCommandsVerifier.getInstance().sendDeviceState(stateType, state, result); in sendDeviceState()
|
D | RILTest.java | 1368 int stateType = 1; in testSendDeviceState() local 1370 mRILUnderTest.sendDeviceState(stateType, state, obtainMessage()); in testSendDeviceState() 1372 mSerialNumberCaptor.capture(), eq(stateType), eq(state)); in testSendDeviceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 606 public void sendDeviceState(int stateType, boolean state, Message result) { in sendDeviceState() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 2311 void sendDeviceState(int stateType, boolean state, Message result); in sendDeviceState() argument
|
D | RIL.java | 4403 public void sendDeviceState(int stateType, boolean state, Message result) { in sendDeviceState() argument 4413 + stateType + ":" + state); in sendDeviceState() 4417 modemProxy.sendDeviceState(rr.mSerial, stateType, state); in sendDeviceState()
|