/system/connectivity/wificond/ |
D | client_interface_binder.cpp | 42 return Status::ok(); in enableSupplicant() 47 return Status::ok(); in disableSupplicant() 53 return Status::ok(); in getPacketCounters() 56 return Status::ok(); in getPacketCounters() 62 return Status::ok(); in signalPoll() 65 return Status::ok(); in signalPoll() 70 return Status::ok(); in getMacAddress() 73 return Status::ok(); in getMacAddress() 78 return Status::ok(); in getInterfaceName() 81 return Status::ok(); in getInterfaceName() [all …]
|
D | ap_interface_binder.cpp | 39 return binder::Status::ok(); in startHostapd() 42 return binder::Status::ok(); in startHostapd() 49 return binder::Status::ok(); in stopHostapd() 52 return binder::Status::ok(); in stopHostapd() 65 return binder::Status::ok(); in writeHostapdConfig() 81 return binder::Status::ok(); in writeHostapdConfig() 87 return binder::Status::ok(); in writeHostapdConfig() 93 return binder::Status::ok(); in getInterfaceName() 96 return binder::Status::ok(); in getInterfaceName() 105 return binder::Status::ok(); in getNumberOfAssociatedStations() [all …]
|
D | server.cpp | 74 return Status::ok(); in RegisterCallback() 79 return Status::ok(); in RegisterCallback() 89 return Status::ok(); in UnregisterCallback() 94 return Status::ok(); in UnregisterCallback() 100 return Status::ok(); // Logging was done internally in createApInterface() 113 return Status::ok(); in createApInterface() 119 return Status::ok(); // Logging was done internally in createClientInterface() 135 return Status::ok(); in createClientInterface() 153 return Status::ok(); in tearDownInterfaces() 161 return binder::Status::ok(); in GetClientInterfaces() [all …]
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 54 return Status::ok(); in IsEnabled() 60 return Status::ok(); in GetState() 67 return Status::ok(); in Enable() 74 return Status::ok(); in EnableNoAutoConnect() 80 return Status::ok(); in Disable() 86 return Status::ok(); in GetAddress() 94 return Status::ok(); in GetUUIDs() 101 return Status::ok(); in SetName() 107 return Status::ok(); in GetName() 115 return Status::ok(); in RegisterCallback() [all …]
|
D | bluetooth_le_advertiser_binder_server.cc | 50 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()
|
D | bluetooth_low_energy_binder_server.cc | 50 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()
|
D | bluetooth_le_scanner_binder_server.cc | 50 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()
|
D | bluetooth_gatt_server_binder_server.cc | 50 return Status::ok(); in RegisterServer() 56 return Status::ok(); in UnregisterServer() 62 return Status::ok(); in UnregisterAll() 75 return Status::ok(); in AddService() 103 return Status::ok(); in AddService() 107 return Status::ok(); in AddService() 120 return Status::ok(); in SendResponse() 127 return Status::ok(); in SendResponse() 140 return Status::ok(); in SendNotification() 169 return Status::ok(); in SendNotification() [all …]
|
/system/media/audio_utils/tests/ |
D | fifo_multiprocess.cpp | 74 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); in main() local 75 printf("writer unmap front ok=%d\n", ok); in main() 76 ok = ashmem_set_prot_region(frontFd, PROT_READ); in main() 77 printf("writer prot read front ok=%d\n", ok); in main() 137 int ok = munmap(rearIndex, sizeof(audio_utils_fifo_index)); in main() local 138 printf("reader unmap rear ok=%d\n", ok); in main() 139 ok = ashmem_set_prot_region(rearFd, PROT_READ); in main() 140 printf("reader prot read rear ok=%d\n", ok); in main() 148 ok = munmap(data, BUFFER_SIZE); in main() 149 printf("reader unmap data ok=%d\n", ok); in main() [all …]
|
/system/tools/aidl/tests/ |
D | aidl_test_service.cpp | 98 return Status::ok(); in GetName() 129 return Status::ok(); in RepeatBoolean() 134 return Status::ok(); in RepeatByte() 139 return Status::ok(); in RepeatChar() 144 return Status::ok(); in RepeatInt() 149 return Status::ok(); in RepeatLong() 154 return Status::ok(); in RepeatFloat() 159 return Status::ok(); in RepeatDouble() 164 return Status::ok(); in RepeatString() 169 return Status::ok(); in RepeatMap() [all …]
|
/system/connectivity/wificond/scanning/ |
D | scanner_impl.cpp | 110 return Status::ok(); in getAvailable2gChannels() 117 return Status::ok(); in getAvailable2gChannels() 122 return Status::ok(); in getAvailable2gChannels() 128 return Status::ok(); in getAvailable5gNonDFSChannels() 135 return Status::ok(); in getAvailable5gNonDFSChannels() 140 return Status::ok(); in getAvailable5gNonDFSChannels() 146 return Status::ok(); in getAvailableDFSChannels() 153 return Status::ok(); in getAvailableDFSChannels() 158 return Status::ok(); in getAvailableDFSChannels() 163 return Status::ok(); in getScanResults() [all …]
|
/system/media/brillo/audio/audioservice/ |
D | brillo_audio_service_impl.cpp | 39 return Status::ok(); in GetDevices() 52 return Status::ok(); in SetDevice() 58 return Status::ok(); in RegisterServiceCallback() 64 return Status::ok(); in UnregisterServiceCallback() 83 return Status::ok(); in GetMaxVolumeSteps() 96 return Status::ok(); in SetMaxVolumeSteps() 113 return Status::ok(); in SetVolumeIndex() 127 return Status::ok(); in GetVolumeIndex() 137 return Status::ok(); in IncrementVolume() 147 return Status::ok(); in GetVolumeControlStream() [all …]
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.cc | 49 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/media/brillo/audio/audioservice/test/ |
D | brillo_audio_client_test.cpp | 87 EXPECT_CALL(*bas_.get(), GetDevices(0, &foo)).WillOnce(Return(Status::ok())); in TEST_F() 96 .WillOnce(Return(Status::ok())); in TEST_F() 110 .WillOnce(Return(Status::ok())); in TEST_F() 124 .WillRepeatedly(Return(Status::ok())); in TEST_F() 140 .WillOnce(Return(Status::ok())); in TEST_F() 145 .WillOnce(Return(Status::ok())); in TEST_F() 163 .WillRepeatedly(Return(Status::ok())); in TEST_F() 169 .WillRepeatedly(Return(Status::ok())); in TEST_F() 185 .WillOnce(Return(Status::ok())); in TEST_F() 198 .WillOnce(Return(Status::ok())); in TEST_F() [all …]
|
D | brillo_audio_manager_test.cpp | 84 EXPECT_CALL(*bas_.get(), GetDevices(1, _)).WillOnce(Return(Status::ok())); in TEST_F() 103 .WillOnce(Return(Status::ok())); in TEST_F() 113 .WillOnce(Return(Status::ok())); in TEST_F() 134 .WillOnce(Return(Status::ok())); in TEST_F() 144 .WillOnce(Return(Status::ok())); in TEST_F() 154 .WillOnce(Return(Status::ok())); in TEST_F() 164 .WillOnce(Return(Status::ok())); in TEST_F() 193 .WillOnce(Return(Status::ok())); in TEST_F() 207 .WillOnce(Return(Status::ok())); in TEST_F() 228 .WillOnce(Return(Status::ok())); in TEST_F() [all …]
|
/system/core/libmemunreachable/ |
D | MemUnreachable.cpp | 350 bool ok = unreachable.GetUnreachableMemory(leaks, limit, &num_leaks, &leak_bytes); in GetUnreachableMemory() local 352 ok = ok && pipe.Sender().Send(num_allocations); in GetUnreachableMemory() 353 ok = ok && pipe.Sender().Send(allocation_bytes); in GetUnreachableMemory() 354 ok = ok && pipe.Sender().Send(num_leaks); in GetUnreachableMemory() 355 ok = ok && pipe.Sender().Send(leak_bytes); in GetUnreachableMemory() 356 ok = ok && pipe.Sender().SendVector(leaks); in GetUnreachableMemory() 358 if (!ok) { in GetUnreachableMemory() 402 bool ok = true; in GetUnreachableMemory() local 403 ok = ok && pipe.Receiver().Receive(&info.num_allocations); in GetUnreachableMemory() 404 ok = ok && pipe.Receiver().Receive(&info.allocation_bytes); in GetUnreachableMemory() [all …]
|
/system/core/logcat/tests/ |
D | logcat_benchmark.cpp | 43 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/ |
D | SyscallsTest.cpp | 66 EXPECT_EQ(status::ok, result.status()); in TEST_F() 80 return status::ok; in TEST_F() 101 .WillOnce(Return(status::ok)); in TEST_F() 102 EXPECT_EQ(status::ok, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F() 118 .WillOnce(Return(status::ok)); in TEST_F() 119 EXPECT_EQ(status::ok, sys.bind(kFd, expected)); in TEST_F() 135 .WillOnce(Return(status::ok)); in TEST_F() 136 EXPECT_EQ(status::ok, sys.connect(kFd, expected)); in TEST_F() 156 EXPECT_EQ(status::ok, sys.sendto(kFd, slice, kFlags, expected)); in TEST_F() 176 EXPECT_EQ(status::ok, result.status()); in TEST_F()
|
D | FdTest.cpp | 75 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 85 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 93 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 107 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F() 124 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F() 133 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F()
|
/system/update_engine/ |
D | binder_service_android.cc | 83 return Status::ok(); in bind() 94 return Status::ok(); in unbind() 114 return Status::ok(); in applyPayload() 121 return Status::ok(); in suspend() 128 return Status::ok(); in resume() 135 return Status::ok(); in cancel() 142 return Status::ok(); in resetStatus()
|
/system/netd/server/ |
D | InterfaceControllerTest.cpp | 41 using netdutils::status::ok; 67 EXPECT_CALL(mSyscalls, close(fd)).WillOnce(Return(ok)); in expectOpenFile() 126 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F() 131 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F() 139 expectSetProperty(kStableSecretProperty, kTestIPv6AddressString, ok); in TEST_F() 140 EXPECT_EQ(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F() 158 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F() 165 EXPECT_EQ(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F() 172 EXPECT_NE(ok, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
|
D | NetdNativeService.cpp | 56 return binder::Status::ok(); in toBinderStatus() 66 return binder::Status::ok(); in checkPermission() 76 return binder::Status::ok(); in getXfrmStatus() 143 return binder::Status::ok(); in isAlive() 153 return binder::Status::ok(); in firewallReplaceUidChain() 161 return binder::Status::ok(); in bandwidthEnableDataSaver() 186 return binder::Status::ok(); in networkRejectNonSecureVpn() 208 return binder::Status::ok(); in socketDestroy() 222 return binder::Status::ok(); in setResolverConfiguration() 236 return binder::Status::ok(); in getResolverInfo() [all …]
|
/system/netd/libnetdutils/include/netdutils/ |
D | Status.h | 36 Status(int code, const std::string& msg) : mCode(code), mMsg(msg) { assert(!ok()); } in Status() 40 bool ok() const { return code() == 0; } in ok() function 54 const Status ok{0}; 66 return status.ok(); in isOk()
|
/system/tpm/tpm_manager/server/ |
D | binder_service.cc | 139 return android::binder::Status::ok(); in DefineSpace() 149 return android::binder::Status::ok(); in DestroySpace() 159 return android::binder::Status::ok(); in WriteSpace() 169 return android::binder::Status::ok(); in ReadSpace() 179 return android::binder::Status::ok(); in LockSpace() 189 return android::binder::Status::ok(); in ListSpaces() 199 return android::binder::Status::ok(); in GetSpaceInfo() 213 return android::binder::Status::ok(); in GetTpmStatus() 223 return android::binder::Status::ok(); in TakeOwnership() 235 return android::binder::Status::ok(); in RemoveOwnerDependency()
|
/system/update_engine/payload_generator/ |
D | zip_unittest.cc | 75 bool ok = writer->Init(nullptr, {}, 1); in DecompressWithWriter() local 76 ok = writer->Write(in.data(), in.size()) && ok; in DecompressWithWriter() 78 ok = writer->End() && ok; in DecompressWithWriter() 79 return ok; in DecompressWithWriter()
|