/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
KeyGeneratorSpiTest.java | 66 AlgorithmParameterSpec aps = null; local 68 kgSpi.engineInit(aps, new SecureRandom()); 72 aps = new APSpecSpi(); 73 kgSpi.engineInit(aps, new SecureRandom());
|
/external/autotest/server/cros/ap_configurators/ |
ap_configurator_factory.py | 262 @returns aps: a set of APConfigurators""" 276 @returns aps: a set of APConfigurators. 281 aps = [] 286 aps.append(ap) 287 return set(aps) 295 @returns aps: a set of APConfigurators. 301 aps = [] 304 aps.append(ap) 305 return set(aps) 309 """Returns all APs that support a given band [all...] |
/frameworks/av/media/libmedia/ |
AudioSystem.cpp | 730 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 734 if (aps == 0) return PERMISSION_DENIED; 742 return aps->setDeviceConnectionState(device, state, address, name); 748 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 749 if (aps == 0) return AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE; 751 return aps->getDeviceConnectionState(device, device_address); 757 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 758 if (aps == 0) return PERMISSION_DENIED; 760 return aps->setPhoneState(state); 765 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service() local 772 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 785 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 802 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 813 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 822 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 831 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 847 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 857 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 865 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 873 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 882 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 891 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 900 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 907 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 914 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 921 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 933 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 940 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 947 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 954 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 964 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 973 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1021 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1032 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1039 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1047 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1054 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1063 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1070 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1077 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1094 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1150 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1157 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1164 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1171 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1180 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1187 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1194 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local 1201 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorSpiTest.java | 82 AlgorithmParameterSpec aps = null; local 84 kgSpi.engineInit(aps, new SecureRandom()); 88 aps = new APSpecSpi(); 89 kgSpi.engineInit(aps, new SecureRandom());
|
KeyGeneratorTest.java | 387 AlgorithmParameterSpec aps = null; local 391 kgs[i].init(aps); 396 kgs[i].init(aps, new SecureRandom()); 505 IvParameterSpec aps = null; local 511 aps = new IvParameterSpec(iv); 516 kg.init(aps);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
DSAParameterSpecTest.java | 48 AlgorithmParameterSpec aps = new DSAParameterSpec( local 53 assertTrue(aps instanceof DSAParameterSpec);
|
MGF1ParameterSpecTest.java | 78 MGF1ParameterSpec aps = new MGF1ParameterSpec(testAlgName); local 79 assertTrue(testAlgName.equals(aps.getDigestAlgorithm()));
|
RSAKeyGenParameterSpecTest.java | 50 AlgorithmParameterSpec aps = local 52 assertTrue(aps instanceof RSAKeyGenParameterSpec);
|
PSSParameterSpecTest.java | 50 AlgorithmParameterSpec aps = new PSSParameterSpec(20); local 51 assertTrue(aps instanceof PSSParameterSpec); 77 AlgorithmParameterSpec aps = new PSSParameterSpec("SHA-1", "MGF1", local 79 assertTrue(aps instanceof PSSParameterSpec);
|
/libcore/luni/src/test/java/tests/security/spec/ |
DSAParameterSpecTest.java | 41 AlgorithmParameterSpec aps = new DSAParameterSpec( local 46 assertTrue(aps instanceof DSAParameterSpec);
|
MGF1ParameterSpecTest.java | 78 MGF1ParameterSpec aps = new MGF1ParameterSpec(testAlgName); local 79 assertTrue(testAlgName.equals(aps.getDigestAlgorithm()));
|
RSAKeyGenParameterSpecTest.java | 43 AlgorithmParameterSpec aps = local 45 assertTrue(aps instanceof RSAKeyGenParameterSpec);
|
PSSParameterSpecTest.java | 43 AlgorithmParameterSpec aps = new PSSParameterSpec(20); local 44 assertTrue(aps instanceof PSSParameterSpec); 70 AlgorithmParameterSpec aps = new PSSParameterSpec("SHA-1", "MGF1", local 72 assertTrue(aps instanceof PSSParameterSpec);
|
/external/autotest/server/cros/clique_lib/ |
clique_runner.py | 36 @param ap_specs: a list of APSpec objects corresponding to the APs 133 def _get_debug_string(dut_objects, aps): 134 """Gets the debug info for all the DUT's and APs in the pool. 140 @param aps: A list of APConfigurator for all APs allocated for 156 for ap in aps: 161 def _are_all_conn_workers_healthy(workers, aps, assoc_params_list, job): 165 connection to the APs. 168 @param aps: a list of an ap_configurator objects. 175 for worker, ap, assoc_params in zip(workers, aps, assoc_params_list) [all...] |
/external/autotest/server/cros/chaos_lib/ |
chaos_runner.py | 55 @param batch_size: an integer, max number of APs to lock in one batch. 77 # Run iw scan and abort if more than allowed number of APs are up. 130 aps = batch_locker.get_ap_batch(batch_size=batch_size) 131 if not aps: 132 logging.info('No more APs to test.') 135 # Power down all of the APs because some can get grumpy 139 utils.power_down_aps(aps, self._broken_pdus) 140 utils.configure_aps(aps, self._ap_spec, self._broken_pdus) 142 aps = utils.filter_quarantined_and_config_failed_aps(aps, [all...] |
/system/media/brillo/audio/audioservice/ |
audio_device_handler.cpp | 40 android::sp<android::IAudioPolicyService> aps) { 41 aps_ = aps; 50 void AudioDeviceHandler::Init(android::sp<android::IAudioPolicyService> aps) { 51 aps_ = aps;
|
audio_device_handler.h | 43 // |aps| is a pointer to the binder object. 44 void Init(android::sp<android::IAudioPolicyService> aps); 59 // |aps| is a pointer to the binder object. 60 void APSConnect(android::sp<android::IAudioPolicyService> aps); 109 // Connect an audio device by calling aps and add it to the appropriate set 115 // Disconnect an audio device by calling aps and remove it from the
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator1Test.java | 353 AlgorithmParameterSpec aps = null; local 366 kpg[i].initialize(aps); 367 kpg[i].initialize(aps, random); 388 AlgorithmParameterSpec aps; local 428 aps = new java.security.spec.DSAParameterSpec(bInt, bInt, bInt); 430 mKPG.initialize(aps, null); 437 mKPG.initialize(aps, random); 440 assertEquals("Incorrect params", aps,
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator1Test.java | 353 AlgorithmParameterSpec aps = null; local 366 kpg[i].initialize(aps); 367 kpg[i].initialize(aps, random); 388 AlgorithmParameterSpec aps; local 428 aps = new java.security.spec.DSAParameterSpec(bInt, bInt, bInt); 430 mKPG.initialize(aps, null); 437 mKPG.initialize(aps, random); 440 assertEquals("Incorrect params", aps,
|
AlgorithmParameterGenerator1Test.java | 333 AlgorithmParameterSpec aps = null; local 339 apgs[i].init(aps); 346 apgs[i].init(aps, random);
|
/external/autotest/server/cros/network/ |
chaos_clique_utils.py | 85 def power_down_aps(aps, broken_pdus=[]): 86 """Powers down a list of aps. 88 @param aps: a list of APConfigurator objects. 92 for ap in aps: 98 def configure_aps(aps, ap_spec, broken_pdus=[]): 99 """Configures a given list of APs. 101 @param aps: a list of APConfigurator objects. 106 for ap in aps: 136 connection to the APs. 177 def filter_quarantined_and_config_failed_aps(aps, batch_locker, job [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
MockCipherSpi.java | 59 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps) 61 if (!(aps instanceof MockAlgorithmParameterSpec)) { 70 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps) 72 if (!(aps instanceof MockAlgorithmParameterSpec2)) { 191 public void checkAlgorithmParameterSpec(AlgorithmParameterSpec aps)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
AccessPointControllerImpl.java | 137 private void fireAcccessPointsCallback(List<AccessPoint> aps) { 139 callback.onAccessPointsChanged(aps);
|
/external/autotest/server/cros/ |
ap_config.py | 30 aps = [] 44 aps.append(AP(bss, ap_config)) 45 return aps
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorTest.java | 376 AlgorithmParameterSpec aps = null; local 380 kgs[i].init(aps); 385 kgs[i].init(aps, new SecureRandom());
|