Home
last modified time | relevance | path

Searched refs:bundleName (Results 1 - 19 of 19) sorted by relevance

/applications/sample/camera/launcher/launcher/src/main/cpp/
H A Dapp_manage.cpp32 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 Dswipe_view.cpp139 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 Dapp_manage.h45 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 Dapp_ability_slice.cpp115 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 Dapp_info_ability_slice.h65 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 DkvstoreModel.js21 let bundleName = 'ohos.samples.distributedcalc';
34 bundleName,
69 deviceManager.createDeviceManager(bundleName, (err, value) => {
/applications/standard/calendardata/calendarmanager/native/src/
H A Dcalendar_env.cpp21 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 Dnapi_env.cpp62 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 Dcontact.js33 bundleName: 'com.ohos.contacts',
51 bundleName: 'com.ohos.contacts',
H A Dcontacts_api.cpp128 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 Dresult_convert.cpp196 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 Dcontacts_build.cpp853 holder.bundleName = GetStringValueByKey(env, object, "bundleName"); in GetHolder()
/applications/standard/calendardata/calendarmanager/native/include/
H A Dcalendar_env.h26 void Init(std::string bundleName, uint64_t tokenId);
/applications/standard/hap/
H A Dbuild.sh349 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 DKvStoreModel.js32 bundleName: 'ohos.samples.distributedmusicplayer',
/applications/standard/contacts_data/contacts/include/
H A Dcontacts_napi_object.h227 std::string bundleName; member in OHOS::ContactsApi::Attribute::Holder
/applications/standard/app_samples/code/Project/HapBuild/compile-tool/bin/
H A Dcompile-ohpm-ci.sh317 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 Dcompile-ut-ohpm.sh330 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 Dindex.js269 bundleName: 'ohos.samples.distributedmusicplayer',

Completed in 14 milliseconds