/applications/sample/camera/launcher/launcher/src/main/cpp/ |
H A D | app_manage.cpp | 32 bool AppManage::GetAailityInfosByBundleName(const char* bundleName, AppInfo* pApp) in GetAailityInfosByBundleName() argument 34 if (bundleName == nullptr || pApp == nullptr) { in GetAailityInfosByBundleName() 44 if (memcmp(bundleName, pBundleInfo->bundleName, strlen(pBundleInfo->bundleName)) == 0) { in GetAailityInfosByBundleName() 46 pApp->appName_, sizeof(pApp->appName_), pBundleInfo->bundleName, strlen(pBundleInfo->bundleName)); in GetAailityInfosByBundleName() 47 pApp->appName_[strlen(pBundleInfo->bundleName)] = 0; in GetAailityInfosByBundleName() 65 bool AppManage::GetAppInstallInfo(const char* bundleName) in GetAppInstallInfo() argument 67 if (bundleName in GetAppInstallInfo() 93 MyBundleStateCallback( const uint8_t installType, const uint8_t resultCode, const void* resultMessage, const char* bundleName, void* data) MyBundleStateCallback() argument [all...] |
H A D | swipe_view.cpp | 139 if (memcmp(LAUNCHER_BUNDLE_NAME, pBundleInfos[j].bundleName, strlen(pBundleInfos[j].bundleName)) == 0) { in BundleInfoScan() 142 if (memcmp(SCREENSAVER_BUNDLE_NAME, pBundleInfos[j].bundleName, strlen(pBundleInfos[j].bundleName)) == 0) { in BundleInfoScan() 151 if (pBundleInfos[j].bundleName) { in BundleInfoScan() 152 (void)memcpy_s(app->appName_, sizeof(app->appName_), pBundleInfos[j].bundleName, in BundleInfoScan() 153 strlen(pBundleInfos[j].bundleName)); in BundleInfoScan() 154 app->appName_[strlen(pBundleInfos[j].bundleName)] = 0; in BundleInfoScan()
|
H A D | app_manage.h | 45 const char* bundleName, void* data); 47 static bool GetAailityInfosByBundleName(const char* bundleName, AppInfo* pApp); 48 static bool GetAppInstallInfo(const char* bundleName);
|
/applications/sample/camera/setting/setting/src/main/cpp/ |
H A D | app_ability_slice.cpp | 115 int err = strcpy_s(buff, sizeof(buff), pBundleInfo.bundleName); in SetAnAppInfo() 117 printf("[ERROR]strcpy_s pBundleInfo.bundleName failed, err = %d\n", err); in SetAnAppInfo() 120 SetAppButtonListener(pBundleInfo.bundleName); in SetAnAppInfo() 133 name->SetText(pBundleInfo.bundleName + bundleNameOffset); in SetAnAppInfo() 159 printf("[LOG]pBundleInfo.bundleName->%s versionName->%s \n", in SetScrollView() 160 pBundleInfo->bundleName, pBundleInfo->versionName); in SetScrollView()
|
H A D | app_info_ability_slice.h | 65 void SetBundleName(const char* bundleName, int nameLength) in SetBundleName() argument 68 ret = memcpy_s(bundleName_, sizeof(bundleName_), bundleName, nameLength); in SetBundleName()
|
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/DistributeCalc/entry/src/main/js/MainAbility/common/ |
H A D | kvstoreModel.js | 21 let bundleName = 'ohos.samples.distributedcalc'; 34 bundleName, 69 deviceManager.createDeviceManager(bundleName, (err, value) => {
|
/applications/standard/calendardata/calendarmanager/native/src/ |
H A D | calendar_env.cpp | 21 void CalendarEnv::Init(std::string bundleName, uint64_t tokenId) in Init() argument 23 m_bundleName = std::move(bundleName); in Init()
|
/applications/standard/calendardata/calendarmanager/napi/src/ |
H A D | napi_env.cpp | 62 std::string bundleName = m_context->GetBundleName(); in Init() local 64 CalendarEnv::GetInstance().Init(bundleName, tokenId); in Init()
|
/applications/standard/contacts_data/contacts/src/ |
H A D | contact.js | 33 bundleName: 'com.ohos.contacts', 51 bundleName: 'com.ohos.contacts',
|
H A D | contacts_api.cpp | 128 napi_create_string_utf8(env, "bundleName", NAPI_AUTO_LENGTH, &key); in GetType() 213 if (!holder.bundleName.empty()) { in HolderPredicates() 215 predicates.EqualTo("account_type", holder.bundleName); in HolderPredicates() 320 if (!holder.bundleName.empty()) { in HoldersStructure() 321 holders["account_type"] = holder.bundleName; in HoldersStructure()
|
H A D | result_convert.cpp | 196 std::string bundleName = "account_type"; in ResultSetToHolder() local 199 resultSet->GetColumnIndex(bundleName, bundleNameIndex); in ResultSetToHolder() 202 napi_create_string_utf8(env, "bundleName", NAPI_AUTO_LENGTH, &napiBundleNameKey); in ResultSetToHolder()
|
H A D | contacts_build.cpp | 853 holder.bundleName = GetStringValueByKey(env, object, "bundleName"); in GetHolder()
|
/applications/standard/calendardata/calendarmanager/native/include/ |
H A D | calendar_env.h | 26 void Init(std::string bundleName, uint64_t tokenId);
|
/applications/standard/hap/ |
H A D | build.sh | 349 cur_bundle_line=`cat ${arg_project}/AppScope/app.json5 | grep "\"bundleName\""` 352 # echo "bundleName : "${bundle_name} 360 cur_bundle_line=`cat ${arg_project}${pa}/src/main/config.json | grep "\"bundleName\""` 363 # echo "bundleName : "${bundle_name}
|
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/model/ |
H A D | KvStoreModel.js | 32 bundleName: 'ohos.samples.distributedmusicplayer',
|
/applications/standard/contacts_data/contacts/include/ |
H A D | contacts_napi_object.h | 227 std::string bundleName; member in OHOS::ContactsApi::Attribute::Holder
|
/applications/standard/app_samples/code/Project/HapBuild/compile-tool/bin/ |
H A D | compile-ohpm-ci.sh | 317 cur_bundle_line=`cat ${project_path}/AppScope/app.json5 | grep "\"bundleName\""` 320 # echo "bundleName : "${bundle_name} 328 cur_bundle_line=`cat ${project_path}${pa}/src/main/config.json | grep "\"bundleName\""` 331 # echo "bundleName : "${bundle_name} 427 echo "bundleName = ${bundle_name}" >> ${compile_result_error}/${hap}".log" 2>&1
|
H A D | compile-ut-ohpm.sh | 330 cur_bundle_line=`cat ${project_path}/AppScope/app.json5 | grep "\"bundleName\""` 333 # echo "bundleName : "${bundle_name} 341 cur_bundle_line=`cat ${project_path}${pa}/src/main/config.json | grep "\"bundleName\""` 344 # echo "bundleName : "${bundle_name} 440 echo "bundleName = ${bundle_name}" >> ${compile_result_error}/${hap}".log" 2>&1
|
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/pages/index/ |
H A D | index.js | 269 bundleName: 'ohos.samples.distributedmusicplayer',
|