Home
last modified time | relevance | path

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

12345678910>>...15

/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 String getBuildNumber(Context context) { in getBuildNumber()
38 static private String[] getVersionNameStrings(Context context) { in getVersionNameStrings()
42 static PackageInfo getPackageInfo(Context context) { in getPackageInfo()
/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/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/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/admin/src/android/admin/cts/
DDeviceAdminReceiverTest.java88 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged()
94 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed()
100 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded()
106 public void onEnabled(Context context, Intent intent) { in onEnabled()
112 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested()
118 public void onDisabled(Context context, Intent intent) { in onDisabled()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionAppCompat/src/com/android/cts/usepermission/
DUsePermissionCompatTest.java38 final Context context = getInstrumentation().getContext(); in testCompatDefault() local
59 final Context context = getInstrumentation().getContext(); in testCompatRevoked() local
/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/acceleration/src/android/acceleration/cts/
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/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()
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()
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()
DCustomPreferenceGroup.java30 public CustomPreferenceGroup(Context context, AttributeSet attrs) { in CustomPreferenceGroup()
35 public CustomPreferenceGroup(Context context) { in CustomPreferenceGroup()
39 public CustomPreferenceGroup(Context context, AttributeSet attrs, int defStyle) { in CustomPreferenceGroup()
/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()
/cts/tests/tests/tv/src/android/tv/settings/cts/
DUtils.java25 public static boolean hasFeature(Context context, String feature) { in hasFeature()
29 public static boolean hasLeanback(Context context) { in hasLeanback()
/cts/suite/cts/deviceTests/opengl/
Dcob_exporter.py33 def execute(self, context): argument
58 def poll(cls, context): argument
62 def menu_func(self, context): argument
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DCanvasClientView.java31 public CanvasClientView(Context context) { in CanvasClientView()
35 public CanvasClientView(Context context, AttributeSet attrs) { in CanvasClientView()
39 public CanvasClientView(Context context, AttributeSet attrs, int defStyleAttr) { in CanvasClientView()
/cts/libs/deviceutil/src/android/cts/util/
DNullWebViewUtils.java41 public static void determineIfWebViewAvailable(Context context, Throwable t) { in determineIfWebViewAvailable()
55 private static boolean hasWebViewFeature(Context context) { in hasWebViewFeature()
83 public boolean isWebViewAvailable(Context context) { in isWebViewAvailable()
DSystemUtil.java30 public static long getFreeDiskSize(Context context) { in getFreeDiskSize()
35 public static long getFreeMemory(Context context) { in getFreeMemory()
42 public static long getTotalMemory(Context context) { in getTotalMemory()

12345678910>>...15