Home
last modified time | relevance | path

Searched defs:user (Results 1 – 25 of 212) sorted by relevance

123456789

/frameworks/base/core/java/com/android/internal/hardware/
DAmbientDisplayConfiguration.java35 public boolean enabled(int user) { in enabled()
48 public boolean pulseOnNotificationEnabled(int user) { in pulseOnNotificationEnabled()
56 public boolean pulseOnPickupEnabled(int user) { in pulseOnPickupEnabled()
66 public boolean pulseOnPickupCanBeModified(int user) { in pulseOnPickupCanBeModified()
70 public boolean pulseOnDoubleTapEnabled(int user) { in pulseOnDoubleTapEnabled()
87 public boolean pulseOnLongPressEnabled(int user) { in pulseOnLongPressEnabled()
96 public boolean alwaysOnEnabled(int user) { in alwaysOnEnabled()
106 public boolean alwaysOnAvailableForUser(int user) { in alwaysOnAvailableForUser()
114 public boolean accessibilityInversionEnabled(int user) { in accessibilityInversionEnabled()
131 private boolean boolSettingDefaultOn(String name, int user) { in boolSettingDefaultOn()
[all …]
/frameworks/base/core/java/android/content/pm/
DIOnAppsChangedListener.aidl26 void onPackageRemoved(in UserHandle user, String packageName); in onPackageRemoved()
27 void onPackageAdded(in UserHandle user, String packageName); in onPackageAdded()
28 void onPackageChanged(in UserHandle user, String packageName); in onPackageChanged()
29 void onPackagesAvailable(in UserHandle user, in String[] packageNames, boolean replacing); in onPackagesAvailable()
30 void onPackagesUnavailable(in UserHandle user, in String[] packageNames, boolean replacing); in onPackagesUnavailable()
31 void onPackagesSuspended(in UserHandle user, in String[] packageNames); in onPackagesSuspended()
32 void onPackagesUnsuspended(in UserHandle user, in String[] packageNames); in onPackagesUnsuspended()
33 void onShortcutChanged(in UserHandle user, String packageName, in ParceledListSlice shortcuts); in onShortcutChanged()
DLauncherApps.java158 abstract public void onPackageRemoved(String packageName, UserHandle user); in onPackageRemoved()
169 abstract public void onPackageAdded(String packageName, UserHandle user); in onPackageAdded()
179 abstract public void onPackageChanged(String packageName, UserHandle user); in onPackageChanged()
192 abstract public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable()
206 abstract public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
218 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended()
230 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended()
249 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsChanged()
448 public List<LauncherActivityInfo> getActivityList(String packageName, UserHandle user) { in getActivityList()
466 public LauncherActivityInfo resolveActivity(Intent intent, UserHandle user) { in resolveActivity()
[all …]
DILauncherApps.aidl42 String callingPackage, String packageName, in UserHandle user); in getLauncherActivities()
44 String callingPackage, in ComponentName component, in UserHandle user); in resolveActivity()
47 in Bundle opts, in UserHandle user); in startActivityAsUser()
50 in Bundle opts, in UserHandle user); in showAppDetailsAsUser()
51 boolean isPackageEnabled(String callingPackage, String packageName, in UserHandle user); in isPackageEnabled()
53 String callingPackage, in ComponentName component, in UserHandle user); in isActivityEnabled()
55 String callingPackage, String packageName, int flags, in UserHandle user); in getApplicationInfo()
58 in List shortcutIds, in ComponentName componentName, int flags, in UserHandle user); in getShortcuts()
60 in UserHandle user); in pinShortcuts()
72 String callingPackage, String packageName, in UserHandle user); in getShortcutConfigActivities()
[all …]
DRegisteredServicesCache.java117 UserInfo user = getUser(userId); in findOrCreateUserLocked() local
235 final UserServices<V> user = findOrCreateUserLocked(userId); in invalidateCache() local
243 final UserServices<V> user = findOrCreateUserLocked(userId); in dump() local
325 final UserServices<V> user = findOrCreateUserLocked(userId); in getServiceInfo() local
340 final UserServices<V> user = findOrCreateUserLocked(userId); in getAllServices() local
355 final UserServices<V> user = findOrCreateUserLocked(userId); in updateServices() local
447 final UserServices<V> user = findOrCreateUserLocked(userId); in generateServicesMap() local
651 final UserServices<V> user = findOrCreateUserLocked(userId, in readPersistentServicesLocked() local
712 private void writePersistentServicesLocked(UserServices<V> user, int userId) { in writePersistentServicesLocked()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/
DSimpleEntityReadWriteTest.java85 User user = TestUtil.createUser(3); in writeUserAndReadInList() local
143 User user = TestUtil.createUser(3); in insertDifferentEntities_transaction() local
155 User user = TestUtil.createUser(3); in throwExceptionOnConflict() local
168 User user = TestUtil.createUser(3); in replaceOnConflict() local
180 User user = TestUtil.createUser(3); in updateSimple() local
189 User user = TestUtil.createUser(3); in updateNonExisting() local
225 User user = TestUtil.createUser(3); in delete() local
247 User user = TestUtil.createUser(3); in deleteEverything() local
269 User user = TestUtil.createUser(3); in findByCollateNoCase() local
349 User user = TestUtil.createUser(1); in findByIntQueryParameter() local
[all …]
DRxJava2Test.java96 User user = TestUtil.createUser(3); in maybeUser_WithData() local
147 User user = TestUtil.createUser(3); in singleUser_WithData() local
186 User user = TestUtil.createUser(3); in observeOnce() local
198 User user = TestUtil.createUser(3); in observeChangeAndDispose() local
226 User user = TestUtil.createUser(3); in observeEmpty() local
DEmbeddedTest.java75 User user = TestUtil.createUser(2); in loadAll() local
88 User user = TestUtil.createUser(2); in loadFromUsers() local
100 User user = TestUtil.createUser(2); in loadFromUsersWithNullPet() local
110 User user = TestUtil.createUser(2); in loadFromUsersWithNonNullPet() local
121 User user = TestUtil.createUser(2); in loadFromPets() local
/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java195 @NonNull String packageName, @NonNull UserHandle user) in queryStatsForPackage()
212 UserHandle user) throws PackageManager.NameNotFoundException, IOException { in queryStatsForPackage()
276 @NonNull UserHandle user) throws IOException { in queryStatsForUser()
290 public StorageStats queryStatsForUser(String uuid, UserHandle user) throws IOException { in queryStatsForUser()
313 @NonNull UserHandle user) throws IOException { in queryExternalStatsForUser()
327 public ExternalStorageStats queryExternalStatsForUser(String uuid, UserHandle user) in queryExternalStatsForUser()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java90 public final UserHandle user; field in LauncherAppsService.BroadcastCookie
283 private boolean isUserEnabled(UserHandle user) { in isUserEnabled()
299 String packageName, UserHandle user) in getLauncherActivities()
310 String callingPackage, ComponentName component, UserHandle user) in resolveActivity()
335 String callingPackage, String packageName, UserHandle user) in getShortcutConfigActivities()
342 Intent intent, UserHandle user) { in queryActivitiesForUser()
367 ComponentName component, UserHandle user) throws RemoteException { in getShortcutConfigActivityIntent()
390 public boolean isPackageEnabled(String callingPackage, String packageName, UserHandle user) in isPackageEnabled()
416 String callingPackage, String packageName, int flags, UserHandle user) in getApplicationInfo()
577 String callingPackage, ComponentName component, UserHandle user) in isActivityEnabled()
[all …]
/frameworks/support/room/compiler/src/test/data/daoWriter/input/
DUpdateDao.java24 void updateUser(User user); in updateUser()
31 int updateUserAndReturnCount(User user); in updateUserAndReturnCount()
41 void updateUserAndBook(User user, Book book); in updateUserAndBook()
DDeletionDao.java24 void deleteUser(User user); in deleteUser()
31 int deleteUserAndReturnCount(User user); in deleteUserAndReturnCount()
47 void deleteUserAndBook(User user, Book book); in deleteUserAndBook()
DWriterDao.java24 void insertUser(User user); in insertUser()
30 void insertUserAndBook(User user, Book book); in insertUserAndBook()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java279 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
291 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser()
296 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser()
302 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
311 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
320 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
345 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
350 public void sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendStickyOrderedBroadcastAsUser()
358 public void removeStickyBroadcastAsUser(Intent intent, UserHandle user) { in removeStickyBroadcastAsUser()
376 public Intent registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user, in registerReceiverAsUser()
[all …]
/frameworks/base/core/java/android/os/
DUserManager.java909 UserInfo user = getUserInfo(getUserHandle()); in getUserName() local
949 UserInfo user = getUserInfo(UserHandle.myUserId()); in isPrimaryUser() local
979 UserInfo user = getUserInfo(userId); in isUserAdmin() local
1015 UserInfo user = getUserInfo(id); in isGuestUser() local
1025 UserInfo user = getUserInfo(UserHandle.myUserId()); in isGuestUser() local
1118 final UserInfo user = getUserInfo(userId); in isUserEphemeral() local
1139 public boolean isUserRunning(UserHandle user) { in isUserRunning()
1168 public boolean isUserRunningOrStopping(UserHandle user) { in isUserRunningOrStopping()
1214 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked()
1228 public boolean isUserUnlockingOrUnlocked(UserHandle user) { in isUserUnlockingOrUnlocked()
[all …]
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java26 public UserHandle user; field in StatusBarIcon
34 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, in StatusBarIcon()
51 public StatusBarIcon(String iconPackage, UserHandle user, in StatusBarIcon()
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
DWriterDao.java101 public void insertUser(User user) { in insertUser()
135 public void insertUserAndBook(User user, Book book) { in insertUserAndBook()
DUpdateDao.java111 public void updateUser(User user) { in updateUser()
145 public int updateUserAndReturnCount(User user) { in updateUserAndReturnCount()
198 public void updateUserAndBook(User user, Book book) { in updateUserAndBook()
DDeletionDao.java89 public void deleteUser(User user) { in deleteUser()
123 public int deleteUserAndReturnCount(User user) { in deleteUserAndReturnCount()
176 public void deleteUserAndBook(User user, Book book) { in deleteUserAndBook()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java315 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
478 public final void addEscrowToken(byte[] token, UserHandle user) { in addEscrowToken()
501 public final void isEscrowTokenActive(long handle, UserHandle user) { in isEscrowTokenActive()
524 public final void removeEscrowToken(long handle, UserHandle user) { in removeEscrowToken()
546 public final void unlockUserWithToken(long handle, byte[] token, UserHandle user) { in unlockUserWithToken()
625 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java82 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { in Client()
220 private Context getContextForUser(UserHandle user) { in getContextForUser()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java66 int user) { in setDefaultDialerApplication()
82 Settings.Secure.DIALER_DEFAULT_APPLICATION, packageName, user); in setDefaultDialerApplication() local
118 public static String getDefaultDialerApplication(Context context, int user) { in getDefaultDialerApplication()
/frameworks/base/core/java/android/content/
DContextWrapper.java377 public void startActivityAsUser(Intent intent, UserHandle user) { in startActivityAsUser()
399 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in startActivityAsUser()
504 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
509 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
516 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
523 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
529 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
538 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
547 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
579 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
[all …]
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java178 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
183 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
194 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
199 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user, Bundle options) { in sendStickyBroadcastAsUser()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java175 FullUserRecord user = getFullUserRecordLocked(record.getUserId()); in updateSession() local
198 FullUserRecord user = getFullUserRecordLocked(record.getUserId()); in setGlobalPrioritySession() local
222 FullUserRecord user = getFullUserRecordLocked(userId); in getActiveSessionsLocked() local
255 FullUserRecord user = getFullUserRecordLocked(record.getUserId()); in onSessionPlaystateChanged() local
266 FullUserRecord user = getFullUserRecordLocked(record.getUserId()); in onSessionPlaybackTypeChanged() local
291 FullUserRecord user = getFullUserRecordLocked(userId); in onStopUser() local
394 FullUserRecord user = getFullUserRecordLocked(session.getUserId()); in destroySessionLocked() local
508 FullUserRecord user = getFullUserRecordLocked(userId); in createSessionLocked() local
542 FullUserRecord user = getFullUserRecordLocked(userId); in pushSessionsChanged() local
572 FullUserRecord user = getFullUserRecordLocked(userId); in pushRemoteVolumeUpdateLocked() local
[all …]

123456789