/frameworks/base/services/core/java/com/android/server/pm/ |
D | SELinuxMMAC.java | 413 final boolean isPrivileged = in getSeInfo() 414 (sharedUser != null) ? sharedUser.isPrivileged() | packageState.isPrivileged() in getSeInfo() 415 : packageState.isPrivileged(); in getSeInfo() 416 return getSeInfo(packageState, pkg, isPrivileged, targetSdkVersion); in getSeInfo() 434 boolean isPrivileged, int targetSdkVersion) { in getSeInfo() argument 455 if (isPrivileged) { in getSeInfo()
|
D | SharedUserSetting.java | 238 public boolean isPrivileged() { 287 final boolean isPrivileged = isPrivileged() | ps.isPrivileged(); 288 ps.getPkgState().setOverrideSeInfo(SELinuxMMAC.getSeInfo(ps, ps.getPkg(), isPrivileged,
|
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ |
D | AndroidPackageLegacyUtils.java | 93 public static boolean isPrivileged(@NonNull AndroidPackage pkg) { in isPrivileged() method in AndroidPackageLegacyUtils 94 return ((AndroidPackageHidden) pkg).isPrivileged(); in isPrivileged()
|
D | AndroidPackageHidden.java | 70 boolean isPrivileged(); in isPrivileged() method
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceBroker.java | 303 IBinder cb, int uid, boolean on, boolean isPrivileged, String eventSource) { in setSpeakerphoneOn() argument 310 on, BtHelper.SCO_MODE_UNDEFINED, eventSource, isPrivileged)); in setSpeakerphoneOn() 329 boolean isPrivileged, String eventSource) { in setCommunicationDevice() argument 348 device != null, BtHelper.SCO_MODE_UNDEFINED, eventSource, isPrivileged); in setCommunicationDevice() 380 int scoAudioMode, boolean isPrivileged, String eventSource) { in setCommunicationRouteForClient() argument 388 + " device: " + device + " isPrivileged: " + isPrivileged in setCommunicationRouteForClient() 400 prevPrivileged = client.isPrivileged(); in setCommunicationRouteForClient() 404 client = addCommunicationRouteClient(cb, uid, device, isPrivileged); in setCommunicationRouteForClient() 543 crc.isPrivileged()); in onCheckCommunicationDeviceRemoval() 1260 boolean isPrivileged, @NonNull String eventSource) { in startBluetoothScoForClient() argument [all …]
|
D | RecordingActivityMonitor.java | 318 void registerRecordingCallback(IRecordingConfigDispatcher rcdb, boolean isPrivileged) { in registerRecordingCallback() argument 323 final RecMonitorClient rmc = new RecMonitorClient(rcdb, isPrivileged); in registerRecordingCallback() 325 if (!isPrivileged) { in registerRecordingCallback() 355 List<AudioRecordingConfiguration> getActiveRecordingConfigurations(boolean isPrivileged) { in getActiveRecordingConfigurations() argument 366 if (!isPrivileged) { in getActiveRecordingConfigurations() 532 RecMonitorClient(IRecordingConfigDispatcher rcdb, boolean isPrivileged) { in RecMonitorClient() argument 534 mIsPrivileged = isPrivileged; in RecMonitorClient()
|
D | PlaybackActivityMonitor.java | 665 pw.print(" " + (pmc.isPrivileged() ? "(S)" : "(P)") in dump() 776 if (pmc.isPrivileged()) { in dispatchPlaybackChange() 1030 void registerPlaybackCallback(IPlaybackConfigDispatcher pcdb, boolean isPrivileged) { in registerPlaybackCallback() argument 1034 final PlayMonitorClient pmc = new PlayMonitorClient(pcdb, isPrivileged); in registerPlaybackCallback() 1055 List<AudioPlaybackConfiguration> getActivePlaybackConfigurations(boolean isPrivileged) { in getActivePlaybackConfigurations() argument 1057 if (isPrivileged) { in getActivePlaybackConfigurations() 1107 PlayMonitorClient(IPlaybackConfigDispatcher pcdb, boolean isPrivileged) { in PlayMonitorClient() argument 1109 mIsPrivileged = isPrivileged; in PlayMonitorClient() 1156 synchronized boolean isPrivileged() { in isPrivileged() method in PlaybackActivityMonitor.PlayMonitorClient
|
D | SystemServerAdapter.java | 63 public boolean isPrivileged() { in isPrivileged() method in SystemServerAdapter
|
D | AudioService.java | 1395 if (mSystemServer.isPrivileged()) { in AudioService() 2863 if (!mSystemServer.isPrivileged()) { in readPersistedSettings() 2949 if (!mSystemServer.isPrivileged()) { in readUserRestrictions() 4987 if (!mSystemServer.isPrivileged()) { in sendBroadcastToAll() 5336 final boolean isPrivileged = in getStreamMinVolume() 5341 return (mStreamStates[streamType].getMinIndex(isPrivileged) + 5) / 10; in getStreamMinVolume() 5902 SetModeDeathHandler(IBinder cb, int pid, int uid, boolean isPrivileged, in SetModeDeathHandler() argument 5909 mIsPrivileged = isPrivileged; in SetModeDeathHandler() 5958 public boolean isPrivileged() { in isPrivileged() method in AudioService.SetModeDeathHandler 6022 if (h.isPrivileged()) { in getAudioModeOwnerHandler() [all …]
|
D | AudioDeviceInventory.java | 1355 @NonNull IStrategyPreferredDevicesDispatcher dispatcher, boolean isPrivileged) { in registerStrategyPreferredDevicesDispatcher() argument 1356 mPrefDevDispatchers.register(dispatcher, isPrivileged); in registerStrategyPreferredDevicesDispatcher() 1365 @NonNull IStrategyNonDefaultDevicesDispatcher dispatcher, boolean isPrivileged) { in registerStrategyNonDefaultDevicesDispatcher() argument 1366 mNonDefDevDispatchers.register(dispatcher, isPrivileged); in registerStrategyNonDefaultDevicesDispatcher() 1447 @NonNull ICapturePresetDevicesRoleDispatcher dispatcher, boolean isPrivileged) { 1448 mDevRoleCapturePresetDispatchers.register(dispatcher, isPrivileged);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | NoOpSystemServerAdapter.java | 29 public boolean isPrivileged() { in isPrivileged() method in NoOpSystemServerAdapter
|
/frameworks/base/services/core/java/com/android/server/speech/ |
D | SpeechRecognitionManagerServiceImpl.java | 316 final boolean isPrivileged; in createService() 318 isPrivileged = false; in createService() 322 isPrivileged = checkPrivilege(serviceComponent); in createService() 331 isPrivileged); in createService()
|
D | RemoteSpeechRecognitionService.java | 75 boolean isPrivileged) { in RemoteSpeechRecognitionService() argument 78 getBindingFlags(isPrivileged), in RemoteSpeechRecognitionService() 90 private static int getBindingFlags(boolean isPrivileged) { in getBindingFlags() argument 92 if (isPrivileged) { in getBindingFlags()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | SharedUserApi.java | 68 boolean isPrivileged(); in isPrivileged() method
|
D | PackageState.java | 176 boolean isPrivileged(); in isPrivileged() method
|
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/ |
D | BasePermissionPolicyTest.kt | 179 isPrivileged: Boolean = false, in <lambda>() 190 whenever(this.isPrivileged).thenReturn(isPrivileged) in <lambda>()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 232 boolean isPrivileged = (app.flags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isAppBackupAllowed() 234 if (UserHandle.isCore(app.uid) || isPrivileged) { in isAppBackupAllowed()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | Permission.kt | 104 inline val isPrivileged: Boolean in <lambda>() constant in com.android.server.permission.access.permission.Permission
|
D | AppIdPermissionPolicy.kt | 910 !permission.isPrivileged || in <lambda>() 1315 if (!(packageState.isSystem && packageState.isPrivileged)) { in <lambda>() 1472 if ((permission.isPrivileged || permission.isOem) && packageState.isSystem) { in <lambda>() 1585 permission.isPrivileged -> { in <lambda>() 1586 if (packageState.isPrivileged) { in <lambda>()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | AppInfoUtils.java | 86 … | flag(AndroidPackageLegacyUtils.isPrivileged(pkg), ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in appInfoPrivateFlags()
|
/frameworks/base/tests/vcn/java/com/android/server/ |
D | VcnManagementServiceTest.java | 298 private void setupMockedCarrierPrivilege(boolean isPrivileged) { in setupMockedCarrierPrivilege() argument 299 setupMockedCarrierPrivilege(isPrivileged, TEST_PACKAGE_NAME); in setupMockedCarrierPrivilege() 302 private void setupMockedCarrierPrivilege(boolean isPrivileged, String pkg) { in setupMockedCarrierPrivilege() argument 310 isPrivileged in setupMockedCarrierPrivilege()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 2555 if (permission.isPrivileged() 2764 && (!bp.isPrivileged() || CollectionUtils.contains( 2768 || (((bp.isPrivileged() && CollectionUtils.contains( 2775 && (!bp.isPrivileged() || CollectionUtils.contains( 2779 || (((bp.isPrivileged() && CollectionUtils.contains( 3264 if (!(packageSetting.isSystem() && packageSetting.isPrivileged())) { 3383 final boolean isPrivilegedPermission = bp.isPrivileged(); 3394 && ((isPrivilegedPermission && disabledPs.isPrivileged()) 3407 allowed = (isPrivilegedPermission && pkgSetting.isPrivileged())
|
D | Permission.java | 286 public boolean isPrivileged() { in isPrivileged() method in Permission
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 996 boolean isPrivileged) { in MediaProjection() argument 1002 mIsPrivileged = isPrivileged; in MediaProjection()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 189 when(packageStateInternalMock.isPrivileged()).thenReturn(false); in mockGetPackageStateInternal()
|