Searched refs:widgetId (Results 1 – 2 of 2) 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 | 167 int widgetId = 0; in updateTestInstructions() local 174 widgetId = R.id.switch_widget; in updateTestInstructions() 180 widgetId = testItem.widgetId; in updateTestInstructions() 185 updateWidget(widgetId); in updateTestInstructions() 188 private void updateWidget(int widgetId) { in updateWidget() argument 189 switch (widgetId) { in updateWidget() 217 throw new IllegalArgumentException("Unknown widgetId: " + widgetId); in updateWidget() 304 public final int widgetId; field in PolicyTransparencyTestActivity.PolicyTestItem 307 public PolicyTestItem(int setStep, int userAction, int widgetLabel, int widgetId, in PolicyTestItem() argument 312 this.widgetId = widgetId; in PolicyTestItem()
|