Home
last modified time | relevance | path

Searched refs:hasAccess (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDirectConnection.h53 void onSensorAccessChanged(bool hasAccess);
DSensorDirectConnection.cpp97 void SensorService::SensorDirectConnection::onSensorAccessChanged(bool hasAccess) { in onSensorAccessChanged() argument
98 if (!hasAccess) { in onSensorAccessChanged()
DSensorService.cpp521 bool hasAccess = hasSensorAccessLocked(conn->getUid(), conn->getOpPackageName()); in onUidStateChanged() local
522 conn->onSensorAccessChanged(hasAccess); in onUidStateChanged()
851 bool hasAccess = hasSensorAccessLocked(conn->getUid(), conn->getOpPackageName()); in disableAllSensorsLocked() local
852 conn->onSensorAccessChanged(hasAccess); in disableAllSensorsLocked()
881 bool hasAccess = hasSensorAccessLocked(conn->getUid(), conn->getOpPackageName()); in enableAllSensorsLocked() local
882 conn->onSensorAccessChanged(hasAccess); in enableAllSensorsLocked()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperDisplayHelper.java185 if (display == null || !display.hasAccess(clientUid)) { in isUsableDisplay()
/frameworks/base/core/java/android/view/
DDisplay.java1914 public boolean hasAccess(int uid) { in hasAccess() method in Display
1915 return hasAccess(uid, mFlags, mOwnerUid, mDisplayId); in hasAccess()
1919 public static boolean hasAccess(int uid, int flags, int ownerUid, int displayId) { in hasAccess() method in Display
DDisplayInfo.java809 public boolean hasAccess(int uid) { in hasAccess() method in DisplayInfo
810 return Display.hasAccess(uid, flags, ownerUid, displayId); in hasAccess()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreSession.java160 boolean hasAccess(int callingUid, String callingPackageName) { in hasAccess() method in BlobStoreSession
DBlobStoreManagerService.java377 if (session == null || !session.hasAccess(callingUid, callingPackage) in openSessionInternal()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java1184 protected void setIdentifierAccess(boolean hasAccess) { in setIdentifierAccess() argument
1185 doReturn(hasAccess ? PackageManager.PERMISSION_GRANTED in setIdentifierAccess()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java1561 if (!displayContent.hasAccess(session.mUid)) { in addWindow()
5998 if (displayContent != null && displayContent.hasAccess(Binder.getCallingUid())) { in getInitialDisplaySize()
6009 if (displayContent != null && displayContent.hasAccess(Binder.getCallingUid())) { in getBaseDisplaySize()
6147 if (displayContent != null && displayContent.hasAccess(Binder.getCallingUid())) { in getInitialDisplayDensity()
6152 if (info != null && info.hasAccess(Binder.getCallingUid())) { in getInitialDisplayDensity()
6163 if (displayContent != null && displayContent.hasAccess(Binder.getCallingUid())) { in getBaseDisplayDensity()
6178 if (displayContent != null && displayContent.hasAccess(Binder.getCallingUid())) { in getDisplayIdByUniqueId()
8283 || !displayContent.hasAccess(uid)) { in hasInputMethodClientFocus()
8377 return displayContent != null && displayContent.hasAccess(uid); in isUidAllowedOnDisplay()
DDisplayContent.java2730 boolean hasAccess(int uid) { in hasAccess() method in DisplayContent
2731 if (!mDisplay.hasAccess(uid)) { in hasAccess()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java329 if (info.hasAccess(callingUid)) { in getDisplayIdsLocked()
DDisplayManagerService.java1251 if (info.hasAccess(callingUid) in getDisplayInfoInternal()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java2808 assertTrue(dc.hasAccess(uid1)); in testHasAccessConsidersUserVisibilityForBackgroundVisibleUsers()
2809 assertFalse(dc.hasAccess(uid2)); in testHasAccessConsidersUserVisibilityForBackgroundVisibleUsers()
2824 assertTrue(dc.hasAccess(uid2)); in testHasAccessIgnoresUserVisibilityForPrivateDisplay()
/frameworks/base/config/
Dboot-profile.txt1015 Landroid/view/Display;->hasAccess(IIII)Z
1017 Landroid/view/DisplayInfo;->hasAccess(I)Z
Dboot-image-profile.txt16075 HSPLandroid/view/Display;->hasAccess(IIII)Z
16162 HSPLandroid/view/DisplayInfo;->hasAccess(I)Z
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1631 } else if (!displayInfo.hasAccess(uid)) {
3973 if (!displayInfo.hasAccess(uid)) {
/frameworks/base/core/api/
Dtest-current.txt3623 method public boolean hasAccess(int);
/frameworks/base/boot/
Dboot-image-profile.txt16011 HSPLandroid/view/Display;->hasAccess(IIII)Z
16098 HSPLandroid/view/DisplayInfo;->hasAccess(I)Z
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59069 Landroid/view/Display;->hasAccess(I)Z
59070 Landroid/view/Display;->hasAccess(III)Z
59188 Landroid/view/DisplayInfo;->hasAccess(I)Z
/frameworks/base/services/
Dart-wear-profile26842 PLcom/android/server/wm/DisplayContent;->hasAccess(I)Z