HomeSort by relevance Sort by last modified time
    Searched defs:context (Results 126 - 150 of 4517) sorted by null

1 2 3 4 56 7 8 91011>>

  /system/bt/stack/include/
btu.h 44 void* context; member in struct:__anon106432
51 void* context; member in struct:__anon106433
  /tools/tradefederation/core/tests/src/com/android/tradefed/result/
DeviceUnavailEmailResultReporterTest.java 51 IInvocationContext context = new InvocationContext(); local
52 context.addAllocatedDevice("fakeDevice", EasyMock.createMock(ITestDevice.class));
53 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("888", "mybuild"));
54 mDnaeEmailReporter.invocationStarted(context);
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerServiceTestable.java 22 import android.content.Context;
64 public OwnersTestable(DpmMockContext context) {
65 super(context.userManager, context.userManagerInternal, context.packageManagerInternal);
66 mLegacyFile = new File(context.dataDir, LEGACY_FILE);
67 mDeviceOwnerFile = new File(context.dataDir, DEVICE_OWNER_FILE);
68 mUsersDataDir = new File(context.dataDir, "users");
88 public final DpmMockContext context; field in class:DevicePolicyManagerServiceTestable
91 public DevicePolicyManagerServiceTestable(DpmMockContext context, File dataDir)
120 public final DpmMockContext context; field in class:DevicePolicyManagerServiceTestable.MockInjector
    [all...]
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsAlarmTest.java 23 import android.content.Context;
48 final Context context = InstrumentationRegistry.getContext(); local
55 context.registerReceiver(new BroadcastReceiver() {
57 public void onReceive(Context context, Intent intent) {
62 final AlarmManager alm = context.getSystemService(AlarmManager.class);
66 PendingIntent.getBroadcast(context, i, intent, 0));
  /external/glide/library/src/main/java/com/bumptech/glide/manager/
DefaultConnectivityMonitor.java 4 import android.content.Context;
11 private final Context context; field in class:DefaultConnectivityMonitor
19 public void onReceive(Context context, Intent intent) {
21 isConnected = isConnected(context);
28 public DefaultConnectivityMonitor(Context context, ConnectivityListener listener) {
29 this.context = context.getApplicationContext()
    [all...]
  /external/guice/core/src/com/google/inject/internal/
FactoryProxy.java 52 public T get(Errors errors, InternalContext context, Dependency<?> dependency, boolean linked)
54 context.pushState(targetKey, source);
56 return targetFactory.get(errors.withSource(targetKey), context, dependency, true);
58 context.popState();
  /external/mockito/src/test/java/org/mockito/internal/invocation/
InvocationMarkerTest.java 54 InOrderContextImpl context = new InOrderContextImpl(); local
58 assertFalse(context.isVerified(i));
62 InvocationMarker.markVerifiedInOrder(Arrays.asList(i), im, context); local
65 assertTrue(context.isVerified(i));
  /frameworks/base/core/java/android/view/animation/
AccelerateInterpolator.java 19 import android.content.Context;
58 public AccelerateInterpolator(Context context, AttributeSet attrs) {
59 this(context.getResources(), context.getTheme(), attrs);
AnticipateOvershootInterpolator.java 23 import android.content.Context;
67 public AnticipateOvershootInterpolator(Context context, AttributeSet attrs) {
68 this(context.getResources(), context.getTheme(), attrs);
DecelerateInterpolator.java 19 import android.content.Context;
51 public DecelerateInterpolator(Context context, AttributeSet attrs) {
52 this(context.getResources(), context.getTheme(), attrs);
  /frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
ErrorFragment.java 16 import android.content.Context;
32 final Context context = getActivity(); local
33 setImageDrawable(ResourcesCompat.getDrawable(context.getResources(),
34 R.drawable.lb_ic_sad_cloud, context.getTheme()));
ErrorSupportFragment.java 19 import android.content.Context;
35 final Context context = getActivity(); local
36 setImageDrawable(ResourcesCompat.getDrawable(context.getResources(),
37 R.drawable.lb_ic_sad_cloud, context.getTheme()));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLSessionContextTest.java 23 SSLContext context = SSLContext.getInstance("TLS"); local
24 context.init(null, null, null);
25 SSLSessionContext sc = context
47 SSLContext context = SSLContext.getInstance("TLS"); local
48 context.init(null, null, null);
49 SSLSessionContext sc = context
70 SSLContext context = SSLContext.getInstance("TLS"); local
71 context.init(null, null, null);
72 SSLSessionContext sc = context
88 SSLContext context = SSLContext.getInstance("TLS") local
    [all...]
  /packages/apps/Car/Settings/src/com/android/car/settings/home/
WifiLineItem.java 21 import android.content.Context;
35 private final Context mContext;
38 public WifiLineItem(Context context, CarWifiManager carWifiManager) {
39 super(context.getText(R.string.wifi_settings), context); local
40 mContext = context;
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingRequest.java 21 import android.content.Context;
36 public void onReceive(Context context, Intent intent) {
42 Intent pairingIntent = BluetoothPairingService.getPairingDialogIntent(context, intent);
45 (PowerManager)context.getSystemService(Context.POWER_SERVICE);
51 context, deviceAddress, deviceName);
55 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT);
58 intent.setClass(context, BluetoothPairingService.class);
59 context.startServiceAsUser(intent, UserHandle.CURRENT)
    [all...]
  /packages/apps/Settings/tests/app/src/com/android/settings/tests/
SettingsRestoreAfterCloseTest.java 19 import android.content.Context;
44 Context context = InstrumentationRegistry.getContext(); local
46 context.getContentResolver(), Settings.Global
78 Context context = InstrumentationRegistry.getContext(); local
79 context.startActivity(new Intent(android.provider.Settings.ACTION_SETTINGS));
  /packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
AssistGesturePreferenceControllerTest.java 19 import android.content.Context;
51 private Context mContext;
80 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
81 Settings.System.putInt(context.getContentResolver(), ASSIST_GESTURE_ENABLED, 1);
82 mController = new AssistGesturePreferenceController(context, null, KEY_ASSIST);
90 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
91 Settings.System.putInt(context.getContentResolver(), ASSIST_GESTURE_ENABLED, 0);
92 mController = new AssistGesturePreferenceController(context, null, KEY_ASSIST)
    [all...]
DoubleTapPowerPreferenceControllerTest.java 19 import android.content.Context;
46 private Context mContext;
79 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
80 Settings.System.putInt(context.getContentResolver(),
82 mController = new DoubleTapPowerPreferenceController(context, null, KEY_DOUBLE_TAP_POWER);
90 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
91 Settings.System.putInt(context.getContentResolver(),
93 mController = new DoubleTapPowerPreferenceController(context, null, KEY_DOUBLE_TAP_POWER)
    [all...]
SwipeToNotificationPreferenceControllerTest.java 19 import android.content.Context;
45 private Context mContext;
77 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
78 Settings.System.putInt(context.getContentResolver(), SYSTEM_NAVIGATION_KEYS_ENABLED, 1);
79 mController = new SwipeToNotificationPreferenceController(context, null, KEY_SWIPE_DOWN);
87 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
88 Settings.System.putInt(context.getContentResolver(), SYSTEM_NAVIGATION_KEYS_ENABLED, 0);
89 mController = new SwipeToNotificationPreferenceController(context, null, KEY_SWIPE_DOWN)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
BadgingNotificationPreferenceControllerTest.java 19 import android.content.Context;
49 private Context mContext;
89 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
90 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, 1);
92 mController = new BadgingNotificationPreferenceController(context);
101 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
102 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, 0);
104 mController = new BadgingNotificationPreferenceController(context);
    [all...]
PulseNotificationPreferenceControllerTest.java 19 import android.content.Context;
49 private Context mContext;
89 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
90 Settings.System.putInt(context.getContentResolver(), NOTIFICATION_LIGHT_PULSE, 1);
92 mController = new PulseNotificationPreferenceController(context);
101 final Context context = ShadowApplication.getInstance().getApplicationContext(); local
102 Settings.System.putInt(context.getContentResolver(), NOTIFICATION_LIGHT_PULSE, 0);
104 mController = new PulseNotificationPreferenceController(context);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
XmlFormatProcessor.java 51 FormattingContext context = new FormattingContext(); local
52 context.setProperty(CONTEXT_MEDIUM, document);
53 context.setProperty(CONTEXT_PARTITION, new TypedPosition(start, length,
55 context.setProperty(CONTEXT_REGION, new org.eclipse.jface.text.Region(start, length));
56 formatter.formatMaster(context, document, start, length);
  /tools/tradefederation/core/prod-tests/src/com/android/continuous/
SmokeTestFailureReporter.java 60 final IInvocationContext context = getInvocationContext(); local
62 sb.append(context.getTestTag());
64 for (IBuildInfo build : context.getBuildInfos()) {
  /external/droiddriver/src/io/appium/droiddriver/uiautomation/
UiAutomationElement.java 55 private final UiAutomationContext context; field in class:UiAutomationElement
69 protected UiAutomationElement(UiAutomationContext context, AccessibilityNodeInfo node,
72 this.context = Preconditions.checkNotNull(context);
122 children.add(context.getElement(child, this));
177 return context.getDriver().getInjector();
186 context.callUiAutomation(new UiAutomationCallable<Void>() {
203 context.getDriver().clearAccessibilityNodeInfoCache();
  /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
ReportPage.java 37 /** context for this report */
38 protected final IHTMLReportContext context; field in class:ReportPage
47 * @param context
48 * settings context
51 final ReportOutputFolder folder, final IHTMLReportContext context) {
53 this.context = context;
75 folder.createFile(getFileName()), context.getOutputEncoding());
76 doc.attr("lang", context.getLocale().getLanguage());
93 context.getResources().getLink(folder, Resources.STYLESHEET)
    [all...]

Completed in 1134 milliseconds

1 2 3 4 56 7 8 91011>>