Home
last modified time | relevance | path

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

/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/
DSynchronousPixelCopy.java44 private int mStatus = -1; field in SynchronousPixelCopy
48 mStatus = -1; in request()
56 mStatus = -1; in request()
64 mStatus = -1; in request()
72 mStatus = -1; in request()
80 mStatus = -1; in request()
88 mStatus = -1; in request()
97 while (mStatus == -1 && now <= end) { in getResultLocked()
103 if (mStatus == -1) { in getResultLocked()
106 return mStatus; in getResultLocked()
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWaitForResultActivity.java38 private boolean mStatus = false; field in WaitForResultActivity
47 mStatus = false; in startActivityToWaitForResult()
60 return mStatus; in waitForActivityResult()
74 mStatus = data.getBooleanExtra( in onActivityResult()
104 mStatus = false; in startServiceToWaitForResult()
110 mStatus = resultCode == 1; in startServiceToWaitForResult()
128 return mStatus; in waitForServiceResult()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/
DTestGnssNavigationMessageListener.java38 private volatile int mStatus = -1; field in TestGnssNavigationMessageListener
62 mStatus = status; in onStatusChanged()
63 if (mStatus != GnssNavigationMessage.Callback.STATUS_READY) { in onStatusChanged()
79 return mStatus; in getStatus()
/cts/hostsidetests/incrementalinstall/appvalidator/src/android/incrementalinstall/inrementaltestappvalidation/
DStatusReceiver.java60 private String mStatus = null; field in StatusReceiver.StatusLatch
63 mStatus = status; in releaseWithStatus()
69 return mStatus; in awaitForStatus()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java34 private final String mStatus; field in TestResult
52 return mStatus; in getStatus()
93 mStatus = status; in TestResult()
109 dest.writeString(mStatus); in writeToParcel()
128 mStatus = source.readString(); in TestResult()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DMultipleStepsSignInActivity.java53 private TextView mStatus; field in MultipleStepsSignInActivity
74 mStatus = findViewById(R.id.status); in onCreate()
119 mStatus.setText(MESSAGE_STEP + i); in showStep()
133 mStatus.setText(MESSAGE_FINISH); in finishSelf()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInstallerArchiveTest.java204 mArchiveIntentSender.mStatus.get(10, TimeUnit.MILLISECONDS)).isEqualTo( in archiveApp_dataIsKept()
229 assertThat(mArchiveIntentSender.mStatus.get(5, TimeUnit.SECONDS)).isEqualTo( in archiveApp_getApplicationIcon()
250 assertThat(mArchiveIntentSender.mStatus.get(5, TimeUnit.SECONDS)).isEqualTo( in archiveApp_getApplicationIcon_compatOptionsOn()
280 assertThat(mArchiveIntentSender.mStatus.get(5, TimeUnit.SECONDS)).isEqualTo( in archiveApp_uninstallationWorksCorrectly()
346 assertThat(mArchiveIntentSender.mStatus.get(5, TimeUnit.SECONDS)).isEqualTo( in matchArchivedPackages()
405 assertThat(mArchiveIntentSender.mStatus.get(5, TimeUnit.SECONDS)).isEqualTo( in archiveApp_twiceFails()
429 assertThat(mArchiveIntentSender.mStatus.get()).isEqualTo( in archiveApp_getArchiveTimeMillis()
452 assertThat(mArchiveIntentSender.mStatus.get()).isEqualTo( in archiveApp_archiveStateClearedAfterUpdate()
480 assertThat(mArchiveIntentSender.mStatus.get(5, TimeUnit.SECONDS)).isEqualTo( in unarchiveApp()
525 assertThat(mArchiveIntentSender.mStatus.get(5, TimeUnit.SECONDS)).isEqualTo( in unarchiveApp_repeatedCallsDeduplicated()
[all …]
DLauncherAppsTest.java400 assertThat(mIntentSender.mStatus.get()).isEqualTo( in testGetActivityList_targetArchivedApp()
444 assertThat(mIntentSender.mStatus.get()).isEqualTo( in testGetActivityList_allArchivedApps()
502 assertThat(mIntentSender.mStatus.get()).isEqualTo( in resolveActivity_archivedApp_componentNameMatches()
545 assertThat(mIntentSender.mStatus.get()).isEqualTo( in resolveActivity_archivedApp_classNameMismatch()
570 assertThat(mIntentSender.mStatus.get()).isEqualTo( in isActivityEnabled_archivedApp_componentNameMatches()
593 assertThat(mIntentSender.mStatus.get()).isEqualTo( in isActivityEnabled_archivedApp_componentNameMismatch()
616 assertThat(mIntentSender.mStatus.get()).isEqualTo( in isPackageEnabled_archivedApp()
637 assertThat(mIntentSender.mStatus.get()).isEqualTo( in shouldHideFromSuggestions_archivedApp()
657 assertThat(mIntentSender.mStatus.get()).isEqualTo( in startActivityAsUser_archivedApp()
729 final CompletableFuture<Integer> mStatus = new CompletableFuture<>(); field in LauncherAppsTest.ArchiveIntentSender
[all …]
DPackageInstallerArchiveMultiUserTest.java190 assertThat(mArchiveIntentSender.mStatus.get(TIMEOUT_MILLISECONDS, in archiveApp_broadcast_multiuser()
252 mArchiveIntentSender.mStatus.get(TIMEOUT_MILLISECONDS, in archiveApp_onlyForOneUser_multiuser()
310 final CompletableFuture<Integer> mStatus = new CompletableFuture<>(); field in PackageInstallerArchiveMultiUserTest.ArchiveIntentSender
319 mStatus.complete(intent.getIntExtra(PackageInstaller.EXTRA_STATUS, -100)); in send()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioMicrophoneMuteToggleActivity.java48 private Status mStatus = Status.START; field in AudioMicrophoneMuteToggleActivity
89 mStatus = Status.DONE; in onCreate()
94 switch (mStatus) { in onCreate()
110 mStatus = Status.RECORDING; in onCreate()
/cts/tests/location/common/src/android/location/cts/common/
DTestGnssMeasurementListener.java46 private volatile int mStatus = -1; field in TestGnssMeasurementListener
161 mStatus = status; in onStatusChanged()
229 return mStatus; in getStatus()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechConnectionTest.java200 private Integer mStatus = null; field in TextToSpeechConnectionTest.TtsInitListener
208 mStatus = status; in onInit()
221 return mStatus; in waitForInitStatus()
DTextToSpeechWrapper.java146 private Integer mStatus = null; field in TextToSpeechWrapper.InitWaitListener
151 mStatus = new Integer(status); in onInit()
162 while (mStatus == null) { in waitForInit()
168 return mStatus == TextToSpeech.SUCCESS; in waitForInit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DCallbackUtils.java398 private int mStatus = TIMEOUT; field in CallbackUtils.RangingCb
409 return new Pair<>(mStatus, mResults); in waitForRangingResults()
416 mStatus = ON_FAILURE; in onRangingFailure()
422 mStatus = ON_RESULTS; in onRangingResults()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/
DUsbAccessoryTestActivity.java70 private TextView mStatus; field in UsbAccessoryTestActivity
89 mStatus = (TextView) findViewById(R.id.status); in onCreate()
91 mStatus.setText(R.string.usb_accessory_test_step1); in onCreate()
130 mStatus.setText(R.string.usb_accessory_test_step2); in onAttached()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DMediaBitstreamsTest.java120 final String mPath, mCodecName, mStatus; field in MediaBitstreamsTest.ConformanceEntry
124 mStatus = status; in ConformanceEntry()
128 return String.format("%s,%s,%s", mPath, mCodecName, mStatus); in toString()
501 if (!"true".equals(ce.mStatus) && !"unsupported".equals(ce.mStatus)) { in testBitstreamsConformance()
/cts/tests/tests/car/src/android/car/cts/
DCarAudioManagerTest.java990 assertWithMessage("Rejected request status").that(callback.mStatus) in requestMediaAudioOnPrimaryZone_withoutApprover()
1017 assertWithMessage("Audio status in primary zone").that(callback.mStatus) in allowMediaAudioOnPrimaryZone()
1043 assertWithMessage("Unapproved audio status in primary zone").that(callback.mStatus) in allowMediaAudioOnPrimaryZone_withReject()
1079 .that(callback.mStatus).isEqualTo(CarAudioManager.AUDIO_REQUEST_STATUS_CANCELLED); in cancelMediaAudioOnPrimaryZone()
1105 .that(callback.mStatus).isEqualTo(CarAudioManager.AUDIO_REQUEST_STATUS_STOPPED); in resetMediaAudioOnPrimaryZone()
1360 .that(mAudioZonesMirrorCallback.mStatus).isEqualTo( in enableMirrorForAudioZones()
1398 .that(mAudioZonesMirrorCallback.mStatus).isEqualTo( in disableAudioMirrorForZone()
1420 .that(mAudioZonesMirrorCallback.mStatus).isEqualTo( in disableAudioMirror()
2115 private int mStatus; field in CarAudioManagerTest.TestMediaAudioRequestStatusCallback
2125 mStatus = 0; in reset()
[all …]
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java885 private volatile MidiDeviceStatus mStatus; field in MidiEchoTest.MyDeviceCallback
910 mStatus = status; in onDeviceStatusChanged()
921 while (mStatus == null && timeRemaining > 0) { in waitForStatus()
925 return mStatus; in waitForStatus()
930 mStatus = null; in clear()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java85 private TextView mStatus; field in UsbDeviceTestActivity
117 mStatus = (TextView) findViewById(R.id.status); in onCreate()
128 mStatus.setText(R.string.usb_device_test_step1); in onCreate()
139 mStatus.setText(R.string.usb_device_test_step2); in onCreate()
165 mStatus.setText(R.string.usb_device_test_step3); in onCreate()
174 mStatus.setText(R.string.usb_device_test_step4); in onCreate()
1597 mStatus.setText(R.string.usb_device_test_step2); in attachedTask()
1625 mStatus.setText(R.string.usb_device_test_step3); in attachedTask()
1635 mStatus.setText(R.string.usb_device_test_step4); in attachedTask()