/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | WindowUtils.java | 35 InstrumentationRegistry.getContext() in getDisplayBounds() 44 InstrumentationRegistry.getContext() in getCurrentRotation() 92 Resources resources = InstrumentationRegistry.getContext().getResources(); in getStatusBarPosition() 111 Resources resources = InstrumentationRegistry.getContext().getResources(); in getNavigationBarPosition() 136 Resources resources = InstrumentationRegistry.getContext().getResources(); in getNavigationBarHeight() 142 Resources resources = InstrumentationRegistry.getContext().getResources(); in getDockedStackDividerInset()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | HelperAccessor.java | 53 InstrumentationRegistry.getContext(), in get() 59 InstrumentationRegistry.getContext(), in get()
|
D | AbstractStandardAppHelper.java | 126 mInstrumentation.getContext().startActivity(getOpenAppIntent()); in open() 168 .getContext() in getOpenAppIntent() 216 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getVersion() 236 return mInstrumentation.getContext().getResources().getConfiguration().orientation; in getOrientation() 252 Context context = mInstrumentation.getContext(); in hasRegisteredGoogleAccount()
|
D | HelperTest.java | 149 InstrumentationRegistry.getContext(), in getHelper()
|
/platform_testing/utils/permissions/src/com/android/permissionutils/ |
D | PermissionInstrumentation.java | 40 GrantPermissionUtil.dumpMissingPermissions(getContext()); in onCreate() 42 GrantPermissionUtil.grantAllPermissions(getContext()); in onCreate()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | TestWatcher.java | 70 protected Context getContext() { in getContext() method in TestWatcher 71 return InstrumentationRegistry.getContext(); in getContext()
|
D | QuickstepPressureRule.java | 54 getContext().startActivity(getContext().getPackageManager().getLaunchIntentForPackage(pkg)); in startActivity()
|
D | DropCachesRule.java | 51 InstrumentationRegistry.getInstrumentation().getContext().getCacheDir(); in executeDropCaches()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | TestFileUtils.java | 26 Context context = InstrumentationRegistry.getContext(); in readTestFile()
|
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/ |
D | DialerJankTests.java | 85 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in launchApp() 88 getInstrumentation().getContext().startActivity(appIntent); in launchApp() 188 getInstrumentation().getContext().getContentResolver() in insertNewContacts() 196 Cursor contactLookup = getInstrumentation().getContext().getContentResolver().query( in doesContactExist() 231 getInstrumentation().getContext().getContentResolver() in addNumToCalLog() 237 Cursor cursor = getInstrumentation().getContext().getContentResolver() in getCallLogCount()
|
/platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/ |
D | TouchLatencyHelper.java | 75 Intent intent = mInstrumentation.getContext() in launchActivityFromLauncher() 78 mInstrumentation.getContext().startActivity(intent); in launchActivityFromLauncher()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | AuptTestCase.java | 114 getInstrumentation().getContext().startActivity(intent); in launchIntent() 192 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in getPackageVersion() 212 Account[] accounts = AccountManager.get(getInstrumentation().getContext()).getAccounts(); in getRegisteredEmailAccount()
|
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
D | SystemAppJankTests.java | 111 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in launchApp() 114 getInstrumentation().getContext().startActivity(appIntent); in launchApp()
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/performancelaunch/hermeticapp/ |
D | PerformanceBase.java | 42 Context context = InstrumentationRegistry.getContext(); in open()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | QuickSettingsHelper.java | 110 (mInstrumentation.getContext().getContentResolver(), in addQuickSettingTileFromEditMenu() 122 Settings.Secure.putString(mInstrumentation.getContext().getContentResolver(), in modifyListOfQuickSettingsTiles()
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchWebView.java | 43 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
|
D | UiBenchTransitionsJankTests.java | 46 this.getInstrumentation().getContext(), mDevice); in setUp()
|
D | UiBenchRenderingJankTests.java | 46 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(), in setUp()
|
D | UiBenchTextJankTests.java | 47 this.getInstrumentation().getContext(), mDevice); in setUp()
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | SysAppTestHelper.java | 176 instrumentation.getContext().sendBroadcast(mIntent); in reloadDemoCards() 184 instrumentation.getContext().startActivity(mIntent); in launchActivity()
|
/platform_testing/tests/functional/devicehealthtests/src/com/android/devicehealth/tests/ |
D | HealthCheckBase.java | 39 mContext = InstrumentationRegistry.getInstrumentation().getContext(); in setUp()
|
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/ |
D | OverviewHelper.java | 57 mPackageManager = inst.getContext().getPackageManager(); in OverviewHelper() 74 mInstrumentation.getContext().startActivity(appIntent); in launchAppWithIntent()
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationSecurityTests.java | 41 mContext = getInstrumentation().getContext(); in setUp()
|
/platform_testing/utils/esimutility/src/com/android/test/util/esimutility/ |
D | ESimUtilityInstrumentation.java | 42 …TelephonyManager telephonyManager = (TelephonyManager) getContext().getSystemService(Context.TELEP… in onStart()
|
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/ |
D | HelperTestUtility.java | 107 Context context = InstrumentationRegistry.getContext(); in wakeUpAndUnlock()
|