Home
last modified time | relevance | path

Searched refs:DisabledReason (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDevice.h207 enum DisabledReason : uint8_t { enum
216 static_assert(DisabledReason::DISABLED_REASON_MAX < sizeof(uint8_t) * CHAR_BIT);
221 void addDisabledReasonForIdentLocked(void* ident, DisabledReason reason);
222 void removeDisabledReasonForIdentLocked(void* ident, DisabledReason reason);
DSensorDevice.cpp874 void SensorDevice::addDisabledReasonForIdentLocked(void* ident, DisabledReason reason) { in addDisabledReasonForIdentLocked()
878 void SensorDevice::removeDisabledReasonForIdentLocked(void* ident, DisabledReason reason) { in removeDisabledReasonForIdentLocked()
890 removeDisabledReasonForIdentLocked(ident, DisabledReason::DISABLED_REASON_UID_IDLE); in setUidStateForConnection()
892 addDisabledReasonForIdentLocked(ident, DisabledReason::DISABLED_REASON_UID_IDLE); in setUidStateForConnection()
942 client, DisabledReason::DISABLED_REASON_SERVICE_RESTRICTED); in enableAllSensors()
985 info.batchParams.keyAt(j), DisabledReason::DISABLED_REASON_SERVICE_RESTRICTED); in disableAllSensors()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java291 public @interface DisabledReason{} annotation in ShortcutInfo
297 public static String getDisabledReasonDebugString(@DisabledReason int disabledReason) { in getDisabledReasonDebugString()
327 @DisabledReason int disabledReason) { in getDisabledReasonForRestoreIssue()
351 public static boolean isDisabledForRestoreIssue(@DisabledReason int disabledReason) { in isDisabledForRestoreIssue()
1554 public void setDisabledReason(@DisabledReason int reason) { in setDisabledReason()
1561 @DisabledReason
DAppSearchShortcutInfo.java746 public Builder setDisabledReason(@ShortcutInfo.DisabledReason final int disabledReason) { in setDisabledReason()