Searched refs:ROOT_UID (Results 1 – 15 of 15) sorted by relevance
41 constexpr uid_t ROOT_UID = 0; variable47 return uid == SHELL_UID || uid == ROOT_UID; in shouldBypassMediaProvider()309 if (uid == ROOT_UID) { in InsertFile()318 if (uid == ROOT_UID) { in DeleteFile()410 if (uid == ROOT_UID) { in Rename()
76 if (caller != Process.myUid() && caller != Process.SYSTEM_UID && caller != Process.ROOT_UID in checkDumpPermission()
55 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
608 return appUid >= Process.ROOT_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
54 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
562 return appUid >= Process.ROOT_UID && appUid < Process.FIRST_APPLICATION_UID; in isSystemUid()
1519 && Binder.getCallingUid() != Process.ROOT_UID) {1827 && Binder.getCallingUid() != Process.ROOT_UID) {1844 && Binder.getCallingUid() != Process.ROOT_UID) {2141 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceShellOnly()
72 when(mBatterySipper.getUid()).thenReturn(Process.ROOT_UID); in testIsTypeSystem_uidRoot_returnTrue()
353 when(mNormalBatterySipper.getUid()).thenReturn(Process.ROOT_UID); in testShouldHideSipper_TypeSystem_ReturnTrue()663 final int systemUid = Process.ROOT_UID; in testShouldHideAnomaly_systemUid_returnTrue()
779 || Binder.getCallingUid() == Process.ROOT_UID; in checkShellUid()785 if (Binder.getCallingUid() != Process.ROOT_UID || TelephonyUtils.IS_USER) { in handleCcCommand()
1407 if (callingUid == Process.ROOT_UID || callingUid == Process.SYSTEM_UID in enforceCallerIsSystemOrRequestingPackage()
320 || callingUid == Process.ROOT_UID in canCallerAccessUserDictionary()
65 case android.os.Process.ROOT_UID: in checkPermissionShell()
613 if (Binder.getCallingUid() == Process.ROOT_UID) {
709 if (Binder.getCallingUid() != Process.ROOT_UID) {