Home
last modified time | relevance | path

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

12345

/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/
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()
DRuntimeInfo-target.cpp89 status_t err = OK; in fetchKernelConfigs()
149 return OK; in fetchCpuInfo()
163 return OK; in fetchKernelSepolicyVers()
178 if (err != OK) { in fetchVersion()
199 return OK; in parseKernelVersion()
212 return OK; in fetchAvb()
217 if ((err = fetchVersion()) != OK) { in fetchAllInformation()
220 if ((err = fetchKernelConfigs()) != OK) { in fetchAllInformation()
223 if ((err = fetchCpuInfo()) != OK) { in fetchAllInformation()
226 if ((err = fetchKernelSepolicyVers()) != OK) { in fetchAllInformation()
[all …]
DVintfObject.cpp50 if (fetchAllInformation(ptr->object.get()) != OK) { in Get()
95 OK, enumerator
103 case ParseStatus::OK: return "OK"; in toString()
129 return ParseStatus::OK; in tryParse()
145 return OK; in getMissing()
186 if (parseStatus == ParseStatus::OK) { in checkCompatibility()
194 if (parseStatus == ParseStatus::OK) { in checkCompatibility()
211 std::bind(VintfObject::GetFrameworkHalManifest, true /* skipCache */))) != OK) { in checkCompatibility()
216 std::bind(VintfObject::GetDeviceHalManifest, true /* skipCache */))) != OK) { in checkCompatibility()
222 OK) { in checkCompatibility()
[all …]
/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/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/tools/hidl/
DgenerateCppImpl.cpp38 if (err == OK) { in generateCppImpl()
55 return OK; in generateStubImplMethod()
79 return OK; in generateStubImplMethod()
86 return OK; in generateStubImplHeader()
172 return OK; in generateStubImplHeader()
177 return OK; in generateStubImplHeader()
180 if (err != OK) { in generateStubImplHeader()
199 return OK; in generateStubImplHeader()
206 return OK; in generateStubImplSource()
237 if (err != OK) { in generateStubImplSource()
[all …]
DgenerateVts.cpp37 if (status != OK) { in emitVtsTypeDeclarations()
49 if (status != OK) { in emitVtsTypeDeclarations()
56 return OK; in emitVtsTypeDeclarations()
118 if (status != OK) { in generateVts()
125 if (status != OK) { in generateVts()
134 if (status != OK) { in generateVts()
138 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()
562 if (err != OK) { in generateInterfaceHeader()
571 return OK; in generateInterfaceHeader()
633 if (err != OK) { in generateHwBinderHeader()
641 return OK; in generateHwBinderHeader()
[all …]
/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.cpp80 return found ? OK : -1; in pushBackContents()
93 if (pushBackContents(path, cmd) != OK) { in execRm()
95 return OK; in execRm()
109 return (WEXITSTATUS(status) == 0) ? OK : -1; in execRm()
143 if (pushBackContents(fromPath, cmd) != OK) { in execCp()
145 return OK; in execCp()
160 return (WEXITSTATUS(status) == 0) ? OK : -1; in execCp()
211 if (execRm(toPath, 10, 10) != OK) { in run()
216 if (execCp(fromPath, toPath, 20, 60) != OK) { in run()
230 if (execRm(fromPath, 85, 15) != OK) { in run()
DKeymaster.cpp44 if (km_error != ErrorCode::OK) return; in updateCompletely()
59 if (km_error != ErrorCode::OK) { in updateCompletely()
79 if (km_error != ErrorCode::OK) return; in finish()
90 if (km_error != ErrorCode::OK) { in finish()
106 if (km_error != ErrorCode::OK) return; in generateKey()
116 if (km_error != ErrorCode::OK) { in generateKey()
130 if (ErrorCode(error) != ErrorCode::OK) { in deleteKey()
143 if (km_error != ErrorCode::OK) return; in upgradeKey()
153 if (km_error != ErrorCode::OK) { in upgradeKey()
170 if (km_error != ErrorCode::OK) return; in begin()
[all …]
/system/libhidl/transport/
DHidlBinderSupport.cpp44 if (_hidl_err == ::android::OK) { in readEmbeddedFromParcel()
62 if (_hidl_err == ::android::OK) { in writeEmbeddedToParcel()
87 if (status != OK) { in readEmbeddedFromParcel()
97 return OK; in readEmbeddedFromParcel()
117 if (status != OK) { in readFromParcel()
127 if (status != OK) { in readFromParcel()
138 if (status != OK) { in readFromParcel()
156 if (status != OK) { in readFromParcel()
174 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()

12345