/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/sync_file_system/drive_backend/ |
H A D | drive_backend_sync_unittest.cc | 278 file_systems_[app_id]->WriteString(CreateURL(app_id, path), content); in UpdateLocalFile() 624 RegisterApp(app_id); in TEST_F() 640 RegisterApp(app_id); in TEST_F() 665 RegisterApp(app_id); in TEST_F() 687 RegisterApp(app_id); in TEST_F() 717 RegisterApp(app_id); in TEST_F() 739 RegisterApp(app_id); in TEST_F() 763 RegisterApp(app_id); in TEST_F() 789 RegisterApp(app_id); in TEST_F() 823 RegisterApp(app_id); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/child_accounts/time_limits/ |
H A D | app_activity_registry.cc | 171 Add(app_id); in OnAppInstalled() 208 if (IsWebAppOrExtension(app_id) && app_id != GetChromeAppId() && in OnAppAvailable() 392 app_info->set_app_id(app_id.app_id()); in GenerateHiddenApps() 430 const AppId& app_id = entry.app_id(); in GenerateAppActivityReport() local 441 app_info->set_app_id(app_id.app_id()); in GenerateAppActivityReport() 557 if (ContributesToWebTimeLimit(app_id, GetAppState(app_id))) in SetAppLimit() 563 if (ContributesToWebTimeLimit(app_id, GetAppState(app_id))) in SetAppLimit() 811 if (ContributesToWebTimeLimit(app_id, GetAppState(app_id))) in SetAppActive() 960 app_id, in CheckTimeLimitForApp() 1009 app_id, in ShowLimitUpdatedNotificationIfNeeded() [all …]
|
H A D | app_service_wrapper.cc | 50 return app_id; in AppIdFromInstanceUpdate() 56 ? arc::ArcPackageNameToAppId(app_id.app_id(), profile) in AppServiceIdFromAppId() 57 : app_id.app_id(); in AppServiceIdFromAppId() 167 const AppId& app_id, in GetAppIcon() argument 211 base::Optional<AppId> app_id; in AppIdFromAppServiceId() local 216 DCHECK(app_id); in AppIdFromAppServiceId() 217 return *app_id; in AppIdFromAppServiceId() 235 if (!ShouldIncludeApp(app_id)) in OnAppUpdate() 275 if (!ShouldIncludeApp(app_id)) in OnInstanceUpdate() 314 if (IsHiddenArcApp(app_id)) in ShouldIncludeApp() [all …]
|
H A D | app_activity_registry.h | 95 void OnAppActive(const AppId& app_id, 98 void OnAppInactive(const AppId& app_id, 101 void OnAppDestroyed(const AppId& app_id, 107 bool IsAppBlocked(const AppId& app_id) const; 109 bool IsAppActive(const AppId& app_id) const; 158 bool SetAppLimit(const AppId& app_id, 162 void SetAppAllowlisted(const AppId& app_id); 239 void OnAppReinstalled(const AppId& app_id); 247 void Add(const AppId& app_id); 273 const AppId& app_id, [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/components/ |
H A D | app_registrar.cc | 37 .IsPlaceholderApp(app_id); in IsPlaceholderApp() 50 observer.OnWebAppInstalled(app_id); in NotifyWebAppInstalled() 74 const AppId& app_id, in NotifyWebAppLocallyInstalledStateChanged() argument 137 const AppId& app_id, in HasExternalAppWithInstallSource() argument 200 best_app_id = app_id; in FindAppWithUrlInScope() 240 in_scope.push_back(app_id); in FindAppsInScope() 274 best_app_id = app_id; in FindInstalledAppWithUrlInScope() 290 const AppId& app_id) const { in GetAppEffectiveDisplayMode() 291 if (!IsLocallyInstalled(app_id)) in GetAppEffectiveDisplayMode() 310 const AppId& app_id) const { in GetEffectiveDisplayModeFromManifest() [all …]
|
H A D | file_handler_manager.cc | 78 if (!IsFileHandlingAPIAvailable(app_id)) in EnableAndRegisterOsFileHandlers() 103 const AppId& app_id) { in DisableAndUnregisterOsFileHandlers() argument 128 const AppId& app_id) { in MaybeUpdateFileHandlingOriginTrialExpiry() argument 152 const AppId& app_id) { in ForceEnableFileHandlingOriginTrial() argument 158 const AppId& app_id) { in DisableForceEnabledFileHandlingOriginTrial() argument 169 const AppId& app_id) { in GetEnabledFileHandlers() argument 170 if (AreFileHandlersEnabled(app_id) && IsFileHandlingAPIAvailable(app_id)) in GetEnabledFileHandlers() 171 return GetAllFileHandlers(app_id); in GetEnabledFileHandlers() 191 const AppId& app_id, in OnOriginTrialExpiryTimeReceived() argument 205 const AppId& app_id, in UpdateFileHandlersForOriginTrialExpiryTime() argument [all …]
|
H A D | app_registrar.h | 82 const AppId& app_id, 93 const AppId& app_id) const = 0; 95 const AppId& app_id) const = 0; 98 const AppId& app_id) const = 0; 100 const AppId& app_id) const = 0; 107 const AppId& app_id) const = 0; 112 const AppId& app_id) const = 0; 120 const AppId& app_id) const = 0; 124 const AppId& app_id) const = 0; 133 const AppId& app_id) const = 0; [all …]
|
H A D | file_handler_manager_unittest.cc | 133 const AppId app_id = "app-id"; in TEST_F() local 171 const AppId app_id = "app-id"; in TEST_F() local 180 const AppId app_id = "app-id"; in TEST_F() local 192 const AppId app_id = "app-id"; in TEST_F() local 205 const AppId app_id = "app-id"; in TEST_F() local 218 const AppId app_id = "app-id"; in TEST_F() local 232 const AppId app_id = "app-id"; in TEST_F() local 243 app_id, {path1, path2})); in TEST_F() 247 const AppId app_id = "app-id"; in TEST_F() local 261 const AppId app_id = "app-id"; in TEST_F() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/ |
H A D | web_app_migration_manager.cc | 113 AppId app_id; in MigrateNextBookmarkAppIcons() local 120 app_id = *next_app_id_iterator_; in MigrateNextBookmarkAppIcons() 122 } while (!CanMigrateBookmarkApp(app_id)); in MigrateNextBookmarkAppIcons() 138 app_id, std::move(icon_bitmaps), in OnBookmarkAppIconsRead() 150 app_id, in OnWebAppIconsWritten() 160 const AppId& app_id, in OnBookmarkAppShortcutsMenuIconsRead() argument 175 const AppId& app_id, in MigrateBookmarkAppInstallSource() argument 224 const AppId& app_id) { in MigrateBookmarkApp() argument 225 DCHECK(CanMigrateBookmarkApp(app_id)); in MigrateBookmarkApp() 261 app_id)); in MigrateBookmarkApp() [all …]
|
H A D | web_app_registrar.cc | 28 auto it = registry_.find(app_id); in GetAppById() 78 const AppId& app_id) const { in GetAppThemeColor() 84 const AppId& app_id) const { in GetAppBackgroundColor() 95 const AppId& app_id) const { in GetAppLaunchQueryParams() 101 const AppId& app_id) const { in GetAppShareTarget() 109 const AppId& app_id) const { in GetAppScopeInternal() 135 const AppId& app_id) const { in GetAppDisplayModeOverride() 152 const AppId& app_id) const { in GetAppIconInfos() 159 const AppId& app_id) const { in GetAppDownloadedIconSizesAny() 174 const AppId& app_id) const { in GetAppDownloadedShortcutsMenuIconsSizes() [all …]
|
H A D | web_app_icon_manager_unittest.cc | 266 const AppId app_id = web_app->app_id(); in TEST_F() local 305 const AppId app_id = web_app->app_id(); in TEST_F() local 343 const AppId app_id = web_app->app_id(); in TEST_F() local 405 const AppId app_id = web_app->app_id(); in TEST_F() local 501 const AppId app_id = web_app->app_id(); in TEST_F() local 529 const AppId app_id = web_app->app_id(); in TEST_F() local 561 const AppId app_id = web_app->app_id(); in TEST_F() local 582 const AppId app_id = web_app->app_id(); in TEST_F() local 612 const AppId app_id = web_app->app_id(); in TEST_F() local 637 const AppId app_id = web_app->app_id(); in TEST_F() local [all …]
|
H A D | web_app_install_finalizer.cc | 199 const AppId& app_id, in FinalizeUninstallAfterSync() argument 213 const AppId& app_id, in UninstallExternalWebApp() argument 230 const AppId& app_id, in UninstallWebAppFromSyncByUser() argument 246 const AppId& app_id, in UninstallExternalAppByUser() argument 344 const AppId& app_id, in UninstallWebAppOrRemoveSource() argument 374 AppId app_id = web_app->app_id(); in SetWebAppManifestFieldsAndWriteData() local 401 AppId app_id = web_app->app_id(); in OnIconsDataWritten() local 420 AppId app_id = web_app->app_id(); in OnShortcutsMenuIconsDataWritten() local 436 const AppId& app_id, in OnIconsDataDeleted() argument 444 AppId app_id, in OnDatabaseCommitCompletedForInstall() argument [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/apps/app_shim/ |
H A D | web_app_shim_manager_delegate_mac.cc | 25 if (UseFallback(profile, app_id)) in ShowAppWindows() 33 if (UseFallback(profile, app_id)) { in CloseAppWindows() 43 if (UseFallback(profile, app_id)) { in AppIsInstalled() 52 if (UseFallback(profile, app_id)) in AppCanCreateHost() 60 if (UseFallback(profile, app_id)) in AppUsesRemoteCocoa() 68 if (UseFallback(profile, app_id)) in AppIsMultiProfile() 88 const AppId& app_id, in LaunchApp() argument 91 if (UseFallback(profile, app_id)) { in LaunchApp() 110 const AppId& app_id, in LaunchShim() argument 115 if (UseFallback(profile, app_id)) { in LaunchShim() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/gcm_driver/ |
H A D | gcm_driver.cc | 44 DCHECK(!app_id.empty()); in Register() 102 DCHECK(!app_id.empty()); in UnregisterInternal() 123 UnregisterImpl(app_id); in UnregisterInternal() 130 DCHECK(!app_id.empty()); in Send() 222 DCHECK(!app_id.empty()); in AddAppHandler() 225 app_handlers_[app_id] = handler; in AddAppHandler() 230 DCHECK(!app_id.empty()); in RemoveAppHandler() 231 app_handlers_.erase(app_id); in RemoveAppHandler() 267 app_id, message, in DispatchMessage() 318 const std::string& app_id, in RegisterAfterUnregister() argument [all …]
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libcutils/ |
H A D | multiuser.cpp | 28 uid_t multiuser_get_uid(userid_t user_id, appid_t app_id) { in multiuser_get_uid() argument 32 gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_cache_gid() argument 33 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_cache_gid() 40 gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_gid() argument 41 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_ext_gid() 49 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_ext_cache_gid() 56 gid_t multiuser_get_shared_gid(userid_t, appid_t app_id) { in multiuser_get_shared_gid() argument 57 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_shared_gid() 58 return (app_id - AID_APP_START) + AID_SHARED_GID_START; in multiuser_get_shared_gid() 59 } else if (app_id >= AID_ROOT && app_id <= AID_APP_START) { in multiuser_get_shared_gid() [all …]
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libcutils/ |
H A D | multiuser.cpp | 28 uid_t multiuser_get_uid(userid_t user_id, appid_t app_id) { in multiuser_get_uid() argument 32 gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_cache_gid() argument 33 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_cache_gid() 40 gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_gid() argument 41 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_ext_gid() 49 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_ext_cache_gid() 56 gid_t multiuser_get_shared_gid(userid_t, appid_t app_id) { in multiuser_get_shared_gid() argument 57 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_shared_gid() 58 return (app_id - AID_APP_START) + AID_SHARED_GID_START; in multiuser_get_shared_gid() 59 } else if (app_id >= AID_ROOT && app_id <= AID_APP_START) { in multiuser_get_shared_gid() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/extensions/ |
H A D | bookmark_app_registrar.cc | 55 const web_app::AppId& app_id) const { in IsLocallyInstalled() 62 const web_app::AppId& app_id) const { in WasInstalledByUser() 116 const web_app::AppId& app_id) const { in GetAppShortName() 122 const web_app::AppId& app_id) const { in GetAppDescription() 128 const web_app::AppId& app_id) const { in GetAppThemeColor() 137 const web_app::AppId& app_id) const { in GetAppBackgroundColor() 143 const web_app::AppId& app_id) const { in GetAppStartUrl() 151 const web_app::AppId& app_id) const { in GetAppLaunchQueryParams() 157 const web_app::AppId& app_id) const { in GetAppShareTarget() 162 const web_app::AppId& app_id) const { in GetAppScopeInternal() [all …]
|
H A D | bookmark_app_registrar.h | 45 const web_app::AppId& app_id) const override; 47 const web_app::AppId& app_id) const override; 50 const web_app::AppId& app_id) const override; 52 const web_app::AppId& app_id) const override; 54 const web_app::AppId& app_id) const override; 56 const web_app::AppId& app_id) const override; 58 const web_app::AppId& app_id) const override; 60 const web_app::AppId& app_id) const override; 64 const web_app::AppId& app_id) const override; 80 const web_app::AppId& app_id) const; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/apps/app_service/ |
H A D | web_apps_chromeos.cc | 111 const std::string& app_id, in LaunchAppWithIntent() argument 168 SetIconEffect(app_id); in PauseApp() 188 SetIconEffect(app_id); in UnpauseApps() 246 if (!web_app || !Accepts(app_id)) { in OnWebAppUninstalled() 261 if (!web_app || !Accepts(app_id)) { in OnWebAppDisabledStateChanged() 332 if (!web_app || !Accepts(app_id)) { in MaybeAddNotification() 356 if (app_id.has_value()) { in MaybeAddWebPageNotifications() 425 for (auto& app_id : app_ids) { in ApplyChromeBadge() local 426 if (GetWebApp(app_id)) { in ApplyChromeBadge() 427 SetIconEffect(app_id); in ApplyChromeBadge() [all …]
|
H A D | app_service_metrics.cc | 184 void RecordAppLaunch(const std::string& app_id, in RecordAppLaunch() argument 186 if (app_id == extension_misc::kCalculatorAppId) in RecordAppLaunch() 213 else if (app_id == arc::kGoogleDuoAppId) in RecordAppLaunch() 219 else if (app_id == extension_misc::kGmailAppId || app_id == arc::kGmailAppId) in RecordAppLaunch() 227 else if (app_id == arc::kPlayBooksAppId) in RecordAppLaunch() 229 else if (app_id == arc::kPlayGamesAppId) in RecordAppLaunch() 231 else if (app_id == arc::kPlayMoviesAppId || in RecordAppLaunch() 234 else if (app_id == arc::kPlayMusicAppId || in RecordAppLaunch() 237 else if (app_id == arc::kPlayStoreAppId) in RecordAppLaunch() 246 else if (app_id == extensions::kWebStoreAppId) in RecordAppLaunch() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/test/ |
H A D | test_app_registrar.h | 42 void RemoveExternalApp(const AppId& app_id); 46 bool IsInstalled(const AppId& app_id) const override; 47 bool IsLocallyInstalled(const AppId& app_id) const override; 54 const AppId& app_id, 61 const AppId& app_id) const override; 64 const AppId& app_id) const override; 66 const AppId& app_id) const override; 71 const AppId& app_id) const override; 75 const AppId& app_id) const override; 77 const AppId& app_id) const override; [all …]
|
H A D | test_app_registrar.cc | 23 installed_apps_[app_id] = info; in AddExternalApp() 28 installed_apps_.erase(app_id); in RemoveExternalApp() 70 const AppId& app_id, in HasExternalAppWithInstallSource() argument 96 const AppId& app_id) const { in GetAppThemeColor() 102 const AppId& app_id) const { in GetAppBackgroundColor() 116 const AppId& app_id) const { in GetAppLaunchQueryParams() 121 const AppId& app_id) const { in GetAppShareTarget() 126 const AppId& app_id) const { in GetAppScopeInternal() 145 const AppId& app_id) const { in GetAppDisplayModeOverride() 161 const AppId& app_id) const { in GetAppIconInfos() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/launcher/app_service/ |
H A D | app_service_instance_registry_helper.cc | 66 if (app_id.empty()) in OnActiveTabChanged() 71 if (!app_id.empty()) { in OnActiveTabChanged() 92 if (app_id.empty()) in OnActiveTabChanged() 151 if (app_id.empty()) in OnTabClosing() 291 if (app_id.empty()) in OnWindowVisibilityChanged() 351 app_id = app_id.empty() ? GetAppId(contents) : app_id; in SetWindowActivated() 366 if (app_id.empty()) in SetWindowActivated() 460 return app_id; in GetAppId() 468 if (!app_id.empty()) in GetAppId() 469 return app_id; in GetAppId() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/web_applications/ |
H A D | web_app_file_handling_browsertest.cc | 137 const web_app::AppId& app_id() { return app_id_; } in app_id() function in WebAppFileHandlingTestBase 160 const std::string& app_id, in LaunchApplication() argument 202 const std::string& app_id, in LaunchWithFiles() argument 263 LaunchWithFiles(app_id(), GetSecureAppURL(), {}, in IN_PROC_BROWSER_TEST_F() 302 if (registrar().IsInstalled(app_id())) in SetUpInterceptorNavigateToAppAndMaybeWait() 437 web_contents(), app_id()); in IN_PROC_BROWSER_TEST_F() 470 web_contents(), app_id()); in IN_PROC_BROWSER_TEST_F() 526 web_app::AppId app_id = in InstallFileHandlingWebApp() local 538 return app_id; in InstallFileHandlingWebApp() 551 profile(), app_id, start_url, in IN_PROC_BROWSER_TEST_F() [all …]
|
/dports/security/snort3/snort3-3.1.19.0/src/network_inspectors/appid/ |
H A D | appid_app_descriptor.cc | 23 if ( my_id != app_id ) in set_id() 25 my_id = app_id; in set_id() 26 if ( app_id > APP_ID_NONE ) in set_id() 27 update_stats(app_id); in set_id() 28 else if ( app_id == APP_ID_UNKNOWN ) in set_id() 44 if ( my_id != app_id ) in set_id() 46 set_id(app_id); in set_id() 68 if (get_id() != app_id) in set_id() 83 if ( my_user_id != app_id ) in update_user() 85 my_user_id = app_id; in update_user() [all …]
|