/system/connectivity/wificond/ |
D | client_interface_binder.cpp | 42 return Status::ok(); in getPacketCounters() 45 return Status::ok(); in getPacketCounters() 51 return Status::ok(); in signalPoll() 54 return Status::ok(); in signalPoll() 59 return Status::ok(); in getMacAddress() 62 return Status::ok(); in getMacAddress() 67 return Status::ok(); in getInterfaceName() 70 return Status::ok(); in getInterfaceName() 77 return Status::ok(); in getWifiScannerImpl() 80 return Status::ok(); in getWifiScannerImpl() [all …]
|
D | ap_interface_binder.cpp | 81 return binder::Status::ok(); in startHostapd() 87 return binder::Status::ok(); in startHostapd() 94 return binder::Status::ok(); in stopHostapd() 98 return binder::Status::ok(); in stopHostapd() 104 return binder::Status::ok(); in getInterfaceName() 107 return binder::Status::ok(); in getInterfaceName() 116 return binder::Status::ok(); in getNumberOfAssociatedStations() 119 return binder::Status::ok(); in getNumberOfAssociatedStations()
|
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() 101 return Status::ok(); // Logging was done internally in createApInterface() 114 return Status::ok(); in createApInterface() 126 return Status::ok(); in tearDownApInterface() 133 return Status::ok(); // Logging was done internally in createClientInterface() 148 return Status::ok(); in createClientInterface() 160 return Status::ok(); in tearDownClientInterface() [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 | 77 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/security/keystore/ |
D | key_store_service.cpp | 157 return Status::ok(); in getState() 160 return Status::ok(); in getState() 185 return Status::ok(); in get() 196 return Status::ok(); in insert() 207 return Status::ok(); in insert() 215 return Status::ok(); in del() 222 return Status::ok(); in del() 229 return Status::ok(); in del() 236 return Status::ok(); in del() 239 return Status::ok(); in del() [all …]
|
D | confirmation_manager.cpp | 63 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()
|
/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/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/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/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/connectivity/wificond/scanning/ |
D | scanner_impl.cpp | 125 return Status::ok(); in getScanResults() 130 return Status::ok(); in getScanResults() 136 return Status::ok(); in getPnoScanResults() 147 return Status::ok(); in getPnoScanResults() 154 return Status::ok(); in scan() 194 return Status::ok(); in scan() 198 return Status::ok(); in scan() 212 return Status::ok(); in startPnoScan() 321 return Status::ok(); in stopPnoScan() 355 return Status::ok(); in abortScan() [all …]
|
/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() 121 .WillOnce(Return(status::ok)); in TEST_F() 122 EXPECT_EQ(status::ok, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F() 138 .WillOnce(Return(status::ok)); in TEST_F() 139 EXPECT_EQ(status::ok, sys.bind(kFd, expected)); in TEST_F() 155 .WillOnce(Return(status::ok)); in TEST_F() 156 EXPECT_EQ(status::ok, sys.connect(kFd, expected)); in TEST_F() [all …]
|
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 | 80 return Status::ok(); in bind() 91 return Status::ok(); in unbind() 111 return Status::ok(); in applyPayload() 118 return Status::ok(); in suspend() 125 return Status::ok(); in resume() 132 return Status::ok(); in cancel() 139 return Status::ok(); in resetStatus() 153 return Status::ok(); in verifyPayloadApplicable()
|
/system/netd/server/ |
D | InterfaceControllerTest.cpp | 45 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 …]
|
D | NetlinkListener.cpp | 41 using netdutils::status::ok; 84 return ok; in send() 90 return ok; in subscribe() 96 return ok; in unsubscribe() 128 return ok; in run()
|
/system/vold/ |
D | VoldNativeService.cpp | 52 static binder::Status ok() { in ok() function 53 return binder::Status::ok(); in ok() 67 return binder::Status::ok(); in translate() 75 return binder::Status::ok(); in translateBool() 87 return ok(); in checkPermission() 97 return ok(); in checkUid() 114 return ok(); in checkArgumentId() 135 return ok(); in checkArgumentPath() 146 return ok(); in checkArgumentHex() 219 return ok(); in setListener() [all …]
|
/system/netd/libnetdutils/include/netdutils/ |
D | Status.h | 37 Status(int code, const std::string& msg) : mCode(code), mMsg(msg) { assert(!ok()); } in Status() 41 bool ok() const { return code() == 0; } in ok() function 55 const Status ok{0}; 67 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 | 76 bool ok = writer->Init(nullptr, {}, 1); in DecompressWithWriter() local 77 ok = writer->Write(in.data(), in.size()) && ok; in DecompressWithWriter() 79 ok = writer->End() && ok; in DecompressWithWriter() 80 return ok; in DecompressWithWriter()
|