Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 124) sorted by relevance

12345

/system/connectivity/wificond/
Dclient_interface_binder.cpp48 return Status::ok(); in getPacketCounters()
51 return Status::ok(); in getPacketCounters()
57 return Status::ok(); in signalPoll()
60 return Status::ok(); in signalPoll()
65 return Status::ok(); in getMacAddress()
69 return Status::ok(); in getMacAddress()
74 return Status::ok(); in getInterfaceName()
77 return Status::ok(); in getInterfaceName()
84 return Status::ok(); in getWifiScannerImpl()
87 return Status::ok(); in getWifiScannerImpl()
[all …]
Dserver.cpp68 return Status::ok(); in RegisterCallback()
73 return Status::ok(); in RegisterCallback()
83 return Status::ok(); in UnregisterCallback()
88 return Status::ok(); in UnregisterCallback()
95 return Status::ok(); // Logging was done internally in createApInterface()
107 return Status::ok(); in createApInterface()
119 return Status::ok(); in tearDownApInterface()
126 return Status::ok(); // Logging was done internally in createClientInterface()
141 return Status::ok(); in createClientInterface()
153 return Status::ok(); in tearDownClientInterface()
[all …]
/system/media/audio_utils/tests/
Dfifo_multiprocess.cpp77 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); in main() local
78 printf("writer unmap front ok=%d\n", ok); in main()
79 ok = ashmem_set_prot_region(frontFd, PROT_READ); in main()
80 printf("writer prot read front ok=%d\n", ok); in main()
140 int ok = munmap(rearIndex, sizeof(audio_utils_fifo_index)); in main() local
141 printf("reader unmap rear ok=%d\n", ok); in main()
142 ok = ashmem_set_prot_region(rearFd, PROT_READ); in main()
143 printf("reader prot read rear ok=%d\n", ok); in main()
151 ok = munmap(data, BUFFER_SIZE); in main()
152 printf("reader unmap data ok=%d\n", ok); in main()
[all …]
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc58 return Status::ok(); in IsEnabled()
64 return Status::ok(); in GetState()
70 return Status::ok(); in Enable()
77 return Status::ok(); in EnableNoAutoConnect()
83 return Status::ok(); in Disable()
89 return Status::ok(); in GetAddress()
97 return Status::ok(); in GetUUIDs()
104 return Status::ok(); in SetName()
110 return Status::ok(); in GetName()
117 return Status::ok(); in SetScanMode()
[all …]
Dbluetooth_a2dp_sink_binder_server.cc42 return Status::ok(); in Register()
47 return Status::ok(); in Unregister()
56 return Status::ok(); in Enable()
62 return Status::ok(); in Enable()
66 return Status::ok(); in Enable()
75 return Status::ok(); in Disable()
80 return Status::ok(); in Disable()
90 return Status::ok(); in Connect()
96 return Status::ok(); in Connect()
100 return Status::ok(); in Connect()
[all …]
Dbluetooth_avrcp_control_binder_server.cc51 return Status::ok(); in Register()
57 return Status::ok(); in Unregister()
63 return Status::ok(); in UnregisterAll()
73 return Status::ok(); in Enable()
79 return Status::ok(); in Enable()
83 return Status::ok(); in Enable()
93 return Status::ok(); in Disable()
98 return Status::ok(); in Disable()
109 return Status::ok(); in SendPassThroughCommand()
116 return Status::ok(); in SendPassThroughCommand()
[all …]
Dbluetooth_le_advertiser_binder_server.cc50 return Status::ok(); in RegisterAdvertiser()
57 return Status::ok(); in UnregisterAdvertiser()
63 return Status::ok(); in UnregisterAll()
77 return Status::ok(); in StartMultiAdvertising()
106 return Status::ok(); in StartMultiAdvertising()
110 return Status::ok(); in StartMultiAdvertising()
122 return Status::ok(); in StopMultiAdvertising()
151 return Status::ok(); in StopMultiAdvertising()
155 return Status::ok(); in StopMultiAdvertising()
Dbluetooth_low_energy_binder_server.cc50 return Status::ok(); in RegisterClient()
56 return Status::ok(); in UnregisterClient()
62 return Status::ok(); in UnregisterAll()
77 return Status::ok(); in Connect()
82 return Status::ok(); in Connect()
95 return Status::ok(); in Disconnect()
99 return Status::ok(); in Disconnect()
113 return Status::ok(); in SetMtu()
117 return Status::ok(); in SetMtu()
Dbluetooth_le_scanner_binder_server.cc50 return Status::ok(); in RegisterScanner()
56 return Status::ok(); in UnregisterScanner()
62 return Status::ok(); in UnregisterAll()
76 return Status::ok(); in StartScan()
85 return Status::ok(); in StartScan()
97 return Status::ok(); in StopScan()
101 return Status::ok(); in StopScan()
/system/tools/aidl/tests/
Daidl_test_service.cpp99 return Status::ok(); in GetName()
130 return Status::ok(); in RepeatBoolean()
135 return Status::ok(); in RepeatByte()
140 return Status::ok(); in RepeatChar()
145 return Status::ok(); in RepeatInt()
150 return Status::ok(); in RepeatLong()
155 return Status::ok(); in RepeatFloat()
160 return Status::ok(); in RepeatDouble()
165 return Status::ok(); in RepeatString()
170 return Status::ok(); in RepeatMap()
[all …]
/system/netd/tests/
DTestUnsolService.cpp86 return binder::Status::ok(); in onInterfaceClassActivityChanged()
92 return binder::Status::ok(); in onQuotaLimitReached()
100 return binder::Status::ok(); in onInterfaceDnsServerInfo()
106 return binder::Status::ok(); in onInterfaceAddressUpdated()
114 return binder::Status::ok(); in onInterfaceAddressRemoved()
119 return binder::Status::ok(); in onInterfaceAdded()
124 return binder::Status::ok(); in onInterfaceRemoved()
129 return binder::Status::ok(); in onInterfaceChanged()
134 return binder::Status::ok(); in onInterfaceLinkStateChanged()
140 return binder::Status::ok(); in onRouteChanged()
[all …]
/system/bt/service/example/heart_rate/
Dheart_rate_server.cc49 return Status::ok(); in OnAdvertiserRegistered()
81 return Status::ok(); in OnAdvertiserRegistered()
88 return Status::ok(); in OnMultiAdvertiseCallback()
233 return Status::ok(); in OnServerRegistered()
269 return Status::ok(); in OnServerRegistered()
275 return Status::ok(); in OnServerRegistered()
279 return Status::ok(); in OnServerRegistered()
289 return Status::ok(); in OnServiceAdded()
310 return Status::ok(); in OnServiceAdded()
332 return Status::ok(); in OnCharacteristicReadRequest()
[all …]
/system/extras/libjsonpb/parse/include/jsonpb/
Derror_or.h33 CHECK(ok());
37 CHECK(ok());
41 CHECK(ok());
45 CHECK(ok());
49 CHECK(!ok()); in error()
52 bool ok() const { return data_.index() != 0; } in ok() function
/system/netd/resolv/tests/
DBaseTestMetricsListener.cpp37 return android::binder::Status::ok(); in onDnsEvent()
44 return android::binder::Status::ok(); in onPrivateDnsValidationEvent()
51 return android::binder::Status::ok(); in onConnectEvent()
60 return android::binder::Status::ok(); in onWakeupEvent()
68 return android::binder::Status::ok(); in onTcpSocketStatsEvent()
75 return android::binder::Status::ok(); in onNat64PrefixEvent()
/system/core/logcat/tests/
Dlogcat_benchmark.cpp43 bool ok; in BM_logcat_sorted_order() member in BM_logcat_sorted_order::timestamp
47 ok = false; in BM_logcat_sorted_order()
49 ok = sscanf(buffer, "%d-%d %d:%d:%d.%d ", &month, &day, &hour, in BM_logcat_sorted_order()
59 return !ok || !T.ok || (month < T.month) || in BM_logcat_sorted_order()
73 return ok; in BM_logcat_sorted_order()
/system/netd/libnetdutils/
DSyscallsTest.cpp63 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F()
65 EXPECT_EQ(status::ok, result.status()); in TEST_F()
79 return status::ok; in TEST_F()
100 .WillOnce(Return(status::ok)); in TEST_F()
101 EXPECT_EQ(status::ok, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F()
120 .WillOnce(Return(status::ok)); in TEST_F()
121 EXPECT_EQ(status::ok, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F()
137 .WillOnce(Return(status::ok)); in TEST_F()
138 EXPECT_EQ(status::ok, sys.bind(kFd, expected)); in TEST_F()
154 .WillOnce(Return(status::ok)); in TEST_F()
[all …]
/system/core/libmemunreachable/
DMemUnreachable.cpp360 bool ok = unreachable.GetUnreachableMemory(leaks, limit, &num_leaks, &leak_bytes); in GetUnreachableMemory() local
362 ok = ok && pipe.Sender().Send(num_allocations); in GetUnreachableMemory()
363 ok = ok && pipe.Sender().Send(allocation_bytes); in GetUnreachableMemory()
364 ok = ok && pipe.Sender().Send(num_leaks); in GetUnreachableMemory()
365 ok = ok && pipe.Sender().Send(leak_bytes); in GetUnreachableMemory()
366 ok = ok && pipe.Sender().SendVector(leaks); in GetUnreachableMemory()
368 if (!ok) { in GetUnreachableMemory()
412 bool ok = true; in GetUnreachableMemory() local
413 ok = ok && pipe.Receiver().Receive(&info.num_allocations); in GetUnreachableMemory()
414 ok = ok && pipe.Receiver().Receive(&info.allocation_bytes); in GetUnreachableMemory()
[all …]
/system/netd/libnetdutils/include/netdutils/
DStatus.h40 Status(int code, std::string msg) : mCode(code), mMsg(std::move(msg)) { assert(!ok()); } in Status()
44 bool ok() const { return code() == 0; } in ok() function
61 const Status ok{0};
73 return status.ok(); in isOk()
77 #define EXPECT_OK(status) EXPECT_TRUE((status).ok())
/system/security/keystore/
Dconfirmation_manager.cpp63 return Status::ok(); in presentConfirmationPrompt()
70 return Status::ok(); in presentConfirmationPrompt()
76 return Status::ok(); in presentConfirmationPrompt()
94 return Status::ok(); in presentConfirmationPrompt()
103 return Status::ok(); in presentConfirmationPrompt()
115 return Status::ok(); in cancelConfirmationPrompt()
122 return Status::ok(); in cancelConfirmationPrompt()
131 return Status::ok(); in isConfirmationPromptSupported()
135 return Status::ok(); in isConfirmationPromptSupported()
Dkey_store_service.cpp84 #define AIDL_RETURN(rc) (*_aidl_return = KeyStoreServiceReturnCode(rc).getErrorCode(), Status::ok())
152 return Status::ok(); in getState()
155 return Status::ok(); in getState()
184 return Status::ok(); in get()
195 return Status::ok(); in insert()
204 return Status::ok(); in insert()
211 return Status::ok(); in insert()
219 return Status::ok(); in del()
226 return Status::ok(); in del()
232 return Status::ok(); in del()
[all …]
/system/update_engine/
Dbinder_service_android.cc79 return Status::ok(); in bind()
90 return Status::ok(); in unbind()
110 return Status::ok(); in applyPayload()
117 return Status::ok(); in suspend()
124 return Status::ok(); in resume()
131 return Status::ok(); in cancel()
138 return Status::ok(); in resetStatus()
152 return Status::ok(); in verifyPayloadApplicable()
/system/connectivity/wificond/scanning/
Dscanner_impl.cpp128 return Status::ok(); in getScanResults()
133 return Status::ok(); in getScanResults()
139 return Status::ok(); in getPnoScanResults()
150 return Status::ok(); in getPnoScanResults()
157 return Status::ok(); in scan()
197 return Status::ok(); in scan()
201 return Status::ok(); in scan()
215 return Status::ok(); in startPnoScan()
357 return Status::ok(); in stopPnoScan()
391 return Status::ok(); in abortScan()
[all …]
/system/vold/
DVoldNativeService.cpp53 static binder::Status ok() { in ok() function
54 return binder::Status::ok(); in ok()
68 return binder::Status::ok(); in translate()
76 return binder::Status::ok(); in translateBool()
88 return ok(); in checkPermission()
98 return ok(); in checkUid()
115 return ok(); in checkArgumentId()
136 return ok(); in checkArgumentPath()
147 return ok(); in checkArgumentHex()
224 return ok(); in setListener()
[all …]
/system/extras/libjsonpb/verify/
Dtest.cpp53 ASSERT_TRUE(object.ok()) << object.error(); in TestParseOkWithUnknownKey()
75 ASSERT_TRUE(object.ok()) << object.error(); in TEST_F()
114 ASSERT_TRUE(object.ok()) << object.error(); in TEST_F()
154 if (!object.ok()) return object; in TestEmbeddedError()
173 ASSERT_TRUE(object.ok()) << object.error(); in TEST_F()
189 ASSERT_TRUE(object.ok()) << object.error(); in TEST_F()
196 ASSERT_TRUE(object.ok()) << object.error(); in TEST_F()
204 ASSERT_TRUE(object.ok()) << object.error(); in TEST_F()
211 ASSERT_TRUE(object.ok()) << object.error(); in TEST_F()
258 ASSERT_TRUE(formatted.ok()) << formatted.error(); in TEST_F()
[all …]
/system/netd/server/
DInterfaceControllerTest.cpp45 using netdutils::status::ok;
71 EXPECT_CALL(mSyscalls, close(fd)).WillOnce(Return(ok)); in expectOpenFile()
130 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
135 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
143 expectSetProperty(kStableSecretProperty, kTestIPv6AddressString, ok); in TEST_F()
144 EXPECT_EQ(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
162 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
169 EXPECT_EQ(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
176 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
183 EXPECT_EQ(ok, ifaceNames.status()); in TEST_F()
[all …]

12345