Home
last modified time | relevance | path

Searched refs:FIRST (Results 1 – 25 of 63) sorted by relevance

123

/packages/modules/StatsD/statsd/tests/condition/
DSimpleConditionTracker_test.cpp91 case Position::FIRST: in getWakeLockQueryKey()
386 for (Position position : {Position::FIRST, Position::LAST}) { in TEST()
418 if (position == Position::FIRST || position == Position::LAST) { in TEST()
424 if (position == Position::FIRST || position == Position::LAST) { in TEST()
450 if (position == Position::FIRST || position == Position::LAST) { in TEST()
471 if (position == Position::FIRST || position == Position::LAST) { in TEST()
490 if (position == Position::FIRST || position == Position::LAST) { in TEST()
604 for (Position position : {Position::FIRST, Position::LAST}) { in TEST()
636 if (position == Position::FIRST || position == Position::LAST) { in TEST()
643 if (position == Position::FIRST || position == Position::LAST) { in TEST()
[all …]
/packages/modules/StatsD/statsd/benchmark/
Dduration_metric_benchmark.cpp50 {Position::FIRST}); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
74 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
91 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
97 android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
120 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
126 android::util::SCHEDULED_JOB_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
128 CreateAttributionUidDimensions(android::util::SYNC_STATE_CHANGED, {Position::FIRST}); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
/packages/apps/Stk/src/com/android/stk/
DStkApp.java31 static final int MENU_ID_END_SESSION = android.view.Menu.FIRST;
32 static final int MENU_ID_BACK = android.view.Menu.FIRST + 1;
33 static final int MENU_ID_HELP = android.view.Menu.FIRST + 2;
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListDrawableState.java23 FIRST(new int[]{android.R.attr.state_first}), enumConstant
39 if (isFirst) return FIRST; in obtain()
DWidgetsListDrawableFactory.java18 import static com.android.launcher3.widget.picker.WidgetsListDrawableState.FIRST;
66 FIRST.mStateSet, in createHeaderBackgroundDrawable()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionsFrameFragment.java42 static final int MENU_ALL_PERMS = Menu.FIRST + 1;
43 public static final int MENU_SHOW_SYSTEM = Menu.FIRST + 2;
44 public static final int MENU_HIDE_SYSTEM = Menu.FIRST + 3;
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp296 CreateAttributionUidDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST_F()
315 CreateAttributionUidDimensions(util::SYNC_STATE_CHANGED, {Position::FIRST}); in TEST_F()
320 CreateAttributionUidDimensions(util::SYNC_STATE_CHANGED, {Position::FIRST}); in TEST_F()
322 CreateAttributionUidDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST_F()
326 CreateAttributionUidDimensions(util::SYNC_STATE_CHANGED, {Position::FIRST}); in TEST_F()
548 CreateAttributionUidDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST_F()
557 CreateAttributionUidDimensions(util::SYNC_STATE_CHANGED, {Position::FIRST}); in TEST_F()
567 CreateAttributionUidDimensions(util::SYNC_STATE_CHANGED, {Position::FIRST}); in TEST_F()
572 CreateAttributionUidDimensions(util::SYNC_STATE_CHANGED, {Position::FIRST}); in TEST_F()
574 CreateAttributionUidDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST_F()
[all …]
DDurationMetric_e2e_test.cpp467 {Position::FIRST}); in TEST()
473 CreateDimensions(util::ACTIVITY_FOREGROUND_STATE_CHANGED, {Position::FIRST}); in TEST()
483 util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST()
490 CreateAttributionUidDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST()
572 {Position::FIRST}); in TEST()
578 CreateDimensions(util::ACTIVITY_FOREGROUND_STATE_CHANGED, {Position::FIRST}); in TEST()
588 util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST()
595 CreateAttributionUidDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST()
1204 *fieldsInWhat = CreateAttributionUidDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}); in TEST()
1232 CreateAttributionUidAndOtherDimensions(util::WAKELOCK_STATE_CHANGED, {Position::FIRST}, in TEST()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDataModelException.java22 private static final int FIRST = 100; field in DataModelException
66 if (errorCode < FIRST || errorCode > LAST) { in DataModelException()
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationRequestSeeAllFragment.java35 private static final int MENU_SHOW_SYSTEM = Menu.FIRST + 1;
36 private static final int MENU_HIDE_SYSTEM = Menu.FIRST + 2;
DRecentLocationAccessSeeAllFragment.java38 private static final int MENU_SHOW_SYSTEM = Menu.FIRST + 1;
39 private static final int MENU_HIDE_SYSTEM = Menu.FIRST + 2;
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DSearchMenuItemController.kt23 import android.view.Menu.FIRST
70 menu.add(NONE, id, FIRST, android.R.string.search_go) in onCreateOptionsItem()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsFragment.java40 private static final int MENU_ABOUT = Menu.FIRST;
42 private static final int MENU_HELP_AND_FEEDBACK = Menu.FIRST + 1;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordFragment.java52 private static final int OPTIONS_MENU_ADD = Menu.FIRST;
53 private static final int OPTIONS_MENU_DELETE = Menu.FIRST + 1;
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java108 static final int MENU_ID_CONNECT = Menu.FIRST + 1;
110 static final int MENU_ID_DISCONNECT = Menu.FIRST + 2;
112 static final int MENU_ID_FORGET = Menu.FIRST + 3;
113 static final int MENU_ID_MODIFY = Menu.FIRST + 4;
114 static final int MENU_FIX_CONNECTIVITY = Menu.FIRST + 5;
115 static final int MENU_ID_SHARE = Menu.FIRST + 6;
/packages/modules/StatsD/statsd/tests/
DLogEntryMatcher_test.cpp148 attributionMatcher->set_position(Position::FIRST); in TEST()
230 attributionMatcher->set_position(Position::FIRST); in TEST()
293 attributionMatcher->set_position(Position::FIRST); in TEST()
420 attributionMatcher->set_position(Position::FIRST); in TEST()
481 attributionMatcher->set_position(Position::FIRST); in TEST()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsUi.java47 private static final int MENU_SHOW_AVG = Menu.FIRST;
48 private static final int MENU_SHOW_MAX = Menu.FIRST + 1;
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnEditorActivity.java122 private static final int MENU_DELETE = Menu.FIRST;
123 private static final int MENU_SAVE = Menu.FIRST + 1;
124 private static final int MENU_CANCEL = Menu.FIRST + 2;
DApnSettingsActivity.java111 private static final int MENU_NEW = Menu.FIRST;
112 private static final int MENU_RESTORE = Menu.FIRST + 1;
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java102 static final int MENU_ID_CONNECT = Menu.FIRST + 1;
104 static final int MENU_ID_DISCONNECT = Menu.FIRST + 2;
106 static final int MENU_ID_FORGET = Menu.FIRST + 3;
107 static final int MENU_ID_MODIFY = Menu.FIRST + 4;
108 static final int MENU_ID_SHARE = Menu.FIRST + 5;
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/apn/
DApnEditorTest.java335 doReturn(Menu.FIRST + 1).when(item).getItemId(); in testSaveApnData_pressSaveButtonWithValidApnData_shouldSaveApnData()
353 doReturn(Menu.FIRST + 1).when(item).getItemId(); in testSaveApnData_apnDataInvalid_shouldNotSaveApnData()
373 doReturn(Menu.FIRST).when(item).getItemId(); in testDeleteApnData_shouldDeleteData()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiNetworkDetailsFragment2.java161 MenuItem item = menu.add(0, Menu.FIRST, 0, R.string.wifi_modify); in onCreateOptionsMenu()
171 case Menu.FIRST: in onOptionsItemSelected()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java70 if (pinnedPos1 == PinnedListItem.FIRST) return -1; in compare()
75 if (pinnedPos2 == PinnedListItem.FIRST) return 1; in compare()
223 public static final int FIRST = 1; field in SelectFromListWizardFragment.PinnedListItem
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java52 private static final int MENU_SAVE = Menu.FIRST;
53 private static final int MENU_DISCARD = Menu.FIRST + 1;
54 private static final int MENU_REMOVE = Menu.FIRST + 2;
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneSettings.java62 private static final int MENU_BY_REGION = Menu.FIRST;
63 private static final int MENU_BY_OFFSET = Menu.FIRST + 1;

123