Home
last modified time | relevance | path

Searched refs:requiresScreenOn (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredAidCache.java796 private int computeAidPowerState(boolean isOnHost, boolean requiresScreenOn, in computeAidPowerState() argument
811 if (requiresScreenOn) { in computeAidPowerState()
858 boolean requiresScreenOn = resolveInfo.defaultService.requiresScreenOn(); in updateRoutingLocked()
860 computeAidPowerState(aidType.isOnHost, requiresScreenOn, requiresUnlock); in updateRoutingLocked()
878 boolean requiresScreenOn = resolveInfo.services.get(0).requiresScreenOn(); in updateRoutingLocked()
880 computeAidPowerState(aidType.isOnHost, requiresScreenOn, requiresUnlock); in updateRoutingLocked()
889 boolean requiresScreenOn = true; in updateRoutingLocked()
898 requiresScreenOn = service.requiresScreenOn(); in updateRoutingLocked()
906 requiresScreenOn = true; in updateRoutingLocked()
909 || requiresScreenOn != service.requiresScreenOn()) { in updateRoutingLocked()
[all …]
DHostEmulationManager.java187 if (defaultServiceInfo.requiresScreenOn() && !mPowerManager.isScreenOn()) { in onHostEmulationData()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java325 if (requiresScreenOn(client) && !isScreenOn()) { in handleStartScan()
366 private boolean requiresScreenOn(ScanClient client) { in requiresScreenOn() method in ScanManager.ClientHandler
438 if ((requiresScreenOn(client) && !isScreenOn()) in handleSuspendScans()
452 if ((!requiresScreenOn(client) || isScreenOn()) in handleResumeScans()