Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 234) sorted by relevance

12345678910

/system/extras/simpleperf/
Dcmd_report_test.cpp48 success = false; in ReportRaw()
65 success = true; in ReportRaw()
70 bool success; member in ReportCommandTest
75 ASSERT_TRUE(success); in TEST_F()
81 ASSERT_TRUE(success); in TEST_F()
87 ASSERT_TRUE(success); in TEST_F()
98 ASSERT_TRUE(success); in TEST_F()
114 ASSERT_TRUE(success); in TEST_F()
159 ASSERT_TRUE(success); in TEST_F()
162 ASSERT_TRUE(success); in TEST_F()
[all …]
/system/chre/platform/slpi/see/
Dsee_helper.cc145 bool success = false; in copyPayload() local
154 success = true; in copyPayload()
156 return success; in copyPayload()
175 bool success = pb_get_encoded_size(msgLen, sns_std_attr_req_fields, &req); in encodeSnsStdAttrReq() local
176 if (!success) { in encodeSnsStdAttrReq()
188 success = pb_encode(&stream, sns_std_attr_req_fields, &req); in encodeSnsStdAttrReq()
189 if (!success) { in encodeSnsStdAttrReq()
194 return success; in encodeSnsStdAttrReq()
211 bool success = false; in encodeSnsSuidReq() local
235 success = pb_encode(&stream, sns_suid_req_fields, &req); in encodeSnsSuidReq()
[all …]
Disland_vote_client.cc50 bool success = true; in voteBigImage() local
58 success = voteSnsPowerMode(needBigImage); in voteBigImage()
62 return success; in voteBigImage()
109 bool success = (rc != SNS_RC_FAILED); in voteSnsPowerMode() local
110 if (!success) { in voteSnsPowerMode()
113 return success; in voteSnsPowerMode()
/system/chre/core/
Dwifi_request_manager.cc52 bool success = false; in configureScanMonitor() local
56 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
60 success = postScanMonitorAsyncResultEvent(instanceId, true /* success */, in configureScanMonitor()
64 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
65 if (success) { in configureScanMonitor()
66 success = mPlatformWifi.configureScanMonitor(enable); in configureScanMonitor()
67 if (!success) { in configureScanMonitor()
77 return success; in configureScanMonitor()
85 bool success = false; in requestRanging() local
95 success = mPlatformWifi.requestRanging(params); in requestRanging()
[all …]
Dsensor_request_manager.cc41 bool success = true; in isSensorRequestValid() local
43 success = false; in isSensorRequestValid()
48 success = false; in isSensorRequestValid()
53 success = false; in isSensorRequestValid()
57 return success; in isSensorRequestValid()
152 bool success; in setSensorRequest() local
159 success = requests.remove(requestIndex, &requestChanged); in setSensorRequest()
160 if (success) { in setSensorRequest()
177 success = true; in setSensorRequest()
184 success = requests.add(sensorRequest, &requestChanged); in setSensorRequest()
[all …]
Dgnss_manager.cc141 bool success = false; in configure() local
146 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
149 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
150 if (success) { in configure()
151 success = controlPlatform(enable, minInterval, minTimeToNext); in configure()
152 if (!success) { in configure()
159 success = postAsyncResultEvent( in configure()
164 return success; in configure()
193 bool success = mStateTransitions.push(stateTransition); in addRequestToQueue() local
194 if (!success) { in addRequestToQueue()
[all …]
Dsensor.cc22 bool success = false; in setRequest() local
25 success = true; in setRequest()
29 success = true; in setRequest()
32 return success; in setRequest()
Dtimer_pool.cc64 bool success = insertTimerRequestLocked(timerRequest); in setTimer() local
66 if (success) { in setTimer()
75 return success ? timerRequest.timerHandle : CHRE_TIMER_INVALID; in setTimer()
82 bool success = false; in cancelTimer() local
99 success = true; in cancelTimer()
102 return success; in cancelTimer()
178 bool success = isNewTimerAllowedLocked(isNanoappTimer) && in insertTimerRequestLocked() local
181 if (!success) { in insertTimerRequestLocked()
187 return success; in insertTimerRequestLocked()
220 bool success = false; in handleExpiredTimersAndScheduleNextLocked() local
[all …]
Devent_loop.cc47 bool success = false; in populateNanoappInfo() local
53 success = true; in populateNanoappInfo()
56 return success; in populateNanoappInfo()
145 bool success = false; in startNanoapp() local
172 success = newNanoapp->start(); in startNanoapp()
174 if (!success) { in startNanoapp()
190 return success; in startNanoapp()
250 bool success = false; in postEventOrDie() local
253 success = allocateAndPostEvent(eventType, eventData, freeCallback, in postEventOrDie()
255 if (!success) { in postEventOrDie()
[all …]
/system/chre/util/nanoapp/
Dwifi.cc30 bool success = (bufferLen >= static_cast<size_t>(ssidLen + 1)); in parseSsidToStr() local
32 if (success) { in parseSsidToStr()
36 success = false; in parseSsidToStr()
42 if (success) { in parseSsidToStr()
48 return success; in parseSsidToStr()
56 bool success = false; in parseBssidToStr() local
58 success = true; in parseBssidToStr()
63 return success; in parseBssidToStr()
/system/chre/apps/audio_stress_test/
Daudio_stress_test.cc104 bool success = false; in discoverAudioHandle() local
106 for (uint32_t i = 0; !success && chreAudioGetSource(i, &source); i++) { in discoverAudioHandle()
118 success = true; in discoverAudioHandle()
122 if (!success) { in discoverAudioHandle()
126 return success; in discoverAudioHandle()
139 bool success = false; in requestAudioForCurrentTestState() local
147 success = true; in requestAudioForCurrentTestState()
154 success = true; in requestAudioForCurrentTestState()
158 return success; in requestAudioForCurrentTestState()
165 bool success = (gTimerHandle != CHRE_TIMER_INVALID); in advanceTestPosition() local
[all …]
/system/connectivity/wificond/tests/
Dscanner_unittest.cpp121 bool success = false; in TEST_F() local
126 EXPECT_TRUE(scanner_impl_->scan(SingleScanSettings(), &success).isOk()); in TEST_F()
127 EXPECT_TRUE(success); in TEST_F()
140 bool success = false; in TEST_F() local
141 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F()
142 EXPECT_TRUE(success); in TEST_F()
155 bool success = false; in TEST_F() local
156 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk()); in TEST_F()
157 EXPECT_TRUE(success); in TEST_F()
170 bool success = false; in TEST_F() local
[all …]
Dserver_unittest.cpp163 bool success = true; in TEST_F() local
165 kFateInterfaceNameInvalid, &success).isOk()); in TEST_F()
166 EXPECT_FALSE(success); in TEST_F()
168 EXPECT_TRUE(server_.tearDownApInterface(kFakeInterfaceName, &success).isOk()); in TEST_F()
169 EXPECT_TRUE(success); in TEST_F()
180 bool success = true; in TEST_F() local
182 kFateInterfaceNameInvalid, &success).isOk()); in TEST_F()
183 EXPECT_FALSE(success); in TEST_F()
186 kFakeInterfaceName, &success).isOk()); in TEST_F()
187 EXPECT_TRUE(success); in TEST_F()
[all …]
/system/chre/platform/slpi/
Dnanoapp_load_manager.cc33 bool success = false; in prepareForLoad() local
37 success = mNanoapp->reserveBuffer(appId, appVersion, totalBinaryLen); in prepareForLoad()
40 if (!success) { in prepareForLoad()
44 return success; in prepareForLoad()
50 bool success = false; in copyNanoappFragment() local
52 success = mNanoapp->copyNanoappFragment(buffer, bufferLen); in copyNanoappFragment()
53 if (success) { in copyNanoappFragment()
60 return success; in copyNanoappFragment()
Dplatform_nanoapp.cc181 bool success = false; in setAppInfo() local
186 success = true; in setAppInfo()
189 return success; in setAppInfo()
195 bool success = false; in reserveBuffer() local
209 success = true; in reserveBuffer()
213 return success; in reserveBuffer()
220 bool success = true; in copyNanoappFragment() local
224 success = false; in copyNanoappFragment()
231 return success; in copyNanoappFragment()
260 bool success = false; in openNanoapp() local
[all …]
/system/tools/hidl/c2hal/test/
Dbuild_all.py32 success, failure = genFiles(path, is_open_gl)
34 print("Success: ", ", ".join(success))
37 ratio = len(success) / (len(success) + len(failure))
49 success = []
67 success += [header]
71 return success, failure
/system/media/camera/docs/
Dmetadata_validate.py199 success = True
216 success = False
223 success = False
246 success = False
248 return success
266 success = True
274 success = False
286 success = False
299 success = False
305 success = False
[all …]
/system/chre/platform/linux/
Dplatform_nanoapp.cc83 bool success = false; in openNanoapp() local
86 success = true; in openNanoapp()
88 success = openNanoappFromFile(); in openNanoapp()
93 return success; in openNanoapp()
99 bool success = false; in openNanoappFromFile() local
115 success = true; in openNanoappFromFile()
116 if (!success) { in openNanoappFromFile()
127 return success; in openNanoappFromFile()
/system/chre/util/include/chre/util/
Dfixed_size_blocking_queue_impl.h28 bool success; in push() local
31 success = mQueue.push(element); in push()
33 if (success) { in push()
36 return success; in push()
41 bool success; in push() local
44 success = mQueue.push(std::move(element)); in push()
46 if (success) { in push()
49 return success; in push()
Darray_queue_impl.h87 bool success = pushTail(); in push() local
88 if (success) { in push()
91 return success; in push()
96 bool success = pushTail(); in push() local
97 if (success) { in push()
100 return success; in push()
145 bool success; in remove() local
147 success = false; in remove()
167 success = true; in remove()
169 return success; in remove()
[all …]
/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp50 static void (*wakeup_func)(bool success) = NULL;
56 static void update_sleep_time(bool success) { in update_sleep_time() argument
57 if (success) { in update_sleep_time()
66 bool success = true; in suspend_thread_func() local
69 update_sleep_time(success); in suspend_thread_func()
71 success = false; in suspend_thread_func()
96 success = WriteStringToFd(sleep_state, state_fd); in suspend_thread_func()
98 void (*func)(bool success) = wakeup_func; in suspend_thread_func()
100 (*func)(success); in suspend_thread_func()
219 static void autosuspend_set_wakeup_callback(void (*func)(bool success)) { in autosuspend_set_wakeup_callback() argument
/system/core/adb/sysdeps/win32/
Derrno_test.cpp43 std::string success = adb_strerror(0); in TEST() local
44 EXPECT_TRUE(success == "Success" || success == "No error") << "strerror(0) = " << success; in TEST()
/system/chre/host/common/
Dhost_protocol_host.cc50 bool success = verifyMessage(message, messageLen); in decodeMessageFromChre() local
51 if (success) { in decodeMessageFromChre()
88 success = false; in decodeMessageFromChre()
92 return success; in decodeMessageFromChre()
136 bool success = false; in extractHostClientIdAndType() local
138 success = verifyMessage(message, messageLen); in extractHostClientIdAndType()
140 if (success) { in extractHostClientIdAndType()
149 return success; in extractHostClientIdAndType()
154 bool success = verifyMessage(message, messageLen); in mutateHostClientId() local
156 if (!success) { in mutateHostClientId()
[all …]
Dsocket_client.cc84 bool success = false; in sendMessage() local
98 success = true; in sendMessage()
102 return success; in sendMessage()
108 bool success = false; in doConnect() local
130 success = true; in doConnect()
134 return success; in doConnect()
225 bool success = false; in tryConnect() local
240 success = true; in tryConnect()
249 if (!success) { in tryConnect()
256 return success; in tryConnect()
/system/chre/platform/shared/
Dchre_api_core.cc54 bool success = false; in chreSendEvent() local
60 success = eventLoop.postLowPriorityEventOrFree( in chreSendEvent()
64 return success; in chreSendEvent()
80 bool success = false; in chreSendMessageToHostEndpoint() local
89 success = hostCommsManager.sendMessageToHostFromNanoapp( in chreSendMessageToHostEndpoint()
93 if (!success && freeCallback != nullptr) { in chreSendMessageToHostEndpoint()
97 return success; in chreSendMessageToHostEndpoint()

12345678910