Searched refs:app1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SlicePermissionActivity.java | 66 CharSequence app1 = BidiFormatter.getInstance().unicodeWrap(pm.getApplicationInfo( in onCreate() local 75 .setTitle(getString(R.string.slice_permission_title, app1, app2)) in onCreate() 89 mAllCheckbox.setText(getString(R.string.slice_permission_checkbox, app1)); in onCreate()
|
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/ |
D | Android.bp | 31 "app1/res",
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsStateControllerTest.java | 127 final WindowState app1 = createWindow(null, TYPE_APPLICATION, "app1"); in testStripForDispatch_independentSources() local 130 app1.mAboveInsetsState.addSource(getController().getRawInsetsState().getSource(ITYPE_IME)); in testStripForDispatch_independentSources() 135 assertTrue(getController().getInsetsForWindow(app1).getSource(ITYPE_IME) in testStripForDispatch_independentSources()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 1482 final ProcessRecord app1 = spy(makeDefaultProcessRecord(MOCKAPP_PID, MOCKAPP_UID, in testUpdateOomAdj_DoOne_ScheduleLikeTop() local 1490 bindService(app1, client1, null, Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE, in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1498 sService.mOomAdjuster.updateOomAdjLocked(app1, OomAdjuster.OOM_ADJ_REASON_NONE); in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1501 assertProcStates(app1, PROCESS_STATE_BOUND_FOREGROUND_SERVICE, VISIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1506 bindService(app1, client1, null, Context.BIND_SCHEDULE_LIKE_TOP_APP, mock(IBinder.class)); in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1508 sService.mOomAdjuster.updateOomAdjLocked(app1, OomAdjuster.OOM_ADJ_REASON_NONE); in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1511 assertProcStates(app1, PROCESS_STATE_BOUND_FOREGROUND_SERVICE, VISIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1517 sService.mOomAdjuster.updateOomAdjLocked(app1, OomAdjuster.OOM_ADJ_REASON_NONE); in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1519 assertProcStates(app1, PROCESS_STATE_IMPORTANT_FOREGROUND, VISIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1528 final ProcessRecord app1 = spy(makeDefaultProcessRecord(MOCKAPP_PID, MOCKAPP_UID, in testUpdateOomAdj_UidIdle_StopService() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 5120 final String app1 = "com.example.app1"; in testGetPermissionGrantState() local 5123 when(getServices().ipackageManager.checkPermission(eq(permission), eq(app1), anyInt())) in testGetPermissionGrantState() 5126 .getPermissionFlags(permission, app1, UserHandle.SYSTEM); in testGetPermissionGrantState() 5127 when(getServices().packageManager.getPermissionFlags(permission, app1, in testGetPermissionGrantState() 5140 assertThat(dpm.getPermissionGrantState(null, app1, permission)) in testGetPermissionGrantState() 5146 mContext.binder.callingUid = setupPackageInPackageManager(app1, 1); in testGetPermissionGrantState() 5147 mContext.packageName = app1; in testGetPermissionGrantState() 5149 () -> dpm.getPermissionGrantState(null, app1, permission)); in testGetPermissionGrantState() 5155 assertThat(dpm.getPermissionGrantState(admin1, app1, permission)) in testGetPermissionGrantState()
|