Home
last modified time | relevance | path

Searched refs:Status (Results 1 – 24 of 24) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp79 Status descramble_status; in thread_func()
87 [&](Status status, uint32_t, const hidl_string &) { in thread_func()
101 return (void *)(descramble_status == Status::OK ? RESULT_SESSION1 in thread_func()
112 FAIL_CHECK(cas->provision(provision_str) == Status::OK) in main()
121 Status opensession_status; in main()
123 cas->openSession([&](Status status, const hidl_vec<uint8_t> &sessionId) { in main()
127 FAIL_CHECK(opensession_status == Status::OK); in main()
133 FAIL_CHECK(cas->processEcm(session1, ecm) == Status::OK); in main()
136 cas->openSession([&](Status status, const hidl_vec<uint8_t> &sessionId) { in main()
140 FAIL_CHECK(opensession_status == Status::OK); in main()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9344/
Dpoc.cpp39 Return<Status> returnStatus(Status::OK); in thread1()
50 Status status; in main()
52 Return<Status> returnStatus(Status::OK); in main()
70 [&status, &sessionId](Status _status, in main()
75 if (!returnVoid.isOk() || status != Status::OK) { in main()
92 if (!returnStatus.isOk() || (Status)returnStatus != Status::OK) { in main()
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_components/
DStatus.java36 public class Status extends Asn1Enumerated { class
79 public Status() { in Status() method in Status
121 public static Status fromPerUnaligned(byte[] encodedBytes) { in fromPerUnaligned()
122 Status result = new Status(); in fromPerUnaligned()
130 public static Status fromPerAligned(byte[] encodedBytes) { in fromPerAligned()
131 Status result = new Status(); in fromPerAligned()
DLocationId.java115 private Status status_;
116 public Status getStatus() { in getStatus()
123 this.status_ = (Status) value; in setStatus()
125 public Status setStatusToNewInstance() { in setStatusToNewInstance()
126 status_ = new Status(); in setStatusToNewInstance()
205 return tag == null ? Status.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DVoicemailContractTest.java30 import android.provider.VoicemailContract.Status;
70 mStatusContentUri = Status.buildSourceUri(mSourcePackageName); in setUp()
449 Status._ID, Status.SOURCE_PACKAGE, Status.CONFIGURATION_STATE, in testStatusTable()
450 Status.DATA_CHANNEL_STATE, Status.NOTIFICATION_CHANNEL_STATE, in testStatusTable()
451 Status.SETTINGS_URI, Status.VOICEMAIL_ACCESS_URI, in testStatusTable()
452 Status.QUOTA_OCCUPIED, Status.QUOTA_TOTAL}; in testStatusTable()
463 int insertConfigurationState = Status.CONFIGURATION_STATE_OK; in testStatusTable()
464 int insertDataChannelState = Status.DATA_CHANNEL_STATE_OK; in testStatusTable()
465 int insertNotificationChannelState = Status.NOTIFICATION_CHANNEL_STATE_OK; in testStatusTable()
471 int updateDataChannelState = Status.DATA_CHANNEL_STATE_NO_CONNECTION; in testStatusTable()
[all …]
/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.h48 enum Status : int32_t { enum
63 Status startThread();
64 Status joinThread();
198 static Status checkOverallBitrate(const Stats&, const RunConfig&);
199 static Status checkFramerate(const Stats&, const RunConfig&);
200 static Status checkIntraPeriod(const Stats&, const RunConfig&);
201 static Status checkDynamicKeyFrames(const Stats&, const RunConfig&);
202 static Status checkDynamicBitrate(const Stats&, const RunConfig&);
Dnative_media_source.h34 using Utils::Status;
54 virtual Status prepare(std::shared_ptr<Listener> l, std::shared_ptr<ANativeWindow> n) = 0;
55 virtual Status start() = 0;
56 virtual Status stop() = 0;
Dnative_media_decoder_source.cpp32 Status setDataSourceFd(int sourceFileFd, off64_t sourceFileOffset, off64_t sourceFileSize);
33 Status prepare(std::shared_ptr<Listener> l, std::shared_ptr<ANativeWindow> n) override;
34 Status start() override;
35 Status stop() override;
83 Status DecoderSource::setDataSourceFd( in setDataSourceFd()
198 Status DecoderSource::prepare( in prepare()
225 Status DecoderSource::start() { in start()
239 Status DecoderSource::stop() { in stop()
Dnative_media_encoder_jni.cpp56 Status prepare(std::unique_ptr<RunConfig> config, std::shared_ptr<ANativeWindow> anw = nullptr);
57 Status start();
58 Status waitForCompletion();
59 Status validate();
61 Status reset();
107 Status NativeEncoder::prepare( in prepare()
144 Status NativeEncoder::start() { in start()
159 Status NativeEncoder::waitForCompletion() { in waitForCompletion()
165 Status NativeEncoder::validate() { in validate()
200 Status NativeEncoder::reset() { in reset()
[all …]
Dnative_media_utils.cpp35 Status Thread::startThread() { in startThread()
44 Status Thread::joinThread() { in joinThread()
143 Status Validator::checkOverallBitrate(const Stats &stats, const RunConfig& config) { in checkOverallBitrate()
176 Status Validator::checkFramerate(const Stats&, const RunConfig&) { in checkFramerate()
181 Status Validator::checkIntraPeriod(const Stats& stats, const RunConfig& config) { in checkIntraPeriod()
239 Status Validator::checkDynamicKeyFrames(const Stats& stats, const RunConfig& config) { in checkDynamicKeyFrames()
266 Status Validator::checkDynamicBitrate(const Stats& stats, const RunConfig& config) { in checkDynamicBitrate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java61 public enum Status { enum in VrListenerVerifierActivity
95 test.setStatus((savedState == null) ? Status.SETUP : in onCreate()
96 Status.values()[savedState.getInt(test.getClass().getSimpleName(), 0)]); in onCreate()
127 final Status currentTestStatus = current.getStatus(); in onResume()
128 if (currentTestStatus == Status.RUNNING) { in onResume()
134 } else if (currentTestStatus == Status.PASS) { in onResume()
155 Status status = persistentTestStatusHandler.getStatusOfTest(mCurrentIdx); in waitForPreviousRunningTest()
157 if (status == Status.PASS) { in waitForPreviousRunningTest()
160 } else if (status == Status.FAIL) { in waitForPreviousRunningTest()
172 if (t.getStatus() != Status.PASS) { in updateUiState()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DDecoderConformanceTest.java57 private static enum Status { enum in DecoderConformanceTest
134 …private Status decodeTestVector(String mime, String decoderName, String vectorName) throws Excepti… in decodeTestVector()
145 return Status.SKIP; in decodeTestVector()
153 return Status.FAIL; in decodeTestVector()
158 return Status.PASS; in decodeTestVector()
161 return Status.FAIL; in decodeTestVector()
177 Status stat = decodeTestVector(mime, decoderName, vectorName); in decodeTestVectors()
178 if (stat == Status.PASS) { in decodeTestVectors()
180 } else if (stat == Status.SKIP) { in decodeTestVectors()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundSpeakerTestActivity.java49 public enum Status { enum in HifiUltrasoundSpeakerTestActivity
55 private Status status = Status.START;
79 if (status == Status.PLAYER) { in onBackPressed()
84 if (status == Status.PLAYER) { in onBackPressed()
151 status = Status.DONE; in onCreate()
171 status = Status.RECORDING; in onCreate()
218 status = Status.PLAYER; in onCreate()
227 if (status == Status.PLAYER) { in onCreate()
405 if (status == HifiUltrasoundSpeakerTestActivity.Status.PLAYER) { in onPostExecute()
DHifiUltrasoundTestActivity.java46 public enum Status { enum in HifiUltrasoundTestActivity
52 private Status status = Status.START;
131 status = Status.DONE; in onCreate()
151 status = Status.RECORDING; in onCreate()
198 status = Status.PLAYER; in onCreate()
/cts/tests/tests/os/src/android/os/cts/
DAsyncTaskTest.java58 return mMyAsyncTask.getStatus() == AsyncTask.Status.FINISHED; in doTestAsyncTask()
73 assertEquals(AsyncTask.Status.FINISHED, mMyAsyncTask.getStatus()); in doTestAsyncTask()
219 assertEquals(AsyncTask.Status.PENDING, mMyAsyncTask.getStatus()); in startAsyncTask()
221 assertEquals(AsyncTask.Status.RUNNING, mMyAsyncTask.getStatus()); in startAsyncTask()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp112 VolumeShaper::Status applyVolumeShaper( in applyVolumeShaper()
115 return (VolumeShaper::Status)OK; in applyVolumeShaper()
/cts/tests/tests/location/src/android/location/cts/suplClient/
DSuplRrlpMessagesGenerator.java41 import android.location.cts.asn1.supl2.ulp_components.Status;
134 locationId.setStatusToNewInstance().setValue(Status.Value.current); in generateSuplStartLocalLocationMessage()
212 locationId.setStatusToNewInstance().setValue(Status.Value.current); in generateSuplPositionInitLocalLocationMessage()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java159 mStatusContentUri = VoicemailContract.Status.buildSourceUri(selfPackageName); in setUp()
516 value.put(VoicemailContract.Status.CONFIGURATION_STATE, in testVoicemailStatusTableIsAccessible()
517 VoicemailContract.Status.CONFIGURATION_STATE_OK); in testVoicemailStatusTableIsAccessible()
518 value.put(VoicemailContract.Status.SOURCE_PACKAGE, selfPackageName); in testVoicemailStatusTableIsAccessible()
524 VoicemailContract.Status.CONFIGURATION_STATE, in testVoicemailStatusTableIsAccessible()
525 VoicemailContract.Status.SOURCE_PACKAGE in testVoicemailStatusTableIsAccessible()
529 assertEquals(VoicemailContract.Status.CONFIGURATION_STATE_OK, cursor.getInt(0)); in testVoicemailStatusTableIsAccessible()
/cts/hostsidetests/incident/src/com/android/server/cts/
DPrintProtoTest.java113 PrinterInfoProto.Status.getDescriptor().getValues() in verifyPrinterInfoProto()
/cts/tests/tests/location/protos/
Dephemeris.proto114 // Status for the RPC call.
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWifiConfigCreator.java194 wifiConf.status = WifiConfiguration.Status.ENABLED; in createConfig()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWifiConfigCreator.java194 wifiConf.status = WifiConfiguration.Status.ENABLED; in createConfig()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java202 if (step.task.getStatus() == AsyncTask.Status.PENDING) { in updateUi()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java436 wifiConfiguration.status = WifiConfiguration.Status.ENABLED; in buildWifiConfiguration()