Searched refs:widgetId (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
D | WidgetCtsProvider.java | 80 int widgetId = (Integer) intent.getExtras().getInt(AppWidgetManager.EXTRA_APPWIDGET_ID, in onReceive() local 83 if (sStateMap.get(widgetId) != STATE_BEGIN && sStateMap.get(widgetId) in onReceive() 85 if (!sTestCount.containsKey(widgetId)) { in onReceive() 86 sTestCount.put(widgetId, 0); in onReceive() 88 if (!sPassCount.containsKey(widgetId)) { in onReceive() 89 sPassCount.put(widgetId, 0); in onReceive() 92 sPassCount.put(widgetId, sPassCount.get(widgetId) + (pass ? 1 : 0)); in onReceive() 93 sTestCount.put(widgetId, sTestCount.get(widgetId) + 1); in onReceive() 95 gotoNextTest(widgetId); in onReceive() 98 Bundle options = getAppWidgetOptions(mgr, widgetId); in onReceive() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | PolicyTransparencyTestActivity.java | 157 int widgetId = 0; in updateTestInstructions() local 165 widgetId = R.id.switch_widget; in updateTestInstructions() 174 widgetId = testItem.widgetId; in updateTestInstructions() 180 updateWidget(widgetId); in updateTestInstructions() 183 private void updateWidget(int widgetId) { in updateWidget() argument 184 if (widgetId == R.id.switch_widget) { in updateWidget() 188 } else if (widgetId == R.id.edit_text_widget) { in updateWidget() 194 throw new IllegalArgumentException("Unknown widgetId: " + widgetId); in updateWidget() 287 public final int widgetId; field in PolicyTransparencyTestActivity.PolicyTestItem 290 public PolicyTestItem(int setStep, int userAction, int widgetLabel, int widgetId, in PolicyTestItem() argument [all …]
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 785 public void onAppWidgetRemoved(int widgetId) { in testAppWidgetRemoved() 789 callback.accept(widgetId); in testAppWidgetRemoved()
|