/aosp_15_r20/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | AccessNetworkSelectionPolicyBuilderTest.java | 238 protected String[] getPolicy(int direction, int callType, int preference, int coverage) { in getPolicy() method in AccessNetworkSelectionPolicyBuilderTest 240 return mBuilder.getPolicy(direction, condition); in getPolicy() 245 doReturn(null).when(mConfig).getPolicy(anyInt(), any()); in test_PolicyMap_Default() 257 conditions = getPolicy(ROVE_IN, callType, WIFI_PREF, coverage); in test_PolicyMap_Default() 264 conditions = getPolicy(ROVE_OUT, callType, WIFI_PREF, coverage); in test_PolicyMap_Default() 272 conditions = getPolicy(ROVE_IN, callType, CELL_PREF, coverage); in test_PolicyMap_Default() 280 conditions = getPolicy(ROVE_OUT, callType, CELL_PREF, coverage); in test_PolicyMap_Default() 290 doReturn(null).when(mConfig).getPolicy(anyInt(), any()); in test_PolicyMap_isTransportTypeSelWithoutSSInRoamSupported() 304 conditions = getPolicy(direction, callType, preference, ROAM); in test_PolicyMap_isTransportTypeSelWithoutSSInRoamSupported() 320 doReturn(null).when(mConfig).getPolicy(anyInt(), any()); in test_PolicyMap_isCurrentTransportTypeInVoiceCallSupported() [all …]
|
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeOtherPreferenceControllerTest.java | 97 assertThat(captor.getValue().getPolicy().getPriorityCategoryAlarms()) in testOnPreferenceChange_alarms() 99 assertThat(captor.getValue().getPolicy().getPriorityCategoryEvents()) in testOnPreferenceChange_alarms() 134 assertThat(captor.getValue().getPolicy().getPriorityCategoryMedia()) in testOnPreferenceChange_media() 136 assertThat(captor.getValue().getPolicy().getPriorityCategoryEvents()) in testOnPreferenceChange_media() 171 assertThat(captor.getValue().getPolicy().getPriorityCategorySystem()) in testOnPreferenceChange_system() 173 assertThat(captor.getValue().getPolicy().getPriorityCategoryEvents()) in testOnPreferenceChange_system() 210 assertThat(captor.getValue().getPolicy().getPriorityCategoryReminders()) in testOnPreferenceChange_reminders() 212 assertThat(captor.getValue().getPolicy().getPriorityCategoryEvents()) in testOnPreferenceChange_reminders() 247 assertThat(captor.getValue().getPolicy().getPriorityCategoryEvents()) in testOnPreferenceChange_events() 249 assertThat(captor.getValue().getPolicy().getPriorityCategoryAlarms()) in testOnPreferenceChange_events()
|
D | ZenModeNotifVisPreferenceControllerTest.java | 150 assertThat(captor.getValue().getPolicy().getVisualEffectStatusBar()) in updateState_checkedFalse_parentChecked() 152 assertThat(captor.getValue().getPolicy().getVisualEffectNotificationList()) in updateState_checkedFalse_parentChecked() 193 assertThat(captor.getValue().getPolicy().getVisualEffectPeek()) in onPreferenceChanged_checkedFalse() 195 assertThat(captor.getValue().getPolicy().getVisualEffectNotificationList()) in onPreferenceChanged_checkedFalse() 215 assertThat(captor.getValue().getPolicy().getVisualEffectPeek()) in onPreferenceChanged_checkedTrue() 217 assertThat(captor.getValue().getPolicy().getVisualEffectNotificationList()) in onPreferenceChanged_checkedTrue()
|
/aosp_15_r20/external/sdk-platform-java/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ |
H A D | PoliciesGrpc.java | 84 fullMethodName = SERVICE_NAME + '/' + "GetPolicy", 102 .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) in getGetPolicyMethod() 110 .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("GetPolicy")) in getGetPolicyMethod() 311 default void getPolicy( in getPolicy() method 338 …* 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the poli… 424 public void getPolicy( in getPolicy() method in PoliciesGrpc.PoliciesStub 454 …* 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the poli… 527 public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyRequest request) { in getPolicy() method in PoliciesGrpc.PoliciesBlockingStub 552 …* 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the poli… 621 getPolicy(com.google.iam.v2beta.GetPolicyRequest request) { in getPolicy() method in PoliciesGrpc.PoliciesFutureStub [all …]
|
/aosp_15_r20/external/sdk-platform-java/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/ |
H A D | PoliciesGrpc.java | 84 fullMethodName = SERVICE_NAME + '/' + "GetPolicy", 101 .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) in getGetPolicyMethod() 109 .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("GetPolicy")) in getGetPolicyMethod() 310 default void getPolicy( in getPolicy() method 337 … * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy. 423 public void getPolicy( in getPolicy() method in PoliciesGrpc.PoliciesStub 453 … * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy. 526 public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest request) { in getPolicy() method in PoliciesGrpc.PoliciesBlockingStub 551 … * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy. 619 public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v2.Policy> getPolicy( in getPolicy() method in PoliciesGrpc.PoliciesFutureStub [all …]
|
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | NetworkPolicyEditor.java | 98 final NetworkPolicy policy = getPolicy(template); in hasLimitedPolicy() 103 NetworkPolicy policy = getPolicy(template); in getOrCreatePolicy() 111 public NetworkPolicy getPolicy(NetworkTemplate template) { in getPolicy() method in NetworkPolicyEditor 121 NetworkPolicy policy = getPolicy(template); in getPolicyMaybeUnquoted() 125 return getPolicy(template); in getPolicyMaybeUnquoted() 150 final NetworkPolicy policy = getPolicy(template); in getPolicyCycleDay() 168 final NetworkPolicy policy = getPolicy(template); in getPolicyWarningBytes() 190 final NetworkPolicy policy = getPolicy(template); in getPolicyLimitBytes()
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | prod_tt_sasportal_v1alpha1.policies.html | 103 { # Request message for `GetPolicy` method. 124 …GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that th… 147 …GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that th… 169 …GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that th…
|
D | sasportal_v1alpha1.policies.html | 103 { # Request message for `GetPolicy` method. 124 …GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that th… 147 …GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that th… 169 …GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that th…
|
/aosp_15_r20/external/google-cloud-java/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/ |
H A D | PolicyName.java | 58 policy = Preconditions.checkNotNull(builder.getPolicy()); in PolicyName() 66 policy = Preconditions.checkNotNull(builder.getPolicy()); in PolicyName() 74 policy = Preconditions.checkNotNull(builder.getPolicy()); in PolicyName() 84 public String getPolicy() { in getPolicy() method in PolicyName 280 public String getPolicy() { in getPolicy() method in PolicyName.Builder 319 public String getPolicy() { in getPolicy() method in PolicyName.FolderPolicyBuilder 350 public String getPolicy() { in getPolicy() method in PolicyName.OrganizationPolicyBuilder
|
/aosp_15_r20/external/google-cloud-java/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/ |
H A D | PoliciesClient.java | 55 * Policy response = policiesClient.getPolicy(name); 360 * Policy response = policiesClient.getPolicy(name); 373 public final Policy getPolicy(String name) { in getPolicy() method in PoliciesClient 375 return getPolicy(request); in getPolicy() 392 * Policy response = policiesClient.getPolicy(request); 399 public final Policy getPolicy(GetPolicyRequest request) { in getPolicy() method in PoliciesClient 571 * <p>1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the 607 * <p>1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the 643 * <p>1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the
|
/aosp_15_r20/external/google-cloud-java/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/ |
H A D | PoliciesClient.java | 55 * Policy response = policiesClient.getPolicy(name); 359 * Policy response = policiesClient.getPolicy(name); 372 public final Policy getPolicy(String name) { in getPolicy() method in PoliciesClient 374 return getPolicy(request); in getPolicy() 391 * Policy response = policiesClient.getPolicy(request); 398 public final Policy getPolicy(GetPolicyRequest request) { in getPolicy() method in PoliciesClient 570 * <p>1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the 606 * <p>1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the 642 * <p>1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the
|
/aosp_15_r20/external/sdk-platform-java/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ |
H A D | UpdatePolicyRequest.java | 103 public com.google.iam.v2.Policy getPolicy() { in getPolicy() method in UpdatePolicyRequest 138 output.writeMessage(1, getPolicy()); in writeTo() 150 size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); in getSerializedSize() 169 if (!getPolicy().equals(other.getPolicy())) return false; in equals() 184 hash = (53 * hash) + getPolicy().hashCode(); in hashCode() 416 mergePolicy(other.getPolicy()); in mergeFrom() 506 public com.google.iam.v2.Policy getPolicy() { in getPolicy() method in UpdatePolicyRequest.Builder 668 com.google.iam.v2.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean()); in getPolicyFieldBuilder()
|
/aosp_15_r20/external/sdk-platform-java/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ |
H A D | UpdatePolicyRequest.java | 103 public com.google.iam.v2beta.Policy getPolicy() { in getPolicy() method in UpdatePolicyRequest 138 output.writeMessage(1, getPolicy()); in writeTo() 150 size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); in getSerializedSize() 170 if (!getPolicy().equals(other.getPolicy())) return false; in equals() 185 hash = (53 * hash) + getPolicy().hashCode(); in hashCode() 418 mergePolicy(other.getPolicy()); in mergeFrom() 508 public com.google.iam.v2beta.Policy getPolicy() { in getPolicy() method in UpdatePolicyRequest.Builder 671 getPolicy(), getParentForChildren(), isClean()); in getPolicyFieldBuilder()
|
/aosp_15_r20/external/google-cloud-java/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ |
H A D | UpdateAutoscalingPolicyRequest.java | 102 public com.google.cloud.dataproc.v1.AutoscalingPolicy getPolicy() { in getPolicy() method in UpdateAutoscalingPolicyRequest 140 output.writeMessage(1, getPolicy()); in writeTo() 152 size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); in getSerializedSize() 172 if (!getPolicy().equals(other.getPolicy())) return false; in equals() 187 hash = (53 * hash) + getPolicy().hashCode(); in hashCode() 422 mergePolicy(other.getPolicy()); in mergeFrom() 510 public com.google.cloud.dataproc.v1.AutoscalingPolicy getPolicy() { in getPolicy() method in UpdateAutoscalingPolicyRequest.Builder 671 getPolicy(), getParentForChildren(), isClean()); in getPolicyFieldBuilder()
|
/aosp_15_r20/art/test/2038-hiddenapi-jvmti-ext/ |
H A D | hiddenapi_ext.cc | 54 using GetPolicy = jvmtiError (*)(jvmtiEnv*, jint*); typedef 87 GetPolicy get_policy = reinterpret_cast<GetPolicy>(GetExtension(env, kGetPolicyName)); in Java_Main_disablePolicy() 105 GetPolicy get_policy = reinterpret_cast<GetPolicy>(GetExtension(env, kGetPolicyName)); in Java_Main_setPolicy()
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppFGSTracker.java | 215 return new PackageDurations(uid, packageName, mInjector.getPolicy(), this); in createAppStateEvents() 225 if (!mInjector.getPolicy().isEnabled()) { in handleForegroundServicesChanged() 230 final int exemptReason = mInjector.getPolicy().shouldExemptUid(uid); in handleForegroundServicesChanged() 254 mInjector.getPolicy().onLongRunningFgsGone(packageName, uid); in handleForegroundServicesChanged() 389 + Math.max(0, mInjector.getPolicy().getFgsLongRunningThreshold() - longest); in scheduleDurationCheckLocked() 401 final AppFGSPolicy policy = mInjector.getPolicy(); in checkLongRunningFgs() 457 if (!mInjector.getPolicy().isEnabled()) { in handleForegroundServicesChanged() 460 final int exemptReason = mInjector.getPolicy().shouldExemptUid(uid); in handleForegroundServicesChanged() 470 pkg = new PackageDurations(uid, packageName, mInjector.getPolicy(), this); in handleForegroundServicesChanged() 505 if (mInjector.getPolicy().isEnabled()) { in onBgFgsLongRunningThresholdChanged()
|
H A D | BaseAppStateTimeSlotEventsTracker.java | 82 if (mInjector.getPolicy().shouldExempt(packageName, uid) != REASON_DENIED) { in handleNewEvent() 96 notify = totalEvents >= mInjector.getPolicy().getNumOfEventsThreshold(); in handleNewEvent() 99 mInjector.getPolicy().onExcessiveEvents( in handleNewEvent() 130 mInjector.getPolicy().onExcessiveEvents( in onNumOfEventsThresholdChanged() 147 trim(Math.max(0, now - mInjector.getPolicy().getMaxTrackingDuration())); in trimEvents() 152 mInjector.getPolicy().onUserInteractionStarted(packageName, uid); in onUserInteractionStarted()
|
H A D | BaseAppStateTracker.java | 181 T getPolicy() { in getPolicy() method in BaseAppStateTracker 182 return mInjector.getPolicy(); in getPolicy() 239 getPolicy().onPropertiesChanged(name); in onPropertiesChanged() 272 mInjector.getPolicy().dump(pw, " " + prefix); in dump() 322 getPolicy().onSystemReady(); in onSystemReady() 337 T getPolicy() { in getPolicy() method in BaseAppStateTracker.Injector
|
/aosp_15_r20/external/google-cloud-java/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ |
H A D | UpdatePolicyRequest.java | 105 public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy() { in getPolicy() method in UpdatePolicyRequest 145 output.writeMessage(1, getPolicy()); in writeTo() 157 size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); in getSerializedSize() 177 if (!getPolicy().equals(other.getPolicy())) return false; in equals() 192 hash = (53 * hash) + getPolicy().hashCode(); in hashCode() 431 mergePolicy(other.getPolicy()); in mergeFrom() 523 public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy() { in getPolicy() method in UpdatePolicyRequest.Builder 699 getPolicy(), getParentForChildren(), isClean()); in getPolicyFieldBuilder()
|
/aosp_15_r20/external/google-cloud-java/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ |
H A D | BackendServiceLocalityLoadBalancingPolicyConfig.java | 138 getPolicy() { in getPolicy() method in BackendServiceLocalityLoadBalancingPolicyConfig 176 output.writeMessage(91071794, getPolicy()); in writeTo() 191 size += com.google.protobuf.CodedOutputStream.computeMessageSize(91071794, getPolicy()); in getSerializedSize() 216 if (!getPolicy().equals(other.getPolicy())) return false; in equals() 235 hash = (53 * hash) + getPolicy().hashCode(); in hashCode() 513 mergePolicy(other.getPolicy()); in mergeFrom() 771 getPolicy() { in getPolicy() method in BackendServiceLocalityLoadBalancingPolicyConfig.Builder 904 getPolicy(), getParentForChildren(), isClean()); in getPolicyFieldBuilder()
|
/aosp_15_r20/external/google-cloud-java/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ |
H A D | IAMPolicy.java | 100 public com.google.iam.v1.Policy getPolicy() { in getPolicy() method in IAMPolicy 179 output.writeMessage(1, getPolicy()); in writeTo() 194 size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); in getSerializedSize() 217 if (!getPolicy().equals(other.getPolicy())) return false; in equals() 236 hash = (53 * hash) + getPolicy().hashCode(); in hashCode() 482 mergePolicy(other.getPolicy()); in mergeFrom() 577 public com.google.iam.v1.Policy getPolicy() { in getPolicy() method in IAMPolicy.Builder 725 com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean()); in getPolicyFieldBuilder()
|
/aosp_15_r20/external/google-cloud-java/java-orgpolicy/google-cloud-orgpolicy/src/test/java/com/google/cloud/orgpolicy/v2/ |
H A D | OrgPolicyClientTest.java | 448 Policy actualResponse = client.getPolicy(name); in getPolicyTest() 469 client.getPolicy(name); in getPolicyExceptionTest() 489 Policy actualResponse = client.getPolicy(name); in getPolicyTest2() 510 client.getPolicy(name); in getPolicyExceptionTest2() 621 Assert.assertEquals(policy, actualRequest.getPolicy()); in createPolicyTest() 665 Assert.assertEquals(policy, actualRequest.getPolicy()); in createPolicyTest2() 709 Assert.assertEquals(policy, actualRequest.getPolicy()); in createPolicyTest3() 753 Assert.assertEquals(policy, actualRequest.getPolicy()); in createPolicyTest4() 795 Assert.assertEquals(policy, actualRequest.getPolicy()); in updatePolicyTest()
|
/aosp_15_r20/external/google-cloud-java/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/ |
H A D | gapic_metadata.json | 22 "GetPolicy": { object 23 "methods": ["getPolicy", "getPolicy", "getPolicy", "getPolicyCallable"]
|
/aosp_15_r20/external/google-cloud-java/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ |
H A D | gapic_metadata.json | 22 "GetPolicy": { object 23 "methods": ["getPolicy", "getPolicy", "getPolicy", "getPolicyCallable"]
|
/aosp_15_r20/external/google-cloud-java/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ |
H A D | gapic_metadata.json | 22 "GetPolicy": { object 23 "methods": ["getPolicy", "getPolicy", "getPolicy", "getPolicyCallable"]
|