Home
last modified time | relevance | path

Searched refs:PERM_ACTIVE_IN_FOREGROUND (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/base/security/access_token/services/privacymanager/test/unittest/
H A Dpermission_record_db_test.cpp388 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
397 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
421 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
432 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
473 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
484 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
515 value.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
565 value1.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
576 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
587 value3.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND);
[all …]
H A Dpermission_record_manager_test.cpp523 callback->type_ = PERM_ACTIVE_IN_FOREGROUND;
529 ASSERT_EQ(PERM_ACTIVE_IN_FOREGROUND, callback->type_);
/ohos5.0/base/security/access_token/services/privacymanager/test/coverage/
H A Dpermission_record_manager_coverage_test.cpp225 …missionRecordManager::GetInstance().NotifyAppStateChange(tokenId1, PID, PERM_ACTIVE_IN_FOREGROUND);
226 …missionRecordManager::GetInstance().NotifyAppStateChange(tokenId2, PID, PERM_ACTIVE_IN_FOREGROUND);
227 …missionRecordManager::GetInstance().NotifyAppStateChange(tokenId1, PID, PERM_ACTIVE_IN_FOREGROUND);
228 …missionRecordManager::GetInstance().NotifyAppStateChange(tokenId2, PID, PERM_ACTIVE_IN_FOREGROUND);
298 ActiveChangeType status = PERM_ACTIVE_IN_FOREGROUND;
431 callbackPtr->type_ = PERM_ACTIVE_IN_FOREGROUND;
511 detail.status = PERM_ACTIVE_IN_FOREGROUND;
715 value.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND); in GeneratePermissionRecord()
941 ActiveChangeType status = PERM_ACTIVE_IN_FOREGROUND;
/ohos5.0/base/security/access_token/interfaces/innerkits/privacy/include/
H A Dactive_change_response_info.h51 PERM_ACTIVE_IN_FOREGROUND = 1, enumerator
/ohos5.0/base/security/access_token/interfaces/kits/napi/privacy/src/
H A Dnative_module.cpp60 napi_create_int32(env, PERM_ACTIVE_IN_FOREGROUND, &prop); in Init()
/ohos5.0/base/security/access_token/services/privacymanager/src/database/
H A Ddata_translator.cpp70 …enericValues.Put(PrivacyFiledConst::FIELD_STATUS, static_cast<int32_t>(PERM_ACTIVE_IN_FOREGROUND)); in TranslationIntoGenericValues()
/ohos5.0/base/security/access_token/services/privacymanager/src/record/
H A Dpermission_record_manager.cpp113 status = PERM_ACTIVE_IN_FOREGROUND; in OnAppStateChanged()
1218 return (status == ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND) || isAllowedBackGround; in IsAllowedUsingCamera()
1225 if (status == ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND) { in IsAllowedUsingMicrophone()
1486 status = PERM_ACTIVE_IN_FOREGROUND; in GetAppStatus()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-security.md14 | ohos.privacyManager | PermissionActiveStatus | PERM_ACTIVE_IN_FOREGROUND = 1 …
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-security.md14 | ohos.privacyManager | PermissionActiveStatus | PERM_ACTIVE_IN_FOREGROUND = 1 …
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-privacyManager-sys.md726 | PERM_ACTIVE_IN_FOREGROUND | 1 | 表示前台使用权限。 |
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-security.md288 …nActiveStatus;<br>方法or属性:PERM_ACTIVE_IN_FOREGROUND = 1<br>旧版本信息:|类名:PermissionActiveStatus;<br>方法o…
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-security.md21 …ohos.privacyManager<br>类名: PermissionActiveStatus<br>方法名 or 属性名:PERM_ACTIVE_IN_FOREGROUND|@ohos.pr…
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-privacyManager-sys.md724 | PERM_ACTIVE_IN_FOREGROUND | 1 | The permission is being used by an application running in th…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-security.md288 …: PERM_ACTIVE_IN_FOREGROUND = 1<br>Old version information: |Class name: PermissionActiveStatus;<b…
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-security.md21 …Class name: PermissionActiveStatus<br>Method or attribute name: PERM_ACTIVE_IN_FOREGROUND|@ohos.pr…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-security.md31 |新增|NA|类名:PermissionActiveStatus;<br>方法or属性:PERM_ACTIVE_IN_FOREGROUND = 1|@ohos.privacyManager.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-security.md31 …lass name: PermissionActiveStatus;<br>Method or attribute name: PERM_ACTIVE_IN_FOREGROUND = 1|@oho…