/platform_testing/tests/functional/otatests/src/com/android/functional/otatests/ |
D | PackageProcessTest.java | 20 import android.content.Context; 36 private Context mMockContext; 37 private Context mContext; 42 private Context mInternal; 44 public PackageProcessMockContext(Context base) { in PackageProcessMockContext() 51 if (name.equals(Context.POWER_SERVICE)) { in getSystemService()
|
/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
D | AndroidBvtHelper.java | 21 import android.content.Context; 49 private Context mContext = null; 53 public AndroidBvtHelper(UiDevice device, Context context, UiAutomation uiAutomation) { in AndroidBvtHelper() 59 public static AndroidBvtHelper getInstance(UiDevice device, Context context, in getInstance() 68 return (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in getTelecomManager() 72 return (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in getWifiManager() 77 .getSystemService(Context.CONNECTIVITY_SERVICE); in getConnectivityManager() 82 .getSystemService(Context.DOWNLOAD_SERVICE); in getDownloadManager() 114 Context.WINDOW_SERVICE); in isTablet()
|
D | FrameworkDownloadTests.java | 23 import android.content.Context; 49 private Context mContext = null; 122 .getSystemService(Context.DOWNLOAD_SERVICE); in removeAllCurrentDownloads() 151 public void onReceive(Context context, Intent intent) { in onReceive()
|
D | SysUILockScreenTests.java | 20 import android.content.Context; 45 private Context mContext; 191 private void launchSettingsPage(Context ctx, String pageName) throws Exception { in launchSettingsPage() 211 KeyguardManager km = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in isLockScreenEnabled()
|
D | SysUIMultiUserTests.java | 20 import android.content.Context; 38 private Context mContext = null;
|
D | SysUINotificationShadeTests.java | 25 import android.content.Context; 64 private Context mContext; 95 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp() 179 .getSystemService(Context.INPUT_METHOD_SERVICE); in verifyInlineAndDimissNotification() 311 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent()
|
D | SysUIMultiWindowTests.java | 20 import android.content.Context; 42 private Context mContext = null;
|
/platform_testing/tests/functional/launchertests/src/com/android/launcher/functional/ |
D | HotseatHelper.java | 20 import android.content.Context; 40 private Context mContext; 43 private HotseatHelper(UiDevice device, Context context) { in HotseatHelper() 48 public static HotseatHelper getInstance(UiDevice device, Context context) { in getInstance()
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationInlineReplyTests.java | 20 import android.content.Context; 36 private Context mContext; 45 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp() 78 .getSystemService(Context.INPUT_METHOD_SERVICE); in testInLineNotificationWithLockScreen() 98 .getSystemService(Context.INPUT_METHOD_SERVICE); in testInLineNotificationsWithQuickSetting()
|
D | NotificationSecurityTests.java | 21 import android.content.Context; 34 private Context mContext; 43 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
|
D | NotificationSecurityLargeTests.java | 21 import android.content.Context; 38 private Context mContext; 47 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
|
D | HeadsUpNotificationTests.java | 20 import android.content.Context; 44 private Context mContext; 53 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp() 79 .getSystemService(Context.INPUT_METHOD_SERVICE); in testHeadsUpNotificationInlineReply() 120 .getSystemService(Context.INPUT_METHOD_SERVICE); in testHeadsUpNotificationInlineReplyMulti()
|
D | NotificationInteractionTests.java | 20 import android.content.Context; 40 private Context mContext; 51 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
|
D | NotificationBundlingTests.java | 20 import android.content.Context; 42 private Context mContext; 51 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchJankTestsHelper.java | 20 import android.content.Context; 43 private Context mContext; 46 private UiBenchJankTestsHelper(Context context, UiDevice device) { in UiBenchJankTestsHelper() 51 public static UiBenchJankTestsHelper getInstance(Context context, UiDevice device) { in getInstance()
|
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/ |
D | SimpleGLSurfaceView.java | 19 import android.content.Context; 32 public SimpleGLSurfaceView(Context context) { in SimpleGLSurfaceView()
|
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
D | UiBenchJankTestsHelper.java | 20 import android.content.Context; 52 private Context mContext; 54 private UiBenchJankTestsHelper(UiDevice device, Context context) { in UiBenchJankTestsHelper() 63 public static UiBenchJankTestsHelper getInstance(UiDevice device, Context context) { in getInstance()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | AuptTestCase.java | 40 import android.content.Context; 90 public enum Context { FOREGROUND, BACKGROUND }; enum in AuptTestCase.MemHealthRecord 96 private final Context mContext; 99 Context context) { in MemHealthRecord() 110 if (Context.FOREGROUND.equals(sample.mContext)) { in getForegroundDalvikHeap() 120 if (Context.BACKGROUND.equals(sample.mContext)) { in getBackgroundDalvikHeap() 130 if (Context.FOREGROUND.equals(sample.mContext)) { in getForegroundNativeHeap() 140 if (Context.BACKGROUND.equals(sample.mContext)) { in getBackgroundNativeHeap() 150 if (Context.FOREGROUND.equals(sample.mContext)) { in getForegroundPss() 160 if (Context.BACKGROUND.equals(sample.mContext)) { in getBackgroundPss() [all …]
|
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/ |
D | BluetoothNetworkSettingsTests.java | 20 import android.content.Context; 109 .getSystemService(Context.BLUETOOTH_SERVICE)).getAdapter(); in verifyBluetoothOverflowOptions() 137 .getSystemService(Context.BLUETOOTH_SERVICE)).getAdapter(); in verifyBluetoothOnOrOff()
|
D | MainSettingsTests.java | 19 import android.content.Context; 53 private Context mContext = null; 114 .getSystemService(Context.INPUT_METHOD_SERVICE); in testSearchSetting()
|
D | MainSettingsLargeTests.java | 19 import android.content.Context; 49 private Context mContext = null;
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | AppLauncherFlingJankTest.java | 18 import android.content.Context; 54 getContext().getSystemService(Context.POWER_SERVICE); in setUp()
|
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
D | DownloadAppTestHelper.java | 24 import android.content.Context; 55 private Context mContext = null; 62 private DownloadAppTestHelper(UiDevice device, Context context) { in DownloadAppTestHelper() 68 public static DownloadAppTestHelper getInstance(UiDevice device, Context context) { in getInstance() 76 return (DownloadManager) mContext.getSystemService(Context.DOWNLOAD_SERVICE); in getDLManager() 165 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in changeSystemTime()
|
/platform_testing/tests/functional/appsmoke/src/android/test/appsmoke/ |
D | AppSmokeTest.java | 22 import android.content.Context; 165 Context ctx = instr.getTargetContext(); in generateAppsList() 178 LauncherApps la = (LauncherApps)ctx.getSystemService(Context.LAUNCHER_APPS_SERVICE); in generateAppsList() 179 UserManager um = (UserManager)ctx.getSystemService(Context.USER_SERVICE); in generateAppsList()
|
/platform_testing/tests/androidbvt/apps/src/com/android/androidbvt/ |
D | MediaCaptureTests.java | 20 import android.content.Context; 47 private Context mContext;
|