Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 4131) sorted by relevance

12345678910>>...166

/aosp12/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
H A DAppStateUsageStatsBridgeTest.java19 import android.app.usage.UsageStats;
20 import android.app.usage.UsageStatsManager;
99 ApplicationsState.AppEntry app = in test_appInstalledSameDayNeverUsed_isInvalid() local
113 ApplicationsState.AppEntry app = in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() local
127 ApplicationsState.AppEntry app = in test_unusedApp_isValid() local
141 ApplicationsState.AppEntry app = in test_noThresholdFilter_unusedApp_isValid() local
155 ApplicationsState.AppEntry app = in test_unknownLastUse_isFilteredOut() local
170 ApplicationsState.AppEntry app = in test_noThresholdFilter_unknownLastUse_isFilteredOut() local
185 ApplicationsState.AppEntry app = in test_oldAppRecentlyUsed_isNotValid() local
407 app.info = info; in addPackageToPackageManager()
[all …]
H A DAppsAsyncLoaderTest.java19 import android.app.usage.UsageStats;
20 import android.app.usage.UsageStatsManager;
117 AppsAsyncLoader.PackageInfo app = in test_appInstalledSameDayNeverUsed_isInvalid() local
125 AppsAsyncLoader.PackageInfo app = in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() local
133 AppsAsyncLoader.PackageInfo app = in test_unusedApp_isValid() local
141 AppsAsyncLoader.PackageInfo app = in test_noThresholdFilter_unusedApp_isValid() local
192 app.flags = ApplicationInfo.FLAG_SYSTEM; in test_systemApps_areInvalid()
357 AppsAsyncLoader.PackageInfo app = in createPackage() local
364 app.packageName = packageName; in createPackage()
365 app.label = packageName; in createPackage()
[all …]
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DMockingOomAdjusterTests.java522 backupTarget.app = app; in testUpdateOomAdj_DoOne_Backup()
677 bindService(app, app, null, 0, mock(IBinder.class)); in testUpdateOomAdj_DoOne_Service_Self()
680 lru.add(app); in testUpdateOomAdj_DoOne_Service_Self()
953 bindProvider(app, app, null, null, false); in testUpdateOomAdj_DoOne_Provider_Self()
970 lru.add(app); in testUpdateOomAdj_DoOne_Provider_Cached_Activity()
1113 lru.add(app); in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService_Cycle()
1150 lru.add(app); in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService_Cycle_2()
1179 lru.add(app); in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService_Cycle_3()
1215 lru.add(app); in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService_Cycle_4()
2164 return app; in makeProcessRecord()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DProcessList.java2514 if (app != null && app.getPid() > 0) {
2606 if (mProcessNames.get(app.processName, app.uid) != app) {
2675 app.processName, app.uid, app.getSeInfo(), app.info.sourceDir, pid);
5021 if (mProcessNames.get(app.processName, app.uid) != app in handleDyingAppDeathLocked()
5022 && mDyingProcesses.get(app.processName, app.uid) == app) { in handleDyingAppDeathLocked()
5091 if (app.getPid() > 0 && !app.isolated && app.getDeathRecipient() != null) { in noteAppKill()
5093 mDyingProcesses.put(app.processName, app.uid, app); in noteAppKill()
5094 app.setDyingPid(app.getPid()); in noteAppKill()
5111 if (app != null && app.uid == uid && !app.isolated && app.getDeathRecipient() != null) { in noteAppKill()
5114 app.setDyingPid(app.getPid()); in noteAppKill()
[all …]
H A DOomAdjuster.java790 if (app != null) { in enqueueOomAdjTargetLocked()
797 if (app != null) { in removeOomAdjTargetLocked()
945 if (!app.isKilledByAm() && app.getThread() != null) { in updateOomAdjInnerLSP()
1190 if (!app.isKilledByAm() && app.getThread() != null) { in updateAndTrimProcessLSP()
1278 if (!app.isKilledByAm() && app.getThread() != null) { in updateAppUidRecIfNecessaryLSP()
1279 if (app.isolated && app.mServices.numberOfRunningServices() <= 0 in updateAppUidRecIfNecessaryLSP()
1416 this.app = app; in initialize()
1881 if (backupTarget != null && app == backupTarget.app) { in computeOomAdjLSP()
2629 ProcessList.setOomAdj(app.getPid(), app.uid, state.getCurAdj()); in applyOomAdjLSP()
2773 + (app.mProfile.getNextPssTime() - now) + ": " + app); in applyOomAdjLSP()
[all …]
H A DCachedAppOptimizer.java23 import android.app.ActivityManager;
24 import android.app.ActivityThread;
25 import android.app.ApplicationExitInfo;
445 COMPACT_PROCESS_MSG, app.mState.getSetAdj(), app.mState.getSetProcState())); in compactAppSome()
462 COMPACT_PROCESS_MSG, app.mState.getSetAdj(), app.mState.getSetProcState())); in compactAppFull()
481 COMPACT_PROCESS_MSG, app.mState.getCurAdj(), app.mState.getSetProcState())); in compactAppPersistent()
499 COMPACT_PROCESS_MSG, app.mState.getCurAdj(), app.mState.getSetProcState())); in compactAppBfgs()
905 if (app.mOptRecord.isFrozen() || app.mOptRecord.isPendingFreeze()) { in unfreezeTemporarily()
927 Slog.d(TAG_AM, "Async freezing " + app.getPid() + " " + app.processName); in freezeAppAsyncLSP()
1044 compactAppSome(app); in onOomAdjustChanged()
[all …]
/aosp12/frameworks/base/apex/appsearch/framework/api/
H A Dcurrent.txt2 package android.app.appsearch {
67 …method @NonNull public android.app.appsearch.AppSearchSchema.Builder addProperty(@NonNull android.
146 …method @NonNull public android.app.appsearch.SearchResults search(@NonNull String, @NonNull androi…
216 …method @NonNull public android.app.appsearch.GetSchemaResponse.Builder addSchema(@NonNull android.
224 …method @NonNull public android.app.appsearch.SearchResults search(@NonNull String, @NonNull androi…
246 …method @NonNull public android.app.appsearch.PutDocumentsRequest.Builder addGenericDocuments(@NonN…
299 …method @NonNull public android.app.appsearch.SearchResult.Builder addMatchInfo(@NonNull android.ap…
301 …method @NonNull public android.app.appsearch.SearchResult.Builder setGenericDocument(@NonNull andr…
394 …method @NonNull public android.app.appsearch.SetSchemaRequest.Builder addSchemas(@NonNull android.
398 …method @NonNull public android.app.appsearch.SetSchemaRequest.Builder setMigrator(@NonNull String,…
[all …]
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DInsetsStateControllerTest.java87 app.setWindowingMode(WINDOWING_MODE_PINNED); in testStripForDispatch_pip()
102 app.setWindowingMode(WINDOWING_MODE_FREEFORM); in testStripForDispatch_freeform()
117 app.setAlwaysOnTop(true); in testStripForDispatch_multiwindow_alwaysOnTop()
189 final WindowState app = spy(win); in testStripForDispatch_imeOrderChanged() local
190 parent.addWindow(app); in testStripForDispatch_imeOrderChanged()
193 app.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testStripForDispatch_imeOrderChanged()
203 clearInvocations(app); in testStripForDispatch_imeOrderChanged()
206 app.mAttrs.flags &= ~FLAG_NOT_FOCUSABLE; in testStripForDispatch_imeOrderChanged()
294 getController().onBarControlTargetChanged(app, null, app, null); in testBarControllingWinChanged()
330 spyOn(app.mToken); in testTransientVisibilityOfFixedRotationState()
[all …]
H A DWindowStateTests.java418 app.mAttrs.alpha = 0.0f; in testCanAffectSystemUiFlags()
441 app, null /* fakeTopControlling */, app, null /* fakeNavControlling */); in testVisibleWithInsetsProvider()
487 app.mLayoutSeq = 1; in testLayoutSeqResetOnReparent()
513 makeWindowVisible(app); in testSeamlesslyRotateWindow()
517 app.updateSurfacePosition(t); in testSeamlesslyRotateWindow()
531 final float[] curSurfacePos = {app.mLastSurfacePosition.x, app.mLastSurfacePosition.y}; in testSeamlesslyRotateWindow()
543 app.updateSurfacePosition(t); in testSeamlesslyRotateWindow()
858 spyOn(app); in testSetFreezeInsetsState()
864 app.freezeInsetsState(); in testSetFreezeInsetsState()
935 spyOn(app); in testUpdateImeControlTargetWhenLeavingMultiWindow()
[all …]
/aosp12/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_bundle.py111 for app, package in self._tests_apk.items():
148 for app in self._tests_ndk:
166 def _install_apk(self, app, package): argument
178 self._log.info('pushing {0}'.format(app))
199 app, output))
210 self._install_apk(app, package)
225 for app in self._tests_ndk:
228 self._android.kill_all_processes(app)
258 self._install_apk(app, package)
367 for app in self._tests_ndk:
[all …]
/aosp12/system/linkerconfig/testdata/golden_output/stage0/
H A Dld.config.txt12 dir.system = /product/app/
24 namespace.default.permitted.paths += /system/app
30 namespace.default.permitted.paths += /vendor/app
36 namespace.default.permitted.paths += /odm/app
37 namespace.default.permitted.paths += /odm/priv-app
38 namespace.default.permitted.paths += /oem/app
40 namespace.default.permitted.paths += /product/app
151 namespace.system.permitted.paths += /system/app
157 namespace.system.permitted.paths += /vendor/app
163 namespace.system.permitted.paths += /odm/app
[all …]
/aosp12/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
H A DmissingSinces.txt9 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackFragment Class
11 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackFragmentGlueHost Class
12 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackGlue Class
18 NO DOC BLOCK: android.support.v17.leanback.app.PlaybackSupportFragment Class
24 NO DOC BLOCK: android.support.v17.leanback.app.SurfaceHolderGlueHost Interface
25 …android.support.v17.leanback.app.MediaControllerGlue Constructor (android.content.Context, android…
26 …android.support.v17.leanback.app.PlaybackControlGlue Constructor (android.content.Context, android…
72 NO DOC BLOCK: android.support.v4.app.FragmentManager Method registerFragmentLifecycleCallbacks(andr…
81 …LOCK: android.support.v17.leanback.app.PlaybackOverlayFragment Method setEventHandler(android.supp…
82 …: android.support.v17.leanback.app.PlaybackOverlaySupportFragment Method setEventHandler(android.s…
[all …]
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAppObserver.java82 return app; in getApp()
99 if (app != null) { in handleAccountChanges()
113 mFullList.put(app, newAccountList); in handleAccountChanges()
226 registerObserver(app); in initObservers()
235 unregisterObserver(app); in deinitObservers()
307 if (app != null) { in createReceiver()
308 registerObserver(app); in createReceiver()
324 if (app != null) { in createReceiver()
325 unregisterObserver(app); in createReceiver()
326 mFullList.remove(app); in createReceiver()
[all …]
/aosp12/system/chre/platform/shared/
H A Dmemory_manager.cc23 void *MemoryManager::nanoappAlloc(Nanoapp *app, uint32_t bytes) { in nanoappAlloc() argument
29 app->getInstanceId()); in nanoappAlloc()
34 app->getInstanceId()); in nanoappAlloc()
40 app->setTotalAllocatedBytes(app->getTotalAllocatedBytes() + bytes); in nanoappAlloc()
47 header->data.instanceId = app->getInstanceId(); in nanoappAlloc()
55 void MemoryManager::nanoappFree(Nanoapp *app, void *ptr) { in nanoappFree() argument
63 if (app->getInstanceId() != header->data.instanceId) { in nanoappFree()
65 app->getInstanceId(), header->data.instanceId); in nanoappFree()
70 app->setTotalAllocatedBytes(nanoAppTotalAllocatedBytes - in nanoappFree()
73 app->setTotalAllocatedBytes(0); in nanoappFree()
[all …]
/aosp12/frameworks/opt/car/services/src/com/android/internal/car/
H A DCarDevicePolicySafetyChecker.java19 import static android.app.admin.DevicePolicyManager.OPERATION_LOGOUT_USER;
20 import static android.app.admin.DevicePolicyManager.OPERATION_REBOOT;
21 import static android.app.admin.DevicePolicyManager.OPERATION_REQUEST_BUGREPORT;
23 import static android.app.admin.DevicePolicyManager.OPERATION_SET_APPLICATION_HIDDEN;
25 import static android.app.admin.DevicePolicyManager.OPERATION_SET_KEYGUARD_DISABLED;
30 import static android.app.admin.DevicePolicyManager.OPERATION_SET_SYSTEM_SETTING;
31 import static android.app.admin.DevicePolicyManager.OPERATION_SWITCH_USER;
32 import static android.app.admin.DevicePolicyManager.operationToString;
35 import android.app.admin.DevicePolicyManager.DevicePolicyOperation;
36 import android.app.admin.DevicePolicyManagerLiteInternal;
[all …]
/aosp12/frameworks/base/startop/view_compiler/
H A Dlayout_validation_test.cc46 xmlns:app="http://schemas.android.com/apk/res-auto"
58 app:layout_constraintBottom_toBottomOf="parent"
59 app:layout_constraintEnd_toEndOf="parent" />
68 app:layout_constraintBottom_toBottomOf="parent"
78 app:layout_constraintBottom_toBottomOf="parent"
116 app:layout_constraintEnd_toEndOf="parent"
117 app:layout_constraintStart_toStartOf="parent"
118 app:layout_constraintTop_toTopOf="parent" />
137 app:layout_constraintEnd_toEndOf="parent"
138 app:layout_constraintStart_toStartOf="parent"
[all …]
/aosp12/system/chre/core/tests/
H A Dmemory_manager_test.cc39 Nanoapp app; in TEST() local
40 void *ptr = manager.nanoappAlloc(&app, 1u); in TEST()
44 manager.nanoappFree(&app, ptr); in TEST()
51 Nanoapp app; in TEST() local
52 manager.nanoappFree(&app, nullptr); in TEST()
59 Nanoapp app; in TEST() local
60 void *ptr = manager.nanoappAlloc(&app, 0u); in TEST()
68 Nanoapp app; in TEST() local
76 Nanoapp app; in TEST() local
93 manager.nanoappFree(&app, curr); in TEST()
[all …]
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DBackupEligibilityRules.java26 import android.app.backup.BackupManager.OperationType;
27 import android.app.backup.BackupTransport;
30 import android.app.compat.CompatChanges;
120 if (!isAppBackupAllowed(app)) { in appIsEligibleForBackup()
125 if (UserHandle.isCore(app.uid)) { in appIsEligibleForBackup()
134 if (app.backupAgentName == null) { in appIsEligibleForBackup()
145 if (app.isInstantApp()) { in appIsEligibleForBackup()
149 return !appIsDisabled(app); in appIsEligibleForBackup()
171 String packageName = app.packageName; in isAppBackupAllowed()
260 ApplicationInfo app) { in appIsDisabled() argument
[all …]
/aosp12/frameworks/base/libs/androidfw/tests/
H A DTheme_test.cpp29 namespace app = com::android::app;
86 value = theme->GetAttribute(app::R::attr::attr_two); in TEST_F()
106 value = theme->GetAttribute(app::R::attr::attr_two); in TEST_F()
147 value = theme->GetAttribute(app::R::attr::attr_six); in TEST_F()
154 value = theme->GetAttribute(app::R::attr::attr_five); in TEST_F()
157 EXPECT_EQ(app::R::string::string_one, value->data); in TEST_F()
177 value = theme->GetAttribute(app::R::attr::attr_six); in TEST_F()
268 const uint32_t styles[] = {app::R::style::StyleOne, app::R::style::StyleDayNight}; in TEST_F()
281 value = theme->GetAttribute(app::R::attr::attr_two); in TEST_F()
288 const uint32_t styles[] = {app::R::style::StyleOne, app::R::style::StyleDayNight}; in TEST_F()
[all …]
/aosp12/system/chre/core/
H A Devent_loop.cc53 info->appId = app->getAppId(); in populateNanoappInfo()
54 info->version = app->getAppVersion(); in populateNanoappInfo()
71 if (app->getAppId() == appId) { in findNanoappInstanceIdByAppId()
372 app->logStateToBuffer(debugDump); in logStateToBuffer()
399 if (app->hasPendingEvent()) { in deliverEvents()
409 mCurrentApp = app.get(); in deliverNextEvent()
417 return app->hasPendingEvent(); in deliverNextEvent()
426 app->postEvent(event); in distributeEvent()
469 if (app->getAppId() == appId) { in lookupAppByAppId()
470 return app.get(); in lookupAppByAppId()
[all …]
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
H A DPropertiesProvisioningDataParser.java28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCALE;
29 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCAL_TIME;
31 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_SKIP_ENCRYPTION;
32 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_TIME_ZONE;
36 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_DOMAIN;
38 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_HIDDEN;
39 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_IDENTITY;
40 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PAC_URL;
41 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PASSWORD;
47 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID;
[all …]
H A DExtrasProvisioningDataParser.java19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_FINANCED_DEVICE;
20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE;
32 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DISCLAIMERS;
37 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCALE;
38 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCAL_TIME;
39 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOGO_URI;
47 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_TIME_ZONE;
62 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID;
66 import static android.app.admin.DevicePolicyManager.PROVISIONING_TRIGGER_QR_CODE;
[all …]
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DTransformParams.java146 RemoteAnimationTargetCompat app = targets.unfilteredApps[i]; in createSurfaceParams() local
149 if (app.mode == targets.targetMode) { in createSurfaceParams()
155 && app.isNotInRecents) { in createSurfaceParams()
162 proxy.onBuildTargetParams(builder, app, this); in createSurfaceParams()
165 mBaseBuilderProxy.onBuildTargetParams(builder, app, this); in createSurfaceParams()
174 RemoteAnimationTargetCompat app = targets.unfilteredApps[i]; in getRecentsSurface() local
175 if (app.mode == targets.targetMode) { in getRecentsSurface()
177 return app.leash.getSurfaceControl(); in getRecentsSurface()
180 return app.leash.getSurfaceControl(); in getRecentsSurface()
223 BuilderProxy NO_OP = (builder, app, params) -> { };
[all …]
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
H A DPermissionAppsFragment.java20 import android.app.ActionBar;
21 import android.app.AlertDialog;
136 systemScreenApps.add(app); in onPermissionsLoaded()
138 mainScreenApps.add(app); in onPermissionsLoaded()
204 String key = app.getKey(); in updateCategories()
208 app.areRuntimePermissionsGranted() && !app.getPermissionGroup().isOneTime(); in updateCategories()
243 if (app.isSystemFixed()) { in updateCategories()
251 preference.setEnabled(!app.isSystemFixed() && !app.isPolicyFixed()); in updateCategories()
307 app.getPackageName())) { in onPreferenceClick()
312 addToggledGroup(app.getPackageName(), app.getPermissionGroup()); in onPreferenceClick()
[all …]
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
H A DKotlinUtils.kt29 import android.app.Application
301 app: Application,
389 app: Application,
418 app: Application,
464 app: Application,
487 app: Application,
495 app: Application,
542 app: Application,
647 app: Application,
672 app: Application,
[all …]

12345678910>>...166