Home
last modified time | relevance | path

Searched defs:userId (Results 1 – 25 of 2381) sorted by relevance

12345678910>>...96

/aosp14/frameworks/base/core/java/android/os/
H A DIUserManager.aidl41 int getProfileParentId(int userId); in getProfileParentId()
52 void setUserEnabled(int userId); in setUserEnabled()
53 void setUserAdmin(int userId); in setUserAdmin()
54 void revokeUserAdmin(int userId); in revokeUserAdmin()
56 boolean removeUser(int userId); in removeUser()
78 UserInfo getUserInfo(int userId); in getUserInfo()
85 boolean isRestricted(int userId); in isRestricted()
119 boolean isDemoUser(int userId); in isDemoUser()
120 boolean isAdminUser(int userId); in isAdminUser()
131 boolean hasBadge(int userId); in hasBadge()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dos_account_manager_helper_test.cpp41 int32_t userId = -1; variable
52 int32_t userId = -1; variable
64 int32_t userId = -1; variable
75 int32_t userId = 100; variable
86 int32_t userId = 1099; variable
97 int32_t userId = 100; variable
108 int32_t userId = 10737; variable
119 int32_t userId = 0; variable
130 int32_t userId = 10736; variable
/aosp14/frameworks/base/core/java/android/print/
H A DIPrintManager.aidl40 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); in getPrintJobInfos()
48 int appId, int userId); in addPrintJobStateChangeListener()
50 int userId); in removePrintJobStateChangeListener()
61 int userId); in addPrintServicesChangeListener()
72 int userId); in removePrintServicesChangeListener()
111 int userId); in addPrintServiceRecommendationsChangeListener()
122 int userId); in removePrintServiceRecommendationsChangeListener()
135 in List<PrinterId> priorityList, int userId); in startPrinterDiscovery()
150 Icon getCustomPrinterIcon(in PrinterId printerId, int userId); in getCustomPrinterIcon()
154 int userId); in destroyPrinterDiscoverySession()
[all …]
/aosp14/frameworks/base/media/java/android/media/tv/
H A DITvInputManager.aidl49 List<TvInputInfo> getTvInputList(int userId); in getTvInputList()
52 int getTvInputState(in String inputId, int userId); in getTvInputState()
61 boolean isParentalControlsEnabled(int userId); in isParentalControlsEnabled()
64 List<String> getBlockedRatings(int userId); in getBlockedRatings()
69 int seq, int userId); in createSession()
77 int userId); in dispatchSurfaceChanged()
83 int userId); in selectAudioPresentation()
88 int userId); in sendAppPrivateCommand()
91 int userId); in createOverlayView()
134 int userId); in captureFrame()
[all …]
/aosp14/frameworks/base/media/java/android/media/tv/interactive/
H A DITvInteractiveAppManager.aidl40 List<AppLinkInfo> getAppLinkInfoList(int userId); in getAppLinkInfoList()
44 void startInteractiveApp(in IBinder sessionToken, int userId); in startInteractiveApp()
45 void stopInteractiveApp(in IBinder sessionToken, int userId); in stopInteractiveApp()
46 void resetInteractiveApp(in IBinder sessionToken, int userId); in resetInteractiveApp()
60 int userId); in sendSigningResult()
84 int seq, int userId); in createSession()
85 void releaseSession(in IBinder sessionToken, int userId); in releaseSession()
95 int userId); in notifyRecordingStarted()
100 int userId); in dispatchSurfaceChanged()
107 int userId); in createMediaView()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/infra/
H A DServiceNameResolver.java42 void onNameResolved(@UserIdInt int userId, @Nullable String serviceName, in onNameResolved()
64 String getDefaultServiceName(@UserIdInt int userId); in getDefaultServiceName()
72 default String[] getDefaultServiceNameList(@UserIdInt int userId) { in getDefaultServiceNameList()
83 default void setServiceNameList(List<String> services, int userId) { in setServiceNameList()
104 default String getServiceName(@UserIdInt int userId) { in getServiceName()
116 default String[] getServiceNameList(@UserIdInt int userId) { in getServiceNameList()
123 default boolean isTemporary(@SuppressWarnings("unused") @UserIdInt int userId) { in isTemporary()
163 default void resetTemporaryService(@UserIdInt int userId) { in resetTemporaryService()
181 default boolean setDefaultServiceEnabled(@UserIdInt int userId, boolean enabled) { in setDefaultServiceEnabled()
194 default boolean isDefaultServiceEnabled(@UserIdInt int userId) { in isDefaultServiceEnabled()
[all …]
/aosp14/frameworks/base/media/java/android/media/metrics/
H A DIMediaMetricsManager.aidl31 void reportPlaybackMetrics(in String sessionId, in PlaybackMetrics metrics, int userId); in reportPlaybackMetrics()
33 String getPlaybackSessionId(int userId); in getPlaybackSessionId()
34 String getRecordingSessionId(int userId); in getRecordingSessionId()
35 void reportNetworkEvent(in String sessionId, in NetworkEvent event, int userId); in reportNetworkEvent()
36 void reportPlaybackErrorEvent(in String sessionId, in PlaybackErrorEvent event, int userId); in reportPlaybackErrorEvent()
38 void reportTrackChangeEvent(in String sessionId, in TrackChangeEvent event, int userId); in reportTrackChangeEvent()
40 String getTranscodingSessionId(int userId); in getTranscodingSessionId()
41 String getEditingSessionId(int userId); in getEditingSessionId()
42 String getBundleSessionId(int userId); in getBundleSessionId()
43 void reportBundleMetrics(in String sessionId, in PersistableBundle metrics, int userId); in reportBundleMetrics()
[all …]
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserLifecycleTests.java182 final int userId = createUserNoFlags(); in createUser() local
196 final int userId = createUserNoFlags(); in createUser_realistic() local
211 final int userId = createUserNoFlags(); in createAndStartUser() local
231 final int userId = createUserNoFlags(); in createAndStartUser_realistic() local
255 final int userId = createUserNoFlags(); in startUser() local
308 final int userId = createUserNoFlags(); in startUser_measuresAfterFirstIterations() local
344 final int userId = createUserNoFlags(); in startUser_startedTwiceBefore() local
385 final int userId = createUserNoFlags(); in startAndUnlockUser() local
415 final int userId = createUserNoFlags(); in startAndUnlockUser_startedTwiceBefore() local
447 final int userId = createUserNoFlags(); in startAndUnlockUser_realistic() local
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/app_control/
H A Dapp_control_interface.h51 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule()
56 const std::vector<std::string> &appIds, int32_t userId) in DeleteAppInstallControlRule()
70 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in AddAppRunningControlRule()
75 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in DeleteAppRunningControlRule()
79 virtual ErrCode DeleteAppRunningControlRule(int32_t userId) in DeleteAppRunningControlRule()
83 virtual ErrCode GetAppRunningControlRule(int32_t userId, std::vector<std::string> &appIds) in GetAppRunningControlRule()
88 … const std::string &bundleName, int32_t userId, AppRunningControlRuleResult &controlRuleResult) in GetAppRunningControlRule()
93 int32_t userId) in ConfirmAppJumpControlRule()
105 … virtual ErrCode DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) in DeleteRuleByCallerBundleName()
109 … virtual ErrCode DeleteRuleByTargetBundleName(const std::string &targetBundleName, int32_t userId) in DeleteRuleByTargetBundleName()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/
H A Dmock_app_control_manager.cpp29 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule()
35 const std::vector<std::string>& appIds, int32_t userId) in DeleteAppInstallControlRule()
41 const AppInstallControlRuleType controlRuleType, int32_t userId) in DeleteAppInstallControlRule()
53 const std::vector<AppRunningControlRule>& controlRules, int32_t userId) in AddAppRunningControlRule()
59 const std::vector<AppRunningControlRule>& controlRules, int32_t userId) in DeleteAppRunningControlRule()
64 ErrCode AppControlProxy::DeleteAppRunningControlRule(int32_t userId) in DeleteAppRunningControlRule()
75 const std::string& bundleName, int32_t userId, AppRunningControlRuleResult& controlRuleResult) in GetAppRunningControlRule()
115 const std::string &targetBundleName, int32_t userId) in ConfirmAppJumpControlRule()
141 const std::string &targetBundleName, int32_t userId, AppJumpControlRule &controlRule) in GetAppJumpControlRule()
151 ErrCode AppControlProxy::DeleteDisposedStatus(const std::string& appId, int32_t userId) in DeleteDisposedStatus()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DPerformanceTracker.java62 private void createUserEntryIfNecessary(int userId) { in createUserEntryIfNecessary()
98 public void incrementTimedLockoutForUser(int userId) { in incrementTimedLockoutForUser()
104 public void incrementPermanentLockoutForUser(int userId) { in incrementPermanentLockoutForUser()
119 public int getAcceptForUser(int userId) { in getAcceptForUser()
123 public int getRejectForUser(int userId) { in getRejectForUser()
127 public int getAcquireForUser(int userId) { in getAcquireForUser()
131 public int getAcceptCryptoForUser(int userId) { in getAcceptCryptoForUser()
135 public int getRejectCryptoForUser(int userId) { in getRejectCryptoForUser()
139 public int getAcquireCryptoForUser(int userId) { in getAcquireCryptoForUser()
143 public int getTimedLockoutForUser(int userId) { in getTimedLockoutForUser()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/crypto/test/
H A Dfilesystem_crypto_test.cpp46 uint32_t userId = 108; variable
69 uint32_t userId = 19999; variable
91 uint32_t userId = 109; variable
115 uint32_t userId = 19999; variable
136 uint32_t userId = 110; variable
182 uint32_t userId = 111; variable
228 int32_t userId = 112; variable
257 int32_t userId = 100; variable
279 int32_t userId = 100; variable
301 int32_t userId = 100; variable
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_app_control_proxy_test/
H A Dbms_app_control_proxy_test.cpp62 int32_t userId = 100; variable
80 int32_t userId = 100; variable
96 int32_t userId = 100; variable
114 int32_t userId = 100; variable
129 int32_t userId = 100; variable
144 int32_t userId = 100; variable
160 int32_t userId = 100; variable
177 int32_t userId = 100; variable
192 int32_t userId = 100; variable
209 int32_t userId = 100; variable
[all …]
/aosp14/frameworks/base/apex/jobscheduler/framework/java/com/android/server/usage/
H A DAppStandbyInternal.java73 void postCheckIdleStates(int userId); in postCheckIdleStates()
83 long getTimeSinceLastJobRun(String packageName, int userId); in getTimeSinceLastJobRun()
85 void setEstimatedLaunchTime(String packageName, int userId, in setEstimatedLaunchTime()
93 long getEstimatedLaunchTime(String packageName, int userId); in getEstimatedLaunchTime()
102 void onUserRemoved(int userId); in onUserRemoved()
130 int[] getIdleUidsForUser(int userId); in getIdleUidsForUser()
135 int getAppStandbyBucket(String packageName, int userId, in getAppStandbyBucket()
138 List<AppStandbyInfo> getAppStandbyBuckets(int userId); in getAppStandbyBuckets()
182 void restrictApp(@NonNull String packageName, int userId, in restrictApp()
224 void addActiveDeviceAdmin(String adminPkg, int userId); in addActiveDeviceAdmin()
[all …]
/aosp14/frameworks/base/core/java/android/app/trust/
H A DITrustManager.aidl28 void reportUnlockAttempt(boolean successful, int userId); in reportUnlockAttempt()
29 void reportUserRequestedUnlock(int userId, boolean dismissKeyguard); in reportUserRequestedUnlock()
30 void reportUserMayRequestUnlock(int userId); in reportUserMayRequestUnlock()
31 void reportUnlockLockout(int timeoutMs, int userId); in reportUnlockLockout()
32 void reportEnabledTrustAgentsChanged(int userId); in reportEnabledTrustAgentsChanged()
36 void setDeviceLockedForUser(int userId, boolean locked); in setDeviceLockedForUser()
37 boolean isDeviceLocked(int userId, int displayId); in isDeviceLocked()
38 boolean isDeviceSecure(int userId, int displayId); in isDeviceSecure()
40 boolean isTrustUsuallyManaged(int userId); in isTrustUsuallyManaged()
41 void unlockedByBiometricForUser(int userId, in BiometricSourceType source); in unlockedByBiometricForUser()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dwifi_asset_manager_test.cpp36 int32_t userId = USER_ID_DEFAULT; variable
43 int32_t userId = USER_ID_DEFAULT; variable
50 int32_t userId = USER_ID_DEFAULT; variable
57 int32_t userId = USER_ID_DEFAULT; variable
65 int32_t userId = USER_ID_DEFAULT; variable
73 int32_t userId = USER_ID_DEFAULT; variable
80 int32_t userId = USER_ID_DEFAULT; variable
88 int32_t userId = USER_ID_DEFAULT; variable
/aosp14/frameworks/base/core/java/android/content/om/
H A DIOverlayManager.aidl43 Map<String, List<OverlayInfo>> getAllOverlays(in int userId); in getAllOverlays()
55 List<OverlayInfo> getOverlayInfosForTarget(in String targetPackageName, in int userId); in getOverlayInfosForTarget()
67 OverlayInfo getOverlayInfo(in String packageName, in int userId); in getOverlayInfo()
78 OverlayInfo getOverlayInfoByIdentifier(in OverlayIdentifier packageName, in int userId); in getOverlayInfoByIdentifier()
103 boolean setEnabled(in String packageName, in boolean enable, in int userId); in setEnabled()
116 boolean setEnabledExclusive(in String packageName, in boolean enable, in int userId); in setEnabledExclusive()
128 boolean setEnabledExclusiveInCategory(in String packageName, in int userId); in setEnabledExclusiveInCategory()
143 boolean setPriority(in String packageName, in String newParentPackageName, in int userId); in setPriority()
155 boolean setHighestPriority(in String packageName, in int userId); in setHighestPriority()
167 boolean setLowestPriority(in String packageName, in int userId); in setLowestPriority()
[all …]
/aosp14/frameworks/base/core/java/android/content/pm/
H A DIShortcutService.aidl30 int userId); in setDynamicShortcuts()
33 int userId); in addDynamicShortcuts()
37 void removeAllDynamicShortcuts(String packageName, int userId); in removeAllDynamicShortcuts()
42 in IntentSender resultIntent, int userId, in AndroidFuture<String> ret); in requestPinShortcut()
48 CharSequence disabledMessage, int disabledMessageResId, int userId); in disableShortcuts()
52 int getMaxShortcutCountPerActivity(String packageName, int userId); in getMaxShortcutCountPerActivity()
54 int getRemainingCallCount(String packageName, int userId); in getRemainingCallCount()
56 long getRateLimitResetTime(String packageName, int userId); in getRateLimitResetTime()
58 int getIconMaxDimensions(String packageName, int userId); in getIconMaxDimensions()
60 void reportShortcutUsed(String packageName, String shortcutId, int userId); in reportShortcutUsed()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/client/test/
H A Dstorage_manager_client_test.cpp66 uint32_t userId = 121; variable
91 uint32_t userId = 102; variable
116 uint32_t userId = 103; variable
140 uint32_t userId = 104; variable
165 uint32_t userId = 105; variable
192 uint32_t userId = 106; variable
219 uint32_t userId = 107; variable
249 uint32_t userId = 108; variable
280 uint32_t userId = 100; variable
302 uint32_t userId = 104; variable
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java264 public void userPresent(int userId) { in userPresent()
480 long challenge, int userId) { in verifyGatekeeperPasswordHandle()
570 int userId) { in getPasswordHistoryHashFactor()
632 public int getPinLength(int userId) { in getPinLength()
679 public void resetKeyStore(int userId) { in resetKeyStore()
832 public String getOwnerInfo(int userId) { in getOwnerInfo()
990 private String getSalt(int userId) { in getSalt()
1060 public boolean isSecure(int userId) { in isSecure()
1298 int userId) { in requireStrongAuth()
1778 int userId) { in handleStrongAuthRequiredChanged()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DITestSession.aidl35 void startEnroll(int userId); in startEnroll()
39 void finishEnroll(int userId); in finishEnroll()
43 void acceptAuthentication(int userId); in acceptAuthentication()
47 void rejectAuthentication(int userId); in rejectAuthentication()
51 void notifyAcquired(int userId, int acquireInfo); in notifyAcquired()
55 void notifyError(int userId, int errorCode); in notifyError()
61 void cleanupInternalState(int userId); in cleanupInternalState()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerInternal.java232 public abstract boolean isUserManaged(int userId); in isUserManaged()
241 public abstract void setUserIcon(int userId, Bitmap bitmap); in setUserIcon()
267 public abstract void onEphemeralUserStop(int userId); in onEphemeralUserStop()
302 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked()
307 public abstract boolean isUserRunning(int userId); in isUserRunning()
312 public abstract boolean isUserInitialized(int userId); in isUserInitialized()
317 public abstract boolean exists(int userId); in exists()
322 public abstract void setUserState(int userId, int userState); in setUserState()
327 public abstract void removeUserState(int userId); in removeUserState()
380 public abstract int getProfileParentId(int userId); in getProfileParentId()
[all …]
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java371 void startServiceForUser(int userId) { in startServiceForUser()
436 void onStopUser(int userId) { in onStopUser()
602 public void initializeTransports( in initializeTransports()
795 int userId = binderGetCallingUserId(); in setBackupPassword() local
810 int userId = binderGetCallingUserId(); in hasBackupPassword() local
853 public void adbBackup( in adbBackup()
926 int userId, in acknowledgeFullBackupOrRestoreForUser()
1069 int userId, in updateTransportAttributesForUser()
1111 public void updateTransportAttributes( in updateTransportAttributes()
1182 public void selectBackupTransportAsync( in selectBackupTransportAsync()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_list_manager_test/
H A Dmission_list_manager_test.cpp143 int userId = 0; variable
167 int userId = 0; variable
205 int userId = 0; variable
234 int userId = 0; variable
263 int userId = 0; variable
292 int userId = 0; variable
321 int userId = 0; variable
355 int userId = 0; variable
383 int userId = 0; variable
409 int userId = 0; variable
[all …]
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/
H A DCompanionApplicationController.java94 void onPackagesChanged(@UserIdInt int userId) { in onPackagesChanged()
210 private boolean isRebindingCompanionApplicationScheduled( in isRebindingCompanionApplicationScheduled()
218 private void onRebindingCompanionApplicationTimeout( in onRebindingCompanionApplicationTimeout()
241 final int userId = association.getUserId(); in notifyCompanionApplicationDeviceAppeared() local
266 final int userId = association.getUserId(); in notifyCompanionApplicationDeviceDisappeared() local
383 synchronized @NonNull List<ComponentName> forPackage( in forPackage()
388 synchronized void invalidate(@UserIdInt int userId) { in invalidate()
403 void setValueForPackage( in setValueForPackage()
424 T removePackage(@UserIdInt int userId, @NonNull String packageName) { in removePackage()
437 final int userId = keyAt(i); in dump() local
[all …]

12345678910>>...96