Searched refs:buildRootHash (Results 1 – 5 of 5) sorted by relevance
387 const char *buildRootHash = GetBuildRootHash(); in GetBuildRootHash() local388 if (buildRootHash == nullptr) { in GetBuildRootHash()389 buildRootHash = ""; in GetBuildRootHash()392 NAPI_CALL(env, napi_create_string_utf8(env, buildRootHash, strlen(buildRootHash), &napiValue)); in GetBuildRootHash()
56 | buildRootHash | string | 是 | 否 | 构建版本Hash。<br/>示例:default |181 let buildRootHashInfo: string = deviceInfo.buildRootHash;182 // 输出结果:the value of the buildRootHash is :default183 console.info('the value of the deviceInfo buildRootHash is :' + buildRootHashInfo);
334 static const char *buildRootHash = NULL; in GetBuildRootHash() local335 return GetProperty("const.ohos.buildroothash", &buildRootHash); in GetBuildRootHash()
347 JSIValue buildRootHash = JSI::CreateString(value); in JSGetBuildRootHash() local348 return buildRootHash; in JSGetBuildRootHash()
56 | buildRootHash | string | Yes| No| Build root hash.|154 let buildRootHashInfo: string = deviceInfo.buildRootHash;155 console.info('the value of the deviceInfo buildRootHash is :' + buildRootHashInfo);