Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DIntentQueryHelper.java37 private final StringQueryHelper<E> mAction; field in IntentQueryHelper
65 mAction = new StringQueryHelper<>(query); in IntentQueryHelper()
71 mAction = in.readParcelable(IntentQueryHelper.class.getClassLoader()); in IntentQueryHelper()
77 return mAction; in action()
87 return Queryable.isEmptyQuery(mAction) in isEmptyQuery()
94 if (!mAction.matches(value.getAction())) { in matches()
119 mAction.describeQuery(fieldName + ".action"), in describeQuery()
131 out.writeParcelable(mAction, flags); in writeToParcel()
151 return Objects.equals(mAction, that.mAction) && Objects.equals(mExtras, in equals()
157 return Objects.hash(mAction, mExtras); in hashCode()
/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()
119 && mAction.equals(peerEntry.mAction) in equalsIgnoreSubject()
132 return equalsWithPowerPolicyData(peerEntry.mTestcase, peerEntry.mAction, in equalsWithPowerPolicyData()
141 || !mAction.equals(action)) { in equalsWithPowerPolicyData()
/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/tests/tests/media/misc/src/android/media/misc/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()
/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/tests/PhotoPicker/src/android/photopicker/cts/
DPhotoPickerTest.java81 public String mAction; field in PhotoPickerTest
121 final Intent intent = new Intent(mAction); in testSingleSelect()
128 assertPickerUriFormat(mAction, uri, mContext.getUserId()); in testSingleSelect()
139 final Intent intent = new Intent(mAction); in testSingleSelectForFavoritesAlbum()
152 assertPickerUriFormat(mAction, uri, mContext.getUserId()); in testSingleSelectForFavoritesAlbum()
161 Intent intent = new Intent(mAction); in testLaunchPreviewMultipleForVideoAlbum()
194 final Intent intent = new Intent(mAction); in testSingleSelectWithPreview()
206 assertPickerUriFormat(mAction, uri, mContext.getUserId()); in testSingleSelectWithPreview()
214 Intent intent = new Intent(mAction); in testMultiSelect()
232 assertPickerUriFormat(mAction, uri, mContext.getUserId()); in testMultiSelect()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMouseUtil.java104 private final int mAction; field in CtsMouseUtil.ActionMatcher
107 mAction = action; in ActionMatcher()
112 return actual.getAction() == mAction; in matches()
117 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/tests/telephony/current/src/android/telephony/satellite/cts/
DCarrierRoamingSatelliteTestBase.java299 private String mAction; field in CarrierRoamingSatelliteTestBase.SmsMmsBroadcastReceiver
303 mAction = action; in setAction()
310 return mAction; in getAction()
318 if (intent.getAction().equals(mAction)) { in onReceive()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java995 private int mAction = PROCEED; field in WebViewSslTest.ClientCertWebViewClient
1017 mAction = action; in setAction()
1031 if (mAction == IGNORE) { in onReceivedClientCertRequest()
1035 if (mAction == CANCEL) { in onReceivedClientCertRequest()
1039 if (mAction == PROCEED) { in onReceivedClientCertRequest()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaControllerTest.java384 assertThat(mCallback.mAction).isEqualTo(action); in testTransportControlsAndMediaSessionCallback()
395 assertThat(mCallback.mAction).isEqualTo(action); in testTransportControlsAndMediaSessionCallback()
461 callback.onCustomAction(mCallback.mAction, mCallback.mExtras); in testTransportControlsAndMediaSessionCallback()
462 callback.onCustomAction(mCallback.mAction, mCallback.mExtras); in testTransportControlsAndMediaSessionCallback()
630 private String mAction; field in MediaControllerTest.MediaSessionCallback
667 mAction = null; in reset()
818 mAction = action; in onCustomAction()
/cts/tests/tests/view/src/android/view/cts/
DViewUnbufferedTest.java117 final int mAction; field in ViewUnbufferedTest.ReceivedEvent
124 mAction = action; in ReceivedEvent()
156 assertEquals(sentEvent.getAction(), receivedEvent.mAction); in compareEvent()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java286 int mAction; field in GestureUtils.MotionEventActionMatcher
290 mAction = action; in MotionEventActionMatcher()
295 return motionEvent.getActionMasked() == mAction; in matchesSafely()
300 description.appendText("Matching to action " + MotionEvent.actionToString(mAction)); in describeTo()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java128 private String mAction; field in MmsTest.SentReceiver
135 mAction = action; in SentReceiver()
140 Log.i(TAG, "onReceive Action " + intent.getAction() + ", mAction " + mAction); in onReceive()
184 if (intent.getAction().equals(mAction)) { in onReceive()
DSmsManagerTest.java1004 private String mAction; field in SmsManagerTest.SmsBroadcastReceiver
1008 mAction = action; in SmsBroadcastReceiver()
1020 if(mAction.equals(DATA_SMS_RECEIVED_ACTION)){ in onReceive()
1040 if (mAction.equals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION)) { in onReceive()
1043 Log.i(TAG, "onReceive " + intent.getAction() + ", mAction " + mAction); in onReceive()
1044 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/tests/notification/src/android/app/notification/current/cts/
DNotificationTest.java74 private Notification.Action mAction; field in NotificationTest
335 mAction = null;
336 mAction = new Notification.Action.Builder(0, ACTION_TITLE, actionIntent)
339 assertEquals(ACTION_TITLE, mAction.title);
340 assertEquals(actionIntent, mAction.actionIntent);
341 assertEquals(true, mAction.getAllowGeneratedReplies());
342 assertTrue(mAction.isAuthenticationRequired());
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandInstallTest.java2962 private final String mAction; field in PackageManagerShellCommandInstallTest.PackageBroadcastReceiver
2966 mAction = action; in PackageBroadcastReceiver()
2974 if (intent.getAction().equals(mAction) && userId == mTargetUserId in onReceive()
2985 "am wait-for-broadcast-dispatch -a %s -d package:%s", mAction, mTargetPackage)); in assertBroadcastReceived()
2993 "am wait-for-broadcast-dispatch -a %s -d package:%s", mAction, mTargetPackage)); in assertBroadcastNotReceived()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java2649 result &= Objects.equals(ue1.mAction, ue2.mAction); in compareEvent()