Home
last modified time | relevance | path

Searched refs:appid (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/cmds/servicemanager/
Dservice_manager.c193 uid_t appid = uid % AID_USER; in do_find_service() local
194 if (appid >= AID_ISOLATED_START && appid <= AID_ISOLATED_END) { in do_find_service()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1679 public boolean isAppOnWhitelist(int appid) { in isAppOnWhitelist() argument
1680 return DeviceIdleController.this.isAppOnWhitelistInternal(appid); in isAppOnWhitelist()
1799 boolean isAppOnWhitelistInternal(int appid) { in isAppOnWhitelistInternal() argument
1801 return Arrays.binarySearch(mPowerSaveWhitelistAllAppIdArray, appid) >= 0; in isAppOnWhitelistInternal()
1829 int appid = UserHandle.getAppId(ai.uid); in onStart() local
1830 mPowerSaveWhitelistAppsExceptIdle.put(ai.packageName, appid); in onStart()
1831 mPowerSaveWhitelistSystemAppIdsExceptIdle.put(appid, true); in onStart()
1841 int appid = UserHandle.getAppId(ai.uid); in onStart() local
1844 mPowerSaveWhitelistAppsExceptIdle.put(ai.packageName, appid); in onStart()
1845 mPowerSaveWhitelistSystemAppIdsExceptIdle.put(appid, true); in onStart()
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp843 void createProfileSnapshot(int32_t appid, const std::string& package_name, in createProfileSnapshot() argument
847 appid, package_name, kPrimaryProfile, apk_path_, &result)); in createProfileSnapshot()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3063 final int appid = UserHandle.getAppId(wakeLock.mOwnerUid); in setWakeLockDisabledStateLocked() local
3064 if (appid >= Process.FIRST_APPLICATION_UID) { in setWakeLockDisabledStateLocked()
3076 if (Arrays.binarySearch(mDeviceIdleWhitelist, appid) < 0 && in setWakeLockDisabledStateLocked()
3077 Arrays.binarySearch(mDeviceIdleTempWhitelist, appid) < 0 && in setWakeLockDisabledStateLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java7082 final int appid = UserHandle.getAppId(uid);
7083 return (appid == Process.SYSTEM_UID || appid == Process.PHONE_UID || uid == 0);