Home
last modified time | relevance | path

Searched refs:mAction (Results 1 – 19 of 19) sorted by relevance

/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DTestAppInterface.java132 private String mAction; field in TestAppInterface.BroadcastLatch
141 mAction = Objects.requireNonNull(action); in register()
143 mRemoteService.registerBroadcastReporter(mAction, new IBroadcastReporter.Stub() { in register()
147 if (mAction != null && mAction.equals(intent.getAction())) { in register()
157 if (mAction != null) { in unregister()
158 mRemoteService.unregisterBroadcastReporter(mAction); in unregister()
159 mAction = null; in unregister()
171 if (mAction == null) { in awaitIntent()
182 assertEquals(mAction, mReportedIntent.getAction()); in awaitIntent()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DIntentQueryHelper.java31 private final StringQueryHelper<E> mAction; field in IntentQueryHelper
36 mAction = new StringQueryHelper<>(mQuery); in IntentQueryHelper()
42 mAction = new StringQueryHelper<>(query); in IntentQueryHelper()
48 return mAction; in action()
59 if (!mAction.matches(value.getAction())) { in matches()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DTestResultTable.java70 private final String mAction; field in TestResultTable.RecordEntry
76 mAction = action; in RecordEntry()
93 || !mAction.equals(peerEntry.mAction) in equals()
102 int code = mTestcase.hashCode() + mAction.hashCode() + mData.hashCode(); in hashCode()
110 .append(mTestcase).append(": ").append(mAction).append(": "); in toString()
126 return equalsWithPowerPolicyData(peerEntry.mTestcase, peerEntry.mAction, in equalsWithPowerPolicyData()
135 || !mAction.equals(action)) { in equalsWithPowerPolicyData()
/cts/tests/tests/media/src/android/media/cts/
DScannerNotificationReceiver.java32 private final String mAction; field in ScannerNotificationReceiver
36 mAction = action; in ScannerNotificationReceiver()
41 if (intent.getAction().equals(mAction)) { in onReceive()
50 + mAction + " while trying to scan " + numFiles + " files!"); in waitForBroadcast()
DMediaRandomTest.java61 private volatile int mAction; field in MediaRandomTest
142 fail("Action " + mAction + " Param " + mParam in run()
222 mAction = (int)(r.nextInt() % 12); in testPlayerRandomAction()
225 switch (mAction) { in testPlayerRandomAction()
311 mAction = (int)(r.nextInt(14)); in testRecorderRandomAction()
314 switch (mAction) { in testRecorderRandomAction()
DMediaControllerTest.java357 assertEquals(action, mCallback.mAction); in testTransportControlsAndMediaSessionCallback()
368 assertEquals(action, mCallback.mAction); in testTransportControlsAndMediaSessionCallback()
434 callback.onCustomAction(mCallback.mAction, mCallback.mExtras); in testTransportControlsAndMediaSessionCallback()
435 callback.onCustomAction(mCallback.mAction, mCallback.mExtras); in testTransportControlsAndMediaSessionCallback()
647 private String mAction; field in MediaControllerTest.MediaSessionCallback
684 mAction = null; in reset()
835 mAction = action; in onCustomAction()
DAudioManagerTest.java291 private final String mAction; field in AudioManagerTest.MyBlockingIntentReceiver
296 mAction = action; in MyBlockingIntentReceiver()
301 if (!TextUtils.equals(intent.getAction(), mAction)) { in onReceive()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBlockingIntentSender.java57 private final String mAction; field in BlockingIntentSender
62 mAction = action; in BlockingIntentSender()
67 mTestApis.context().instrumentedContext(), mAction); in register()
70 Intent intent = new Intent(mAction); in register()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorSettingContainer.java34 private final String mAction; field in SensorSettingContainer
42 mAction = action; in SensorSettingContainer()
91 stateContainer.executeActivity(mAction); in trySetMode()
111 return stateContainer.hasActivity(mAction); in isSettingUiAvailable()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMouseUtil.java99 private final int mAction; field in CtsMouseUtil.ActionMatcher
102 mAction = action; in ActionMatcher()
107 return actual.getAction() == mAction; in matches()
112 return "action=" + MotionEvent.actionToString(mAction); in toString()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/devicepolicy/provisioning/
DSilentProvisioningTestManager.java156 private final String mAction; field in SilentProvisioningTestManager.BlockingReceiver
161 mAction = action; in BlockingReceiver()
166 mContext.registerReceiver(this, new IntentFilter(mAction)); in register()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleConnectionPriorityClientService.java89 private String mAction; field in BleConnectionPriorityClientService
144 mAction = intent.getAction(); in onStartCommand()
145 if (mAction != null) { in onStartCommand()
146 switch (mAction) { in onStartCommand()
DBleEncryptedClientService.java118 private String mAction; field in BleEncryptedClientService
179 mAction = intent.getAction(); in onStartCommand()
180 if (mAction == null) { in onStartCommand()
183 switch (mAction) { in onStartCommand()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java217 int mAction; field in GestureUtils.MotionEventActionMatcher
221 mAction = action; in MotionEventActionMatcher()
226 return motionEvent.getActionMasked() == mAction; in matchesSafely()
231 description.appendText("Matching to action " + MotionEvent.actionToString(mAction)); in describeTo()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java1014 private int mAction = PROCEED; field in WebViewSslTest.ClientCertWebViewClient
1036 mAction = action; in setAction()
1050 if (mAction == IGNORE) { in onReceivedClientCertRequest()
1054 if (mAction == CANCEL) { in onReceivedClientCertRequest()
1058 if (mAction == PROCEED) { in onReceivedClientCertRequest()
/cts/tests/tests/view/src/android/view/cts/
DViewUnbufferedTest.java107 final int mAction; field in ViewUnbufferedTest.ReceivedEvent
114 mAction = action; in ReceivedEvent()
146 assertEquals(sentEvent.getAction(), receivedEvent.mAction); in compareEvent()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java903 private String mAction; field in SmsManagerTest.SmsBroadcastReceiver
907 mAction = action; in SmsBroadcastReceiver()
919 if(mAction.equals(DATA_SMS_RECEIVED_ACTION)){ in onReceive()
939 if (mAction.equals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION)) { in onReceive()
942 Log.i(TAG, "onReceive " + intent.getAction() + " mAction " + mAction); in onReceive()
943 if (intent.getAction().equals(mAction)) { in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java533 private final Runnable mAction; field in MockTvInputService.Callback
538 mAction = action; in Callback()
542 mPostTarget.post(mAction); in post()
/cts/tests/app/src/android/app/cts/
DNotificationTest.java58 private Notification.Action mAction; field in NotificationTest
298 mAction = null;
299 mAction = new Notification.Action.Builder(0, ACTION_TITLE, actionIntent)
302 assertEquals(ACTION_TITLE, mAction.title);
303 assertEquals(actionIntent, mAction.actionIntent);
304 assertEquals(true, mAction.getAllowGeneratedReplies());
305 assertTrue(mAction.isAuthenticationRequired());