/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 732 success = success && Unmarshalling(parcel, anchorX); in Unmarshalling() 733 success = success && Unmarshalling(parcel, anchorY); in Unmarshalling() 789 success = success && Unmarshalling(parcel, width); in Unmarshalling() 791 success = success && Unmarshalling(parcel, height); in Unmarshalling() 797 success = success && Unmarshalling(parcel, offsetX); in Unmarshalling() 799 success = success && Unmarshalling(parcel, offsetY); in Unmarshalling() 982 success = success && Marshalling(parcel, val.type_); in Marshalling() 1020 success = success && Unmarshalling(parcel, radius); in Unmarshalling() 1235 success = success && Unmarshalling(parcel, color); in Unmarshalling() 1237 success = success && Unmarshalling(parcel, scale); in Unmarshalling() [all …]
|
/ohos5.0/base/security/security_guard/test/unittest/config_manager/src/ |
H A D | security_guard_config_manager_test.cpp | 119 EXPECT_FALSE(success); 121 EXPECT_FALSE(success); 123 EXPECT_FALSE(success); 125 EXPECT_TRUE(success); 136 EXPECT_FALSE(success); 138 EXPECT_FALSE(success); 142 EXPECT_TRUE(success); 159 EXPECT_TRUE(success); 170 EXPECT_TRUE(success); 190 EXPECT_TRUE(success); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-system-file.md | 54 console.log('call success callback success'); 103 console.log('call success callback success'); 131 | success | Function | 否 | 接口调用成功的回调函数。 | 135 success返回值: 195 | success | Function | 否 | 接口调用成功的回调函数。 | 199 success返回值: 253 | success | Function | 否 | 接口调用成功的回调函数。 | 304 | success | Function | 否 | 接口调用成功的回调函数。 | 355 | success | Function | 否 | 接口调用成功的回调函数。 | 410 success返回值: [all …]
|
H A D | js-apis-file-backup-sys.md | 205 console.info('onBundleBegin success'); 217 console.info('onBundleBegin success'); 274 console.info('onBundleEnd success'); 769 console.info('onFileReady success'); 784 console.info('onBundleEnd success'); 849 console.info('onFileReady success'); 864 console.info('onBundleEnd success'); 952 console.info('onFileReady success'); 1125 console.info('release success'); 1973 console.info('release success'); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/ |
H A D | rs_transaction_data.cpp | 105 success = success && parcel.WriteBool(isUniRender); in Marshalling() 110 success = success && parcel.WriteUint64(nodeId); in Marshalling() 121 success = success && command->Marshalling(parcel); in Marshalling() 143 success = success && parcel.WriteBool(needSync_); in Marshalling() 144 success = success && parcel.WriteBool(needCloseSync_); in Marshalling() 145 success = success && parcel.WriteInt32(syncTransactionCount_); in Marshalling() 146 success = success && parcel.WriteUint64(timestamp_); in Marshalling() 147 success = success && parcel.WriteInt32(pid_); in Marshalling() 148 success = success && parcel.WriteUint64(index_); in Marshalling() 149 success = success && parcel.WriteUint64(syncId_); in Marshalling() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/container/ |
H A D | flat_container.cpp | 54 bool success = true; in Add() local 58 if (success) { in Add() 64 if (success) { in Add() 68 return success; in Add() 87 bool success = true; in Insert() local 91 if (success) { in Insert() 97 if (success) { in Insert() 101 return success; in Insert() 138 bool success = true; in Replace() local 141 if (!success) { in Replace() [all …]
|
H A D | container.cpp | 62 bool success = true; in Add() local 66 if (success) { in Add() 71 if (success) { in Add() 75 return success; in Add() 102 bool success = true; in Insert() local 106 if (success) { in Insert() 111 if (success) { in Insert() 115 return success; in Insert() 186 bool success = true; in Replace() local 190 if (!success) { in Replace() [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/test/js/unittest/system_storage/src/ |
H A D | SystemStorageJsunit.test.js | 27 success: function () { 50 success: async function () { 83 success: async function () { 114 success: async function () { 146 success: async function () { 174 success: async function () { 297 success: async function () { 306 success: async function () { 425 success:async function () { 435 success:async function () { [all …]
|
/ohos5.0/base/security/security_guard/services/config_manager/src/ |
H A D | config_operator.cpp | 26 bool success = config_.Load(INIT_MODE); in Init() local 27 if (!success) { in Init() 30 success = config_.Check(); in Init() 31 if (!success) { in Init() 39 bool success = config_.Load(UPDATE_MODE); in Update() local 40 if (!success) { in Update() 43 success = config_.Check(); in Update() 44 if (!success) { in Update()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-system-brightness.md | 37 success: (data: BrightnessResponse) => { 38 console.log('success get brightness value:' + data.value); 66 success: () => { 67 console.log('handling set brightness success.'); 94 success: (data: BrightnessModeResponse) => { 95 console.log('success get mode:' + data.mode); 122 success: () => { 123 console.log('handling set mode success.'); 153 success: () => { 154 console.log('handling set keep screen on success.'); [all …]
|
H A D | js-apis-system-request.md | 50 success: (data: object) => { 51 console.info(' upload success, code:' + JSON.stringify(data)); 82 | success | Function | 否 | 接口调用成功的回调函数。 | 86 **success参数:** 157 success: (data:object) => { 158 console.info(' download success, code:' + JSON.stringify(data)); 187 | success | Function | 否 | 接口调用成功的回调函数。 | 191 **success参数:** 232 success: (data:object) => { 254 | success | Function | 否 | 接口调用成功的回调函数。 | [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | concurrent_map_test.cpp | 74 auto success = values_.Emplace( variable 79 ASSERT_TRUE(success); 80 success = values_.Emplace( 85 ASSERT_TRUE(!success); 86 success = values_.Emplace( 96 ASSERT_TRUE(success); 112 auto success = values_.Emplace("test", value); variable 113 ASSERT_TRUE(success); 120 …success = values_.Emplace(std::piecewise_construct, std::forward_as_tuple("test"), std::forward_as… 121 ASSERT_TRUE(success);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-system-bluetooth.md | 30 | success | Function | 否 | 接口调用成功的回调函数。 | 39 success() { 40 console.log('call bluetooth.startBLEScan success.'); 63 | success | Function | 否 | 接口调用成功的回调函数。 | 71 success() { 72 console.log('call bluetooth.stopBLEScan success.'); 95 | success | Function | 是 | 寻找到新设备上报时调用的回调函数。 | 98 **表4** success返回值: 118 success(data) { 119 console.log('call bluetooth.subscribeBLEFound success, data: ${data}.');
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | js-apis-system-storage.md | 38 success: function(data) { 39 console.log('call storage.get success: ' + data); 74 success: function() { 75 console.log('call storage.set success.'); 105 success: function() { 106 console.log('call storage.clear success.'); 137 success: function() { 138 console.log('call storage.delete success.'); 156 | success | (data: any) => void | 否 | 接口调用成功的回调函数,data为返回key对应的value。 | 169 | success | () => void | 否 | 接口调用成功的回调函数。 … [all …]
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-mini-basic-memory.md | 127 printf("Mem alloc success!\n"); 140 printf("Mem free success!\n"); 157 Membox init success! 158 Mem alloc success! 160 Mem clear success 162 Mem free success! 293 printf("Mem init success!\n"); 305 printf("Mem alloc success!\n"); 330 Mem init success! 331 Mem alloc success! [all …]
|
H A D | kernel-mini-basic-soft.md | 186 printf("start Timer1 %s\n", (ret == LOS_OK) ? "success" : "failed"); 193 printf("stop timer1 %s\n", (ret == LOS_OK) ? "success" : "failed"); 202 printf("timer1 self delete test %s\n", (ret != LOS_OK) ? "success" : "failed"); 206 printf("start Timer2 %s\n", (ret == LOS_OK) ? "success" : "failed"); 215 printf("delete Timer2 success\n"); 252 start Timer1 success 253 stop timer1 success 255 timer1 self delete test success 256 start Timer2 success 267 delete Timer2 success
|
/ohos5.0/base/powermgr/battery_lite/interfaces/kits/js/ |
H A D | @system.battery.d.ts | 31 success?: (data: BatterySocResponse) => void; 48 success?: (data: BatteryChargingStatusResponse) => void; 70 success?: (data: BatteryHealthStatusResponse) => void; 92 success?: (data: BatteryGetPluggedTypeResponse) => void; 114 success?: (data: BatteryGetVoltageResponse) => void; 136 success?: (data: BatteryTechnologyResponse) => void; 158 success?: (data: BatteryTemperatureResponse) => void;
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/ |
H A D | file_sharing.cpp | 37 bool success = PrepareDir(STORAGE_DAEMON_EL1_DIR, STORAGE_DAEMON_DIR_MODE, ROOT_UID, ROOT_GID); in PrepareFileSharingDir() local 38 if (!success) { in PrepareFileSharingDir() 44 success = PrepareDir(SHARE_TOB_DIR, SHARE_TOB_DIR_MODE, SHARE_TOB_UID, SHARE_TOB_GID); in PrepareFileSharingDir() 45 if (!success) { in PrepareFileSharingDir() 53 … success = PrepareDir(FILE_SHARING_DIR, FILE_SHARING_DIR_MODE, FILE_MANAGER_UID, FILE_MANAGER_GID); in PrepareFileSharingDir() 54 if (!success) { in PrepareFileSharingDir() 60 success = PrepareDir(PUBLIC_DIR, PUBLIC_DIR_MODE, FILE_MANAGER_UID, FILE_MANAGER_GID); in PrepareFileSharingDir() 61 if (!success) { in PrepareFileSharingDir()
|
/ohos5.0/base/powermgr/battery_lite/test/ |
H A D | battery_test.js | 18 success: function(data) { 27 success: function(data) { 36 success: function(data) { 45 success: function(data) { 54 success: function(data) { 63 success: function(data) { 72 success: function(data) {
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-network-kit/ |
H A D | js-apis-system-network.md | 26 success?: (data: NetworkResponse) => void;<br> 39 | success | Function | 否 | 接口调用成功的回调函数,返回值为[NetworkResponse](#networkresponse3) | 55 success: (data) => { 56 console.log('success get network type:' + data.type); 67 success?: (data: NetworkResponse) => void;<br> 79 | success | Function | 否 | 网络发生变化的回调函数,返回值为[NetworkResponse](#networkresponse3) | 95 success: (data) => { 96 console.log('success get network type:' + data.type);
|
/ohos5.0/foundation/multimedia/av_session/test/resource/ |
H A D | controller_index_js.md | 152 this.log('isActive success'); 177 this.log('sessionCreate success'); 202 this.log('topSessionChange success'); 239 this.log('sessionDestroy success.'); 702 this.log('sendcontrolcommand success'); 727 this.log('sendcontrolcommand success'); 832 this.log('getDevices success'); 896 this.log('sendcontrolcommand success'); 931 this.log('sendcontrolcommand success'); 958 this.log('sendcontrolcommand success'); [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/communication/ |
H A D | connect_manager.cpp | 70 bool success = false; in RegisterSessionCloseListener() local 71 sessionCloseListener_.Compute(name, [&success, &listener](const auto &key, auto &value) { in RegisterSessionCloseListener() 77 success = true; in RegisterSessionCloseListener() 80 return success; in RegisterSessionCloseListener() 98 bool success = false; in RegisterSessionOpenListener() local 99 sessionOpenListener_.Compute(name, [&success, &listener](const auto &key, auto &value) { in RegisterSessionOpenListener() 105 success = true; in RegisterSessionOpenListener() 108 return success; in RegisterSessionOpenListener()
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subScenarioTest/ |
H A D | sppServerScenarioTest.ets | 130 console.log("testOnStateChange success") 136 console.log("testEnableBluetooth success") 143 console.log("testGetState success") 149 console.log("testSetBluetoothScanMode success") 155 console.log("testGetBluetoothScanMode success") 161 console.log("testOnPinRequired success") 167 console.log("testAddService success") 181 console.log("testSppServerAccept success") 235 console.log("testOffPinRequired success") 239 console.log("testOffStateChange success") [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subScenarioTestManager/ |
H A D | sppServerScenarioTestManager.ets | 132 console.log("testOnStateChange success") 138 console.log("testEnableBluetooth success") 145 console.log("testGetState success") 151 console.log("testSetBluetoothScanMode success") 157 console.log("testGetBluetoothScanMode success") 163 console.log("testOnPinRequired success") 169 console.log("testAddService success") 183 console.log("testSppServerAccept success") 237 console.log("testOffPinRequired success") 241 console.log("testOffStateChange success") [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-system-file.md | 53 success: function(uri) { 54 console.log('call success callback success'); 102 success: function(uri) { 103 console.log('call success callback success'); 135 **Return value of success()** 199 **Return value of success()** 272 success: function() { 323 success: function() { 374 success: function() { 410 **Return value of success()** [all …]
|