Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/cts/tests/tests/os/src/android/os/health/cts/
DSystemHealthManagerTest.java38 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshot() local
49 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotWithMe() local
60 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshotWithSystem() local
78 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotsWithEmptyArray() local
90 final Context context = getInstrumentation().getTargetContext(); in testTakeUidSnapshotsWithMe() local
107 final Context context = getInstrumentation().getTargetContext(); in testTakeMyUidSnapshotsWithSystem() local
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/
DAppWidgetProviderCallbacks.java36 public abstract void onUpdate(Context context, AppWidgetManager appWidgetManager, in onUpdate()
39 public abstract void onAppWidgetOptionsChanged(Context context, in onAppWidgetOptionsChanged()
42 public abstract void onDeleted(Context context, int[] appWidgetIds); in onDeleted()
44 public abstract void onEnabled(Context context); in onEnabled()
46 public abstract void onDisabled(Context context); in onDisabled()
48 public abstract void onRestored(Context context, int[] oldWidgetIds, int[] newWidgetIds); in onRestored()
DStubbableAppWidgetProvider.java26 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate()
34 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, in onAppWidgetOptionsChanged()
43 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted()
51 public void onEnabled(Context context) { in onEnabled()
59 public void onDisabled(Context context) { in onDisabled()
67 public void onRestored(Context context, int[] oldWidgetIds, int[] newWidgetIds) { in onRestored()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DVersion.java26 static String getVersionName(Context context) { in getVersionName()
30 static int getVersionCode(Context context) { in getVersionCode()
34 static PackageInfo getPackageInfo(Context context) { in getPackageInfo()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DTestUtils.java61 static int getLocationMode(Context context) { in getLocationMode()
69 static void setLocationMode(Context context, int mode) { in setLocationMode()
77 static boolean isLocationOn(Context context) { in isLocationOn()
84 static void enableLocation(Context context) { in enableLocation()
91 static void disableLocation(Context context) { in disableLocation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DServReqTestSuite.java27 public static ArrayList<ReqTestCase> getTestSuite(Context context) { in getTestSuite()
32 public static ReqTestCase getTestCase(Context context, in getTestCase()
44 private static void initialize(Context context) { in initialize()
DGoNegReqTestSuite.java35 public static ArrayList<ReqTestCase> getTestSuite(Context context) { in getTestSuite()
46 public static ReqTestCase getTestCase(Context context, in getTestCase()
58 private static void initialize(Context context) { in initialize()
DP2pClientTestSuite.java35 public static ArrayList<ReqTestCase> getTestSuite(Context context) { in getTestSuite()
46 public static ReqTestCase getTestCase(Context context, in getTestCase()
58 private static void initialize(Context context) { in initialize()
/cts/tests/tests/widget/src/android/widget/cts/
DAutoCompleteTextViewNoIme.java31 public AutoCompleteTextViewNoIme(Context context) { in AutoCompleteTextViewNoIme()
35 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs) { in AutoCompleteTextViewNoIme()
39 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in AutoCompleteTextViewNoIme()
43 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in AutoCompleteTextViewNoIme()
48 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in AutoCompleteTextViewNoIme()
/cts/tests/tests/view/src/android/view/cts/
DMockViewStub.java24 public MockViewStub(Context context) { in MockViewStub()
28 public MockViewStub(Context context, AttributeSet attrs) { in MockViewStub()
32 public MockViewStub(Context context, AttributeSet attrs, int defStyle) { in MockViewStub()
DTestButton.java25 public TestButton(Context context) { in TestButton()
29 public TestButton(Context context, AttributeSet attrs) { in TestButton()
33 public TestButton(Context context, AttributeSet attrs, int defStyle) { in TestButton()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DSystemUtil.java25 public static long getFreeDiskSize(Context context) { in getFreeDiskSize()
30 public static long getFreeMemory(Context context) { in getFreeMemory()
36 public static long getTotalMemory(Context context) { in getTotalMemory()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/
DUnclippedBlueView.java26 public UnclippedBlueView(Context context) { in UnclippedBlueView()
30 public UnclippedBlueView(Context context, AttributeSet attrs) { in UnclippedBlueView()
34 public UnclippedBlueView(Context context, AttributeSet attrs, int defStyleAttr) { in UnclippedBlueView()
38 public UnclippedBlueView(Context context, AttributeSet attrs, in UnclippedBlueView()
DCircleClipFrameLayout.java27 public CircleClipFrameLayout(Context context) { in CircleClipFrameLayout()
31 public CircleClipFrameLayout(Context context, AttributeSet attrs) { in CircleClipFrameLayout()
35 public CircleClipFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in CircleClipFrameLayout()
39 …public CircleClipFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRe… in CircleClipFrameLayout()
/cts/tests/tests/text/src/android/text/method/cts/
DEditTextNoIme.java30 public EditTextNoIme(Context context) { in EditTextNoIme()
34 public EditTextNoIme(Context context, AttributeSet attrs) { in EditTextNoIme()
38 public EditTextNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in EditTextNoIme()
42 public EditTextNoIme(Context context, AttributeSet attrs, int defStyleAttr, in EditTextNoIme()
DTextViewNoIme.java30 public TextViewNoIme(Context context) { in TextViewNoIme()
34 public TextViewNoIme(Context context, AttributeSet attrs) { in TextViewNoIme()
38 public TextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in TextViewNoIme()
42 public TextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in TextViewNoIme()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java74 public void onReceive(Context context, Intent intent) { in onReceive()
103 private void increaseCounter(Context context, String action) { in increaseCounter()
110 private int getCounter(Context context, String action, String receiverName) { in getCounter()
118 private void getRestrictBackgroundStatus(Context context, Intent intent) { in getRestrictBackgroundStatus()
126 private void checkNetwork(final Context context, Intent intent) { in checkNetwork()
171 private String checkNetworkStatus(final Context context, final ConnectivityManager cm) in checkNetworkStatus()
212 private void setResultDataFromCounter(Context context, Intent intent) { in setResultDataFromCounter()
231 private void sendNotification(Context context, Intent intent) { in sendNotification()
/cts/tests/admin/src/android/admin/cts/
DDeviceAdminReceiverTest.java142 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged()
148 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed()
154 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded()
160 public void onEnabled(Context context, Intent intent) { in onEnabled()
166 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested()
172 public void onDisabled(Context context, Intent intent) { in onDisabled()
178 public void onBugreportSharingDeclined(Context context, Intent intent) { in onBugreportSharingDeclined()
184 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed()
191 public void onBugreportShared(Context context, Intent intent, String bugreportHash) { in onBugreportShared()
198 public void onSecurityLogsAvailable(Context context, Intent intent) { in onSecurityLogsAvailable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java50 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete()
56 public void onBugreportSharingDeclined(Context context, Intent intent) { in onBugreportSharingDeclined()
63 public void onBugreportShared(Context context, Intent intent, String bugreportFileHash) { in onBugreportShared()
70 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed()
76 private void setupProfile(Context context) { in setupProfile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java246 public static void resetListenerData(Context context) { in resetListenerData()
250 public static void probeListenerStatus(Context context, StatusCatcher catcher) { in probeListenerStatus()
254 public static void probeFilter(Context context, IntegerResultCatcher catcher) { in probeFilter()
258 public static void probeListenerPosted(Context context, StringListResultCatcher catcher) { in probeListenerPosted()
262 public static void probeListenerOrder(Context context, StringListResultCatcher catcher) { in probeListenerOrder()
266 public static void probeListenerPayloads(Context context, StringListResultCatcher catcher) { in probeListenerPayloads()
270 public static void probeListenerRemoved(Context context, StringListResultCatcher catcher) { in probeListenerRemoved()
274 public static void clearOne(Context context, String tag, int code) { in clearOne()
278 public static void clearAll(Context context) { in clearAll()
282 private static void sendCommand(Context context, String action, String tag, int code) { in sendCommand()
[all …]
/cts/tests/tests/preference2/src/android/preference2/cts/
DCustomCheckBoxPreference.java29 public CustomCheckBoxPreference(Context context, AttributeSet attrs) { in CustomCheckBoxPreference()
36 public CustomCheckBoxPreference(Context context) { in CustomCheckBoxPreference()
40 public CustomCheckBoxPreference(Context context, AttributeSet attrs, int defStyle) { in CustomCheckBoxPreference()
DCustomSwitchPreference.java30 public CustomSwitchPreference(Context context, AttributeSet attrs) { in CustomSwitchPreference()
37 public CustomSwitchPreference(Context context) { in CustomSwitchPreference()
41 public CustomSwitchPreference(Context context, AttributeSet attrs, int defStyle) { in CustomSwitchPreference()
DCustomEditTextPreference.java29 public CustomEditTextPreference(Context context, AttributeSet attrs) { in CustomEditTextPreference()
36 public CustomEditTextPreference(Context context) { in CustomEditTextPreference()
40 public CustomEditTextPreference(Context context, AttributeSet attrs, int defStyle) { in CustomEditTextPreference()
/cts/tests/acceleration/src/android/acceleration/
DAcceleratedView.java33 public AcceleratedView(Context context) { in AcceleratedView()
37 public AcceleratedView(Context context, AttributeSet attrs) { in AcceleratedView()
41 public AcceleratedView(Context context, AttributeSet attrs, int defStyle) { in AcceleratedView()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiFeature.java23 static boolean isWifiSupported(Context context) { in isWifiSupported()
28 static boolean isP2pSupported(Context context) { in isP2pSupported()

12345678910>>...19