Home
last modified time | relevance | path

Searched refs:OK (Results 1 – 25 of 141) sorted by relevance

123456

/system/bt/service/common/android/bluetooth/
Dscan_settings.cc25 using android::OK;
32 if (status != OK) return status; in writeToParcel()
35 if (status != OK) return status; in writeToParcel()
38 if (status != OK) return status; in writeToParcel()
41 if (status != OK) return status; in writeToParcel()
44 if (status != OK) return status; in writeToParcel()
53 if (status != OK) return status; in readFromParcel()
57 if (status != OK) return status; in readFromParcel()
61 if (status != OK) return status; in readFromParcel()
69 if (status != OK) return status; in readFromParcel()
[all …]
Dbluetooth_gatt_characteristic.cc24 using android::OK;
33 if (status != OK) return status; in writeToParcel()
36 if (status != OK) return status; in writeToParcel()
39 if (status != OK) return status; in writeToParcel()
42 if (status != OK) return status; in writeToParcel()
56 if (status != OK) return status; in readFromParcel()
61 if (status != OK) return status; in readFromParcel()
65 if (status != OK) return status; in readFromParcel()
69 if (status != OK) return status; in readFromParcel()
74 if (status != OK) return status; in readFromParcel()
Dadvertise_settings.cc19 using android::OK;
26 if (status != OK) return status; in writeToParcel()
29 if (status != OK) return status; in writeToParcel()
32 if (status != OK) return status; in writeToParcel()
41 if (status != OK) return status; in readFromParcel()
46 if (status != OK) return status; in readFromParcel()
51 if (status != OK) return status; in readFromParcel()
56 if (status != OK) return status; in readFromParcel()
Dbluetooth_gatt_service.cc24 using android::OK;
33 if (status != OK) return status; in writeToParcel()
36 if (status != OK) return status; in writeToParcel()
39 if (status != OK) return status; in writeToParcel()
58 if (status != OK) return status; in readFromParcel()
62 if (status != OK) return status; in readFromParcel()
66 if (status != OK) return status; in readFromParcel()
71 if (status != OK) return status; in readFromParcel()
77 if (status != OK) return status; in readFromParcel()
Dscan_filter.cc29 using android::OK;
37 if (status != OK) return status; in writeToParcel()
40 if (status != OK) return status; in writeToParcel()
55 if (status != OK) return status; in writeToParcel()
72 if (status != OK) return status; in readFromParcel()
77 if (status != OK) return status; in readFromParcel()
82 if (status != OK) return status; in readFromParcel()
86 if (status != OK) return status; in readFromParcel()
Dbluetooth_gatt_descriptor.cc23 using android::OK;
32 if (status != OK) return status; in writeToParcel()
35 if (status != OK) return status; in writeToParcel()
44 if (status != OK) return status; in readFromParcel()
49 if (status != OK) return status; in readFromParcel()
53 if (status != OK) return status; in readFromParcel()
Dbluetooth_gatt_included_service.cc24 using android::OK;
33 if (status != OK) return status; in writeToParcel()
36 if (status != OK) return status; in writeToParcel()
45 if (status != OK) return status; in readFromParcel()
50 if (status != OK) return status; in readFromParcel()
Dscan_result.cc29 using android::OK;
37 if (status != OK) return status; in writeToParcel()
40 if (status != OK) return status; in writeToParcel()
49 if (status != OK) return status; in readFromParcel()
53 if (status != OK) return status; in readFromParcel()
/system/security/keystore/tests/
Dauth_token_table_test.cpp107 ASSERT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(1), KM_PURPOSE_SIGN, 0, &found)); in TEST()
111 ASSERT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(2), KM_PURPOSE_SIGN, 0, &found)); in TEST()
115 ASSERT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(3), KM_PURPOSE_SIGN, 0, &found)); in TEST()
119 ASSERT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(4), KM_PURPOSE_SIGN, 0, &found)); in TEST()
138 EXPECT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(1), KM_PURPOSE_SIGN, 0, &found)); in TEST()
139 EXPECT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(2), KM_PURPOSE_SIGN, 0, &found)); in TEST()
140 EXPECT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(3), KM_PURPOSE_SIGN, 0, &found)); in TEST()
157 EXPECT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(1), KM_PURPOSE_SIGN, 0, &found)); in TEST()
158 EXPECT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(2), KM_PURPOSE_SIGN, 0, &found)); in TEST()
159 EXPECT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(3), KM_PURPOSE_SIGN, 0, &found)); in TEST()
[all …]
/system/update_engine/
Dparcelable_update_engine_status.cc28 if (status != OK) { in writeToParcel()
33 if (status != OK) { in writeToParcel()
38 if (status != OK) { in writeToParcel()
43 if (status != OK) { in writeToParcel()
54 if (status != OK) { in readFromParcel()
59 if (status != OK) { in readFromParcel()
64 if (status != OK) { in readFromParcel()
69 if (status != OK) { in readFromParcel()
/system/libvintf/
DRuntimeInfo-target.cpp73 status_t err = OK; in fetchKernelConfigs()
96 return OK; in fetchCpuInfo()
110 return OK; in fetchKernelSepolicyVers()
125 if (err != OK) { in fetchVersion()
146 return OK; in parseKernelVersion()
159 return OK; in fetchAvb()
164 if ((err = fetchVersion()) != OK) { in fetchAllInformation()
167 if ((err = fetchKernelConfigs()) != OK) { in fetchAllInformation()
170 if ((err = fetchCpuInfo()) != OK) { in fetchAllInformation()
173 if ((err = fetchKernelSepolicyVers()) != OK) { in fetchAllInformation()
[all …]
Dutils.h52 return OK; in fetch()
61 virtual status_t mountSystem() const { return OK; } in mountSystem()
62 virtual status_t mountVendor() const { return OK; } in mountVendor()
63 virtual status_t umountSystem() const { return OK; } in umountSystem()
64 virtual status_t umountVendor() const { return OK; } in umountVendor()
81 if (result != OK) { in fetchAllInformation()
91 return OK; in fetchAllInformation()
DKernelConfigParser.cpp61 return OK; in processRemaining()
70 return OK; in processRemaining()
82 return OK; in processRemaining()
91 return OK; in processRemaining()
101 return OK; in processRemaining()
106 return OK; in processRemaining()
118 status_t err = OK; in process()
123 if (newErr != OK && err == OK) { in process()
/system/bt/test/
DREADME.md49 [ OK ] BluetoothTest.AdapterEnableDisable (2538 ms)
51 [ OK ] BluetoothTest.AdapterRepeatedEnableDisable (11384 ms)
53 [ OK ] BluetoothTest.AdapterSetGetName (2378 ms)
55 [ OK ] BluetoothTest.AdapterStartDiscovery (2397 ms)
57 [ OK ] BluetoothTest.AdapterCancelDiscovery (2401 ms)
59 [ OK ] BluetoothTest.AdapterDisableDuringBonding (11689 ms)
64 [ OK ] GattTest.GattClientRegister (2370 ms)
66 [ OK ] GattTest.GattClientScanRemoteDevice (2273 ms)
68 [ OK ] GattTest.GattClientAdvertise (2236 ms)
70 [ OK ] GattTest.GattServerRegister (2391 ms)
[all …]
/system/tools/hidl/
DgenerateCppImpl.cpp38 if (err == OK) { in generateCppImpl()
55 return OK; in generateStubImplMethod()
79 return OK; in generateStubImplMethod()
85 return OK; in generateStubImplHeader()
138 return OK; in generateStubImplHeader()
143 return OK; in generateStubImplHeader()
146 if (err != OK) { in generateStubImplHeader()
166 return OK; in generateStubImplHeader()
172 return OK; in generateStubImplSource()
200 if (err != OK) { in generateStubImplSource()
[all …]
DgenerateVts.cpp46 if (status != OK) { in emitVtsTypeDeclarations()
53 return OK; in emitVtsTypeDeclarations()
105 if (status != OK) { in generateVts()
112 if (status != OK) { in generateVts()
121 if (status != OK) { in generateVts()
125 return OK; in generateVts()
DgenerateCpp.cpp39 if (err == OK) { in generateCpp()
49 if (err == OK) { in generateCppHeaders()
53 if (err == OK) { in generateCppHeaders()
57 if (err == OK) { in generateCppHeaders()
61 if (err == OK) { in generateCppHeaders()
474 if (err != OK) { in generateInterfaceHeader()
553 if (err != OK) { in generateInterfaceHeader()
562 return OK; in generateInterfaceHeader()
611 if (err != OK) { in generateHwBinderHeader()
619 return OK; in generateHwBinderHeader()
[all …]
/system/media/camera/tests/
Dcamera_metadata_tests.cpp37 #define OK 0 macro
46 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); \
133 EXPECT_EQ(OK, validate_camera_metadata_structure(m, &buf_size)); in TEST()
191 EXPECT_EQ(OK, validate_camera_metadata_structure(m, &buf_size)); in TEST()
219 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
231 EXPECT_EQ(OK, result); in TEST()
236 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
244 EXPECT_EQ(OK, result); in TEST()
249 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); in TEST()
257 EXPECT_EQ(OK, result); in TEST()
[all …]
/system/connectivity/wificond/tests/
Dscan_settings_unittest.cpp62 EXPECT_EQ(::android::OK, channel_settings.writeToParcel(&parcel)); in TEST_F()
66 EXPECT_EQ(::android::OK, channel_settings_copy.readFromParcel(&parcel)); in TEST_F()
77 EXPECT_EQ(::android::OK, hidden_network.writeToParcel(&parcel)); in TEST_F()
81 EXPECT_EQ(::android::OK, hidden_network_copy.readFromParcel(&parcel)); in TEST_F()
102 EXPECT_EQ(::android::OK, scan_settings.writeToParcel(&parcel)); in TEST_F()
106 EXPECT_EQ(::android::OK, scan_settings_copy.readFromParcel(&parcel)); in TEST_F()
118 EXPECT_EQ(::android::OK, pno_network.writeToParcel(&parcel)); in TEST_F()
122 EXPECT_EQ(::android::OK, pno_network_copy.readFromParcel(&parcel)); in TEST_F()
145 EXPECT_EQ(::android::OK, pno_settings.writeToParcel(&parcel)); in TEST_F()
149 EXPECT_EQ(::android::OK, pno_settings_copy.readFromParcel(&parcel)); in TEST_F()
/system/vold/
DVolumeBase.cpp57 return OK; in setDiskId()
67 return OK; in setPartGuid()
77 return OK; in setMountFlags()
87 return OK; in setMountUserId()
97 return OK; in setSilent()
107 return OK; in setId()
118 return OK; in setPath()
129 return OK; in setInternalPath()
173 return OK; in doCreate()
193 return OK; in doDestroy()
[all …]
DMoveTask.cpp85 return found ? OK : -1; in pushBackContents()
98 if (pushBackContents(path, cmd, true) != OK) { in execRm()
100 return OK; in execRm()
114 return (WEXITSTATUS(status) == 0) ? OK : -1; in execRm()
148 if (pushBackContents(fromPath, cmd, false) != OK) { in execCp()
150 return OK; in execCp()
165 return (WEXITSTATUS(status) == 0) ? OK : -1; in execCp()
216 if (execRm(toPath, 10, 10) != OK) { in run()
221 if (execCp(fromPath, toPath, 20, 60) != OK) { in run()
235 if (execRm(fromPath, 85, 15) != OK) { in run()
DKeymaster.cpp42 if (km_error != ErrorCode::OK) return; in updateCompletely()
57 if (km_error != ErrorCode::OK) { in updateCompletely()
76 if (km_error != ErrorCode::OK) return; in finish()
87 if (km_error != ErrorCode::OK) { in finish()
103 if (km_error != ErrorCode::OK) return; in generateKey()
113 if (km_error != ErrorCode::OK) { in generateKey()
127 if (ErrorCode(error) != ErrorCode::OK) { in deleteKey()
140 if (km_error != ErrorCode::OK) return; in upgradeKey()
150 if (km_error != ErrorCode::OK) { in upgradeKey()
167 if (km_error != ErrorCode::OK) return; in begin()
[all …]
/system/libhidl/transport/
DHidlBinderSupport.cpp62 if (_hidl_err == ::android::OK) { in readEmbeddedFromParcel()
89 if (_hidl_err == ::android::OK) { in writeEmbeddedToParcel()
113 if (status != OK) { in readEmbeddedFromParcel()
123 return OK; in readEmbeddedFromParcel()
143 if (status != OK) { in readFromParcel()
153 if (status != OK) { in readFromParcel()
166 if (status != OK) { in readFromParcel()
184 if (status != OK) { return status; } in writeToParcel()
/system/libvintf/test/
Dutils-fake.h48 return OK; in MockPartitionMounter()
52 return OK; in MockPartitionMounter()
56 return OK; in MockPartitionMounter()
60 return OK; in MockPartitionMounter()
/system/security/keystore/
Dkeystore_aidl_hidl_marshalling_utils.cpp42 if (rc != ::android::OK) return rc; in writeKeymasterBlob()
44 if (!size) return ::android::OK; in writeKeymasterBlob()
76 if (rc != ::android::OK) return rc; in writeBlobAsByteArray()
78 if (!size) return ::android::OK; in writeBlobAsByteArray()
120 if (rc != ::android::OK) return rc; in writeKeyParameterToParcel()
172 if (rc != ::android::OK) return rc; in writeParamSetToParcel()
175 if (rc != ::android::OK) return rc; in writeParamSetToParcel()
177 if (rc != ::android::OK) return rc; in writeParamSetToParcel()
192 if (rc != ::android::OK) return rc; in writeKeyCharacteristicsToParcel()
221 if (rc != ::android::OK) return rc; in writeCertificateChainToParcel()

123456