Home
last modified time | relevance | path

Searched refs:createInstance (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/
DPpsMoDataTest.java63 assertEquals(TEST_PPS_MO_XML, PpsMoData.createInstance(propertyInfo).getPpsMoTree()); in verifyGetPpsMo()
78 assertNull(PpsMoData.createInstance(propertyInfo)); in verifyMissingPpsMoReturnNull()
93 assertNull(PpsMoData.createInstance(propertyInfo)); in verifyMissingTreeURIAttributeReturnNull()
108 assertNull(PpsMoData.createInstance(propertyInfo)); in verifyMissingMoUrnAttributeReturnNull()
119 assertNull(PpsMoData.createInstance(propertyInfo)); in verifyNonAddMoCommandMessageReturnNull()
DSppCommandTest.java57 SppCommand result = SppCommand.createInstance(propertyInfo); in verifyLaunchBrowserCommand()
76 SppCommand result = SppCommand.createInstance(propertyInfo); in verifyOtherCommandTypesReturnNull()
91 assertNull(SppCommand.createInstance(propertyInfo)); in verifyIncompleteCommandReturnNull()
102 SppCommand result = SppCommand.createInstance(propertyInfo); in verifyInvalidCommandReturnNull()
DBrowserUriTest.java55 mBrowserUri = BrowserUri.createInstance(mPropertyInfo); in verifyGetUri()
65 mBrowserUri = BrowserUri.createInstance(mPropertyInfo); in verifyInvalidMessageReturnNull()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DPostDevDataResponseTest.java64 SppCommand expectedResult = SppCommand.createInstance(propertyInfo); in verifyValidPostDevDataResponse()
73 mPostDevDataResponse = PostDevDataResponse.createInstance(response); in verifyValidPostDevDataResponse()
88 mPostDevDataResponse = PostDevDataResponse.createInstance(response); in verifyInvalidPostDevDataResponseReturnNull()
DExchangeCompleteMessageTest.java48 mExchangeCompleteMessage = ExchangeCompleteMessage.createInstance(response); in verifyValidExchangeComplete()
61 mExchangeCompleteMessage = ExchangeCompleteMessage.createInstance(response); in verifyInvalidExchangeCompleteReturnNull()
DHttpsTransportTest.java57 mHttpsTransport = HttpsTransport.createInstance(mNetwork, mUrl); in setUp()
/frameworks/base/core/java/android/net/
DConnectivityThread.java36 private static final ConnectivityThread INSTANCE = createInstance();
43 private static ConnectivityThread createInstance() { in createInstance() method in ConnectivityThread
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DSoapParser.java38 responseMessage = PostDevDataResponse.createInstance(response); in getResponse()
41 responseMessage = ExchangeCompleteMessage.createInstance(response); in getResponse()
DPostDevDataResponse.java48 mSppCommand = SppCommand.createInstance(propertyInfo); in PostDevDataResponse()
57 public static PostDevDataResponse createInstance(@NonNull SoapObject response) { in createInstance() method in PostDevDataResponse
DExchangeCompleteMessage.java41 public static ExchangeCompleteMessage createInstance(@NonNull SoapObject response) { in createInstance() method in ExchangeCompleteMessage
DHttpsTransport.java49 public static HttpsTransport createInstance(@NonNull Network network, @NonNull URL url) { in createInstance() method in HttpsTransport
DRedirectListener.java89 public static RedirectListener createInstance(@NonNull Looper looper) { in createInstance() method in RedirectListener
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/command/
DSppCommand.java121 mCommandData = BrowserUri.createInstance(commandInfo); in SppCommand()
142 mCommandData = PpsMoData.createInstance(soapResponse); in SppCommand()
170 public static SppCommand createInstance(@NonNull PropertyInfo soapResponse) { in createInstance() method in SppCommand
DBrowserUri.java43 public static BrowserUri createInstance(PropertyInfo command) { in createInstance() method in BrowserUri
DPpsMoData.java59 public static PpsMoData createInstance(@NonNull PropertyInfo command) { in createInstance() method in PpsMoData
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DServiceResolveQueue.java37 public static void createInstance(NsdManager nsdManager) { in createInstance() method in ServiceResolveQueue
43 createInstance(nsdManager); in getInstance()
/frameworks/base/core/java/android/gesture/
DGestureStore.java137 Instance instance = Instance.createInstance(mSequenceType, in recognize()
159 Instance.createInstance(mSequenceType, mOrientationStyle, gesture, entryName)); in addGesture()
325 Instance.createInstance(mSequenceType, mOrientationStyle, gesture, name)); in readFormatV1()
DInstance.java72 …static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String labe… in createInstance() method in Instance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java370 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyExchangeSoapMessageWithException()
399 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyExchangeSoapMessage()
443 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyRetrieveTrustRootCertsWithErrorInHTTPSResponse()
491 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyRetrieveTrustRootCertsWithoutError()
541 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyCleanup()
/frameworks/base/core/java/android/webkit/
DCookieSyncManager.java96 public static CookieSyncManager createInstance(Context context) { in createInstance() method in CookieSyncManager
DDateSorter.java72 DateSorterBridge dateSorterBridge = DateSorterBridge.createInstance(locale); in DateSorter()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DDividerItemDecorationTest.java164 return ViewHolder.createInstance(itemView, allowDividerAbove, allowDividerBelow); in drawDecoration()
200 public static ViewHolder createInstance( in createInstance() method in DividerItemDecorationTest.ViewHolder
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java101 public static TextServicesManager createInstance(@NonNull Context context) in createInstance() method in TextServicesManager
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp256 static JTvInputHal* createInstance(JNIEnv* env, jobject thiz, const sp<Looper>& looper);
330 JTvInputHal* JTvInputHal::createInstance(JNIEnv* env, jobject thiz, const sp<Looper>& looper) { in createInstance() function in android::JTvInputHal
596 return (jlong)JTvInputHal::createInstance(env, thiz, messageQueue->getLooper()); in nativeOpen()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DNitzStateMachineImpl.java131 public static NitzStateMachineImpl createInstance(@NonNull Phone phone) { in createInstance() method in NitzStateMachineImpl

12