/cts/tests/tests/assist/src/android/assist/cts/ |
AssistantContentViewTest.java | 93 String action = intent.getAction(); local 94 if (action.equals(Utils.BROADCAST_CONTENT_VIEW_HEIGHT)) { 99 } else if (action.equals(Utils.ASSIST_RECEIVER_REGISTERED)) {
|
ExtraAssistDataTest.java | 107 String action = intent.getAction(); local 108 if (action.equals(Utils.APP_3P_HASRESUMED)) { 112 } else if (action.equals(Utils.ASSIST_RECEIVER_REGISTERED)) {
|
FlagSecureTest.java | 98 String action = intent.getAction(); local 99 if (action.equals(Utils.FLAG_SECURE_HASRESUMED)) { 103 } else if (action.equals(Utils.ASSIST_RECEIVER_REGISTERED)) {
|
FocusChangeTest.java | 99 String action = intent.getAction(); local 100 if (action.equals(Utils.GAINED_FOCUS) && mHasGainedFocusLatch != null) { 102 } else if (action.equals(Utils.LOST_FOCUS) && mHasLostFocusLatch != null) { 104 } else if (action.equals(Utils.ASSIST_RECEIVER_REGISTERED)) {
|
LargeViewHierarchyTest.java | 99 String action = intent.getAction(); local 100 if (action.equals(Utils.APP_3P_HASRESUMED) && mHasResumedLatch != null) { 102 } else if (action.equals(Utils.ASSIST_RECEIVER_REGISTERED) && mReadyLatch != null) {
|
ScreenshotTest.java | 126 String action = intent.getAction(); local 127 Log.i(ScreenshotTest.TAG, "Got some broadcast: " + action); 128 if (action.equals(Utils.ASSIST_RECEIVER_REGISTERED)) { 133 } else if (action.equals(Utils.APP_3P_HASRESUMED)) {
|
TextViewTest.java | 127 String action = intent.getAction(); local 128 if (action.equals(Utils.APP_3P_HASRESUMED) && mHasResumedLatch != null) { 130 } else if (action.equals(Utils.ASSIST_RECEIVER_REGISTERED) && mReadyLatch != null) {
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
CommReceiver.java | 57 // Request to return the last intent action that started TestService. 65 // Request to start TestService with a given action. 67 final String action = request.getTestServiceRequest().getStartService().getAction(); local 70 final Intent intent = new Intent(action)
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
BatterySaverAlarmTest.java | 90 // Use a different broadcast action every time. 91 private final String ACTION = "BATTERY_SAVER_ALARM_TEST_ALARM_ACTION_" + Values.getRandomInt(); 107 final IntentFilter filter = new IntentFilter(ACTION); 128 .setIntentAction(ACTION) 146 final String action = "start_service_" + getRandomInt() + "_fg=" + foreground; local 153 .setAction(action).build() 157 return action;
|
/cts/tests/tests/view/src/android/view/cts/ |
ContentPaneFocusTest.java | 67 ActionBar action = mActivity.getActionBar(); local 68 if (action == null || !action.isShowing()) { 69 // No action bar, so we only needed to make sure that the shortcut didn't cause 75 // Should jump to the action bar after meta+tab 100 // Now it shouldn't go up to action bar -- it doesn't allow taking focus once left 118 ActionBar action = mActivity.getActionBar(); local 119 if (action == null || !action.isShowing()) { 120 // No action bar, so we only needed to make sure that the shortcut didn't caus [all...] |
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/ |
DismissListener.java | 73 String action = intent.getAction(); local 74 if (Constants.ACTION_DISMISS.equals(action)) {
|
/developers/build/prebuilts/gradle/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/ |
NotificationUpdateService.java | 67 String action = intent.getAction(); local 68 if (Constants.ACTION_DISMISS.equals(action)) {
|
/developers/build/prebuilts/gradle/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ |
MessagingIntentService.java | 39 "com.example.android.wearable.wear.wearnotifications.handlers.action.REPLY"; 53 final String action = intent.getAction(); local 54 if (ACTION_REPLY.equals(action)) { 60 /** Handles action for replying to messages from the notification. */ 183 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 195 // Enable action to appear inline on Wear 2.0 (24+). This means it will appear over the 196 // lower portion of the Notification for easy action (only possible for one action). 197 final NotificationCompat.Action.WearableExtender inlineActionForWear2_0 = 198 new NotificationCompat.Action.WearableExtender( [all...] |
/developers/build/prebuilts/gradle/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 46 "com.example.android.wearable.wear.wearnotifications.handlers.action.COMMENT"; 60 final String action = intent.getAction(); local 61 if (ACTION_COMMENT.equals(action)) { 68 * Handles action for adding a comment from the notification. 190 NotificationCompat.Action replyAction = 191 new NotificationCompat.Action.Builder(
|
BigTextIntentService.java | 44 "com.example.android.wearable.wear.wearnotifications.handlers.action.DISMISS"; 46 "com.example.android.wearable.wear.wearnotifications.handlers.action.SNOOZE"; 59 final String action = intent.getAction(); local 60 if (ACTION_DISMISS.equals(action)) { 62 } else if (ACTION_SNOOZE.equals(action)) { 69 * Handles action Dismiss in the provided background thread. 80 * Handles action Snooze in the provided background thread. 157 // Snooze Action 162 NotificationCompat.Action snoozeAction = 163 new NotificationCompat.Action.Builder [all...] |
MessagingIntentService.java | 47 "com.example.android.wearable.wear.wearnotifications.handlers.action.REPLY"; 62 final String action = intent.getAction(); local 63 if (ACTION_REPLY.equals(action)) { 70 * Handles action for replying to messages from the notification. 212 NotificationCompat.Action replyAction = 213 new NotificationCompat.Action.Builder(
|
/developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 45 "com.example.android.wearable.wear.wearnotifications.handlers.action.COMMENT"; 59 final String action = intent.getAction(); local 60 if (ACTION_COMMENT.equals(action)) { 67 * Handles action for adding a comment from the notification. 175 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 188 // Enable action to appear inline on Wear 2.0 (24+). This means it will appear over the 189 // lower portion of the Notification for easy action (only possible for one action). 190 final NotificationCompat.Action.WearableExtender inlineActionForWear2 = 191 new NotificationCompat.Action.WearableExtender( [all...] |
BigTextIntentService.java | 46 "com.example.android.wearable.wear.wearnotifications.handlers.action.DISMISS"; 48 "com.example.android.wearable.wear.wearnotifications.handlers.action.SNOOZE"; 61 final String action = intent.getAction(); local 62 if (ACTION_DISMISS.equals(action)) { 64 } else if (ACTION_SNOOZE.equals(action)) { 71 * Handles action Dismiss in the provided background thread. 82 * Handles action Snooze in the provided background thread. 165 // Snooze Action. 170 NotificationCompat.Action snoozeAction = 171 new NotificationCompat.Action.Builder [all...] |
MessagingIntentService.java | 45 "com.example.android.wearable.wear.wearnotifications.handlers.action.REPLY"; 60 final String action = intent.getAction(); local 61 if (ACTION_REPLY.equals(action)) { 68 * Handles action for replying to messages from the notification. 189 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 200 // Enable action to appear inline on Wear 2.0 (24+). This means it will appear over the 201 // lower portion of the Notification for easy action (only possible for one action). 202 final NotificationCompat.Action.WearableExtender inlineActionForWear2_0 = 203 new NotificationCompat.Action.WearableExtender( [all...] |
/developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/ |
DismissListener.java | 73 String action = intent.getAction(); local 74 if (Constants.ACTION_DISMISS.equals(action)) {
|
/developers/samples/android/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/ |
NotificationUpdateService.java | 67 String action = intent.getAction(); local 68 if (Constants.ACTION_DISMISS.equals(action)) {
|
/developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ |
MessagingIntentService.java | 39 "com.example.android.wearable.wear.wearnotifications.handlers.action.REPLY"; 53 final String action = intent.getAction(); local 54 if (ACTION_REPLY.equals(action)) { 60 /** Handles action for replying to messages from the notification. */ 183 // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly 195 // Enable action to appear inline on Wear 2.0 (24+). This means it will appear over the 196 // lower portion of the Notification for easy action (only possible for one action). 197 final NotificationCompat.Action.WearableExtender inlineActionForWear2_0 = 198 new NotificationCompat.Action.WearableExtender( [all...] |
/developers/samples/android/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigPictureSocialIntentService.java | 46 "com.example.android.wearable.wear.wearnotifications.handlers.action.COMMENT"; 60 final String action = intent.getAction(); local 61 if (ACTION_COMMENT.equals(action)) { 68 * Handles action for adding a comment from the notification. 190 NotificationCompat.Action replyAction = 191 new NotificationCompat.Action.Builder(
|
BigTextIntentService.java | 44 "com.example.android.wearable.wear.wearnotifications.handlers.action.DISMISS"; 46 "com.example.android.wearable.wear.wearnotifications.handlers.action.SNOOZE"; 59 final String action = intent.getAction(); local 60 if (ACTION_DISMISS.equals(action)) { 62 } else if (ACTION_SNOOZE.equals(action)) { 69 * Handles action Dismiss in the provided background thread. 80 * Handles action Snooze in the provided background thread. 157 // Snooze Action 162 NotificationCompat.Action snoozeAction = 163 new NotificationCompat.Action.Builder [all...] |
MessagingIntentService.java | 47 "com.example.android.wearable.wear.wearnotifications.handlers.action.REPLY"; 62 final String action = intent.getAction(); local 63 if (ACTION_REPLY.equals(action)) { 70 * Handles action for replying to messages from the notification. 212 NotificationCompat.Action replyAction = 213 new NotificationCompat.Action.Builder(
|